CA Structures
CAIAction
Used by the CAIAction Class
Offset |
Size (Total: 136) |
Type |
Field |
0x0 |
2 |
__int16 |
m_actionID |
6 |
|
||
0x8 |
24 |
m_actorID |
|
0x20 |
24 |
m_acteeID |
|
0x38 |
24 |
m_acteeID2 |
|
0x50 |
4 |
int |
m_specificID |
0x54 |
4 |
int |
m_specificID2 |
0x58 |
4 |
int |
m_specificID3 |
4 |
|
||
0x60 |
8 |
m_string1 |
|
0x68 |
8 |
m_string2 |
|
0x70 |
8 |
m_dest |
|
0x78 |
4 |
unsigned int |
m_internalFlags |
4 |
|
||
0x80 |
8 |
m_source |
CAICondition
Used by the CAICondition Class
Offset |
Size (Total: 56) |
Type |
Field |
0x0 |
56 |
m_triggerList |
CAIConditionResponse
Offset |
Size (Total: 120) |
Type |
Field |
0x0 |
56 |
m_condition |
|
0x38 |
64 |
m_responseSet |
CAIGroup
Used by the CAIGroup Class
Offset |
Size (Total: 64) |
Type |
Field |
0x0 |
2 |
__int16 |
m_groupId |
2 |
|
||
0x4 |
4 |
int |
m_groupChanged |
0x8 |
56 |
CTypedPtrList<CPtrList,long*> |
m_memberList |
CAIId
Offset |
Size (Total: 24) |
Type |
Field |
0x0 |
4 |
int |
m_id |
4 |
|
||
0x8 |
8 |
m_line |
|
0x10 |
8 |
m_start |
CAIIdList
Used by the CAIIdList Class
Offset |
Size (Total: 112) |
Type |
Field |
0x0 |
8 |
qword |
vfptr |
0x8 |
16 |
CResHelper<CResText,1008> |
baseclass_0 |
0x18 |
8 |
m_fileName |
|
0x20 |
56 |
m_idList |
|
0x58 |
4 |
int |
m_faster |
4 |
|
||
0x60 |
8 |
CAIId** |
m_pIdArray |
0x68 |
4 |
int |
m_nArray |
4 |
|
CAINonPlayerScript
Offset |
Size (Total: 16) |
Type |
Field |
0x0 |
16 |
CResHelper<CResText,1007> |
baseclass_0 |
CAIObjectType
Used by the CAIObjectType Class
Offset |
Size (Total: 24) |
Type |
Field |
0x0 |
8 |
m_name |
|
0x8 |
1 |
unsigned __int8 |
m_EnemyAlly |
0x9 |
1 |
unsigned __int8 |
m_General |
0xA |
1 |
unsigned __int8 |
m_Race |
0xB |
1 |
unsigned __int8 |
m_Class |
0xC |
4 |
int |
m_Instance |
0x10 |
5 |
Array<unsigned __int8,5> |
m_SpecialCase |
0x15 |
1 |
unsigned __int8 |
m_Specifics |
0x16 |
1 |
unsigned __int8 |
m_Gender |
0x17 |
1 |
unsigned __int8 |
m_Alignment |
Notes
Valid values for the following fields can be found in specific .IDS files:
m_EnemyAlly valid values can be found in the
EA.IDSfilem_General valid values can be found in the
GENERAL.IDSfilem_Race valid values can be found in the
RACE.IDSfilem_Class valid values can be found in the
CLASS.IDSfilem_Specifics valid values can be found in the
SPECIFIC.IDSfilem_Gender valid values can be found in the
GENDER.IDSfilem_Alignment valid values can be found in the
ALIGN.IDSfile
CAIPlayerScript
Offset |
Size (Total: 16) |
Type |
Field |
0x0 |
16 |
CResHelper<CResText,1017> |
baseclass_0 |
CAIResponse
Used by the CAIResponse Class
Offset |
Size (Total: 64) |
Type |
Field |
0x0 |
2 |
__int16 |
m_weight |
0x2 |
2 |
__int16 |
m_responseNum |
0x4 |
2 |
__int16 |
m_responseSetNum |
0x6 |
2 |
__int16 |
m_scriptNum |
0x8 |
56 |
m_actionList |
CAIResponseSet
Offset |
Size (Total: 64) |
Type |
Field |
0x0 |
56 |
m_responseList |
|
0x38 |
4 |
int |
m_weightTotal |
4 |
|
CAIScript
Used by the CAIScript Class
Offset |
Size (Total: 64) |
Type |
Field |
0x0 |
8 |
cResRef |
|
0x8 |
56 |
m_caList |
CAIScriptFile
Used by the CAIScriptFile Class
Offset |
Size (Total: 424) |
Type |
Field |
0x0 |
2 |
__int16 |
m_parseMode |
2 |
|
||
0x4 |
4 |
int |
m_lineNumber |
0x8 |
8 |
m_curScript |
|
0x10 |
8 |
m_curResponseSet |
|
0x18 |
8 |
m_curCondition |
|
0x20 |
8 |
m_curResponse |
|
0x28 |
8 |
m_errors |
|
0x30 |
24 |
m_file |
|
0x48 |
8 |
source |
|
0x50 |
8 |
m_decompiledText |
|
0x58 |
112 |
m_actions |
|
0xC8 |
112 |
m_triggers |
|
0x138 |
112 |
m_objects |
CAITrigger
Used by the CAITrigger Class
Offset |
Size (Total: 64) |
Type |
Field |
0x0 |
2 |
__int16 |
m_triggerID |
2 |
|
||
0x4 |
4 |
int |
m_specificID |
0x8 |
24 |
m_triggerCause |
|
0x20 |
4 |
int |
m_flags |
0x24 |
4 |
int |
m_specific2 |
0x28 |
4 |
int |
m_specific3 |
4 |
|
||
0x30 |
8 |
m_string1 |
|
0x38 |
8 |
m_string2 |
CAIUtil
See CAIUtil Class
Offset |
Size (Total: 0) |
Type |
Field |
CAOEEntry
Offset |
Size (Total: 24) |
Type |
Field |
0x0 |
4 |
m_type |
|
0x4 |
8 |
m_center |
|
0xC |
8 |
m_radius |
|
0x14 |
4 |
unsigned int |
m_color |
CAOEEntry::AOEType
Name |
Value (Size: 4) |
AOE_CIRCLE |
0 |
AOE_CONE |
1 |
AOE_RECTANGLE |
2 |
AOE_LINE |
3 |
CAbilityData
Offset |
Size (Total: 64) |
Type |
Field |
0x0 |
8 |
m_icon |
|
0x8 |
4 |
unsigned int |
m_name |
4 |
|
||
0x10 |
8 |
m_effect |
|
0x18 |
4 |
int |
m_nMinLevel |
0x1C |
4 |
int |
m_nMaxLevel |
0x20 |
4 |
int |
m_nNumAllowed |
4 |
|
||
0x28 |
8 |
m_sPrereq |
|
0x30 |
8 |
m_sExcludedBy |
|
0x38 |
8 |
m_sAlignmentRestriction |
CAbilityId
Offset |
Size (Total: 20) |
Type |
Field |
0x0 |
2 |
__int16 |
m_itemType |
0x2 |
2 |
__int16 |
m_itemNum |
0x4 |
2 |
__int16 |
m_abilityNum |
0x6 |
8 |
m_res |
|
0xE |
1 |
unsigned __int8 |
m_targetType |
0xF |
1 |
unsigned __int8 |
m_targetCount |
0x10 |
4 |
unsigned int |
m_toolTip |
CApplyEffectList
Offset |
Size (Total: 56) |
Type |
Field |
0x0 |
56 |
baseclass_0 |
CAreaFile
Offset |
Size (Total: 16) |
Type |
Field |
0x0 |
16 |
CResHelper<CResArea,1010> |
baseclass_0 |
CAreaFileCharacterEntryPoint
Offset |
Size (Total: 104) |
Type |
Field |
0x0 |
32 |
Array<char,32> |
m_entryName |
0x20 |
2 |
unsigned __int16 |
m_startX |
0x22 |
2 |
unsigned __int16 |
m_startY |
0x24 |
4 |
unsigned int |
m_facing |
0x28 |
64 |
Array<unsigned int,16> |
m_notUsed |
CAreaFileContainer
Offset |
Size (Total: 192) |
Type |
Field |
0x0 |
32 |
Array<char,32> |
m_scriptName |
0x20 |
2 |
unsigned __int16 |
m_posX |
0x22 |
2 |
unsigned __int16 |
m_posY |
0x24 |
2 |
unsigned __int16 |
m_containerType |
0x26 |
2 |
unsigned __int16 |
m_lockDifficulty |
0x28 |
4 |
unsigned int |
m_dwFlags |
0x2C |
2 |
unsigned __int16 |
m_trapDetectionDifficulty |
0x2E |
2 |
unsigned __int16 |
m_trapRemovalDifficulty |
0x30 |
2 |
unsigned __int16 |
m_trapActivated |
0x32 |
2 |
unsigned __int16 |
m_trapDetected |
0x34 |
2 |
unsigned __int16 |
m_posXTrapOrigin |
0x36 |
2 |
unsigned __int16 |
m_posYTrapOrigin |
0x38 |
2 |
unsigned __int16 |
m_boundingRectLeft |
0x3A |
2 |
unsigned __int16 |
m_boundingRectTop |
0x3C |
2 |
unsigned __int16 |
m_boundingRectRight |
0x3E |
2 |
unsigned __int16 |
m_boundingRectBottom |
0x40 |
4 |
unsigned int |
m_startingItem |
0x44 |
4 |
unsigned int |
m_itemCount |
0x48 |
8 |
Array<unsigned __int8,8> |
m_script |
0x50 |
4 |
unsigned int |
m_pickPointStart |
0x54 |
2 |
unsigned __int16 |
m_pickPointCount |
0x56 |
2 |
unsigned __int16 |
m_triggerRange |
0x58 |
32 |
Array<char,32> |
m_ownedBy |
0x78 |
8 |
Array<unsigned __int8,8> |
m_keyType |
0x80 |
4 |
unsigned int |
m_breakDifficulty |
0x84 |
4 |
unsigned int |
m_strNotPickable |
0x88 |
56 |
Array<unsigned int,14> |
m_notUsed |
CAreaFileCreature
Offset |
Size (Total: 272) |
Type |
Field |
0x0 |
32 |
Array<char,32> |
m_scriptName |
0x20 |
2 |
unsigned __int16 |
m_posX |
0x22 |
2 |
unsigned __int16 |
m_posY |
0x24 |
2 |
unsigned __int16 |
m_startingPosX |
0x26 |
2 |
unsigned __int16 |
m_startingPosY |
0x28 |
4 |
unsigned int |
m_dwFlags |
0x2C |
2 |
unsigned __int16 |
m_type |
0x2E |
1 |
char |
m_cFirstResSlot |
0x2F |
1 |
Array<unsigned __int8,1> |
structureAlignment1 |
0x30 |
4 |
unsigned int |
m_animationType |
0x34 |
2 |
unsigned __int16 |
m_facing |
0x36 |
2 |
Array<unsigned __int8,2> |
structureAlignment2 |
0x38 |
4 |
unsigned int |
m_expirationTime |
0x3C |
2 |
unsigned __int16 |
m_huntingRange |
0x3E |
2 |
unsigned __int16 |
m_followRange |
0x40 |
4 |
unsigned int |
m_timeOfDayVisible |
0x44 |
4 |
unsigned int |
m_numberTimesTalkedTo |
0x48 |
8 |
Array<unsigned __int8,8> |
m_dialogOverride |
0x50 |
8 |
Array<unsigned __int8,8> |
m_overrideScriptOverride |
0x58 |
8 |
Array<unsigned __int8,8> |
m_generalScriptOverride |
0x60 |
8 |
Array<unsigned __int8,8> |
m_classScriptOverride |
0x68 |
8 |
Array<unsigned __int8,8> |
m_raceScriptOverride |
0x70 |
8 |
Array<unsigned __int8,8> |
m_defaultScriptOverride |
0x78 |
8 |
Array<unsigned __int8,8> |
m_specificScriptOverride |
0x80 |
8 |
Array<unsigned __int8,8> |
m_creatureData |
0x88 |
4 |
unsigned int |
m_creatureOffset |
0x8C |
4 |
unsigned int |
m_creatureSize |
0x90 |
32 |
Array<char,32> |
m_sName |
0xB0 |
96 |
Array<unsigned int,24> |
m_notUsed |
CAreaFileDoorObject
Offset |
Size (Total: 200) |
Type |
Field |
0x0 |
32 |
Array<char,32> |
m_scriptName |
0x20 |
8 |
Array<unsigned __int8,8> |
m_doorID |
0x28 |
4 |
unsigned int |
m_dwFlags |
0x2C |
4 |
unsigned int |
m_openSelectionPointStart |
0x30 |
2 |
unsigned __int16 |
m_openSelectionPointCount |
0x32 |
2 |
unsigned __int16 |
m_closedSelectionPointCount |
0x34 |
4 |
unsigned int |
m_closedSelectionPointStart |
0x38 |
2 |
unsigned __int16 |
m_openBoundingRectLeft |
0x3A |
2 |
unsigned __int16 |
m_openBoundingRectTop |
0x3C |
2 |
unsigned __int16 |
m_openBoundingRectRight |
0x3E |
2 |
unsigned __int16 |
m_openBoundingRectBottom |
0x40 |
2 |
unsigned __int16 |
m_closedBoundingRectLeft |
0x42 |
2 |
unsigned __int16 |
m_closedBoundingRectTop |
0x44 |
2 |
unsigned __int16 |
m_closedBoundingRectRight |
0x46 |
2 |
unsigned __int16 |
m_closedBoundingRectBottom |
0x48 |
4 |
unsigned int |
m_openSearchSquaresStart |
0x4C |
2 |
unsigned __int16 |
m_openSearchSquaresCount |
0x4E |
2 |
unsigned __int16 |
m_closedSearchSquaresCount |
0x50 |
4 |
unsigned int |
m_closedSearchSquaresStart |
0x54 |
2 |
__int16 |
m_hitPoints |
0x56 |
2 |
__int16 |
m_armourClass |
0x58 |
8 |
Array<unsigned __int8,8> |
m_openSound |
0x60 |
8 |
Array<unsigned __int8,8> |
m_closeSound |
0x68 |
4 |
unsigned int |
m_cursorType |
0x6C |
2 |
unsigned __int16 |
m_trapDetectionDifficulty |
0x6E |
2 |
unsigned __int16 |
m_trapDisarmingDifficulty |
0x70 |
2 |
unsigned __int16 |
m_trapActivated |
0x72 |
2 |
unsigned __int16 |
m_trapDetected |
0x74 |
2 |
unsigned __int16 |
m_posXTrapOrigin |
0x76 |
2 |
unsigned __int16 |
m_posYTrapOrigin |
0x78 |
8 |
Array<unsigned __int8,8> |
m_keyType |
0x80 |
8 |
Array<unsigned __int8,8> |
m_script |
0x88 |
4 |
unsigned int |
m_detectionDifficulty |
0x8C |
4 |
unsigned int |
m_lockDifficulty |
0x90 |
2 |
unsigned __int16 |
m_posXWalkTo1 |
0x92 |
2 |
unsigned __int16 |
m_posYWalkTo1 |
0x94 |
2 |
unsigned __int16 |
m_posXWalkTo2 |
0x96 |
2 |
unsigned __int16 |
m_posYWalkTo2 |
0x98 |
4 |
unsigned int |
m_strNotPickable |
0x9C |
32 |
Array<char,32> |
m_triggerName |
0xBC |
12 |
Array<unsigned int,3> |
m_notUsed |
CAreaFileHeader
Offset |
Size (Total: 76) |
Type |
Field |
0x0 |
8 |
Array<unsigned __int8,8> |
m_areaName |
0x8 |
4 |
unsigned int |
m_lastSaved |
0xC |
4 |
unsigned int |
m_flags |
0x10 |
8 |
Array<unsigned __int8,8> |
m_areaEdgeNorth |
0x18 |
4 |
unsigned int |
m_flagsEdgeNorth |
0x1C |
8 |
Array<unsigned __int8,8> |
m_areaEdgeEast |
0x24 |
4 |
unsigned int |
m_flagsEdgeEast |
0x28 |
8 |
Array<unsigned __int8,8> |
m_areaEdgeSouth |
0x30 |
4 |
unsigned int |
m_flagsEdgeSouth |
0x34 |
8 |
Array<unsigned __int8,8> |
m_areaEdgeWest |
0x3C |
4 |
unsigned int |
m_flagsEdgeWest |
0x40 |
2 |
unsigned __int16 |
m_areaType |
0x42 |
2 |
unsigned __int16 |
m_rainProbability |
0x44 |
2 |
unsigned __int16 |
m_snowProbability |
0x46 |
2 |
unsigned __int16 |
m_fogProbability |
0x48 |
2 |
unsigned __int16 |
m_lightningProbability |
0x4A |
1 |
unsigned __int8 |
m_waterAlpha |
0x4B |
1 |
unsigned __int8 |
m_unused |
CAreaFileOffsets
Offset |
Size (Total: 200) |
Type |
Field |
0x0 |
4 |
unsigned int |
m_creatureTableOffset |
0x4 |
2 |
unsigned __int16 |
m_creatureTableCount |
0x6 |
2 |
unsigned __int16 |
m_triggerObjectListCount |
0x8 |
4 |
unsigned int |
m_triggerObjectListOffset |
0xC |
4 |
unsigned int |
m_randomMonsterSpawningPointTableOffset |
0x10 |
4 |
unsigned int |
m_randomMonsterSpawningPointTableCount |
0x14 |
4 |
unsigned int |
m_characterEntryPointTableOffset |
0x18 |
4 |
unsigned int |
m_characterEntryPointTableCount |
0x1C |
4 |
unsigned int |
m_containerListOffset |
0x20 |
2 |
unsigned __int16 |
m_containerListCount |
0x22 |
2 |
unsigned __int16 |
m_itemObjectsCount |
0x24 |
4 |
unsigned int |
m_itemObjectsOffset |
0x28 |
4 |
unsigned int |
m_pointsOffset |
0x2C |
2 |
unsigned __int16 |
m_pointsCount |
0x2E |
2 |
unsigned __int16 |
m_soundObjectCount |
0x30 |
4 |
unsigned int |
m_soundObjectOffset |
0x34 |
4 |
unsigned int |
m_areaScriptVariablesOffset |
0x38 |
2 |
unsigned __int16 |
m_areaScriptVariablesCount |
0x3A |
2 |
unsigned __int16 |
m_tiledObjectFlagsCount |
0x3C |
4 |
unsigned int |
m_tiledObjectFlagsOffset |
0x40 |
8 |
Array<unsigned __int8,8> |
m_script |
0x48 |
4 |
unsigned int |
m_visibilityMapCount |
0x4C |
4 |
unsigned int |
m_visibilityMapOffset |
0x50 |
4 |
unsigned int |
m_doorObjectListCount |
0x54 |
4 |
unsigned int |
m_doorObjectListOffset |
0x58 |
4 |
unsigned int |
m_staticObjectListCount |
0x5C |
4 |
unsigned int |
m_staticObjectListOffset |
0x60 |
4 |
unsigned int |
m_tiledObjectListCount |
0x64 |
4 |
unsigned int |
m_tiledObjectListOffset |
0x68 |
4 |
unsigned int |
m_areaSoundsAndMusicOffset |
0x6C |
4 |
unsigned int |
m_restingEncounterOffset |
0x70 |
4 |
unsigned int |
m_userMapNotesOffset |
0x74 |
4 |
unsigned int |
m_userMapNotesCount |
0x78 |
4 |
unsigned int |
m_projectileTableOffset |
0x7C |
4 |
unsigned int |
m_projectileTableCount |
0x80 |
8 |
Array<unsigned __int8,8> |
m_restMovieDay |
0x88 |
8 |
Array<unsigned __int8,8> |
m_restMovieNight |
0x90 |
56 |
Array<unsigned int,14> |
m_notUsed |
CAreaFileProjectileObject
Offset |
Size (Total: 28) |
Type |
Field |
0x0 |
8 |
Array<unsigned __int8,8> |
m_resref |
0x8 |
4 |
unsigned int |
m_effectListOffset |
0xC |
2 |
unsigned __int16 |
m_effectListCount |
0xE |
2 |
unsigned __int16 |
m_projectileID |
0x10 |
2 |
__int16 |
m_nDelayCount |
0x12 |
2 |
__int16 |
m_nRepetitionCount |
0x14 |
2 |
unsigned __int16 |
m_posX |
0x16 |
2 |
unsigned __int16 |
m_posY |
0x18 |
2 |
unsigned __int16 |
m_posZ |
0x1A |
1 |
unsigned __int8 |
m_targetType |
0x1B |
1 |
char |
m_portraitNum |
CAreaFileRandomMonsterSpawningPoint
Offset |
Size (Total: 200) |
Type |
Field |
0x0 |
32 |
Array<char,32> |
m_scriptName |
0x20 |
2 |
unsigned __int16 |
m_posX |
0x22 |
2 |
unsigned __int16 |
m_posY |
0x24 |
80 |
Array<Array<unsigned __int8,8>,10> |
m_randomCreature |
0x74 |
2 |
unsigned __int16 |
m_randomCreatureNum |
0x76 |
2 |
unsigned __int16 |
m_difficulty |
0x78 |
2 |
unsigned __int16 |
m_spawningRate |
0x7A |
2 |
unsigned __int16 |
m_wFlags |
0x7C |
4 |
unsigned int |
m_lifeSpan |
0x80 |
2 |
unsigned __int16 |
m_huntingRange |
0x82 |
2 |
unsigned __int16 |
m_followRange |
0x84 |
2 |
unsigned __int16 |
m_maxTypeNum |
0x86 |
2 |
unsigned __int16 |
m_activated |
0x88 |
4 |
unsigned int |
m_timeOfDayVisible |
0x8C |
2 |
unsigned __int16 |
m_probDay |
0x8E |
2 |
unsigned __int16 |
m_probNight |
0x90 |
4 |
unsigned int |
m_frequency |
0x94 |
4 |
unsigned int |
m_countdown |
0x98 |
10 |
Array<unsigned __int8,10> |
m_weights |
0xA2 |
38 |
Array<unsigned __int16,19> |
m_notUsed |
CAreaFileRestEncounter
Offset |
Size (Total: 228) |
Type |
Field |
0x0 |
32 |
Array<char,32> |
m_scriptName |
0x20 |
40 |
Array<unsigned int,10> |
m_randomCreatureString |
0x48 |
80 |
Array<Array<unsigned __int8,8>,10> |
m_randomCreature |
0x98 |
2 |
unsigned __int16 |
m_randomCreatureNum |
0x9A |
2 |
unsigned __int16 |
m_difficulty |
0x9C |
4 |
unsigned int |
m_lifeSpan |
0xA0 |
2 |
unsigned __int16 |
m_huntingRange |
0xA2 |
2 |
unsigned __int16 |
m_followRange |
0xA4 |
2 |
unsigned __int16 |
m_maxTypeNum |
0xA6 |
2 |
unsigned __int16 |
m_activated |
0xA8 |
2 |
unsigned __int16 |
m_probDay |
0xAA |
2 |
unsigned __int16 |
m_probNight |
0xAC |
2 |
unsigned __int16 |
m_wFlags |
0xAE |
10 |
Array<unsigned __int8,10> |
m_weights |
0xB8 |
44 |
Array<unsigned int,11> |
m_notUsed |
CAreaFileSoundObject
Offset |
Size (Total: 212) |
Type |
Field |
0x0 |
32 |
Array<char,32> |
m_scriptName |
0x20 |
2 |
unsigned __int16 |
m_posX |
0x22 |
2 |
unsigned __int16 |
m_posY |
0x24 |
2 |
unsigned __int16 |
m_range |
0x26 |
2 |
Array<unsigned __int8,2> |
structureAlignment1 |
0x28 |
4 |
unsigned int |
m_pitchVariance |
0x2C |
2 |
unsigned __int16 |
m_volumeVariance |
0x2E |
2 |
unsigned __int16 |
m_volume |
0x30 |
80 |
Array<Array<unsigned __int8,8>,10> |
m_soundObject |
0x80 |
2 |
unsigned __int16 |
m_soundObjectNum |
0x82 |
2 |
Array<unsigned __int8,2> |
structureAlignment2 |
0x84 |
4 |
unsigned int |
m_period |
0x88 |
4 |
unsigned int |
m_periodVariance |
0x8C |
4 |
unsigned int |
m_timeOfDayActive |
0x90 |
4 |
unsigned int |
m_dwFlags |
0x94 |
64 |
Array<unsigned int,16> |
m_notUsed |
CAreaFileStaticObject
Offset |
Size (Total: 76) |
Type |
Field |
0x0 |
32 |
Array<char,32> |
m_scriptName |
0x20 |
2 |
unsigned __int16 |
m_posX |
0x22 |
2 |
unsigned __int16 |
m_posY |
0x24 |
4 |
unsigned int |
m_timeOfDayVisible |
0x28 |
8 |
Array<unsigned __int8,8> |
m_resref |
0x30 |
4 |
unsigned int |
m_nSequence |
0x34 |
4 |
unsigned int |
m_dwFlags |
0x38 |
2 |
__int16 |
m_height |
0x3A |
2 |
unsigned __int16 |
m_translucency |
0x3C |
2 |
unsigned __int16 |
m_startFrameRange |
0x3E |
1 |
unsigned __int8 |
m_probability |
0x3F |
1 |
unsigned __int8 |
m_period |
0x40 |
8 |
Array<unsigned __int8,8> |
m_paletteResref |
0x48 |
2 |
unsigned __int16 |
m_sizeX |
0x4A |
2 |
unsigned __int16 |
m_sizeY |
CAreaFileTiledObject
Offset |
Size (Total: 104) |
Type |
Field |
0x0 |
32 |
Array<char,32> |
m_scriptName |
0x20 |
8 |
Array<unsigned __int8,8> |
m_tileID |
0x28 |
4 |
unsigned int |
m_dwFlags |
0x2C |
4 |
unsigned int |
m_primarySearchSquaresStart |
0x30 |
2 |
unsigned __int16 |
m_primarySearchSquaresCount |
0x32 |
2 |
unsigned __int16 |
m_secondarySearchSquaresCount |
0x34 |
4 |
unsigned int |
m_secondarySearchSquaresStart |
0x38 |
48 |
Array<unsigned int,12> |
m_notUsed |
CAreaFileTriggerObject
Offset |
Size (Total: 196) |
Type |
Field |
0x0 |
32 |
Array<char,32> |
m_scriptName |
0x20 |
2 |
unsigned __int16 |
m_triggerType |
0x22 |
2 |
unsigned __int16 |
m_boundingRectLeft |
0x24 |
2 |
unsigned __int16 |
m_boundingRectTop |
0x26 |
2 |
unsigned __int16 |
m_boundingRectRight |
0x28 |
2 |
unsigned __int16 |
m_boundingRectBottom |
0x2A |
2 |
unsigned __int16 |
m_pickPointCount |
0x2C |
4 |
unsigned int |
m_pickPointStart |
0x30 |
4 |
unsigned int |
m_triggerValue |
0x34 |
4 |
unsigned int |
m_cursorType |
0x38 |
8 |
Array<unsigned __int8,8> |
m_newArea |
0x40 |
32 |
Array<char,32> |
m_newEntryPoint |
0x60 |
4 |
unsigned int |
m_dwFlags |
0x64 |
4 |
unsigned int |
m_description |
0x68 |
2 |
unsigned __int16 |
m_trapDetectionDifficulty |
0x6A |
2 |
unsigned __int16 |
m_trapDisarmingDifficulty |
0x6C |
2 |
unsigned __int16 |
m_trapActivated |
0x6E |
2 |
unsigned __int16 |
m_trapDetected |
0x70 |
2 |
unsigned __int16 |
m_posXTrapOrigin |
0x72 |
2 |
unsigned __int16 |
m_posYTrapOrigin |
0x74 |
8 |
Array<unsigned __int8,8> |
m_keyType |
0x7C |
8 |
Array<unsigned __int8,8> |
m_script |
0x84 |
2 |
unsigned __int16 |
m_transitionWalkToX |
0x86 |
2 |
unsigned __int16 |
m_transitionWalkToY |
0x88 |
60 |
Array<unsigned int,15> |
m_notUsed |
CAreaPoint
Offset |
Size (Total: 4) |
Type |
Field |
0x0 |
2 |
unsigned __int16 |
m_xPos |
0x2 |
2 |
unsigned __int16 |
m_yPos |
CAreaSoundsAndMusic
Offset |
Size (Total: 144) |
Type |
Field |
0x0 |
4 |
unsigned int |
m_dayMusic |
0x4 |
4 |
unsigned int |
m_nightMusic |
0x8 |
4 |
unsigned int |
m_battleWinningMusic |
0xC |
4 |
unsigned int |
m_battleStandOffMusic |
0x10 |
4 |
unsigned int |
m_battleLosingMusic |
0x14 |
4 |
unsigned int |
m_alt1Music0 |
0x18 |
4 |
unsigned int |
m_alt1Music1 |
0x1C |
4 |
unsigned int |
m_alt1Music2 |
0x20 |
4 |
unsigned int |
m_alt1Music3 |
0x24 |
4 |
unsigned int |
m_alt1Music4 |
0x28 |
8 |
Array<unsigned __int8,8> |
m_dayAmbient |
0x30 |
8 |
Array<unsigned __int8,8> |
m_dayAmbientExtended |
0x38 |
4 |
unsigned int |
m_dayAmbientVolume |
0x3C |
8 |
Array<unsigned __int8,8> |
m_nightAmbient |
0x44 |
8 |
Array<unsigned __int8,8> |
m_nightAmbientExtended |
0x4C |
4 |
unsigned int |
m_nightAmbientVolume |
0x50 |
64 |
Array<unsigned int,16> |
m_notUsed |
CAreaUserNote
Offset |
Size (Total: 52) |
Type |
Field |
0x0 |
2 |
unsigned __int16 |
m_startX |
0x2 |
2 |
unsigned __int16 |
m_startY |
0x4 |
4 |
unsigned int |
m_note |
0x8 |
4 |
unsigned int |
m_dwflags |
0xC |
4 |
unsigned int |
m_id |
0x10 |
36 |
Array<unsigned int,9> |
m_notUsed |
CAreaVariable
Offset |
Size (Total: 84) |
Type |
Field |
0x0 |
32 |
Array<char,32> |
m_name |
0x20 |
2 |
unsigned __int16 |
m_type |
0x22 |
2 |
unsigned __int16 |
m_resRefType |
0x24 |
4 |
unsigned int |
m_dWValue |
0x28 |
4 |
int |
m_intValue |
0x2C |
8 |
long double |
m_floatValue |
0x34 |
32 |
Array<char,32> |
m_stringValue |
CArray<class TYPE, class ARG_TYPE>
Note
CArray is a generic definition for all the CArray type structures. Each of them has a m_pData field that points to a specific structure. The names of these other CArray structures have been created for convenience, by adding the name of the structure that they point to to the end of the 'CArray'. The actual definitions as they are seen by the game engine (and from extracting pdb symbol information) are noted for each of them.
Offset |
Size (Total: 32) |
Type |
Field |
0x0 |
8 |
baseclass_0 |
|
0x8 |
8 |
TYPE* |
m_pData |
0x10 |
4 |
int |
m_nSize |
0x14 |
4 |
int |
m_nMaxSize |
0x18 |
4 |
int |
m_nGrowBy |
4 |
|