CS Structures

CSaveGameSlot

Offset

Size

Type

Field

0x00

4

CString

m_sFileName

0x04

4

CString

m_sSlotName

0x08

88

CResBitmap

m_cResScreenShot

0x60

88

CResBitmap

m_cBmpResPortrait0

0xB8

88

CResBitmap

m_cBmpResPortrait1

0x110

88

CResBitmap

m_cBmpResPortrait2

0x168

88

CResBitmap

m_cBmpResPortrait3

0x1C0

88

CResBitmap

m_cBmpResPortrait4

0x218

88

CResBitmap

m_cBmpResPortrait5

0x270

8

CResRef

m_cResPortrait

0x278

4

CString

m_sCharacterName

0x27C

4

unsigned long

m_nTime

0x280

4

int

m_nChapter

0x284

4

CString

m_sChapter


CSavedGameFamiliars

Offset

Size

Type

Field

0x00

72

unsigned char

m_resrefDefault[9][8]

0x48

4

unsigned long

m_resrefOffset

0x4C

324

unsigned long

m_resrefCount[9][9]


CSavedGameHeader

Offset

Size

Type

Field

0x00

4

unsigned long

m_worldTime

0x04

2

short

m_curFormation

0x06

10

short

m_quickFormations[5]

0x10

4

unsigned long

m_nPartyGold

0x14

2

unsigned short

m_nPCAreaViewed

0x16

2

unsigned short

m_wWeatherFlags

0x18

4

unsigned long

m_partyCreatureTableOffset

0x1C

4

unsigned long

m_partyCreatureTableCount

0x20

4

unsigned long

m_partyInventoryTableOffset

0x24

4

unsigned long

m_partyInventoryTableCount

0x28

4

unsigned long

m_globalCreatureTableOffset

0x2C

4

unsigned long

m_globalCreatureTableCount

0x30

4

unsigned long

m_globalVariablesOffset

0x34

4

unsigned long

m_globalVariablesCount

0x38

8

unsigned char

m_currentWorldArea[8]

0x40

4

unsigned long

m_currentLink

0x44

4

unsigned long

m_journalEntriesCount

0x48

4

unsigned long

m_journalEntriesOffset

0x4C

4

long

m_reputation

0x50

8

unsigned char

m_masterArea[8]

0x58

4

unsigned long

m_dwFlags

0x5C

4

unsigned long

m_versionNumber

0x60

4

unsigned long

m_familiarsOffset

0x64

4

unsigned long

m_storedLocationsOffset

0x68

4

unsigned long

m_storedLocationsCount

0x6C

4

unsigned long

m_gameTime

0x70

4

unsigned long

m_storedLocationsOffsetPocketPlane

0x74

4

unsigned long

m_storedLocationsCountPocketPlane

0x78

4

unsigned long

m_zoomLevel

0x7C

8

unsigned char

m_encounterArea[8]

0x84

8

unsigned char

m_worldMap[8]

0x8C

8

unsigned char

m_campaign[8]

0x94

4

unsigned long

m_nFamiliarSummoner

0x98

20

char

m_encounterEntry[20]


CSavedGameJournalEntry

Offset

Size

Type

Field

0x00

4

unsigned long

m_strEntry

0x04

4

unsigned long

m_time

0x08

1

unsigned char

m_chapter

0x09

1

unsigned char

m_read

0x0A

1

unsigned char

m_type

0x0B

1

unsigned char

m_character


CSavedGamePartyCreature

Offset

Size

Type

Field

0x00

2

unsigned short

m_wFlags

0x02

2

unsigned short

m_portraitId

0x04

4

unsigned long

m_creatureOffset

0x08

4

unsigned long

m_creatureSize

0x0C

8

unsigned char

m_creatureResRef[8]

0x14

4

unsigned long

m_creatureFacing

0x18

8

unsigned char

m_areaName[8]

0x20

2

unsigned short

m_posX

0x22

2

unsigned short

m_posY

0x24

2

unsigned short

m_posViewX

0x26

2

unsigned short

m_posViewY

0x28

2

unsigned short

m_nModalState

0x2A

2

short

m_nHappiness

0x2C

96

long

m_nNumberOfTimesInteractedWith[24]

0x8C

8

short

m_quickWeaponsItemNum[4]

0x94

8

short

m_quickWeaponsAbilityNum[4]

0x9C

24

unsigned char

m_quickSpellsSpellId[3][8]

0xB4

6

short

m_quickItemsItemNum[3]

0xBA

6

short

m_quickItemsAbilityNum[3]

0xC0

32

char

m_name[32]

0xE0

4

unsigned long

m_numberTimesTalkedTo

0xE4

4

unsigned long

m_strStrongestKillName

0xE8

4

unsigned long

m_nStrongestKillXPValue

0xEC

4

unsigned long

m_nPreviousTimeWithParty

0xF0

4

unsigned long

m_nJoinPartyTime

0xF4

1

unsigned char

m_bWithParty

0xF5

2

char

m_pad1[2]

0xF7

1

char

m_cFirstResSlot

0xF8

4

unsigned long

m_nChapterKillsXPValue

0xFC

4

unsigned long

m_nChapterKillsNumber

0x100

4

unsigned long

m_nGameKillsXPValue

0x104

4

unsigned long

m_nGameKillsNumber

0x108

32

unsigned char

m_lSpellStatsName[4][8]

0x128

8

short

m_lSpellStatsCount[4]

0x130

32

unsigned char

m_lWeaponStatsName[4][8]

0x150

8

short

m_lWeaponStatsCount[4]

0x158

8

unsigned char

m_secondarySounds[8]

Notes

Related to GAM V2.0 file format


CSavedGameStoredLocation

Offset

Size

Type

Field

0x00

8

unsigned char

m_areaName[8]

0x08

2

unsigned short

m_xPos

0x0A

2

unsigned short

m_yPos


CSchoolAndSecondaryDecrementing

Offset

Size

Type

Field

0x00

4

unsigned long

m_nType

0x04

4

long

m_nLevels


CScreenAI

Used by the CScreenAI Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

176

CVidBitmap

m_bmpScreen

0xDC

32

C2DArray

m_tSplashScreens

0xFC

2

short

m_nSplashScreen

2

<padding>

0x100

4

int

m_nSplashTimer

0x104

4

int

m_bInteractiveDemoQuit

0x108

1

unsigned char

m_nBmpDraw

3

<padding>

0x10c

60

CKeyInfo

m_pVirtualKeys[5]

0x148

20

int

m_pVirtualKeysFlags[5]

0x15c

1

unsigned char

m_bCtrlKeyDown

3

<padding>


CScreenChapter

Used by the CScreenChapter Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

60

CKeyInfo

m_pVirtualKeys[5]

0x68

20

int

m_pVirtualKeysFlags[5]

0x7C

1

unsigned char

m_bCtrlKeyDown

3

<padding>

0x80

4

int

m_nChapter

0x84

4

int

m_nDream

0x88

8

CResRef

m_cResText

0x90

4

CList*

m_pTextList

0x94

28

CTypedPtrList

m_bmpList

0xB0

4

long

m_nBmpFlip

0xB4

4

long

m_nCurrBmp

0xB8

4

int

m_nParagraph

0xBC

4

int

m_nLine

0xC0

20

CSound

m_cVoiceSound

0xD4

4

int

m_bStartSound

0xD8

4

int

m_nEngineState

0xDC

8

CResRef

m_cResPower

0xE4

4

int

m_nSongCountDown

0xE8

32

CVidFont

m_preLoadFontRealms

0x108

4

int

m_bMPRemoveTextScreen

0x10C

4

int

m_nCustomSong

0x110

4

int

m_waitingForNetwork

0x114

4

CWarp*

m_destinationEngine


CScreenCharacter

Used by the CScreenCharacter Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

1176

CKeyInfo

m_pVirtualKeys[98]

0x4C4

392

int

m_pVirtualKeysFlags[98]

0x64C

28

CTypedPtrList

m_lPopupStack

0x668

1

unsigned char

m_nDualClass

3

<padding>

0x66C

4

CStringList*

m_pScripts

0x670

4

int

m_nScriptIndex

0x674

4

int

m_nErrorState

0x678

4

int

m_nCharacterIndex

0x67C

4

CStringList*

m_pCharacters

0x680

4

int

m_bMultiPlayerViewable

0x684

4

int

m_bMultiPlayerModifyable

0x688

4

__POSITION*

m_nCurrentPortrait

0x68C

4

CStringList*

m_pAppearancePortraits

0x690

4

CStringList*

m_pPortraits

0x694

4

int

m_nCustomSoundSetIndex

0x698

4

int

m_nCustomSoundIndex

0x69C

8

CResRef

m_cResPortraitSmall

0x6A4

8

CResRef

m_cResPortraitLarge

0x6AC

7

unsigned char

m_aColor[7]

1

<padding>

0x6B4

4

CString

m_sScript

0x6B8

44

int

m_bSmartScriptFlags[11]

0x6E4

4

CString

m_sNewScript

0x6E8

8

CResRef

m_cResPortraitSmallTemp

0x6F0

8

CResRef

m_cResPortraitMediumTemp

0x6F8

4

unsigned long

m_nSpecialization

0x6FC

4

CStringList*

m_pSounds

0x700

8

CResRef

m_cResSoundSet

0x708

4

CCreatureFileHeader*

m_pTempBaseStats

0x70C

4

CDerivedStats*

m_pTempDerivedStats

0x710

28

CTypedPtrList

m_lstMageSpells

0x72C

4

int

m_bShiftKeyDown

0x730

4

int

m_bCapsLockKeyOn

0x734

1

unsigned char

m_bCtrlKeyDown

3

<padding>

0x738

4

CString

m_sExportName

0x73C

4

int

m_bAddInactiveAbilities

0x740

36

int

m_OldMageSpells[9]

0x764

28

int

m_OldPriestSpells[7]

0x780

4

int

m_bPauseState

0x784

4

int

m_bIsLevelingUp


CScreenCharacterStoredMageSpell

Offset

Size

Type

Field

0x00

8

CResRef

m_cResSpell

0x08

1

unsigned char

m_nSpellLevel


CScreenConnection

Used by the CScreenConnection Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

1176

CKeyInfo

m_pVirtualKeys[98]

0x4C4

392

int

m_pVirtualKeysFlags[98]

0x64C

4

int

m_bCtrlKeyDown

0x650

4

int

m_bShiftKeyDown

0x654

4

int

m_bCapsLockKeyOn

0x658

4

int

m_nProtocol

0x65C

4

int

m_nSessionIndex

0x660

16

GUID

m_guidSession

0x670

4

unsigned long

m_dwLastSessionRefresh

0x674

4

int

m_nEnumServiceProvidersCountDown

0x678

4

int

m_bStartedCountDown

0x67C

1

unsigned char

m_bFirstRender

0x67D

1

unsigned char

m_bEliminateInitialize

0x67E

1

unsigned char

m_bEMSwapped

0x67F

1

unsigned char

m_bEMValue

0x680

1

unsigned char

m_bEMWaiting

0x681

1

unsigned char

m_nEMEvent

0x682

1

unsigned char

m_nEMEventStage

1

<padding>

0x684

4

int

m_nErrorState

0x688

4

unsigned long

m_strErrorText

0x68C

4

int

m_nNumErrorButtons

0x690

12

unsigned long

m_strErrorButtonText[3]

0x69C

4

int

m_bAllowInput

0x6A0

1

unsigned char

m_bEnumeratingAsynchronous

0x6A1

1

unsigned char

m_bJoinWaiting

0x6A2

1

unsigned char

m_bJoinComplete

0x6A3

1

unsigned char

m_nJoinEvent

0x6A4

4

int

m_nJoinErrorCode

0x6A8

1

unsigned char

m_bJoinReturnValue

3

<padding>

0x6AC

4

int

m_nWaitingForProviderNumber

0x6B0

4

int

m_nWaitingForProviderCount


CScreenCreateChar

Used by the CScreenCreateChar Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

32

C2DArray

m_kitList

0x4C

108

CImportGame

m_importGame

0xB8

1176

CKeyInfo

m_pVirtualKeys[98]

0x550

392

int

m_pVirtualKeysFlags[98]

0x6D8

4

int

m_bCtrlKeyDown

0x6DC

4

int

m_bShiftKeyDown

0x6E0

4

int

m_bCapsLockKeyOn

0x6E4

4

CScreenCreateCharStep

m_nFirstStep

0x6E8

4

CScreenCreateCharStep

m_nCurrentStep

0x6EC

4

CScreenCreateCharStep

m_nNextStep

0x6F0

4

int

m_nGameSprite

0x6F4

4

int

m_nExtraProficiencySlots

0x6F8

4

int

m_nExtraAbilityPoints

0x6FC

4

int

m_nExtraSpells

0x700

4

int

m_nExtraSkillPoints

0x704

4

int

m_nBasePickPockets

0x708

4

int

m_nBaseOpenLocks

0x70C

4

int

m_nBaseDetectTraps

0x710

4

int

m_nBaseMoveSilently

0x714

4

int

m_nBaseHideInShadows

0x718

4

int

m_nBaseDetectIllusion

0x71C

4

int

m_nBaseSetTraps

0x720

1

unsigned char

m_nMinSTR

0x721

1

unsigned char

m_nMinDEX

0x722

1

unsigned char

m_nMinCON

0x723

1

unsigned char

m_nMinINT

0x724

1

unsigned char

m_nMinWIS

0x725

1

unsigned char

m_nMinCHR

0x726

1

unsigned char

m_nMaxSTR

0x727

1

unsigned char

m_nMaxDEX

0x728

1

unsigned char

m_nMaxCON

0x729

1

unsigned char

m_nMaxINT

0x72A

1

unsigned char

m_nMaxWIS

0x72B

1

unsigned char

m_nMaxCHR

0x72C

1

unsigned char

m_nPreviousMin

0x72D

1

unsigned char

m_nPreviousMax

2

<padding>

0x730

4

int

m_nMaxProficiencySlots

0x734

4

__POSITION*

m_nCurrentPortrait

0x738

4

CStringList*

m_pAppearancePortraits

0x73C

28

CPtrList

m_lPopupStack

0x758

4

int

m_nEngineState

0x75C

4

int

m_nCharacterSlot

0x760

4

int

m_nTopHatedRace

0x764

1

unsigned char

m_nPickRange

0x765

1

unsigned char

m_nMemorySTR

0x766

1

unsigned char

m_nMemorySTRExtra

0x767

1

unsigned char

m_nMemoryDEX

0x768

1

unsigned char

m_nMemoryCON

0x769

1

unsigned char

m_nMemoryINT

0x76A

1

unsigned char

m_nMemoryWIS

0x76B

1

unsigned char

m_nMemoryCHR

0x76C

4

int

m_nMemoryExtra

0x770

4

int

m_nPortraitSmallIndex

0x774

4

int

m_nPortraitMediumIndex

0x778

4

CStringList*

m_pPortraits

0x77C

4

int

m_nCustomSoundSetIndex

0x780

4

int

m_nCustomSoundIndex

0x784

4

int

m_nCharacterIndex

0x788

4

int

m_nPrerollTopIndex

0x78C

4

CStringList*

m_pCharacters

0x790

4

int

m_bImported

0x794

4

CStringList*

m_pSounds

0x798

32

CVidFont

m_preLoadFontRealms

0x7B8

32

CVidFont

m_preLoadFontStnSml

0x7D8

32

CVidFont

m_preLoadFontTool

0x7F8

1

unsigned char

m_nCurrentSpellLevel

3

<padding>

0x7FC

4

int

m_nExtraMageSpells

0x800

4

CCreatureFileHeader*

m_pOldBaseStats

0x804

4

CDerivedStats*

m_pOldDerivedStats

0x808

4

long

m_nOldConHPBonus

0x80C

1

unsigned char

m_nCurrentSpellLevelChoice

0x80D

1

unsigned char

m_nCurrentSpellLevelChoiceMax

0x80E

2

unsigned short

m_nImportedCharHPs

0x810

2

unsigned short

m_nImportedCharConBonus

0x812

1

unsigned char

m_nImportedDualClass

1

<padding>

0x814

4

unsigned long

m_nImportedDualKit

0x818

4

int

m_nImportedDualReactivated

0x81C

1

unsigned char

m_byImportedCharVersion

1

<padding>

0x81E

2

short

m_nSelectedSpecialistSpells

0x820

2

short

m_nMemorizedSpecialistSpells

2

<padding>

0x824

4

int

m_nTotalKits

0x828

2

unsigned short

m_nHatedRaces

2

<padding>

0x82C

4

importStateType

m_importState

0x830

4

unsigned long

m_strDefaultHelpString

0x834

1

unsigned char

m_bUpdatedHelp

3

<padding>

0x838

4

unsigned long

m_strCurrentHelpString

0x83C

4

int

m_bGaveExtraXP

0x840

4

long

m_nExtraXP

0x844

4

CString

m_sImportCharName

0x848

4

int

m_nErrorState

0x84C

4

unsigned long

m_strErrorText

0x850

4

int

m_nNumErrorButtons

0x854

12

unsigned long

m_strErrorButtonText[3]

0x860

36

int

m_OldMageSpells[9]

0x884

28

int

m_OldPriestSpells[7]

0x8A0

20

CTypedPtrArray

m_aBaseProficiencySlots

0x8B4

4

CCreatureFileHeader*

m_pTempBaseStats

0x8B8

4

CDerivedStats*

m_pTempDerivedStats

0x8BC

28

int

m_storedSkillPoints[7]

0x8D8

4

int

m_bAddInactiveAbilities

0x8DC

4

CStringList*

m_szCharInfoStorage

0x8E0

4

int

m_nSpellcasterLevel

0x8E4

4

int

m_nNumLevelUpAbilities

0x8E8

1

unsigned char

m_nCurrentAbilityLevelChoice

3

<padding>

0x8EC

4

int

m_bFinishedAbilitySelection

0x8F0

4

CGameAbilityList*

m_lstLevelUpAbilitiesList

0x8F4

24

unsigned char

m_lstSelectedAbility[24]

0x90C

1

unsigned char

m_nSelectedAbilityInd

3

<padding>

0x910

4

int

m_nDualClass

0x914

4

int

m_nSpecialization


CScreenCreateParty

Used by the CScreenCreateParty Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

60

CKeyInfo

m_pVirtualKeys[5]

0x68

4

int

m_bCtrlKeyDown

0x6C

20

int

m_pVirtualKeysFlags[5]

0x80

4

int

m_nEngineState

0x84

4

int

m_firstCall

0x88

32

CVidFont

m_preloadFontStnSml

0xA8

4

int

m_nCharacterSlot


CScreenDLC

Used by the CScreenDLC Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

1176

CKeyInfo

m_pVirtualKeys[98]

0x4C4

392

int

m_pVirtualKeysFlags[98]

0x64C

4

int

m_bExitProgram

0x650

28

CPtrList

m_lPopupStack

0x66C

4

unsigned long

m_dwErrorTextId

0x670

4

unsigned long

m_dwErrorState

0x674

4

int

m_nNumErrorButtons

0x678

12

unsigned long

m_strErrorButtonText[3]

0x684

28

CTypedPtrList

m_lOptionsStack

0x6A0

4

int

m_bSpriteMirror

0x6A4

1

unsigned char

m_bCtrlKeyDown

3

<padding>

0x6A8

32

CVidFont

m_preLoadFontRealms

0x6C8

32

CVidFont

m_preLoadFontStnSml

0x6E8

4

int

m_nNumDLC

0x6EC

4

int

m_nCurrentDLC

0x6F0

4

int

m_nDlcState


CScreenInventory

Used by the CScreenInventory Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

4

CItem*

m_pTempItem

0x30

1176

CKeyInfo

m_pVirtualKeys[98]

0x4C8

392

int

m_pVirtualKeysFlags[98]

0x650

1

unsigned char

m_bCtrlKeyDown

3

<padding>

0x654

8

CPoint

m_cLastMousePosition

0x65C

4

int

m_nTopGroundItem

0x660

24

long

m_nGroundPile[6]

0x678

24

int

m_bGroundPileQueried[6]

0x690

4

int

m_nErrorState

0x694

4

unsigned long

m_strErrorText

0x698

4

int

m_nNumErrorButtons

0x69C

4

int

m_nLastSwapPortrait

0x6A0

4

unsigned long

m_dwLastSwapButton

0x6A4

4

int

m_bMultiPlayerViewable

0x6A8

8

CResRef

m_cCheckLearnSpellRes

0x6B0

4

int

m_nCheckLearnSpellCountDown

0x6B4

4

int

m_bDroppedItemInHand

0x6B8

1

unsigned char

m_bPauseWarningDisplayed

3

<padding>

0x6BC

32

CVidFont

m_preLoadFontRealms

0x6DC

32

CVidFont

m_preLoadFontStnSml

0x6FC

32

CVidFont

m_preLoadFontTool

0x71C

4

unsigned long

m_stSpellsDisabled

0x720

4

int

m_bLearnSpellFailed

0x724

4

unsigned long

m_strLearnSpellFailedReason

0x728

4

int

m_bPauseState


CScreenJournal

Used by the CScreenJournal Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

1176

CKeyInfo

m_pVirtualKeys[98]

0x4C4

392

int

m_pVirtualKeysFlags[98]

0x64C

4

int

m_bShiftKeyDown

0x650

4

int

m_bCapsLockKeyOn

0x654

1

unsigned char

m_bCtrlKeyDown

0x655

8

CResRef

m_oldMosaic

0x65D

8

CResRef

m_oldFont

3

<padding>

0x668

4

unsigned long

m_rgbOldText

0x66C

4

unsigned long

m_rgbOldBackground

0x670

32

CVidFont

m_preLoadFontRealms

0x690

32

CVidFont

m_preLoadFontTool

0x6B0

4

int

m_bPauseState


CScreenLoad

Used by the CScreenLoad Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

60

CKeyInfo

m_pVirtualKeys[5]

0x68

20

int

m_pVirtualKeysFlags[5]

0x7C

1

unsigned char

m_bCtrlKeyDown

3

<padding>

0x80

4

int

m_nTopGameSlot

0x84

4

int

m_nNumGameSlots

0x88

4

int

m_nEngineState

0x8C

20

CTypedPtrArray

m_aGameSlots

0xA0

4

int

m_nCurrentGameSlot

0xA4

4

unsigned long

m_strErrorText

0xA8

12

unsigned long

m_strErrorButtonText[3]

0xB4

4

int

m_nNumErrorButtons

0xB8

28

CPtrList

m_lPopupStack

0xD4

4

int

m_nMaxSlotNumber

0xD8

32

CVidFont

m_preLoadFontRealms

0xF8

32

CVidFont

m_preLoadFontStnSml

0x118

4

int

m_bHideSoA

0x11C

4

int

m_bHideToB


CScreenMap

Used by the CScreenMap Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

1176

CKeyInfo

m_pVirtualKeys[98]

0x4C4

392

int

m_pVirtualKeysFlags[98]

0x64C

28

CPtrList

m_lPopupStack

0x668

2

short

m_nLastPicked

2

<padding>

0x66C

4

int

m_nErrorState

0x670

4

unsigned long

m_strErrorText

0x674

4

int

m_nNumErrorButtons

0x678

12

unsigned long

m_strErrorButtonText[3]

0x684

1

unsigned char

m_bSelectWorldOnUp

3

<padding>

0x688

32

CVidFont

m_preLoadFontRealms

0x6A8

32

CVidFont

m_preLoadFontTool

0x6C8

32

CVidFont

m_preLoadFontStnSml

0x6E8

4

unsigned long

m_noteStrref

0x6EC

4

int

m_bShiftKeyDown

0x6F0

4

int

m_bCapsLockKeyOn

0x6F4

1

unsigned char

m_bCtrlKeyDown

3

<padding>

0x6F8

4

long

m_nClairvoyanceCaster

0x6FC

4

long

m_nClairvoyanceDuration

0x700

1

unsigned char

m_bClairvoyanceCastInBlack

3

<padding>

0x704

4

int

m_nScrollState

0x708

4

unsigned long

m_nTimeLButtonHeld

0x70C

16

CRect

m_HoldArea

0x71C

1

bool

m_bDisplayExploredMap

3

<padding>

0x720

168

CVidMosaic

m_vmMap

0x7C8

4

int

m_bHaveMap

0x7CC

4

unsigned long

m_mapTint

0x7D0

4

CGameArea*

m_pArea

0x7D4

16

CRect

m_rViewPort

0x7E4

72

MAP_CHAR_POSITIONS

m_charPositions[6]

0x82C

2

unsigned short

m_nCharInArea

2

<padding>

0x830

4

int

m_nCharactersChanged

0x834

4

unsigned long

m_nUserNoteId

0x838

16

CRect

m_rMap


CScreenMovies

Used by the CScreenMovies Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

1176

CKeyInfo

m_pVirtualKeys[98]

0x4C4

392

int

m_pVirtualKeysFlags[98]

0x64C

4

int

m_nEngineState

0x650

4

CStringList*

m_pMovies

0x654

4

int

m_nMovieIndex

0x658

4

CString

m_sSelectedMovie


CScreenMultiPlayer

Used by the CScreenMultiPlayer Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

1176

CKeyInfo

m_pVirtualKeys[98]

0x4C4

392

int

m_pVirtualKeysFlags[98]

0x64C

4

int

m_bCtrlKeyDown

0x650

4

int

m_bShiftKeyDown

0x654

4

int

m_bCapsLockKeyOn

0x658

28

CPtrList

m_lPopupStack

0x674

4

int

m_nModifiedCharacterSlot

0x678

4

int

m_nEngineState

0x67C

4

int

m_nChatMessageCount

0x680

4

int

m_nPermissionsChatMessageCount

0x684

4

int

m_nKickPlayerSlot

0x688

4

int

m_nCharacterSlot

0x68C

1

unsigned char

m_bMultiplayerStartup

3

<padding>

0x690

4

int

m_bLastLockAllowInput

0x694

32

CVidFont

m_preLoadFontRealms

0x6B4

32

CVidFont

m_preLoadFontStnSml

0x6D4

32

CVidFont

m_preLoadFontTool

0x6F4

1

unsigned char

m_bSentGameDemand

3

<padding>

0x6F8

24

CString

m_playerNames[6]

0x710

24

CString

m_characterNames[6]

0x728

24

CString

m_characterPortrait[6]


CScreenOptions

Used by the CScreenOptions Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

1176

CKeyInfo

m_pVirtualKeys[98]

0x4C4

392

int

m_pVirtualKeysFlags[98]

0x64C

4

int

m_bExitProgram

0x650

28

CPtrList

m_lPopupStack

0x66C

4

unsigned long

m_dwErrorTextId

0x670

4

unsigned long

m_dwErrorState

0x674

4

int

m_nNumErrorButtons

0x678

12

unsigned long

m_strErrorButtonText[3]

0x684

28

CTypedPtrList

m_lOptionsStack

0x6A0

4

int

m_bSpriteMirror

0x6A4

1

unsigned char

m_bCtrlKeyDown

3

<padding>

0x6A8

32

CVidFont

m_preLoadFontRealms

0x6C8

32

CVidFont

m_preLoadFontStnSml

0x6E8

1

unsigned char

m_bFullScreenOptions

0x6E9

1

unsigned char

m_bReQuietSound

2

<padding>

0x6EC

4

int

m_nTopKeymap

0x6F0

4

int

m_nSelectedKeymap

0x6F4

4

int

m_nNumKeymapEntries

0x6F8

4

int

m_nKeymapEditIndex

0x6FC

4

char*

m_cKeymapEditSection

0x700

4

char*

m_cKeymapEditConflictSection

0x704

4

char*

m_cKeymapEditConflictKey

0x708

4

int

m_nKeymapEditConflictIndex

0x70C

1

char

m_cKeymapEditConflictValue

3

<padding>

0x710

4

int

m_bPauseState

0x714

4

int

m_nEngineState

<padding>


CScreenPriestSpell

Used by the CScreenPriestSpell Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

1176

CKeyInfo

m_pVirtualKeys[98]

0x4C4

392

int

m_pVirtualKeysFlags[98]

0x64C

4

int

m_nSpellLevel

0x650

8

CResRef

m_cResCurrentSpell

0x658

4

int

m_nErrorState

0x65C

4

unsigned long

m_strErrorText

0x660

4

int

m_nNumErrorButtons

0x664

12

unsigned long

m_strErrorButtonText[3]

0x670

4

int

m_bMultiPlayerViewable

0x674

4

int

m_nMemorizedSpellIndex

0x678

1

unsigned char

m_bCtrlKeyDown

3

<padding>

0x67C

4

int

m_nEngineState

0x680

4

int

m_bPriestPage

0x684

4

int

m_bPauseState

0x688

4

int

m_bControlled


CScreenSave

Used by the CScreenSave Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

4

int

m_bQuitGameSave

0x30

1176

CKeyInfo

m_pVirtualKeys[98]

0x4C8

392

int

m_pVirtualKeysFlags[98]

0x650

4

int

m_bShiftKeyDown

0x654

4

int

m_bCapsLockKeyOn

0x658

4

int

m_nTopGameSlot

0x65C

4

int

m_nNumGameSlots

0x660

4

int

m_nEngineState

0x664

20

CTypedPtrArray

m_aGameSlots

0x678

28

CPtrList

m_lPopupStack

0x694

4

unsigned long

m_strErrorText

0x698

12

unsigned long

m_strErrorButtonText[3]

0x6A4

4

int

m_nNumErrorButtons

0x6A8

4

int

m_nCurrentGameSlot

0x6AC

4

int

m_nMaxSlotNumber

0x6B0

1

unsigned char

m_bCtrlKeyDown

3

<padding>

0x6B4

32

CVidFont

m_preLoadFontRealms

0x6D4

32

CVidFont

m_preLoadFontStnSml

0x6F4

4

int

m_bPauseState


CScreenStart

Used by the CScreenStart Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

4

int

m_bStartMusic

0x30

4

int

m_bExitProgram

0x34

60

CKeyInfo

m_pVirtualKeys[5]

0x70

4

int

m_bCtrlKeyDown

0x74

20

int

m_pVirtualKeysFlags[5]

0x88

1

unsigned char

m_bMovieOn

3

<padding>

0x8C

4

int

m_nEngineState

0x90

4

int

m_firstCall

0x94

28

CPtrList

m_lPopupStack

0xB0

4

int

m_nErrorState

0xB4

4

unsigned long

m_strErrorText

0xB8

4

int

m_nNumErrorButtons

0xBC

16

unsigned long

m_strErrorButtonText[4]

0xCC

4

int

m_bPlayEndCredits

0xD0

4

int

m_bSplashScreens

0xD4

4

int

m_bNeedCDCheck

0xD8

4

int

m_nCurrentDLC

0xDC

4

int

m_nNumDLC

0xE0

4

int

m_nLastImageUpdate

0xE4

4

int

m_nDlcState

0xE8

32

CVidFont

m_preloadFontStnSml


CScreenStore

Used by the CScreenStore Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

1176

CKeyInfo

m_pVirtualKeys[98]

0x4C4

392

int

m_pVirtualKeysFlags[98]

0x64C

1

unsigned char

m_bCtrlKeyDown

0x64D

1

unsigned char

m_bShiftKeyDown

2

<padding>

0x650

4

int

m_bCapsLockKeyOn

0x654

4

int

m_nTopGroupItem

0x658

28

CPtrList

m_lGroupItems

0x674

4

int

m_nTopStoreItem

0x678

28

CPtrList

m_lStoreItems

0x694

4

int

m_nTopSpellItem

0x698

28

CPtrList

m_lSpellItems

0x6B4

4

int

m_nTopIdentifyItem

0x6B8

28

CPtrList

m_lIdentifyItems

0x6D4

4

int

m_nTopDrinkItem

0x6D8

8

CResRef

m_cResStore

0x6E0

8

CResRef

m_cResBag

0x6E8

16

unsigned long

m_adwButtonPanelId[4]

0x6F8

4

CStore*

m_pStore

0x6FC

4

CStore*

m_pBag

0x700

4

long

m_nStoreCost

0x704

4

long

m_nGroupCost

0x708

4

unsigned long

m_dwSpellCost

0x70C

4

unsigned long

m_dwIdentifyCost

0x710

4

unsigned long

m_dwRoomType

0x714

20

CAIObjectType

m_cAIProprietor

0x728

20

CAIObjectType

m_cAICustomer

0x73C

4

unsigned long

m_dwDonationAmount

0x740

4

long

m_nDrinkRumorIndex

0x744

4

long

m_nDonateRumorIndex

0x748

28

CPtrList

m_lPopupStack

0x764

4

CItem*

m_pHistoryItem

0x768

4

int

m_bHistoryUseEnabled

0x76C

8

CResRef

m_cResInfoSpell

0x774

4

int

m_nChatMessageCount

0x778

4

int

m_nErrorState

0x77C

4

unsigned long

m_strErrorText

0x780

4

int

m_nNumErrorButtons

0x784

12

unsigned long

m_strErrorButtonText[3]

0x790

1

unsigned char

m_nCharisma

3

<padding>

0x794

32

CVidFont

m_preLoadFontRealms

0x7B4

32

CVidFont

m_preLoadFontStnSml

0x7D4

32

CVidFont

m_preLoadFontTool

0x7F4

4

unsigned long

m_nRequesterAmount

0x7F8

4

int

m_nRequesterButtonId

0x7FC

4

int

m_bStoreIndex

0x800

4

int

m_bStoreStarted

0x804

4

int

m_nBagCount

0x808

4

float

m_fPanStorage


CScreenStoreItem

Offset

Size

Type

Field

0x00

8

CResRef

m_cResSpell

0x08

4

CItem*

m_pItem

0x0C

4

int

m_bSelected

0x10

4

int

m_bEnabled

0x14

4

int

m_nSlot

0x18

4

long

m_nValue

0x1C

4

long

m_nSingleValue

0x20

4

unsigned long

m_nCount

0x24

4

unsigned long

m_nMaxCount

0x28

4

unsigned long

m_nStoreCount


CScreenWizSpell

Used by the CScreenWizSpell Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

1176

CKeyInfo

m_pVirtualKeys[98]

0x4C4

392

int

m_pVirtualKeysFlags[98]

0x64C

4

int

m_nSpellLevel

0x650

4

int

m_bMultiPlayerViewable

0x654

4

int

m_nMemorizedSpellIndex

0x658

1

unsigned char

m_bCtrlKeyDown

3

<padding>

0x65C

4

int

m_bMagePage

0x660

1

unsigned char

m_nContingencyMaxLevel

0x661

1

unsigned char

m_nContingencyMaxSpells

0x662

2

short

m_bContingencyRestrictTarget

0x664

4

CBaldurEngine*

m_pOldEngine

0x668

1

unsigned char

m_nContingencyCurrentLevel

3

<padding>

0x66C

4

int

m_bContingencyCleric

0x670

2

unsigned short

m_nMaxContingencies

2

<padding>

0x674

28

CTypedPtrList

m_spellList

0x690

8

CResRef

m_refContingencyResRef

0x698

4

int

m_bControlled

0x69C

4

int

m_bPauseState

0x6A0

4

int

m_bContingency


CScreenWorld

Used by the CScreenWorld Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

4

long

m_nStupidMovieWait

0x30

4

int

m_bProtagonistInStartArea

0x34

4

long

m_nProtagonistMoveMax

0x38

4

int

m_bWaitToRender

0x3C

56

SDL_Event

flickEvent

0x74

4

int

m_bIgnoreDisplayTextTop

0x78

4

int

nCounter

0x7C

4

long

m_boredCount

0x80

4

int

m_bored

0x84

4

int

m_playerShutdown

0x88

4

int

m_bShiftKeyDown

0x8C

4

int

m_bMenuKeyDown

0x90

4

int

m_bCtrlKeyDown

0x94

4

int

m_bCapsLockKeyOn

0x98

1

unsigned char

m_bPaused

0x99

1

unsigned char

m_bHardPaused

0x9A

1

unsigned char

m_bHostOnlyPaused

0x9B

1

unsigned char

m_bVisualPaused

0x9C

1

unsigned char

m_bFirstRender

3

<padding>

0xA0

4

int

m_bPausedBeforePickParty

0xA4

4

int

m_bCheatKeys

0xA8

4

int

m_bMButtonDown

0xAC

4

int

m_bMButtonDragged

0xB0

4

int

m_bSetStartViewCenter

0xB4

8

CPoint

m_ptStartViewCenter

0xBC

2

short

m_sequence

0xBE

1

unsigned char

m_facing

0xBF

1

unsigned char

m_bloodLevel

0xC0

2

unsigned short

m_castingGlow

0xC2

1

unsigned char

m_hitEffect

1

<padding>

0xC4

2

short

m_renderText

2

<padding>

0xC8

4

int

m_newText

0xCC

32

CVidFont

m_vidFont

0xEC

32

CVidFont

m_vidFont2

0x10C

1176

CKeyInfo

m_pVirtualKeys[98]

0x5A4

392

int

m_pVirtualKeysFlags[98]

0x72C

104

CGameDialogSprite

m_internalLoadedDialog

0x794

4

CGameDialogSprite*

m_pCurrentDialog

0x798

8

CPoint

m_dialogStartPos

0x7A0

8

CResRef

m_dialogStartArea

0x7A8

4

int

m_dialogPausing

0x7AC

16

CRect

m_newViewSize

0x7BC

4

int

m_bForceViewSize

0x7C0

1

unsigned char

m_waitingOnResize

0x7C1

1

unsigned char

m_storeText

2

<padding>

0x7C4

4

CString

m_consoleText

0x7C8

4

int

m_nTopContainerRow

0x7CC

4

int

m_nTopGroupRow

0x7D0

1

unsigned char

m_bForceDitherToggledOn

3

<padding>

0x7D4

276

CWeather

m_WeatherController

0x8E8

4

long

m_scrollLockId

0x8EC

2

short

m_nResponseMarker

2

<padding>

0x8F0

4

int

m_bBlockStepDialog

0x8F4

4

long

m_interactionIndex

0x8F8

4

long

m_interactionTarget

0x8FC

4

CString

m_interactionString

0x900

4

long

m_interactionCounter

0x904

4

int

m_interactionForce

0x908

4

long

m_interactionTime

0x90C

4

long

m_lastInteractionIndex

0x910

1

unsigned char

m_bSetNightOnActivate

0x911

1

unsigned char

m_bSetDayOnActivate

2

<padding>

0x914

4

int

m_ambianceForce

0x918

4

unsigned long

m_deltaTime

0x91C

4

int

m_nChatMessageCount

0x920

8

CResRef

m_movie

0x928

1

unsigned char

m_bInControlOfDialog

0x929

1

unsigned char

m_bInControlOfStore

2

<padding>

0x92C

4

int

m_bGameOverPanel

0x930

8

CResRef

m_movieDelay

0x938

4

long

m_autoPauseId

0x93C

4

unsigned long

m_autoPauseRef

0x940

4

unsigned long

m_autoPauseColor

0x944

4

unsigned long

m_autoPauseName

0x948

4

int

m_nStoreChatMessageCount

0x94C

4

long

m_nPickPartyRemoveCharacterId

0x950

40

long

m_aPickPartyCharacter[10]

0x978

4

int

m_nPickPartyNumCharacters

0x97C

4

unsigned long

m_strErrorText

0x980

12

unsigned long

m_strErrorButtonText[3]

0x98C

4

unsigned long

m_nDialogPanelOnStartDialog

0x990

1

unsigned char

m_bDialogPressedAButton

0x991

1

unsigned char

m_bEndMajorEventListenToJoin

0x992

1

unsigned char

m_bEndMajorEventPauseStatus

0x993

1

unsigned char

m_bChapterTransitionPending

0x994

4

int

m_nChapterTransition

0x998

8

unsigned char

m_szChapterTransitionResRef[8]—-

0x9A0

1

unsigned char

m_bTextScreenTransitionPending

0x9A1

8

unsigned char

m_szTextScreenTransitionResRef[8]

0x9A9

1

unsigned char

m_bMoviePending

0x9AA

8

unsigned char

m_szMovieResRef[8]

0x9B2

1

unsigned char

m_bPendingMapWorld

1

<padding>

0x9B4

4

int

m_idPendingMapWorldController

0x9B8

2

short

m_nPendingMapWorldDirection

0x9BA

1

unsigned char

m_bRestPending

0x9BB

1

unsigned char

m_bRestRenting

0x9BC

1

unsigned char

m_bRestMovie

3

<padding>

0x9C0

4

int

m_nRestHP

0x9C4

4

int

m_nRestGP

0x9C8

4

long

m_nBattleCryTimeOut

0x9CC

28

CTypedPtrList

m_deathSoundList

0x9E8

4

long

m_nPartySizeCheckStartDelay

0x9EC

1

unsigned char

m_bPlayEndCredits

0x9ED

1

unsigned char

m_bPendingReformParty

0x9EE

1

unsigned char

m_bLeaveAreaLuaPanicPending

1

<padding>

0x9F0

4

unsigned long

m_ulLeaveAreaLuaPanicTimer

0x9F4

8

CPoint

m_ptLeaveAreaLuaPanicLocation

0x9FC

2

short

m_nLeaveAreaLuaPanicDirection

2

<padding>

0xA00

4

CString

m_sLeaveAreaLuaPanicAreaName

0xA04

4

CString

m_sLeaveAreaLuaPanicParchment

0xA08

4

unsigned long

m_dwPausedTickCount

0xA0C

4

unsigned long

m_dwLastDialogTickCount

0xA10

4

long

m_lastAmbiance

0xA14

4

long

m_comingOutOfDialog

0xA18

1

unsigned char

m_nAutoHideInterface

0xA19

1

unsigned char

m_nAutoUnhideInterface

2

<padding>

0xA1C

16

CRect

m_rCurrViewPort

0xA2C

4

int

m_bLeftPanel

0xA30

4

int

m_bRightPanel

0xA34

1

unsigned char

m_bCheckRestrict

3

<padding>

0xA38

28

CTypedPtrList

m_otherTalkers

0xA54

4

long

m_nInteractionBlockCnt

0xA58

4

int

m_bInteractionBlock

0xA5C

4

int

m_nStateOverride

0xA60

4

long

m_nStateOverrideCnt

0xA64

4

long

m_nBlackOutCountDown

0xA68

4

long

m_nCutSceneDeadZoneCountDown

0xA6C

4

long

m_nContainerOutline

0xA70

4

int

m_tutorialWaitTimer

0xA74

4

int

m_bPausedBeforeStore

0xA78

4

long

m_nPauseMessageUpdate

0xA7C

4

unsigned long

m_deathStrRef

0xA80

4

int

m_bHighlightEnabled

0xA84

4

float

m_fPanStorage

0xA88

4

int

m_bViewingContainer

0xA8C

4

int

m_bInDialog

0xA90

4

int

m_bDead

0xA94

4

int

m_bInCommand

0xA98

4

int

m_bPickingParty

0xA9C

4

int

m_bAutoZooming

0xAA0

4

float

m_fPreviousZoom

0xAA4

4

float

m_fTargetZoom

0xAA8

16

CRect

m_rPreviousViewPort

0xAB8

8

CPoint

m_ptPreviousView

0xAC0

8

CPoint

m_ptTarget

0xAC8

4

int

m_nZoomCurStep

0xACC

16

CRect

m_rOriginalViewPort

0xADC

8

CPoint

m_ptOriginalView

0xAE4

4

float

m_fOriginalZoom

0xAE8

4

long*

m_storedGroup

0xAEC

4

int

m_nStoredGroupMembers


CScreenWorldMap

Used by the CScreenWorldMap Class

Offset

Size

Type

Field

0x00

44

CBaldurEngine

m_cBaldurEngine

0x2C

1176

CKeyInfo

m_pVirtualKeys[98]

0x4C4

392

int

m_pVirtualKeysFlags[98]

0x64C

1

unsigned char

m_bCtrlKeyDown

0x64D

1

unsigned char

m_bShiftKeyDown

2

<padding>

0x650

4

int

m_bCapsLockKeyOn

0x654

28

CPtrList

m_lPopupStack

0x670

8

CSize

m_mapSize

0x678

4

int

m_nEngineState

0x67C

8

CPoint

m_ptMapView

0x684

168

CVidMosaic

m_vmMap

0x72C

192

CVidCell

m_vcAreas

0x7EC

192

CVidCell

m_vcMarker

0x8AC

32

CVidFont

m_vfLabel

0x8CC

1024

RGBQUAD

m_aPalette[256]

0xCCC

4

unsigned long

m_wAreaForeground

0xCD0

4

unsigned long

m_nHighlightArea

0xCD4

4

unsigned long

m_nSelectedArea

0xCD8

4

int

m_bSelectedReachable

0xCDC

4

int

m_bOverSelectedArea

0xCE0

8

CPoint

m_ptMapStartMousePos

0xCE8

8

CPoint

m_ptMapStartView

0xCF0

4

int

m_bMapLeftDown

0xCF4

4

int

m_bMapDragging

0xCF8

4

CGameArea*

m_pCurrentArea

0xCFC

4

long

m_nLeaderSprite

0xD00

4

CList*

m_pPath

0xD04

4

long

m_nLeavingEdge

0xD08

4

unsigned long

m_nCurrentLink

0xD0C

8

CResRef

m_cResCurrentArea

0xD14

20

CArray

m_aAreaRect

0xD28

4

CUIControlTextDisplay*

m_pChatDisplay

0xD2C

4

int

m_nChatMessageCount

0xD30

1

unsigned char

m_bInControl

0xD31

1

unsigned char

m_bClickedArea

2

<padding>

0xD34

4

int

m_nCurrentSong

0xD38

4

unsigned long

m_nToolTip

0xD3C

32

CVidFont

m_preLoadFontRealms

0xD5C

32

CVidFont

m_preLoadFontTool

0xD7C

1

unsigned char

m_nScrollState

0xD7D

8

CResRef

m_rForceRandomEncounter

3

<padding>

0xD88

4

CString

m_sForcedEncounterEntry

0xD8C

4

int

m_bFontDropShadow


CScriptCache

Used by the CScriptCache Class

Offset

Size

Type

Field

0x00

4

CAIScript**

m_scriptMap

0x04

4

long

m_nTableEntries


CSearchBitmap

Used by the CSearchBitmap Class

Offset

Size

Type

Field

0x00

176

CVidBitmap

m_resSearch

0xb0

4

unsigned char*

m_pDynamicCost

0xb4

4

unsigned char*

m_snapshotDynamicCost

0xb8

4

const unsigned char*

m_snapshotTerrainTable

0xbc

8

CSize

m_GridSquareDimensions

0xc4

4

CGameArea*

m_pArea

0xc8

1

unsigned char

m_sourceSide

0xc9

1

unsigned char

m_snapshotPersonalSpace

2

<padding>


CSearchRequest

Offset

Size

Type

Field

0x00

1

unsigned char

m_serviceState

0x01

1

unsigned char

m_collisionDelay

2

<padding>

0x04

4

int

m_collisionSearch

0x08

1

unsigned char

m_sourceSide

0x09

1

unsigned char

m_nPartyIds

0x0A

1

unsigned char

m_nTargetIds

0x0B

1

unsigned char

m_nTargetPoints

0x0C

4

int

m_removeSelf

0x10

1

unsigned char

m_frontList

3

<padding>

0x14

4

CSearchBitmap*

m_searchBitmap

0x18

16

unsigned char

m_terrainTable[16]

0x28

4

int

m_pathSmooth

0x2C

4

int

m_exclusiveTargetPoints

0x30

4

long

m_sourceId

0x34

8

POINT

m_sourcePt

0x3C

4

long*

m_partyIds

0x40

4

long*

m_targetIds

0x44

4

POINT*

m_targetPoints

0x48

4

long

m_minNodes

0x4C

4

long

m_maxNodes

0x50

4

long

m_minNodesBack

0x54

4

long

m_maxNodesBack

0x58

4

int

m_bBump

0x5C

2

short

m_searchRc

0x5E

2

short

m_nPath

0x60

4

long*

m_pPath


CSelectiveBonus

Offset

Size

Type

Field

0x00

20

CAIObjectType

m_type

0x14

4

long

m_bonus


CSelectiveBonusList

Offset

Size

Type

Field

0x00

28

CTypedPtrList

m_cTypedPtrList


CSelectiveWeaponType

Offset

Size

Type

Field

0x00

4

int

m_slot

0x04

20

CAIObjectType

m_type

0x18

16

CWeaponIdentification

m_weapon


CSelectiveWeaponTypeList

Offset

Size

Type

Field

0x00

28

CTypedPtrList

m_cTypedPtrList


CSequenceSound

Offset

Size

Type

Field

0x00

8

CResRef

m_sound

0x08

4

long

m_offset


CSequenceSoundList

Used by the CSequenceSoundList Class

Offset

Size

Type

Field

0x00

28

CTypedPtrList

m_cTypedPtrList

0x1C

4

__POSITION*

m_currentSound

0x20

4

int

m_soundPlaying

0x24

4

long

m_channel


CSize

Note

Actually defined as SIZE but adapted/recreated as its own structure.

Offset

Size

Type

Field

0x00

4

long

cx

0x04

4

long

cy


CSnowFlake

Offset

Size

Type

Field

0x00

52

CParticle

m_cParticle

0x34

1

unsigned char

m_nDriftWidth

0x35

1

unsigned char

m_nDriftCounter

0x36

2

unsigned short

m_nMeltTime

0x38

4

long

m_nLastDriftVelocity


CSnowStorm

Offset

Size

Type

Field

0x00

4

CSnowFlake*

m_pSnowFlakes

0x04

2

unsigned short

m_nCurrentDensity

2

<padding>

0x08

16

CRect

m_rOldWorldViewPort


CSound

Used by the CSound Class

Offset

Size

Type

Field

0x00

4

CObject

m_cObject

0x04

12

CResHelper

m_cResHelper

0x10

4

CSoundImp*

pimpl


CSoundChannel

Used by the CSoundChannel Class

Offset

Size

Type

Field

0x00

4

CObject

m_cObject

0x04

28

CObList

lQueue

0x20

4

long

m_nVolumeInit

0x24

4

long

nVolume

0x28

4

int

nType

0x2C

1

bool

bDucked

3

<padding>

0x30

4

int

m_nDuckingAmount


CSoundExtensionBase

Offset

Size

Type

Field

0x00

4

unsigned long

m_nRange

0x04

4

unsigned long

m_dwFlags

0x08

4

long

m_nPitchVariance

0x0C

4

long

m_nVolumeVariance

0x10

240

unsigned long

reservedSpace[60]


CSoundExtensionFile

Used by the CSoundExtensionFile Class

Offset

Size

Type

Field

0x00

12

CResHelper

m_cResHelper


CSoundImp

Used by the CSoundImp Class

Offset

Size

Type

Field

0x00

4

CObject

m_cObject

0x04

12

CResHelper

m_cResHelper

0x10

4

CSound*

m_pParent

0x14

4

int

m_bPositionedSound

0x18

4

int

m_dwBufferSize

0x1C

4

int

m_dwFrequency

0x20

4

int

m_nBufferFormat

0x24

4

int

m_nRange

0x28

4

int

m_nRangeVolume

0x2C

4

int

m_nXCoordinate

0x30

4

int

m_nYCoordinate

0x34

4

int

m_nZCoordinate

0x38

4

long

m_nPan

0x3C

4

long

m_nVolume

0x40

1

bool

m_bSoundInitialized

3

<padding>

0x44

4

int

m_nChannel

0x48

4

int

m_nPriority

0x4C

4

int

m_nLooping

0x50

4

long

m_nPitchVariance

0x54

4

long

m_nVolumeVariance

0x58

1

bool

m_b3DPositionning

3

<padding>

0x5C

4

unsigned int

m_nSource

0x60

4

unsigned int

m_nBuffer

0x64

1

bool

m_bFireForget

3

<padding>

0x68

4

unsigned int

m_nArea

0x6C

4

int

m_dwOverrideFlags

0x70

1

bool

m_bSoundIsntDucked

3

<padding>


CSoundMixer

Used by the CSoundMixer Class

Offset

Size

Type

Field

0x00

4

CSoundMixerImp*

pimpl


CSoundMixerImp

Offset

Size

Type

Field

0x00

4

ALCcontext_struct*

alContext

0x04

4

ALCdevice_struct*

alDevice

0x08

12

float

pos[3]

0x14

4

int

bMixerInitialized

0x18

4

int

bStreamPlaying

0x1C

4

int

m_bMusicInitialized

0x20

4

int

bInPositionUpdate

0x24

4

int

bInSoundUpdate

0x28

4

int

bInQueueUpdate

0x2C

4

int

bInLoopingUpdate

0x30

4

unsigned long

m_dwEAXProperties

0x34

16

CSoundProperties

m_soundProperties

0x44

4

int

m_nNumSongs

0x48

4

int

m_nLastSong

0x4C

4

int

m_nCurrentSong

0x50

4

int

m_nQuietMusicVolume

0x54

4

unsigned int

m_nActiveArea

0x58

4

int

m_nDuckingOn

0x5C

20

CDWordArray

m_aMusicSlots

0x70

10001

unsigned char

m_tSqrtTable[10001]

3

<padding>

0x2784

4

int

nMaxVoices

0x2788

28

CObList

lVoices

0x27A4

28

CObList

lWaiting

0x27C0

28

CObList

lLooping

0x27DC

20

CObArray

aChannels

0x27F0

4

int

nMaxChannels

0x27F4

4

int

nGlobalVolume

0x27F8

4

int

nPanRange

0x27FC

4

int

nXCoordinate

0x2800

4

int

nYCoordinate

0x2804

4

int

nZCoordinate

0x2808

28

CTypedPtrList

m_lMusicPositions


CSoundProperties

Offset

Size

Type

Field

0x00

16

_EAXPRESET

m_iEAXpreset


CSparkle

Offset

Size

Type

Field

0x00

71

CGameObject

m_cGameObject

1

<padding>

0x48

2

short

m_nType

2

<padding>

0x4C

8

CPoint

m_posExact

0x54

8

CPoint

m_posDelta

0x5C

8

CPoint

m_posDest

0x64

1

unsigned char

m_moveScale

0x65

16

unsigned char

m_terrainTable[16]

1

0x76

2

short

m_nConjureDuration

0x78

4

long

m_nTimer

0x7C

4

long

m_destId

0x80

4

long

m_srcId

0x84

4

CAIAction*

m_pTargetAction


CSparkleCluster

Offset

Size

Type

Field

0x00

71

CGameObject

m_cGameObject

1

<padding>

0x48

4

CVidMode*

m_pVidMode

0x4C

28

CTypedPtrList

m_particleList

0x68

4

unsigned long

m_colorStart

0x6C

4

unsigned long

m_colorFade1

0x70

4

unsigned long

m_colorFade2

0x74

4

unsigned long

m_colorFade3

0x78

4

unsigned long

m_colorFade4

0x7C

1

unsigned char

m_fade1Height

0x7D

1

unsigned char

m_fade2Height

0x7E

1

unsigned char

m_fade3Height

0x7F

1

unsigned char

m_fade4Height

0x80

16

CRect

m_rBounding

0x90

2

unsigned short

m_wType

2

<padding>

0x94

4

unsigned long

m_nTimer

0x98

2

unsigned short

m_nConjureDuration

2

<padding>

0x9C

8

CPoint

m_explosionDir

0xA4

4

int

m_nGravity


CSpawn

Used by the CSpawn Class

Offset

Size

Type

Field

0x00

4

vfptr

vfptr

0x04

4

unsigned int

Interval

0x08

4

CString

SectionAlias

0x0C

4

unsigned long

SpawnFlags

0x10

4

int

DataIsValid

0x14

20

CAIObjectType

mSearchAI

0x28

4

int

mSearchQty

0x2C

16

int

mSearchRegion[4]

0x3C

4

CSpawnVar*

mpSearchKeyVar

0x40

4

CSpawnVar*

mpSearchQtyVar

0x44

28

CStringList

mCREFiles

0x60

4

int

mCreateQty

0x64

4

CString*

mpCreateQtyScope

0x68

4

CString*

mpCreateQtyLabel

0x6C

4

CString*

mpScriptName

0x70

1

unsigned char

mEA

0x71

1

unsigned char

mGeneral

0x72

1

unsigned char

mRace

0x73

1

unsigned char

mClass

0x74

1

unsigned char

mGender

0x75

1

unsigned char

mSpecifics

0x76

1

unsigned char

mFaction

0x77

1

unsigned char

mTeam

0x78

1

unsigned char

mAlignment

3

<padding>

0x7C

4

CString*

mpOverrideScript

0x80

4

CString*

mpClassScript

0x84

4

CString*

mpRaceScript

0x88

4

CString*

mpGeneralScript

0x8C

4

CString*

mpDefaultScript

0x90

4

CString*

mpAreaScript

0x94

4

CString*

mpSpecificsScript

0x98

28

CStringList

mDialogFiles

0xB4

4

int

mDeathGoodModifier

0xB8

4

int

mDeathLawModifier

0xBC

4

int

mDeathLadyModifier

0xC0

4

int

mDeathMurderModifier

0xC4

4

int

Facing

0xC8

24

CSpawnPointArray

mSpawnPointArray

0xE0

16

CSpawnPoint

mSpelectedPoint

0xF0

4

CSpawn::ePMode

mPointSelectMode

0xF4

4

CString*

pPointIndexScope

0xF8

4

CString*

pPointIndexLabel

0xFC

4

CSpawnPointVar*

mpExplicitSpawnPoint

0x100

4

CString*

pExplicitSpawnFacingScope

0x104

4

CString*

pExplicitSpawnFacingLabel

0x108

4

CSpawnPointVar*

mpSpawnPointStorage

0x10C

4

CString*

pSpawnFacingStorageScope

0x110

4

CString*

pSpawnFacingStorageLabel

0x114

4

int

mSequentialStartValue

0x118

4

unsigned long

mTimeOfDay


CSpawnFile

Used by the CSpawnFile Class

Offset

Size

Type

Field

0x00

28

CTypedPtrList

m_cTypedPtrList

0x1C

4

CSpawnList*

mpExitList

0x20

4

CSpawnList*

mpEnterList

0x24

4

int

m_bInSpawn


CSpawnList

Used by the CSpawnList Class

Offset

Size

Type

Field

0x00

28

CTypedPtrList

m_cTypedPtrList

0x1C

4

CString

mSectionAlias

0x20

4

int

ReceivedFirstSpawnCall

0x24

4

unsigned long

LastSpawnTime

0x28

4

int

CheckSpawnTimes

0x2C

4

unsigned long

SpawnTimeOfDay

0x30

4

unsigned int

mInterval

0x34

4

CSpawnVar*

pControlVar


CSpawnPoint

Used by the CSpawnPoint Class

Offset

Size

Type

Field

0x00

4

vfptr

vfptr

0x04

8

CPoint

mLocation

0x0c

4

int

mFacing


CSpawnPointArray

Offset

Size

Type

Field

0x00

20

CTypedPtrArray

m_cTypedPtrArray

0x14

4

int

mDefaultFacing


CSpawnPointVar

Offset

Size

Type

Field

0x00

8

CSpawnVar

m_cSpawnVar


CSpawnVar

Offset

Size

Type

Field

0x00

4

CString

mScope

0x04

4

CString

mLabel


CSpell

Used by the CSpell Class

Offset

Size

Type

Field

0x00

12

CResHelper

m_cResHelper


CSpellLevelDecrementing

Offset

Size

Type

Field

0x00

4

int

m_bImmune

0x04

4

long

m_nLevels


CSteam

Note

Only applies to Steam builds, which are built with Steamworks integrations

Used by the CSteam Class

Offset

Size

Type

Field

0x00

1

bool

m_isSteamConnected

0x01

8

CSteamID

m_SteamID

7

<padding>

0x10

32

CCallResult

m_CreateItemCompleted

0x30

32

CCallResult

m_PublishedQueryCompleted

0x50

32

CCallResult

m_SubmitItemUpdateCompleted

0x70

4

int

m_RemainingPublished

0x74

4

int

m_CurPagePublished

0x78

4

CString

m_PublishingName

0x7C

4

CString

m_PublishingDir

0x80

4

int

m_CloudState

4

<padding>

0x88

32

CCallResult

m_RequestUGCDetailsCompleted

0xA8

136

CSteam::SubscribedItems

m_Subscribed

0x130

8

unsigned __int64

m_nUploadId

0x138

4

ISteamRemoteStorage*

m_RemoteStorage

0x13C

4

ISteamUGC*

m_UGC

0x140

4

ISteamUserStats*

m_UserStats

0x144

4

void

(__cdecl * logger)


CSteam::SubscribedItems

Note

Only applies to Steam builds, which are built with Steamworks integrations

Offset

Size

Type

Field

0x00

128

unsigned __int64

vecPublished[16]

0x80

4

int

curSubscribed

0x84

4

int

numSubscribed


CSteamID

Note

Only applies to Steam builds, which are built with Steamworks integrations

Offset

Size

Type

Field

0x00

8

CSteamID::SteamID_t

m_steamid


CSteamID::SteamID_t (CSteamIDSteamID)

Note

Only applies to Steam builds, which are built with Steamworks integrations

Offset

Size

Type

Field

0x00

8

CSteamID::SteamID_t::SteamIDComponent_t

m_comp

0x00

8

unsigned __int64

m_unAll64Bits


CSteamID::SteamID_t::SteamIDComponent_t (CSteamIDSteamIDSteamIDComponent)

Note

Only applies to Steam builds, which are built with Steamworks integrations

Offset

Size

Type

Field

0x00

4

unsigned int

m_unAccountID : 32

0x04

4

unsigned int

m_unAccountInstance : 20

0x04

4

unsigned int

m_EAccountType : 4

0x04

4

EUniverse

m_EUniverse : 8


CStore

Used by the CStore Class

Offset

Size

Type

Field

0x00

8

CResRef

m_resRef

0x08

148

CStoreFileHeader

m_header

0x9C

28

CTypedPtrList

m_lInventory

0xB8

4

unsigned long*

m_pBuyTypes

0xBC

4

unsigned long

m_nBuyTypes

0xC0

4

CStoreFileDrinks*

m_pDrinks

0xC4

4

unsigned long

m_nDrinks

0xC8

4

CStoreFileSpell*

m_pSpells

0xCC

4

unsigned long

m_nSpells

0xD0

8

unsigned char

m_pVersion[8]

0xD8

4

int

m_bLocalCopy


CStoreFile

Offset

Size

Type

Field

0x00

12

CResHelper

m_cResHelper


CStoreFileDrinks

Offset

Size

Type

Field

0x00

8

unsigned char

m_icon[8]

0x08

4

unsigned long

m_strName

0x0C

4

unsigned long

m_nCost

0x10

4

unsigned long

m_nRumorChance

Notes

Related to STOR V1.0 Drinks for Sale


CStoreFileHeader

Offset

Size

Type

Field

0x00

4

unsigned long

m_nStoreType

0x04

4

unsigned long

m_strName

0x08

4

unsigned long

m_nStoreFlags

0x0C

4

unsigned long

m_nBuyMarkUp

0x10

4

unsigned long

m_nSellMarkDown

0x14

4

unsigned long

m_nAdditionalMarkDown

0x18

2

unsigned short

m_nStealDifficulty

0x1A

2

unsigned short

m_nMaxItems

0x1C

8

unsigned char

m_script[8]

0x24

4

unsigned long

m_nbuyTypesOffset

0x28

4

unsigned long

m_nbuyTypesCount

0x2C

4

unsigned long

m_nInventoryOffset

0x30

4

unsigned long

m_nInventoryCount

0x34

4

unsigned long

m_nLore

0x38

4

unsigned long

m_nIdentifyCost

0x3C

8

unsigned char

m_resRumor[8]

0x44

4

unsigned long

m_drinkOffset

0x48

4

unsigned long

m_drinkCount

0x4C

8

unsigned char

m_resDonation[8]

0x54

4

unsigned long

m_nInnFlags

0x58

4

unsigned long

m_nRoomCostPeasant

0x5C

4

unsigned long

m_nRoomCostMerchant

0x60

4

unsigned long

m_nRoomCostNoble

0x64

4

unsigned long

m_nRoomCostRoyal

0x68

4

unsigned long

m_spellOffset

0x6C

4

unsigned long

m_spellCount

0x70

4

unsigned long

m_rouletMaxBet

0x74

4

unsigned long

m_crapsMaxBet

0x78

4

unsigned long

m_wheelMaxBet

0x7C

4

unsigned long

m_rouletWinChance

0x80

4

unsigned long

m_crapsWinChance

0x84

4

unsigned long

m_wheelWinChance

0x88

4

unsigned long

m_rouletWinAmount

0x8C

4

unsigned long

m_crapsWinAmount

0x90

4

unsigned long

m_wheelWinAmount

Notes

Related to STOR V1.0 Header


CStoreFileItem

Offset

Size

Type

Field

0x00

8

unsigned char

m_itemId[8]

0x08

2

unsigned short

m_wear

0x0A

6

unsigned short

m_usageCount[3]

0x10

4

unsigned long

m_dynamicFlag

0x14

4

unsigned long

m_nInStock

0x18

4

unsigned long

m_nStoreFlags

Notes

Related to STOR V1.0 Items for Sale


CStoreFileSpell

Offset

Size

Type

Field

0x00

8

unsigned char

m_spell[8]

0x08

4

unsigned long

m_cost

Notes

Related to STOR V1.0 Cures for Sale


CString

Used by the CString Class

Offset

Size

Type

Field

0x00

4

char*

m_pchData

C Definition

typedef struct tagCString {
  DWORD         m_pchData;
} CString;      // size 0x4

CStringData

Offset

Size

Type

Field

0x00

4

long

nRefs

0x04

4

int

nDataLength

0x08

4

int

nAllocLength


CStringList

Used by the CStringList Class

Offset

Size

Type

Field

0x00

4

CObject

m_cObject

0x04

4

CStringList::CNode*

m_pNodeHead

0x08

4

CStringList::CNode*

m_pNodeTail

0x0C

4

int

m_nCount

0x10

4

CStringList::CNode*

m_pNodeFree

0x14

4

CPlex*

m_pBlocks

0x18

4

int

m_nBlockSize


CStringList::CNode

Offset

Size

Type

Field

0x00

4

CStringList::CNode*

pNext

0x04

4

CStringList::CNode*

pPrev

0x08

4

CString::CNode

data