CV Structures

CVariable

Offset

Size

Type

Field

0x00

84

CAreaVariable

m_cAreaVariable


CVariableHash

Used by the CVariableHash Class

Offset

Size

Type

Field

0x00

4

CVariable*

m_hashEntries

0x04

4

long

m_nTableEntries


CVEFEvent

Offset

Size

Type

Field

0x00

4

long

m_nTimeFrame

0x04

4

unsigned long

m_dwFlags

0x08

4

long

m_nRepeatRate

0x0C

4

unsigned long

m_nResType

0x10

8

CResRef

m_res

0x18

4

unsigned long

m_specialFlags

0x1C

196

unsigned long

m_pad[49]


CVEFVidCell

Used by the CVEFVidCell Class

Offset

Size

Type

Field

0x00

71

CGameObject

m_cGameObject

1

<padding>

0x48

484

CVEFVidCellBase

m_cVEFVidCellBase

0x22C

4

CVidCell*

m_cVidCell

0x230

4

CVidCell*

m_cShadowVidCell

0x234

36

CVidPalette

m_palette

0x258

176

CVidBitmap

m_newPalette

0x308

4

int

m_done

0x30C

4

long

m_newDirection

0x310

16

unsigned char

m_terrainTable[16]

0x320

20

CSound

m_sound

0x334

4

CVidCell*

m_cAlphaBam

0x338

1

unsigned char

m_level

0x339

1

unsigned char

m_nCurSound

2

<padding>

0x33C

4

unsigned long

m_renderMask

0x340

4

unsigned long

m_renderType

0x344

4

unsigned long

m_myRenderMask

0x348

4

unsigned long

m_priority


CVEFVidCellBase

Offset

Size

Type

Field

0x00

8

CResRef

m_cVidCellRef

0x08

8

CResRef

m_cShadowVidCellRef

0x10

4

unsigned long

m_bltFlags

0x14

4

unsigned long

m_bltInfo

0x18

4

unsigned long

m_bltFlagsExtra

0x1C

4

unsigned long

m_bltInfoExtra

0x20

8

CPoint

m_offset

0x28

4

unsigned long

m_offsetFlags

0x2C

4

long

m_animationSpeed

0x30

4

long

m_numDirections

0x34

4

long

m_direction

0x38

4

unsigned long

m_directionFlags

0x3C

8

CResRef

m_cNewPaletteRef

0x44

4

long

m_height

0x48

8

CPoint

m_glowSize

0x50

4

unsigned long

m_glowIntensity

0x54

4

long

m_nDuration

0x58

8

CResRef

m_cVVCResRes

0x60

4

long

m_nStartSequence

0x64

4

long

m_nLoopSequence

0x68

4

long

m_nCurrentSequence

0x6C

4

unsigned long

m_sequenceFlags

0x70

8

CResRef

m_cStartSoundRef

0x78

8

CResRef

m_cLoopSoundRef

0x80

8

CResRef

m_cAlphaBamRef

0x88

4

long

m_nEndSequence

0x8C

8

CResRef

m_cEndSoundRef

0x94

336

unsigned long

m_extra[84]


CVEFVidCellFile

Offset

Size

Type

Field

0x00

12

CResHelper

m_cResHelper


CVidBitmap

Used by the CVidBitmap Class

Offset

Size

Type

Field

0x00

156

CVidImage

m_cVidImage

0x9C

12

CResHelper

m_cResHelper

0xa8

2

short

m_nBitCount

2

<padding>

0xAC

4

CString

m_szResFileName


CVidCell

Used by the CVidCell Class

Offset

Size

Type

Field

0x00

4

DWORD

vfptr

0x04

156

CVidImage

m_cVidImage

0xA0

12

CResHelper

m_cResHelper

0xAC

2

short

m_nCurrentFrame

0xAE

2

unsigned short

m_nCurrentSequence

0xB0

4

int

m_nAnimType

0xB4

4

int

m_bPaletteChanged

0xB8

4

frameTableEntry_st*

m_pFrame

0xBC

1

unsigned char

m_bShadowOn

3

<padding>


CVidCellFont

Offset

Size

Type

Field

0x00

189

CVidCell

m_cVidCell

3

<padding>


CVidDrawable

Used by the CVidDrawable Class

Offset

Size

Type

Field

0x00

4

int

texType

0x04

4

void*

tex


CVideo

Used by the CVideo Class

Offset

Size

Type

Field

0x00

4

CVidMode*

pCurrentMode


CVidFont

Used by the CVidFont Class

Offset

Size

Type

Field

0x00

12

CResHelper

m_cResHelper

0x0C

4

CVidCellFont*

vidCellFont

0x10

4

unsigned long

foreground

0x14

4

unsigned long

tintcolor

0x18

4

int

pointSize

0x1C

4

int

zoom


CVidImage

Used by the CVidImage Class

Offset

Size

Type

Field

0x00

36

CVidPalette

m_cPalette

0x24

120

CVIDIMG_PALETTEAFFECT

mPaletteAffects


CVIDIMG_PALETTEAFFECT

Offset

Size

Type

Field

0x00

4

unsigned long

rgbTintColor

0x04

4

unsigned long

rgbAddColor

0x08

4

unsigned long

rgbLightColor

0x0C

28

unsigned long*

pRangeTints[7]

0x28

8

unsigned char

aRangeTintPeriods[8]

0x30

28

unsigned long*

pRangeAdds[7]

0x4C

8

unsigned char

aRangeAddPeriods[8]

0x54

28

unsigned long*

pRangeLights[7]

0x70

7

unsigned char

aRangeLightPeriods[7]

0x77

1

unsigned char

suppressTints


CVidMode

Used by the CVidMode Class

Offset

Size

Type

Field

0x00

4

int

m_nPrintFile

0x04

4

int

m_nPointerNumber

0x08

4

unsigned long

m_dwCursorRenderFlags

0x0C

4

unsigned long

m_dwRedMask

0x10

4

unsigned long

m_dwGreenMask

0x14

4

unsigned long

m_dwBlueMask

0x18

1

unsigned char

m_bFadeTo

0x19

1

unsigned char

m_nFade

2

<padding>

0x1C

4

SDL_Window*

m_pWindow

0x20

4

void*

m_glContext

0x24

176

CVidBitmap

m_circle

0xD4

4

int

nWidth

0xD8

4

int

nHeight

0xDC

1

bool

bRedrawEntireScreen

0xDD

1

bool

bHardwareMouseCursor

2

<padding>

0xE0

4

CVidCell*

pPointerVidCell

0xE4

4

CVidCell*

pTooltipVidCell

0xE8

1

unsigned char

m_bPrintScreen

3

<padding>

0xEC

4

unsigned long

nTickCount

0xF0

4

float

m_fInputScale

0xF4

4

unsigned long

rgbGlobalTint

0xF8

1

unsigned char

m_nGammaCorrection

0xF9

1

unsigned char

m_nBrightnessCorrection

2

<padding>

0xFC

4

int

m_nScreenScrollY

0x100

4

int

m_nScreenScrollX

0x104

4

int

nRShift

0x108

4

int

nGShift

0x10C

4

int

nBShift

0x110

4

RGBQUAD

rgbTint

0x114

4

int

bPointerEnabled

0x118

16

CRect

rPointerStorage

0x128

16

CRect

m_rLockedRect

0x138

4

CVidCell*

m_lastCursor

0x13C

4

int

m_lastCursorFrame

0x140

4

int

m_lastCursorSequence

0x144

4

int

m_lastCursorNumber

0x148

4

unsigned long

m_lastCursorFlags

0x14C

4

unsigned int

m_lastCursorResId

0x150

4

SDL_Cursor*

m_hwCursor

0x154

4

SDL_Surface*

m_hwCursorSurface

0x158

4

int

nVRamSurfaces

0x15C

176

CVidBitmap

m_rgbMasterBitmap


CVidMosaic

Used by the CVidMosaic Class

Offset

Size

Type

Field

0x00

156

CVidImage

m_cVidImage

0x9C

12

CResHelper

m_cResHelper


CVidPalette

Used by the CVidPalette Class

Offset

Size

Type

Field

0x00

4

unsigned int

m_nAUCounter

0x04

4

unsigned int

m_nAUCounterBase

0x08

4

RGBQUAD*

m_pPalette

0x0C

4

int

m_nEntries

0x10

4

unsigned long

rgbGlobalTint

0x14

2

unsigned short

m_nType

0x16

1

unsigned char

m_bPaletteOwner

1

<padding>

0x18

4

int

m_bSubRangesCalculated

0x1C

7

unsigned char

m_rangeColors[7]

1

<padding>


CVidPng

Used by the CVidPng Class

Offset

Size

Type

Field

0x00

156

CVidImage

m_cVidImage

0x9C

12

CResHelper

m_cResHelper


CVidPoly

Used by the CVidPoly Class

Offset

Size

Type

Field

0x00

4

CVIDPOLY_VERTEX*

m_pVertices

0x04

4

int

m_nVertices

0x08

4

_EdgeDescription*

m_pET

0x0C

4

_EdgeDescription*

m_pAET

0x10

4

void

m_pDrawHLineFunction


CVidTile

Used by the CVidTile Class

Offset

Size

Type

Field

0x00

156

CVidImage

m_cVidImage

0x9C

4

CResTile*

pRes

0xA0

4

unsigned long

m_dwFlags


CVIDMODE_CLIP_OUTCODE

Offset

Size

Type

Field

0x00

4

unsigned int

all

0x04

4

unsigned int

left : 4

0x04

4

unsigned int

right : 4

0x04

4

unsigned int

bottom : 4

0x04

4

unsigned int

top : 4


CVIDMODE_RECTICLE_DESCRIPTION

Offset

Size

Type

Field

0x00

8

CPoint

ptCenter

0x08

2

short

xAxis

0x0A

2

short

yAxis

0x0c

2

short

piePiecePtXOffset

0x0e

2

short

piePiecePtYOffset

0x10

2

short

piePieceXOffset

0x12

2

short

piePieceYOffset

0x14

2

short

xGap

0x16

2

short

yGap

0x18

2

short

cursor

2

<padding>


CVIDPALETTE_COLOR

Offset

Size

Type

Field

0x00

4

int

rgbRed

0x04

4

int

rgbGreen

0x08

4

int

rgbBlue


CVIDPOLY_VERTEX

Offset

Size

Type

Field

0x00

2

unsigned short

x

0x02

2

unsigned short

y


CVisibilityMap

Used by the CVisibilityMap Class

Offset

Size

Type

Field

0x00

4

unsigned short*

m_pMap

0x04

4

long

m_nMapSize

0x08

2

short

m_nWidth

0x0A

2

short

m_nHeight

0x0C

1

unsigned char

m_bOutDoor

3

<padding>

0x10

4

CSearchBitmap*

m_pSearchMap

0x14

60

long

m_aCharacterIds[15]

0x50

4

CVisibilityMapTreeNode**

m_pVisMapTrees

0x54

4

CVisibilityMapEllipse*

m_pVisMapEllipses


CVisibilityMapEllipse

Offset

Size

Type

Field

0x00

2

short

m_nXExploreRange

0x02

2

short

m_nYExploreRange

0x04

4

unsigned char*

m_pXEllipsePts

0x08

4

unsigned char*

m_pYEllipsePts

0x0C

1

unsigned char

m_nXPtsSize

0x0D

1

unsigned char

m_nYPtsSize

2

<padding>


CVisibilityMapTreeNode

Offset

Size

Type

Field

0x00

8

CPoint

m_relativePos

0x08

2

unsigned short

m_nRange

0x0A

6

short

m_aChildren[3]

0x10

2

short

m_parent

2

<padding>


CVisualEffect

Used by the CVisualEffect Class

Offset

Size

Type

Field

0x00

71

CGameObject

m_cGameObject

1

<padding>

0x48

448

CVisualEffectBase

m_cVisualEffectBase

0x208

28

CTypedPtrList

m_activeAnimations

0x224

28

CTypedPtrList

m_timedEvents

0x240

28

CTypedPtrList

m_triggeredEvents

0x25C

8

CPoint

m_ptTargetPos

0x264

4

long

m_nTargetId

0x268

8

CPoint

m_posExact

0x270

8

CPoint

m_posOld

0x278

4

long

m_nExistanceCounter

0x27C

4

long

m_nDirection

0x280

4

long

m_nNewDirection

0x284

8

CPoint

m_posDelta

0x28C

16

unsigned char

m_terrainTable[16]

0x29C

4

CStringList*

pList

0x2A0

4

_POSITION*

m_listPos

0x2A4

4

int

m_startedList

0x2A8

4

unsigned long

m_renderMask


CVisualEffectBase

Offset

Size

Type

Field

0x00

4

unsigned long

m_nTimedEventOffset

0x04

4

unsigned long

m_nTimedEventCount

0x08

4

unsigned long

m_nTriggeredEventOffset

0x0C

4

unsigned long

m_nTriggeredEventCount

0x10

4

unsigned long

m_nTargetType

0x14

4

long

m_nSpeed

0x18

4

long

m_nDuration

0x1C

8

CPoint

m_ptStartDeltaV

0x24

4

long

m_nDeltaVDec

0x28

4

long

m_nHeight

0x2C

4

unsigned long

m_flags

0x30

400

unsigned long

m_extra[100]


CVisualEffectFile

Offset

Size

Type

Field

0x00

12

CResHelper

m_cResHelper


CVoice

Used by the CVoice Class

Offset

Size

Type

Field

0x00

4

CObject

m_cObject

0x04

4

CSound*

m_pSound

0x08

4

unsigned int

m_nBuffer

0x0C

4

unsigned int

m_nSource

0x10

4

int

m_nChannel

0x14

4

int

m_nPriority

0x18

1

bool

m_bDuckedOthers

3

<padding>


CVRamPool

Offset

Size

Type

Field

0x00

4

int

nVTiles

0x04

4

st_tiledef*

pTileDef


CVVCHash

Offset

Size

Type

Field

0x00

4

CVVCHashEntry*

m_hashEntries

0x04

4

long

m_nTableEntries


CVVCHashEntry

Offset

Size

Type

Field

0x00

8

CResRef

m_name

0x08

2

unsigned short

m_priority

2

<padding>

0x0C

4

unsigned long

m_renderType

0x10

4

unsigned long

m_renderMask