CI Structures
CIcon
See CIcon Class
Offset |
Size |
Type |
Field |
1 |
|
CImmunitiesAIType
Used by the CImmunitiesAIType Class
Offset |
Size |
Type |
Field |
0x00 |
28 |
m_cTypedPtrList |
CImmunitiesEffect
Used by the CImmunitiesEffect Class
Offset |
Size |
Type |
Field |
0x00 |
28 |
m_cTypedPtrList |
CImmunitiesItemEquip
Offset |
Size |
Type |
Field |
0x00 |
8 |
m_res |
|
0x08 |
4 |
unsigned long |
m_error |
0x0C |
4 |
m_pEffect |
CImmunitiesItemEquipList
Used by the CImmunitiesItemEquipList Class
Offset |
Size |
Type |
Field |
0x00 |
28 |
m_cTypedPtrList |
CImmunitiesItemTypeEquip
Offset |
Size |
Type |
Field |
0x00 |
4 |
unsigned long |
m_type |
0x04 |
4 |
unsigned long |
m_error |
0x08 |
4 |
m_pEffect |
CImmunitiesItemTypeEquipList
Used by the CImmunitiesItemTypeEquipList Class
Offset |
Size |
Type |
Field |
0x00 |
28 |
m_cTypedPtrList |
CImmunitiesProjectile
Used by the CImmunitiesProjectile Class
Offset |
Size |
Type |
Field |
0x00 |
28 |
m_cTypedPtrList |
CImmunitiesSchoolAndSecondary
Used by the CImmunitiesSchoolAndSecondary Class
Offset |
Size |
Type |
Field |
0x00 |
28 |
m_cTypedPtrList |
CImmunitiesSchoolAndSecondaryDecrementing
Used by the CImmunitiesSchoolAndSecondaryDecrementing Class
Offset |
Size |
Type |
Field |
0x00 |
28 |
m_cTypedPtrList |
CImmunitiesSpellLevel
Used by the CImmunitiesSpellLevel Class
Offset |
Size |
Type |
Field |
0x00 |
40 |
int |
m_levels[10] |
CImmunitiesSpellLevelDecrementing
Used by the CImmunitiesSpellLevelDecrementing Class
Offset |
Size |
Type |
Field |
0x00 |
80 |
m_levels[10] |
CImmunitiesSpellList
Used by the CImmunitiesSpellList Class
Offset |
Size |
Type |
Field |
0x00 |
28 |
m_cTypedPtrList |
CImmunitiesWeapon
Used by the CImmunitiesWeapon Class
Offset |
Size |
Type |
Field |
0x00 |
28 |
m_cTypedPtrList |
CImmunitySpell
Offset |
Size |
Type |
Field |
0x00 |
8 |
m_res |
|
0x08 |
4 |
unsigned long |
m_error |
0x0C |
4 |
int |
m_item |
CImportGame
Used by the CImportGame Class
Offset |
Size |
Type |
Field |
0x00 |
1 |
unsigned char |
m_bDrizztDead |
3 |
|
||
0x04 |
4 |
m_pGame |
|
0x08 |
1 |
unsigned char |
m_nVersion |
3 |
|
||
0x0C |
20 |
m_aPartyCreatures |
|
0x20 |
20 |
m_aNonPartyCreatures |
|
0x34 |
20 |
m_aCreatureData |
|
0x48 |
20 |
m_aNPCData |
|
0x5c |
4 |
int |
m_nGlobalVariables |
0x60 |
4 |
unsigned char* |
m_pGlobalVariables |
0x64 |
4 |
unsigned long |
m_nPartyGold |
0x68 |
4 |
unsigned long |
m_nReputation |
CInfCursor
Used by the CInfCursor Class
Offset |
Size |
Type |
Field |
0x00 |
4 |
int |
bVisible |
0x04 |
192 |
vcCursors |
|
0xC4 |
192 |
vcArrow |
|
0x184 |
192 |
vcCustom |
|
0x244 |
268 |
vcToolTip |
|
0x350 |
4 |
unsigned int |
nAnimationCounter |
0x354 |
4 |
int |
nAnimationSpeed |
0x358 |
4 |
int |
nCurrentCursor |
0x35C |
4 |
int |
nDirection |
0x360 |
4 |
int |
nState |
0x364 |
1 |
unsigned char |
bAnimatingCustom |
3 |
|
CInfGame
Used by the CInfGame Class
Offset |
Size |
Type |
Field |
0x00 |
9472 |
m_ruleTables |
|
0x2500 |
8 |
m_worldTime |
|
0x2508 |
4 |
int |
m_bGameLoaded |
0x250C |
1 |
unsigned char |
m_bInLoadGame |
0x250D |
1 |
unsigned char |
m_bInLoadArea |
0x250E |
1 |
unsigned char |
m_bInIniSpawn |
1 |
|
||
0x2510 |
4 |
unsigned long |
m_nUniqueAreaID |
0x2514 |
4 |
unsigned long |
m_nAreaFirstObject |
0x2518 |
1 |
unsigned char |
m_bFromNewGame |
0x2519 |
1 |
unsigned char |
m_bInDestroyGame |
0x251A |
1 |
unsigned char |
m_bAnotherPlayerJoinedGame |
0x251B |
1 |
unsigned char |
m_bInAreaTransition |
0x251C |
4 |
int |
m_bStartedDeathSequence |
0x2520 |
28 |
m_lstTargetIds |
|
0x253C |
28 |
m_lstTargetPts |
|
0x2558 |
2 |
short |
m_nState |
2 |
|
||
0x255C |
4 |
int |
m_iconCount |
0x2560 |
1 |
unsigned char |
m_iconIndex |
0x2561 |
8 |
m_iconResRef |
|
0x2569 |
1 |
unsigned char |
m_tempCursor |
2 |
|
||
0x256C |
4 |
long |
m_iContainer |
0x2570 |
4 |
long |
m_iContainerSprite |
0x2574 |
4 |
int |
m_bAllowTargetDead |
0x2578 |
8 |
m_singlePlayerPermissions |
|
0x2580 |
188 |
m_multiPlayerSettings |
|
0x263C |
24 |
m_machineStates |
|
0x2654 |
5652 |
m_cButtonArray |
|
0x3C68 |
8 |
m_cVRamPool |
|
0x3C70 |
4 |
int |
m_bSaveScreen |
0x3C74 |
4 |
m_sSaveScreenArea |
|
0x3C78 |
176 |
m_rgbMasterBitmap |
|
4 |
|
||
0x3D2C |
116 |
m_remoteObjectsArray |
|
0x3DA0 |
1 |
unsigned char |
m_visibleArea |
0x3DA1 |
1 |
unsigned char |
m_bPlayerScriptStyle |
2 |
|
||
0x3DA4 |
48 |
m_gameAreas[12] |
|
0x3DD4 |
4 |
m_pGameAreaMaster |
|
0x3DD8 |
24 |
long |
m_characters[6] |
0x3DF0 |
24 |
long |
m_charactersPortrait[6] |
0x3E08 |
2 |
short |
m_nCharacters |
2 |
|
||
0x3E0C |
28 |
m_lstGlobalCreatures |
|
0x3E28 |
20 |
m_characterOverflow |
|
0x3E3C |
2 |
short |
m_nCharacterOverflowCount |
0x3E3E |
2 |
short |
m_nReputation |
0x3E40 |
4 |
m_pathSearch |
|
0x3E44 |
4 |
m_listGrid |
|
0x3E48 |
36 |
m_group |
|
0x3E6C |
28 |
m_allies |
|
0x3E88 |
28 |
m_familiars |
|
0x3EA4 |
72 |
unsigned char |
m_resrefFamiliarsDefault[9][8] |
0x3EEC |
2268 |
m_resrefFamiliars[9][9] |
|
0x47C8 |
4 |
int |
m_bFamiliarBlock |
0x47CC |
4 |
unsigned long |
m_nFamiliarSummoner |
0x47D0 |
4 |
m_sSaveGame |
|
0x47d4 |
4 |
int |
m_bAllowCutSceneBreak |
0x47d8 |
452 |
m_gameSave |
|
0x499C |
604 |
m_options |
|
0x4BF8 |
20 |
m_cGameJournal |
|
0x4C0C |
28 |
m_cWorldMap |
|
0x4C28 |
2000 |
int |
m_pKeymap[500] |
0x53F8 |
2000 |
int |
m_pKeymapFlags[500] |
0x5BC8 |
8 |
m_variables |
|
0x5BD0 |
8 |
m_namedCreatures |
|
0x5BD8 |
24 |
m_soundNeedParty |
|
0x5BF0 |
24 |
m_soundAreaTransitionRefused |
|
0x5C08 |
1 |
unsigned char |
m_bForceDither |
3 |
|
||
0x5C0C |
192 |
m_vcLocator |
|
0x5CCC |
28 |
m_searchRequests |
|
0x5CE8 |
28 |
m_searchRequestsBack |
|
0x5D04 |
4 |
int |
m_searchRequestListEmpty |
0x5D08 |
4 |
int |
m_searchShutdown |
0x5D0C |
28 |
m_lDisposableItems |
|
0x5D28 |
2 |
short |
m_currArmor |
0x5D2A |
2 |
short |
m_currAnimation |
0x5D2C |
60 |
SAVE_OBJECT_LIST |
|
0x5D68 |
4 |
long |
m_nProtagonistId |
0x5D6C |
1 |
unsigned char |
m_bPartyAI |
0x5D6D |
1 |
unsigned char |
m_bShowAreaNotes |
0x5D6E |
1 |
unsigned char |
m_nTravelScreenImageToUse |
0x5D6F |
8 |
m_resrefTravelScreenImage |
|
1 |
|
||
0x5D78 |
4 |
unsigned long |
m_dwLastProgressRenderTickCount |
0x5D7C |
4 |
unsigned long |
m_dwLastProgressMsgTickCount |
0x5D80 |
4 |
unsigned long |
m_nLastSaveTime |
0x5D84 |
4 |
unsigned long |
m_gameTime |
0x5D88 |
4 |
unsigned long |
m_zoomLevel |
0x5D8C |
4 |
unsigned long |
m_zoomEnabled |
0x5D90 |
8 |
m_lastClick |
|
0x5D98 |
4 |
long |
m_lastTarget |
0x5D9C |
1 |
unsigned char |
m_bTriggerOutline |
3 |
|
||
0x5DA0 |
36 |
m_entanglePalette |
|
0x5DC4 |
36 |
m_webHoldPalette |
|
0x5DE8 |
4 |
long |
m_nCharacterTerminationSequenceDelay |
0x5DEC |
4 |
int |
m_bNoDreamTonight |
0x5DF0 |
1 |
unsigned char |
m_bContinueHealing |
3 |
|
||
0x5DF4 |
28 |
m_cMoveList |
|
0x5E10 |
28 |
m_cLimboList |
|
0x5E2C |
28 |
m_lTransitionPiles |
|
0x5E48 |
4 |
m_transitionPilesResref |
|
0x5E4C |
8 |
m_transitionPilesPtDest |
|
0x5E54 |
4 |
int |
m_bMissionPackInfo |
0x5e58 |
4 |
int |
m_bMissionPackInfo25 |
0x5e5c |
4 |
int |
m_bMissionPackInfoTBP |
0x5e60 |
4 |
long |
m_nAIIndex |
0x5e64 |
4 |
long |
m_nTimeStop |
0x5e68 |
4 |
long |
m_nTimeStopCaster |
0x5e6c |
4 |
long |
m_nGreyScale |
0x5e70 |
4 |
m_nBrownScale |
|
0x5e74 |
4 |
m_globalScriptFile |
|
0x5e78 |
48 |
m_aServerStore[12] |
|
0x5EA8 |
12 |
unsigned char |
m_nServerStoreDemands[12] |
0x5EB4 |
4 |
m_appearanceWeapon |
|
0x5EB8 |
4 |
m_appearanceBody |
|
0x5EBC |
4 |
m_appearanceShield |
|
0x5EC0 |
4 |
m_appearanceHelmet |
|
0x5EC4 |
7 |
unsigned char |
m_appearanceColorsWeapon[7] |
0x5ECb |
7 |
unsigned char |
m_appearanceColorsBody[7] |
0x5ED2 |
7 |
unsigned char |
m_appearanceColorsShield[7] |
0x5ED9 |
7 |
unsigned char |
m_appearanceColorsHelmet[7] |
0x5EE0 |
4 |
int |
m_bOverrideRestEncounter |
0x5EE4 |
4 |
int |
m_bAddOnActivated |
0x5EE8 |
4 |
int |
m_bAddInActivated |
0x5EEC |
4 |
m_sCurrentCampaign |
|
0x5EF0 |
4 |
int |
m_bCampaignEnabled |
0x5EF4 |
28 |
m_storedLocations |
|
0x5F10 |
28 |
m_storedLocationsPocketPlane |
|
0x5F2C |
8 |
m_VVCPriorities |
|
0x5F34 |
4 |
long |
m_nCurrentVVCPriority |
CInfTileSet
Used by the CInfTileSet Class
Offset |
Size |
Type |
Field |
0x00 |
8 |
tis[2] |
|
0x08 |
164 |
cVidTile |
|
0xAC |
4 |
pVRPool |
|
0xB0 |
4 |
pResTiles |
|
0xB4 |
4 |
unsigned long |
nTiles |
0xB8 |
4 |
unsigned long |
nTileSize |
CInfToolTip
Offset |
Size |
Type |
Field |
0x00 |
189 |
m_cVidCell |
|
3 |
|
||
0xC0 |
4 |
m_sText |
|
0xC4 |
16 |
m_rSource |
|
0xD4 |
4 |
int |
m_bUseSourceRect |
0xD8 |
32 |
m_textFont |
|
0xF8 |
20 |
m_openSnd |
CInfinity
Used by the CInfinity Class
Offset |
Size |
Type |
Field |
0x00 |
20 |
pTileSets[5] |
|
0x14 |
4 |
pResWED |
|
0x18 |
4 |
pVRPool |
|
0x1C |
4 |
pVidMode |
|
0x20 |
4 |
int |
bUseDestSrc |
0x24 |
4 |
int |
bRefreshVRamRect |
0x28 |
4 |
int |
bInitialized |
0x2C |
4 |
int |
bWEDDemanded |
0x30 |
4 |
int |
nOffsetX |
0x34 |
4 |
int |
nOffsetY |
0x38 |
4 |
int |
nTilesX |
0x3C |
4 |
int |
nTilesY |
0x40 |
4 |
int |
nNewX |
0x44 |
4 |
int |
nNewY |
0x48 |
16 |
rViewPortNotZoomed |
|
0x58 |
16 |
rViewPort |
|
0x68 |
16 |
rVRamRect |
|
0x78 |
16 |
rRequestRect |
|
0x88 |
4 |
int |
nVisibleTilesX |
0x8C |
4 |
int |
nVisibleTilesY |
0x90 |
4 |
int |
nAreaX |
0x94 |
4 |
int |
nAreaY |
0x98 |
4 |
int |
nCurrentTileX |
0x9C |
4 |
int |
nCurrentTileY |
0xA0 |
4 |
int |
nCurrentX |
0xA4 |
4 |
int |
nCurrentY |
0xA8 |
4 |
int |
nSub1XOffset |
0xAC |
4 |
int |
nSub1YOffset |
0xB0 |
4 |
int |
nSub2XOffset |
0xB4 |
4 |
int |
nSub2YOffset |
0xB8 |
4 |
int |
nSub3XOffset |
0xBC |
4 |
int |
nSub3YOffset |
0xC0 |
4 |
int |
nSub4XOffset |
0xC4 |
4 |
int |
nSub4YOffset |
0xC8 |
20 |
sndThunder |
|
0xDC |
4 |
int |
nCurrentLightningFrequency |
0xE0 |
4 |
int |
nNextLightningFrequency |
0xE4 |
4 |
int |
nNewLightningFrequency |
0xE8 |
4 |
int |
nCurrentRainLevel |
0xEC |
4 |
int |
nNextRainLevel |
0xF0 |
4 |
int |
nCurrentSnowLevel |
0xF4 |
4 |
int |
nCurrentWindLevel |
0xF8 |
4 |
int |
nCurrentFogLevel |
0xFC |
4 |
int |
nNextWindLevel |
0x100 |
4 |
int |
nCurrentTimeOfDay |
0x104 |
4 |
int |
nTimeToNextThunder |
0x108 |
4 |
int |
nThunderLength |
0x10C |
4 |
int |
bRenderCallLightning |
0x110 |
4 |
int |
nRenderLightningTimer |
0x114 |
8 |
cLightningPoint |
|
0x11C |
192 |
m_glowVidCell |
|
0x1DC |
28 |
m_lAOE |
|
0x1F8 |
2 |
unsigned short |
m_areaType |
0x1FA |
1 |
unsigned char |
m_renderDayNightCode |
0x1FB |
1 |
unsigned char |
m_oldRenderDayNightCode |
0x1FC |
1 |
unsigned char |
m_dayLightIntensity |
0x1FD |
1 |
unsigned char |
m_requestDayNightCode |
0x1FE |
1 |
unsigned char |
m_oldRequestDualTileCode |
0x1FF |
1 |
unsigned char |
m_bResizedViewPort |
0x200 |
4 |
unsigned long |
m_nLastTickCount |
0x204 |
8 |
m_ptCurrentPosExact |
|
0x20C |
2 |
short |
m_autoScrollSpeed |
2 |
|
||
0x210 |
8 |
||
0x218 |
4 |
int |
m_nScrollAttempts |
0x21C |
4 |
int |
m_nOldScrollState |
0x220 |
1 |
unsigned char |
m_nScrollDelay |
0x221 |
1 |
unsigned char |
m_bMovieBroadcast |
2 |
|
||
0x224 |
4 |
int |
m_bStartLightning |
0x228 |
4 |
int |
m_bStopLightning |
0x22C |
1 |
unsigned char |
m_lightningStrikeProb |
3 |
|
||
0x230 |
4 |
unsigned long |
m_rgbRainColor |
0x234 |
4 |
unsigned long |
m_rgbLightningGlobalLighting |
0x238 |
4 |
unsigned long |
m_rgbOverCastGlobalLighting |
0x23C |
4 |
unsigned long |
m_rgbGlobalLighting |
0x240 |
4 |
unsigned long |
m_rgbTimeOfDayGlobalLighting |
0x244 |
4 |
unsigned long |
m_rgbTimeOfDayRainColor |
0x248 |
4 |
int |
m_updateListenPosition |
0x24C |
4 |
m_pArea |
|
0x250 |
176 |
m_vbMessageScreen |
|
0x300 |
4 |
unsigned long |
m_strrefMessage |
0x304 |
4 |
int |
m_bScreenShake |
0x308 |
8 |
m_screenShakeDelta |
|
0x310 |
8 |
m_screenShakeDecrease |
|
0x318 |
4 |
float |
m_fZoomSaved |
0x31C |
4 |
float |
m_fZoom |
0x320 |
4 |
float |
m_fStoredZoom |
0x324 |
4 |
int |
m_bZoomEnabled |
0x328 |
4 |
int |
m_bZooming |
CItem
Used by the CItem Class
Offset |
Size |
Type |
Field |
0x00 |
4 |
vfptr |
vfptr |
0x04 |
12 |
m_cResHelper |
|
0x10 |
4 |
int |
m_nAbilities |
0x14 |
2 |
unsigned short |
m_useCount1 |
0x16 |
2 |
unsigned short |
m_useCount2 |
0x18 |
2 |
unsigned short |
m_useCount3 |
0x1A |
2 |
unsigned short |
m_wear |
0x1C |
4 |
unsigned long |
m_flags |
0x20 |
40 |
m_useSound[2] |
|
0x48 |
2 |
short |
m_numSounds |
2 |
|
||
0x4C |
28 |
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