scummvm/queen/xref.txt

490 lines
11 KiB
Plaintext
Raw Normal View History

$Id$
Cross-reference for functions and variables for the original source code and
the ScummVM implementation.
2003-10-14 09:12:42 +00:00
BANKS
=====
erase() Graphics::bankErase
loadbank() Graphics::bankLoad
overpack() Graphics::bankOverpack
unpack() Graphics::bankUnpack
COMMAND
=======
ALTER_DEFAULT() Command::alterDefault
CLEAR_COMMAND() Command::clear
CHECK_PLAYER() Command::checkPlayer
2003-10-24 08:55:13 +00:00
EXECUTE_ACTION() Command::executeCurrentAction
FIND_DEFAULT() Command::findDefault
LOOK() Command::look
LOOK_ICON() Command::lookCurrentIcon
2003-10-26 13:54:26 +00:00
LOOK_ITEM() Command::lookCurrentItem
LOOK_ROOM() Command::lookCurrentRoom
OPEN_CLOSE_OTHER() Command::openOrCloseAssociatedObject
P1_SET_CONDITIONS() Command::setConditions
P2_SET_AREAS() Command::setAreas
P3_SET_OBJECTS() Command::setObjects
P4_SET_ITEMS() Command::setItems
SELECT() Command::grabCurrentSelection
SELECT_ITEM() Command::grabSelectedItem
SELECT_NOUN() Command::grabSelectedNoun
SELECT_VERB() Command::grabSelectedVerb
-
2003-10-24 08:55:13 +00:00
ACTION,ACTION2 Command::_action*
CLEVEL Command::_commandLevel
COM_A Command::_cmdArea
COM_A_MAX Command::_numCmdArea
COM_O Command::_cmdObject
COM_O_MAX Command::_numCmdObject
COM_G Command::_cmdGameState
COM_G_MAX Command::_numCmdGameState
COM_I Command::_cmdInventory
COM_I_MAX Command::_numCmdInventory
COM_LIST Command::_cmdList
COM_LIST_MAX Command::_numCmdList
COMMANDstr Command::_command
DEFCOMM Command::_defaultVerb
MKEY Command::_mouseKey
OLDVERB,VERB Command::_*verb*
2003-10-26 13:54:26 +00:00
OLDNOUN,NOUN,NOUN2 Command::_*noun*
PARSE Command::_parse
SUBJ1,SUBJ2,SUBJECT Command::_subject*
2003-10-14 09:12:42 +00:00
CREDIT SCRIPTING SYSTEM
=======================
Cinit()
Ctext()
Cupdate()
-
Ccol
Ccount
Cfp
Cflag
Cfontsize
Cjustify
Cpausecount
Czone
CUTAWAY
=======
action_special_move Cutaway::actionSpecialMove
2003-10-14 09:12:42 +00:00
CUTAWAY() Cutaway::run
MAKE_COMPLEX_ANIM() Cutaway::makeComplexAnimation
2003-10-14 09:12:42 +00:00
SCENE_START()
SCENE_END()
-
CUTJOEF
CUTON
CUTQUIT Cutaway::_quit (rename and move to Logic?)
FINAL_ROOM Cutaway::_finalRoom
IROOM Cutaway::_initialRoom
OBJ_CUT
OBJ_ANIM
OLDBANK
PERSON_DATA
SCENE
TROOM Cutaway::_temporaryRoom
2003-10-14 09:12:42 +00:00
DEBUG
=====
cd_sample_check()
debuginfo()
select_new_room()
-
AREAVAR (boolean, if true display objects/areas boxes)
GAME SETTINGS
=============
-
config_request
MUSICTOGGLE GameSettings::musicToggle
SFXTOGGLE GameSettings::sfxToggle
TALKSPD GameSettings::talkSpeed
TEXTTOGGLE GameSettings::textToggle
VersionStr Logic::language (add more functions if needed)
VOICETOGGLE GameSettings::speechToggle
2003-10-14 09:12:42 +00:00
GRAPHICS
========
bob() Graphics::bobDraw
Box()
calc_screen_scroll() Display::horizontalScrollUpdate
CHECK_PARALLAX() Graphics::bobCustomParallax
2003-10-14 09:12:42 +00:00
clearallbobs() Graphics::bobClearAll
2003-10-23 08:16:31 +00:00
clearbob() Graphics::bobClear
clearpanel() Display::prepareUpdate
2003-10-14 09:12:42 +00:00
drawbobs() Graphics::bobDrawAll
drawbackdrop() Display::prepareUpdate
drawpanel() Display::prepareUpdate
drawscreen() Display::update
2003-10-14 09:12:42 +00:00
freeallframes() Graphics::frameEraseAll(true)
freeframes() Graphics::frameEraseAll(false)
invbob() Graphics::bobDrawInventoryItem
loadbackdrop() Graphics::loadBackdrop
loadfont() TextRenderer::init
loadpanel() Graphics::loadPanel
MAKE_SPEAK_BOB Graphics::bobSetText
2003-10-14 09:12:42 +00:00
makeanim() Graphics::bobAnimNormal
movebob() Graphics::bobMove
pastebob() Graphics::bobPaste
requestor()
shrinkbob() Graphics::bobShrink
sortbobs() Graphics::bobSortAll
stringanim() Graphics::bobAnimString
-
bobs Graphics::_bobs
cambob Graphics::_cameraBob
clothespal Display::PAL_JOE_CLOTHES
dresspal Display::PAL_JOE_DRESS
2003-10-14 09:12:42 +00:00
sortedbobs Graphics::_sortedBobs
INPUT
=====
check_keys() Input::checkKeys()
get_key() *not needed*
-
drawmouseflag
key_commands Input::?
key_language Input::?
KEYVERB Input::_keyVerb
MouseButton Input::_mouseButton
mouseflag
no_check_keys Input::_noCheckKeys
2003-10-14 09:12:42 +00:00
INVENTORY
=========
DEL_ITEM_NUM()
INS_ITEM_NUM()
2003-10-14 09:12:42 +00:00
INVDWN()
INVENTORY()
INVUP()
SETUP_ITEMS()
2003-10-14 09:12:42 +00:00
-
INV1,INV2,INV3,INV4
JOE
===
FACE_JOE() Logic::joeFace
GRAB_DIR() Logic::joeGrabDirection
GRAB_JOE() Logic::joeGrab
SETUP_HERO() Logic::joeSetupInRoom
SETUP_JOE() Logic::joeSetup
USE_UNDERWEAR() Logic::joeUseUnderwear
USE_CLOTHES() Logic::joeUseClothes
USE_DRESS() Logic::joeUseDress
2003-10-24 08:55:13 +00:00
WALK() Logic::joeWalkTo
-
JOE_RESPstr Logic::_joeResponse
JOEF,JX,JY,JDIR Logic::_joe.*
2003-10-24 08:55:13 +00:00
JOEWALK Logic::_joe.walk (legal values = 0,1,2,3)
JOURNAL
=======
prompt_do()
USE_JOURNAL() Graphics::useJournal
-
choice
decbase
in_journal
2003-10-14 09:12:42 +00:00
LOGIC
=====
DISP_OBJECTS() Logic::roomSetupObjects
DISP_ROOM() Logic::roomDisplay
FIND_BOB() Logic::findBob
FIND_FRAME() Logic::findFrame
FIND_GRAPHIC() Logic::graphicData
2003-10-14 09:12:42 +00:00
FIND_SCALE() Logic::findScale
FIND_VERB() Logic::findVerb
P3_COPY_FROM() Cutaway::objectCopy
2003-10-24 08:55:13 +00:00
R_MAP() (handle map 'm1')
REDISP_OBJECT() Logic::roomRefreshObject
2003-10-14 09:12:42 +00:00
restart_game()
SETUP_BOBS() Graphics::bobSetupControl
SETUP_FURNITURE() Logic::roomSetupFurniture
SETUP_ROOM() QueenEngine::roomChanged
SETUP_SCREENS() *not needed* (only calls Graphics::loadPanel)
SETUP_VARS()
2003-10-14 09:12:42 +00:00
update() Graphics::update
-
A_ANIMstr Logic::_aAnim
A_ANIM_MAX Logic::_numAAnim
A_NAMEstr Logic::_aName
A_NAME_MAX Logic::_numAName
A_FILEstr Logic::_aFile
A_FILE_MAX Logic::_numAFile
ACTOR_DATA_MAX Logic::_numActors
AREA Logic::_area
AREAMAX Logic::_areaMax
DESCTOT Logic::_numDescriptions
ENTRY_OBJ Logic::_entryObj
FMAX Logic::_numFurnitureStatic
FMAXA Logic::_numFurnitureAnimated
FMAXLEN Logic::_numFurnitureAnimatedLen
FRAMES Logic::_numFrames
FURN_DATA_MAX Logic::_numFurniture
GAMESTATE Logic::_gameState
GRAPHIC_ANIM_MAX Logic::_numGraphicAnim
GRAPHIC_DATA Logic::_graphicData
GRAPHIC_MAX Logic::_numGraphics
ITEMTOT Logic::_numItems
ITEM_DATA Logic::_itemData
NAMETOT Logic::_numNames
NEW_ANIM Logic::_newAnim
OBJ_DESC_DATA Logic::_objectDescription
OBJ_DESC_MAX Logic::_numObjDesc
OBJECT_BOX Logic::_objectBox
OBJECT_DATA Logic::_objectData
OBJECT_DESCRstr Logic::_objDescription
OBJECT_NAMEstr Logic::_objName
OBJMAX Logic::_objMax
OBJTOT Logic::_numObjects
OLDROOM,ROOM,NEW_ROOM Logic::_*oom
ROOMTOT Logic::_numRooms
ROOM_DATA Logic::_roomData
ROOM_NAMEstr Logic::_roomName
VERB_NAMEstr Logic::_verbName
WALK_OFF_DATA Logic::_walkOffData
WALK_OFF_MAX Logic::_numWalkOffs
2003-10-14 09:12:42 +00:00
PERSONS
=======
ALLOCATE_PERSON Logic::personAllocate
CREATE_ANIM() Logic::animCreate
2003-10-14 09:12:42 +00:00
SET_PERSON_DATA Logic::personSetData
SETUP_PERSON Logic::personSetup
OBJ_PERSON Logic::objectForPerson
-
PERSON_FACE
PERSON_FACE_MAX
2003-10-14 09:12:42 +00:00
PERSON_FRAMES Logic::_personFrames
P_ANIMstr Person.anim
P_BANK Person.bankNum
P_NAMEstr Person.name
P_STAND,P_BNUM,P_ROOM Person.actor->*
P_X,P_Y,P_COLOR Person.actor->*
P_VALUE,P_GAMES Person.actor->*
2003-10-14 09:12:42 +00:00
RESOURCE
========
tflen() Resource::fileSize
topen() Resource::loadFile
tseek() *not needed*
SAVE/LOAD SYSTEM
================
game_load()
game_save()
-
walkgameload
2003-10-14 09:12:42 +00:00
SCREEN
======
2003-10-20 10:26:56 +00:00
changejoepal() Display::palSetJoe
check_colors() Display::palCustomColors
dynalum() Dynalum::update
fadein() Display::palFadeIn
fadeout() Display::palFadeOut
2003-10-20 10:26:56 +00:00
flashspecial() Display::palCustomFlash
palscroll() Display::palScroll
putcharacter() TextRenderer::drawChar
setpal() Display::palSet
2003-10-14 09:12:42 +00:00
-
2003-10-24 08:55:13 +00:00
BDxres Display::_bdWidth
BDyres Display::_bdHeight
COMPANEL
2003-10-24 08:55:13 +00:00
font TextRenderer::FONT
font_sizes TextRenderer::charWidth
2003-10-14 09:12:42 +00:00
FULLSCREEN Graphics::_fullscreen
nopalscroll Display::_pals.scrollable
2003-10-14 09:12:42 +00:00
palette Graphics::_paletteRoom
panelflag Graphics::_panelFlag
2003-10-24 08:55:13 +00:00
scrollx Display::_horizontalScroll
2003-10-14 09:12:42 +00:00
tpal Graphics::_paletteScreen
SOUND
=====
alter_current_volume()
playsong()
sfxbusy()
sfxplay()
-
bamflag
bamindex
CURRSONG
SFXNAME Logic::_sfxName
2003-10-14 09:12:42 +00:00
tmpbamflag
VOLUME
STATE
=====
ALTER_STATE() State::alterState*
FIND_STATE() State::findState*
-
2003-10-14 09:12:42 +00:00
TALK
====
2003-10-16 16:57:30 +00:00
FIND_SACTION() Talk::findSpeechParameters
2003-10-14 09:12:42 +00:00
MOVE_SPEAK
SPEAK Talk::speak
SPEAK_SUB Talk::speakSegment
talk Talk::talk
TALK_PROC Talk::talk
-
A1,A12
actiondata Talk::_speechParameters
HEAD
JMAX
JOE2str
JOEKEYstr
LEVEL
LEVELMAX
OLDLEVEL
OLDS
OWALK
PERstr
PERSON2str
PKEYstr
TALKHEAD
TALKQUIT
TALKstr
TALK_SELECTED
2003-10-14 09:12:42 +00:00
TEXTS
=====
blanktexts() Graphics::textClear
drawtext() Graphics::textDrawAll
Ink() Graphics::textCurrentColor
menutext()
MIDDLE() Graphics::textCenterX / Graphics::textSetCentered
2003-10-14 09:12:42 +00:00
text() Graphics::textSet
textlen() Graphics::textWidth
-
textcol Graphics::_curTextColor
texts Graphics::_texts
WALK
====
CALC_PATH() Walk::calcPath
CALC_WALK() Walk::incWalkData
CALC_X() Walk::calcC
CALC_Y() Walk::calcC
CALCSCALE() Area::calcScale
FIND_FREE_AREA Walk::findFreeArea
FIND_NEWP() Walk::findAreaPosition
FIND_OLDP() Walk::findAreaPosition
MOVE_JOE() Walk::joeMove
MOVE_OTHER() Walk::personMove
-
AREALIST Walk::_areaList
AREASTRIKE Walk::_areaStrike
movdata Walk::_moveData
WALK_DATA Walk::_walkData
WALKI Walk::_walkDataCount
ZONES
=====
ClearZones() Logic::zoneClearAll
SETUP_PANEL_ZONES() Logic::zoneSetupPanel
SETUP_ZONES() Logic::zoneSetup
SetZone() Logic::zoneSet
zone() Logic::zoneIn / Logic::zoneInArea
-
zones Logic::_zones
2003-10-14 09:12:42 +00:00
(UNSORTED)
==========
in() defs.h InRange() macro
find_cd_cut() findCdCut
find_cd_desc() *not needed, see Logic::joeSpeak()*
2003-10-14 09:12:42 +00:00
-
Kstr
2003-10-14 09:12:42 +00:00
bank9
NEWDEF,
M,A,
FRAME,
AM,
WX,WY,
PX,PY,
LD,FD
DESC2,DESC
PERSON_OBJ
FS,FE,FACE,
TY,
DY,
2003-10-14 09:12:42 +00:00
I2,
N,V,
ds,bs,
bx,by,
dx,dy,
SFAC,FDIR,
OBJ,E,T,
CH,
OLDG,S2,S1,ITEM,TYPE,C,
NAME,TL,TI,TS,WC,IMAGE,
D,P,LI,R
CANTQUIT
(NO NEED TO BE GLOBAL)
2003-10-26 13:54:26 +00:00
======================
Nstr,F1,F2,F3,F4,F5,F6,F7,F8,SF,BF,AS,MS // MOVE_OTHER (struct movdata *)
Nstr,S,F,BODY,BF,RF,AF,SANIMstr,FF // FIND_SACTION (struct action *)
CURRBOB // SETUP_FURNITURE, REDISP_OBJECT, DISP_OBJECTS
PSY,PSX,CSX,DX1,DX2,DY1,DY2,PCF,CCF,CSY // FIND_NEWP, FIND_OLDP
tx,ty,SFRAME,EFRAME,SPEED // FIND_GRAPHIC
AREAMAXv
CURRY
OMAX,OMAXA
TEMPA
SFACTOR, // shrink factor, used to scale (down) the bobs
BANK,BNUM
DIFF // LOOK local var
RET // P1_SET_CONDITIONS local var
BS,DS // CALC_SCALE
SX,SY,
NEWA // FIND_FREE_AREA local
IX,IY // Cutaway locals
2003-10-24 08:55:13 +00:00
COM // EXECUTE_ACTION local
COMMAX // EXECUTE_ACTION local
COND // EXECUTE_ACTION local
CURRCOM // EXECUTE_ACTION local
GSET // P1_SET_CONDITIONS local
A2 // EXECUTE_ACTION local
TEMPI // P1_SET_CONDITIONS local
MAPC // findFreeArea local var
NEWP,OLDP // locals in joeMove && personMove
OLDX,X,OLDY,Y // passed as arguments
X2,X1,XD,YD // incWalkData && findFreeArea locals
Gstr // not needed, grab state
Pstr // not needed, FIND_STATE result
OUTLINE // not needed, textSet() Graphics::parameter
FTOT // queen.c/SETUP_FURNITURE local var
OBJMAXv // == Logic::_objMax[Logic::_currentRoom]
TEMPstr
WORDstr