CI Structures¶
CIcon¶
See CIcon Class
Offset |
Size (Total: 0) |
Type |
Field |
CImmunitiesAIType¶
Used by the CImmunitiesAIType Class
Offset |
Size (Total: 56) |
Type |
Field |
0x0 |
56 |
baseclass_0 |
CImmunitiesEffect¶
Used by the CImmunitiesEffect Class
Offset |
Size (Total: 56) |
Type |
Field |
0x0 |
56 |
baseclass_0 |
CImmunitiesItemEquip¶
Offset |
Size (Total: 24) |
Type |
Field |
0x0 |
8 |
m_res |
|
0x8 |
4 |
unsigned int |
m_error |
4 |
|
||
0x10 |
8 |
m_pEffect |
CImmunitiesItemEquipList¶
Used by the CImmunitiesItemEquipList Class
Offset |
Size (Total: 56) |
Type |
Field |
0x0 |
56 |
baseclass_0 |
CImmunitiesItemTypeEquip¶
Offset |
Size (Total: 16) |
Type |
Field |
0x0 |
4 |
unsigned int |
m_type |
0x4 |
4 |
unsigned int |
m_error |
0x8 |
8 |
m_pEffect |
CImmunitiesItemTypeEquipList¶
Used by the CImmunitiesItemTypeEquipList Class
Offset |
Size (Total: 56) |
Type |
Field |
0x0 |
56 |
baseclass_0 |
CImmunitiesProjectile¶
Used by the CImmunitiesProjectile Class
Offset |
Size (Total: 56) |
Type |
Field |
0x0 |
56 |
CTypedPtrList<CPtrList,long*> |
baseclass_0 |
CImmunitiesSchoolAndSecondary¶
Used by the CImmunitiesSchoolAndSecondary Class
Offset |
Size (Total: 56) |
Type |
Field |
0x0 |
56 |
CTypedPtrList<CPtrList,long*> |
baseclass_0 |
CImmunitiesSchoolAndSecondaryDecrementing¶
Used by the CImmunitiesSchoolAndSecondaryDecrementing Class
Offset |
Size (Total: 56) |
Type |
Field |
0x0 |
56 |
baseclass_0 |
CImmunitiesSpellLevel¶
Used by the CImmunitiesSpellLevel Class
Offset |
Size (Total: 40) |
Type |
Field |
0x0 |
40 |
Array<int,10> |
m_levels |
CImmunitiesSpellLevelDecrementing¶
Used by the CImmunitiesSpellLevelDecrementing Class
Offset |
Size (Total: 80) |
Type |
Field |
0x0 |
80 |
Array<CSpellLevelDecrementing,10> |
m_levels |
CImmunitiesSpellList¶
Used by the CImmunitiesSpellList Class
Offset |
Size (Total: 56) |
Type |
Field |
0x0 |
56 |
baseclass_0 |
CImmunitiesWeapon¶
Used by the CImmunitiesWeapon Class
Offset |
Size (Total: 56) |
Type |
Field |
0x0 |
56 |
baseclass_0 |
CImmunitySpell¶
Offset |
Size (Total: 16) |
Type |
Field |
0x0 |
8 |
m_res |
|
0x8 |
4 |
unsigned int |
m_error |
0xC |
4 |
int |
m_item |
CImportGame¶
Used by the CImportGame Class
Offset |
Size (Total: 176) |
Type |
Field |
0x0 |
1 |
unsigned __int8 |
m_bDrizztDead |
7 |
|
||
0x8 |
8 |
m_pGame |
|
0x10 |
1 |
unsigned __int8 |
m_nVersion |
7 |
|
||
0x18 |
32 |
m_aPartyCreatures |
|
0x38 |
32 |
m_aNonPartyCreatures |
|
0x58 |
32 |
CTypedPtrArray<CPtrArray,unsigned char*> |
m_aCreatureData |
0x78 |
32 |
CTypedPtrArray<CPtrArray,unsigned char*> |
m_aNPCData |
0x98 |
4 |
int |
m_nGlobalVariables |
4 |
|
||
0xA0 |
8 |
unsigned __int8* |
m_pGlobalVariables |
0xA8 |
4 |
unsigned int |
m_nPartyGold |
0xAC |
4 |
unsigned int |
m_nReputation |
CInfCursor¶
Used by the CInfCursor Class
Offset |
Size (Total: 1384) |
Type |
Field |
0x0 |
4 |
int |
bVisible |
4 |
|
||
0x8 |
312 |
vcCursors |
|
0x140 |
312 |
vcArrow |
|
0x278 |
312 |
vcCustom |
|
0x3B0 |
416 |
vcToolTip |
|
0x550 |
4 |
unsigned int |
nAnimationCounter |
0x554 |
4 |
int |
nAnimationSpeed |
0x558 |
4 |
int |
nCurrentCursor |
0x55C |
4 |
int |
nDirection |
0x560 |
4 |
int |
nState |
0x564 |
1 |
unsigned __int8 |
bAnimatingCustom |
3 |
|
CInfGame¶
Used by the CInfGame Class
Offset |
Size (Total: 38904) |
Type |
Field |
0x0 |
16288 |
m_ruleTables |
|
0x3FA0 |
8 |
m_worldTime |
|
0x3FA8 |
4 |
int |
m_bGameLoaded |
0x3FAC |
1 |
unsigned __int8 |
m_bInLoadGame |
0x3FAD |
1 |
unsigned __int8 |
m_bInLoadArea |
0x3FAE |
1 |
unsigned __int8 |
m_bInIniSpawn |
1 |
|
||
0x3FB0 |
4 |
unsigned int |
m_nUniqueAreaID |
0x3FB4 |
4 |
unsigned int |
m_nAreaFirstObject |
0x3FB8 |
1 |
unsigned __int8 |
m_bFromNewGame |
0x3FB9 |
1 |
unsigned __int8 |
m_bInDestroyGame |
0x3FBA |
1 |
unsigned __int8 |
m_bAnotherPlayerJoinedGame |
0x3FBB |
1 |
unsigned __int8 |
m_bInAreaTransition |
0x3FBC |
4 |
int |
m_bStartedDeathSequence |
0x3FC0 |
56 |
CTypedPtrList<CPtrList,long*> |
m_lstTargetIds |
0x3FF8 |
56 |
m_lstTargetPts |
|
0x4030 |
2 |
__int16 |
m_nState |
2 |
|
||
0x4034 |
4 |
int |
m_iconCount |
0x4038 |
1 |
unsigned __int8 |
m_iconIndex |
0x4039 |
8 |
m_iconResRef |
|
0x4041 |
1 |
unsigned __int8 |
m_tempCursor |
2 |
|
||
0x4044 |
4 |
int |
m_iContainer |
0x4048 |
4 |
int |
m_iContainerSprite |
0x404C |
4 |
int |
m_bAllowTargetDead |
0x4050 |
8 |
m_singlePlayerPermissions |
|
0x4058 |
208 |
m_multiPlayerSettings |
|
0x4128 |
24 |
m_machineStates |
|
0x4140 |
8824 |
m_cButtonArray |
|
0x63B8 |
16 |
m_cVRamPool |
|
0x63C8 |
4 |
int |
m_bSaveScreen |
4 |
|
||
0x63D0 |
8 |
m_sSaveScreenArea |
|
0x63D8 |
288 |
m_rgbMasterBitmap |
|
0 |
|
||
0x64F8 |
8 |
m_objectsArray |
|
0x6500 |
144 |
m_remoteObjectsArray |
|
0x6590 |
1 |
unsigned __int8 |
m_visibleArea |
0x6591 |
1 |
unsigned __int8 |
m_bPlayerScriptStyle |
6 |
|
||
0x6598 |
96 |
Array<CGameArea*,12> |
m_gameAreas |
0x65F8 |
8 |
m_pGameAreaMaster |
|
0x6600 |
24 |
Array<int,6> |
m_characters |
0x6618 |
24 |
Array<int,6> |
m_charactersPortrait |
0x6630 |
2 |
__int16 |
m_nCharacters |
6 |
|
||
0x6638 |
56 |
CTypedPtrList<CPtrList,long*> |
m_lstGlobalCreatures |
0x6670 |
32 |
CTypedPtrArray<CPtrArray,long*> |
m_characterOverflow |
0x6690 |
2 |
__int16 |
m_nCharacterOverflowCount |
0x6692 |
2 |
__int16 |
m_nReputation |
4 |
|
||
0x6698 |
8 |
m_pathSearch |
|
0x66A0 |
8 |
m_listGrid |
|
0x66A8 |
8 |
m_arrayOpenList |
|
0x66B0 |
64 |
m_group |
|
0x66F0 |
56 |
CTypedPtrList<CPtrList,long*> |
m_allies |
0x6728 |
56 |
CTypedPtrList<CPtrList,long*> |
m_familiars |
0x6760 |
72 |
Array<Array<unsigned __int8,8>,9> |
m_resrefFamiliarsDefault |
0x67A8 |
4536 |
Array<Array<CTypedPtrList<CPtrList, CResRef*>,9>,9> |
m_resrefFamiliars |
0x7960 |
4 |
int |
m_bFamiliarBlock |
0x7964 |
4 |
unsigned int |
m_nFamiliarSummoner |
0x7968 |
8 |
m_sSaveGame |
|
0x7970 |
4 |
int |
m_bAllowCutSceneBreak |
4 |
|
||
0x7978 |
856 |
m_gameSave |
|
0x7CD0 |
612 |
m_options |
|
4 |
|
||
0x7F38 |
40 |
m_cGameJournal |
|
0x7F60 |
40 |
m_cWorldMap |
|
0x7F88 |
2400 |
Array<int,600> |
m_pKeymap |
0x88E8 |
2400 |
Array<int,600> |
m_pKeymapFlags |
0x9248 |
16 |
m_variables |
|
0x9258 |
16 |
m_namedCreatures |
|
0x9268 |
40 |
m_soundNeedParty |
|
0x9290 |
40 |
m_soundAreaTransitionRefused |
|
0x92B8 |
1 |
unsigned __int8 |
m_bForceDither |
7 |
|
||
0x92C0 |
312 |
m_vcLocator |
|
0x93F8 |
56 |
m_searchRequests |
|
0x9430 |
56 |
m_searchRequestsBack |
|
0x9468 |
4 |
int |
m_searchRequestListEmpty |
0x946C |
4 |
int |
m_searchShutdown |
0x9470 |
56 |
m_lDisposableItems |
|
0x94A8 |
2 |
__int16 |
m_currArmor |
0x94AA |
2 |
__int16 |
m_currAnimation |
4 |
|
||
0x94B0 |
112 |
SAVE_OBJECT_LIST |
|
0x9520 |
4 |
int |
m_nProtagonistId |
0x9524 |
1 |
unsigned __int8 |
m_bPartyAI |
0x9525 |
1 |
unsigned __int8 |
m_bShowAreaNotes |
0x9526 |
1 |
unsigned __int8 |
m_nTravelScreenImageToUse |
0x9527 |
8 |
m_resrefTravelScreenImage |
|
1 |
|
||
0x9530 |
4 |
unsigned int |
m_dwLastProgressRenderTickCount |
0x9534 |
4 |
unsigned int |
m_dwLastProgressMsgTickCount |
0x9538 |
4 |
unsigned int |
m_nLastSaveTime |
0x953C |
4 |
unsigned int |
m_gameTime |
0x9540 |
4 |
unsigned int |
m_zoomLevel |
0x9544 |
4 |
unsigned int |
m_zoomEnabled |
0x9548 |
8 |
m_lastClick |
|
0x9550 |
4 |
int |
m_lastTarget |
0x9554 |
1 |
unsigned __int8 |
m_bTriggerOutline |
3 |
|
||
0x9558 |
48 |
m_entanglePalette |
|
0x9588 |
48 |
m_webHoldPalette |
|
0x95B8 |
4 |
int |
m_nCharacterTerminationSequenceDelay |
0x95BC |
4 |
int |
m_bNoDreamTonight |
0x95C0 |
1 |
unsigned __int8 |
m_bContinueHealing |
7 |
|
||
0x95C8 |
56 |
m_cMoveList |
|
0x9600 |
56 |
m_cLimboList |
|
0x9638 |
56 |
m_lTransitionPiles |
|
0x9670 |
8 |
m_transitionPilesResref |
|
0x9678 |
8 |
m_transitionPilesPtDest |
|
0x9680 |
4 |
int |
m_bMissionPackInfo |
0x9684 |
4 |
int |
m_bMissionPackInfo25 |
0x9688 |
4 |
int |
m_bMissionPackInfoTBP |
0x968C |
4 |
int |
m_nAIIndex |
0x9690 |
4 |
int |
m_nTimeStop |
0x9694 |
4 |
int |
m_nTimeStopCaster |
0x9698 |
4 |
int |
m_nGreyScale |
0x969C |
4 |
int |
m_nBrownScale |
0x96A0 |
8 |
m_globalScriptFile |
|
0x96A8 |
96 |
Array<CStore*,12> |
m_aServerStore |
0x9708 |
12 |
Array<unsigned __int8,12> |
m_nServerStoreDemands |
4 |
|
||
0x9718 |
8 |
m_appearanceWeapon |
|
0x9720 |
8 |
m_appearanceBody |
|
0x9728 |
8 |
m_appearanceShield |
|
0x9730 |
8 |
m_appearanceHelmet |
|
0x9738 |
7 |
Array<unsigned __int8,7> |
m_appearanceColorsWeapon |
0x973F |
7 |
Array<unsigned __int8,7> |
m_appearanceColorsBody |
0x9746 |
7 |
Array<unsigned __int8,7> |
m_appearanceColorsShield |
0x974D |
7 |
Array<unsigned __int8,7> |
m_appearanceColorsHelmet |
0x9754 |
4 |
int |
m_bOverrideRestEncounter |
0x9758 |
4 |
int |
m_bAddOnActivated |
0x975C |
4 |
int |
m_bAddInActivated |
0x9760 |
8 |
m_sCurrentCampaign |
|
0x9768 |
4 |
int |
m_bCampaignEnabled |
4 |
|
||
0x9770 |
56 |
m_storedLocations |
|
0x97A8 |
56 |
m_storedLocationsPocketPlane |
|
0x97E0 |
16 |
m_VVCPriorities |
|
0x97F0 |
4 |
int |
m_nCurrentVVCPriority |
4 |
|
CInfTileSet¶
Used by the CInfTileSet Class
Offset |
Size (Total: 312) |
Type |
Field |
0x0 |
16 |
Array<CResTileSet*,2> |
tis |
0x10 |
272 |
cVidTile |
|
0x120 |
8 |
pVRPool |
|
0x128 |
8 |
pResTiles |
|
0x130 |
4 |
unsigned int |
nTiles |
0x134 |
4 |
unsigned int |
nTileSize |
CInfToolTip¶
Offset |
Size (Total: 416) |
Type |
Field |
0x0 |
312 |
baseclass_0 |
|
0x138 |
8 |
m_sText |
|
0x140 |
16 |
m_rSource |
|
0x150 |
4 |
int |
m_bUseSourceRect |
4 |
|
||
0x158 |
40 |
m_textFont |
|
0x180 |
32 |
m_openSnd |
CInfinity¶
Used by the CInfinity Class
Offset |
Size (Total: 1176) |
Type |
Field |
0x0 |
40 |
Array<CInfTileSet*,5> |
pTileSets |
0x28 |
8 |
pResWED |
|
0x30 |
8 |
pVRPool |
|
0x38 |
8 |
pVidMode |
|
0x40 |
4 |
int |
bUseDestSrc |
0x44 |
4 |
int |
bRefreshVRamRect |
0x48 |
4 |
int |
bInitialized |
0x4C |
4 |
int |
bWEDDemanded |
0x50 |
4 |
int |
nOffsetX |
0x54 |
4 |
int |
nOffsetY |
0x58 |
4 |
int |
nTilesX |
0x5C |
4 |
int |
nTilesY |
0x60 |
4 |
int |
nNewX |
0x64 |
4 |
int |
nNewY |
0x68 |
16 |
rViewPortNotZoomed |
|
0x78 |
16 |
rViewPort |
|
0x88 |
16 |
rVRamRect |
|
0x98 |
16 |
rRequestRect |
|
0xA8 |
4 |
int |
nVisibleTilesX |
0xAC |
4 |
int |
nVisibleTilesY |
0xB0 |
4 |
int |
nAreaX |
0xB4 |
4 |
int |
nAreaY |
0xB8 |
4 |
int |
nCurrentTileX |
0xBC |
4 |
int |
nCurrentTileY |
0xC0 |
4 |
int |
nCurrentX |
0xC4 |
4 |
int |
nCurrentY |
0xC8 |
4 |
int |
nSub1XOffset |
0xCC |
4 |
int |
nSub1YOffset |
0xD0 |
4 |
int |
nSub2XOffset |
0xD4 |
4 |
int |
nSub2YOffset |
0xD8 |
4 |
int |
nSub3XOffset |
0xDC |
4 |
int |
nSub3YOffset |
0xE0 |
4 |
int |
nSub4XOffset |
0xE4 |
4 |
int |
nSub4YOffset |
0xE8 |
32 |
sndThunder |
|
0x108 |
4 |
int |
nCurrentLightningFrequency |
0x10C |
4 |
int |
nNextLightningFrequency |
0x110 |
4 |
int |
nNewLightningFrequency |
0x114 |
4 |
int |
nCurrentRainLevel |
0x118 |
4 |
int |
nNextRainLevel |
0x11C |
4 |
int |
nCurrentSnowLevel |
0x120 |
4 |
int |
nCurrentWindLevel |
0x124 |
4 |
int |
nCurrentFogLevel |
0x128 |
4 |
int |
nNextWindLevel |
0x12C |
4 |
int |
nCurrentTimeOfDay |
0x130 |
4 |
int |
nTimeToNextThunder |
0x134 |
4 |
int |
nThunderLength |
0x138 |
4 |
int |
bRenderCallLightning |
0x13C |
4 |
int |
nRenderLightningTimer |
0x140 |
8 |
cLightningPoint |
|
0x148 |
312 |
m_glowVidCell |
|
0x280 |
56 |
m_lAOE |
|
0x2B8 |
24 |
std::vector<unsigned char*,std::allocator<unsigned char*>> |
m_RasterizedPolys |
0x2D0 |
24 |
std::vector<std::vector<WED_PolyPoint_st,std::allocator<WED_PolyPoint_st>>,std::allocator<std::vector<WED_PolyPoint_st,std::allocator<WED_PolyPoint_st>>>> |
m_DownsampledPolys |
0x2E8 |
2 |
unsigned __int16 |
m_areaType |
0x2EA |
1 |
unsigned __int8 |
m_renderDayNightCode |
0x2EB |
1 |
unsigned __int8 |
m_oldRenderDayNightCode |
0x2EC |
1 |
unsigned __int8 |
m_dayLightIntensity |
0x2ED |
1 |
unsigned __int8 |
m_requestDayNightCode |
0x2EE |
1 |
unsigned __int8 |
m_oldRequestDualTileCode |
0x2EF |
1 |
unsigned __int8 |
m_bResizedViewPort |
0x2F0 |
4 |
unsigned int |
m_nLastTickCount |
0x2F4 |
8 |
m_ptCurrentPosExact |
|
0x2FC |
2 |
__int16 |
m_autoScrollSpeed |
2 |
|
||
0x300 |
8 |
m_ptScrollDest |
|
0x308 |
4 |
int |
m_nScrollAttempts |
0x30C |
4 |
int |
m_nOldScrollState |
0x310 |
1 |
unsigned __int8 |
m_nScrollDelay |
0x311 |
1 |
unsigned __int8 |
m_bMovieBroadcast |
2 |
|
||
0x314 |
4 |
int |
m_bStartLightning |
0x318 |
4 |
int |
m_bStopLightning |
0x31C |
1 |
unsigned __int8 |
m_lightningStrikeProb |
3 |
|
||
0x320 |
4 |
unsigned int |
m_rgbRainColor |
0x324 |
4 |
unsigned int |
m_rgbLightningGlobalLighting |
0x328 |
4 |
unsigned int |
m_rgbOverCastGlobalLighting |
0x32C |
4 |
unsigned int |
m_rgbGlobalLighting |
0x330 |
4 |
unsigned int |
m_rgbTimeOfDayGlobalLighting |
0x334 |
4 |
unsigned int |
m_rgbTimeOfDayRainColor |
0x338 |
4 |
int |
m_updateListenPosition |
4 |
|
||
0x340 |
8 |
m_pArea |
|
0x348 |
288 |
m_vbMessageScreen |
|
0x468 |
4 |
unsigned int |
m_strrefMessage |
0x46C |
4 |
int |
m_bScreenShake |
0x470 |
8 |
m_screenShakeDelta |
|
0x478 |
8 |
m_screenShakeDecrease |
|
0x480 |
4 |
float |
m_fZoomSaved |
0x484 |
4 |
float |
m_fZoom |
0x488 |
4 |
float |
m_fStoredZoom |
0x48C |
4 |
int |
m_bZoomEnabled |
0x490 |
4 |
int |
m_bZooming |
4 |
|
CItem¶
Used by the CItem Class
Offset |
Size (Total: 168) |
Type |
Field |
0x0 |
8 |
qword |
vfptr |
0x8 |
16 |
CResHelper<CResItem,1005> |
baseclass_0 |
0x18 |
4 |
int |
m_nAbilities |
0x1C |
2 |
unsigned __int16 |
m_useCount1 |
0x1E |
2 |
unsigned __int16 |
m_useCount2 |
0x20 |
2 |
unsigned __int16 |
m_useCount3 |
0x22 |
2 |
unsigned __int16 |
m_wear |
0x24 |
4 |
unsigned int |
m_flags |
0x28 |
64 |
Array<CSound,2> |
m_useSound |
0x68 |
2 |
__int16 |
m_numSounds |
6 |
|
||
0x70 |
56 |
m_Usability |
Notes
m_flags field can contain bit values from INVITEM.IDS
:
1 IDENTIFIED
2 NONSTEALABLE
4 STOLEN
8 NONDROPABLE
m_flags field is checked for identified value in CItem::GetGenericName and CItem::GetDescription