aboutsummaryrefslogtreecommitdiff
path: root/saga/xref.txt
blob: ae55958ae44872a081ac4d05b92ae9f919e0c9c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
$Id$

Cross-reference for functions and variables for the original source code and
the ScummVM implementation.


Sceneres.h
==========
 LOADREQ_FIGURE                
 LOADREQ_OBJECT
 LOADREQ_BACKGROUND        SAGA_BG_IMAGE
 LOADREQ_ZBUF              SAGA_BG_MASK
 LOADREQ_SCENE_SCRIPT
 LOADREQ_STRINGS           SAGA_OBJECT_NAME_LIST
 LOADREQ_HITZONES          SAGA_OBJECT_MAP
 LOADREQ_STEPZONES         SAGA_ACTION_MAP
 LOADREQ_TILE_IMAGES       SAGA_ISO_TILESET
 LOADREQ_TILE_MAP          SAGA_ISO_METAMAP
 LOADREQ_TILE_PLATFORMS    SAGA_ISO_METATILESET
 LOADREQ_TILE_METATILES
 LOADREQ_ENTRY             SAGA_ENTRY
 LOADREQ_FRAMELIST

 LOADREQ_ANIM_0            SAGA_ANIM_1
 LOADREQ_ANIM_1            SAGA_ANIM_2
 LOADREQ_ANIM_2            SAGA_ANIM_3
 LOADREQ_ANIM_3            SAGA_ANIM_4
 LOADREQ_ANIM_4            SAGA_ANIM_5
 LOADREQ_ANIM_5            SAGA_ANIM_6
 LOADREQ_ANIM_6            SAGA_ANIM_7
 LOADREQ_ANIM_7

 LOADREQ_TILE_MULTI
 LOADREQ_CYCLES            SAGA_PAL_ANIM
 LOADREQ_FACES             SAGA_FACES
 LOADREQ_PALETTE

 hitZone                   ObjectMap
 stepZone                  ActionMap

 HZONEF_EXIT               OBJECT_EXIT (in Verb.c), ACTION_EXIT (in Actor.c)
 HZONEF_ENABLED            OBJECT_ENABLED (in Verb.c), ACTION_ENABLED (in Actor.c)
 HZONEF_NOWALK             OBJECT_NOWALK
 HZONEF_PROJECT            OBJECT_PROJECT
 HZONEF_AUTOWALK           ACTION_AUTOWALK
 HZONEF_TERMINUS           ACTION_TERMINUS

 FrameRange.startFrame     ACTORACTIONITEM.frame_index
 FrameRange.frameCount     ACTORACTIONITEM.frame_count

 FrameSequence.right       ACTORACTION.dir[0]
 FrameSequence.left        ACTORACTION.dir[1]
 FrameSequence.back        ACTORACTION.dir[2]
 FrameSequence.forward     ACTORACTION.dir[3]

Scene.c
=======
 ResToImage()              _vm->decodeBGImage()
 resInfo->sceneFlags       _desc.flags
 resInfo->loadList         _desc.resListRN
 resInfo->horizon          _desc.endSlope
 resInfo->nearFigureLimit  _desc.beginSlope
 resInfo->scriptModule     _desc.scriptNum
 resInfo->entryScript      _desc.sceneScriptNum
 resInfo->preScript        _desc.startScriptNum
 resInfo->backgroundMusic  _desc.musicRN
 thisScene->ID             currentSceneNumber()

Interp.c
========
 dispatchThreads()         executeThreads()
 runThread()               SThreadCompleteThread()
 moduleList                _scriptLUT
 ModuleEntry->codeID       _scriptLUT->script_rn
 ModuleEntry->strID        _scriptLUT->diag_list_rn
 ModuleEntry->vtableID     _scriptLUT->voice_lut_rn
 threadBase.theAction      threadVars[kVarAction]
 threadBase.theObject      threadVars[kVarObject]
 threadBase.withObject     threadVars[kVarWithObject]
 threadBase.theActor       threadVars[kVarActor]

Actor.h
=======
 GOF_PROTAGONIST           kProtagonist
 GOF_FOLLOWER              kFollower
 GOF_CYCLE                 kCycle
 GOF_FASTER                kFaster
 GOF_FASTEST               kFastest
 GOF_EXTENDED              kExtended

Actor.c
=======
 abortAllSpeeches()        abortAllSpeeches()

Main.c
======
 sceneIndexTable           _scene->getSceneLUT()

Tile.h
======
 isoTile.height            ISOTILE_ENTRY.tile_h
 isoTile.attributes        ISOTILE_ENTRY.mask_rule
 isoTile.offset            ISOTILE_ENTRY.tile_offset
 isoTile.terrain_mask      ISOTILE_ENTRY.terrain_mask
 isoTile.fgd_bgd_attr      ISOTILE_ENTRY.mask

 tilePlatform.metaTile     ISO_METATILE_ENTRY.mtile_n
 tilePlatform.height       ISO_METATILE_ENTRY.height
 tilePlatform.highestPixel ISO_METATILE_ENTRY.highest_pixel
 tilePlatform.vBits        ISO_METATILE_ENTRY.v_bits
 tilePlatform.uBits        ISO_METATILE_ENTRY.u_bits

Resource.h
==========
 PicHeader.width           IMAGE_HEADER.width
 PicHeader.height          IMAGE_HEADER.height