SA|Structure

MaterialRestoreData

Start: 0xB4DBE8
Size: 0x8
Num: 256

0x00 pMaterialField dd ?
0x04 OldData dd ?

CStreamSector

Start: 0xB7D0B8
Size: 0x8
Num: 14400

0x00 ptrList1 dd ? ; entities
0x04 ptrList2 dd ? ;
entities

!fixed (01/05/12)

CHalo

0x00 DistanceToScreenCenter dd ?
0x04 Size dd ?
0x08 red dw ?
0x0A green dw ?
0x0C blue dw ?
0x0E alpha dw ?
0x10 isUsedFlag dd ?

CBone

0x00 field_0 dd ?
0x04 Position RwV3D ?
0x10 pQuat dd ? ; RtQuat *
0x14 NodeID dd ?

CGlass

Start: 0xC71BF8
Size: 0x70
Num: 45


0x00 matrix RwMatrix ?
0x40 field_40 dd ?
0x44 field_44 dd ?
0x48 field_48 dd ?
0x4C field_4C dd ?
0x50 field_50 dd ?
0x54 field_54 RwV3D ?
0x60 createdTime dd ?
0x64 field_64 dd ?
0x68 field_68 dd ?
0x6C field_6C db ?
0x6D existFlag db ?
0x6E field_6E dw ?

texCoords

0x00 u dd ?
0x04 v dd ?

CTrainNodePoint

0x00 x dw ?
0x02 y dw ?
0x04 z dw ?
0x06 distanceFromStart dw ?
0x08 field_8 dw ?


Thanks to Den_spb

CRegisteredMotionBlurStreak

Start: 0xC7CA08
Size: 0x54
Num: 4

0x00 entity dd ? ; CEntity *
0x04 color RwRGBA ?
0x08 startPoint RwV3D ?
0x14 field_14 RwV3D ?
0x20 field_20 RwV3D ?
0x2C endPoint RwV3D ?
0x38 field_38 RwV3D ?
0x44 field_44 RwV3D ?
0x50 existFlag db ?
0x51 field_51 db ?
0x52 field_52 db ?
0x53 field_53 db ?

CLuminousPolygon

Start: 0xC7CB58
Size: 0x38
Num: 32

0x00 position RwV3D ?
0x0C right RwV3D ?
0x18 top RwV3D ?
0x24 at RwV3D ?
0x30 distanceToCamera dd ?
0x34 color db ? ; 1 - green, 2 - yellow, 3 - red
0x35 field_35 db ?
0x36 field_36 db ?
0x37 field_37 db ?


Thanks to Den_spb

CHandmanPlane

Start: 0xC7D258
Size: 0x58
Num: 32

0x00 cornerAA RwV3D ?
0x0C cornerAB RwV3D ?
0x18 cornerBA RwV3D ?
0x24 cornerBB RwV3D ?
0x30 texCoorsAA texCoords ?
0x38 texCoorsAB texCoords ?
0x40 texCoorsBA texCoords ?
0x48 texCoorsBB texCoords ?
0x50 visibleDistance dd ?
0x54 color RwRGBA ?


Thanks to Den_spb

CBulletTrace

Start: 0xC7C748
Size: 0x2C
Num: 16

0x00 TransSide RwV3D ?
0x0C YellowSide RwV3D ?
0x18 ExistFlag db ?
0x19 pad1 db ?
0x1A pad2 db ?
0x1B pad3 db ?
0x1C createdTime dd ?
0x20 disappearTime dd ?
0x24 Radius dd ?
0x28 alpha db ?
0x29 pad4 db ?
0x2A pad5 db ?
0x2B pad6 db ?


Thanks to Ryosuke839

CRegisteredCorona

Start: 0xC3E058
Size: 0x3C
Num: 64


Copy Source | Copy HTML
  1. struct CRegisteredCorona
  2. {
  3.     RwV3d m_vPos;
  4.     DWORD m_dwId;
  5.     void *m_pTexture;
  6.     float m_fSize;
  7.     float m_fAngle;
  8.     float m_fFarClip;
  9.     float m_fNearClip;
  10.     float m_fHeightAboveGround;
  11.     float m_fFadeSpeed;
  12.     RwRGBA m_sColor;
  13.     BYTE m_bFadeState;
  14.     BYTE m_bRegisteredThisFrame;
  15.     BYTE m_bFlare;
  16.     BYTE m_bUsesReflection;
  17.     BYTE m_bFlags1; /*
                        0x01 CHECK_OBSTACLES
                        0x02 OFF_SCREEN
                        */
  18.     BYTE m_bJustCreated;
  19.     BYTE m_bFlags2; /*
                        0x01 ONLY_AT_LONG_DISTANCE
                        0x02 ONLY_FROM_BELOW
                        0x04 REFLECTION_DELAY
                        0x08 DRAW_WITH_WHITE_CORE
                        0x10 IS_ATTACHED_TO_VEHICLE
                        */
  20.     BYTE __padding;
  21.     void *m_pAttachedTo;
  22. };

C3DMarker

Start: 0xC7DD58
Size: 0xA0
Num: 32

0x00 m_mat RwMatrix ?
0x40 dwPad dd ?
0x44 dwPad2 dd ?
0x48 m_pRwObject dd ? ; RpClump *
0x4C m_pMaterial dd ? ; RpMaterial *
0x50 m_nType dw ?
0x52 m_bIsUsed dw ?
0x54 m_nIdentifier dd ?
0x58 rwColour RwRGBA ?
0x5C m_nPulsePeriod dw ?
0x5E m_nRotateRate dw ?
0x60 m_nStartTime dd ?
0x64 m_fPulseFraction dd ?
0x68 m_fStdSize dd ?
0x6C m_fSize dd ?
0x70 m_fBrightness dd ?
0x74 m_fCameraRange dd ?
0x78 m_normal RwV3D ?
0x84 m_LastMapReadX dw ?
0x86 m_LastMapReadY dw ?
0x88 m_LastMapReadResultZ dd ?
0x8C m_roofHeight dd ?
0x90 m_lastPosition RwV3D ?
0x9C m_OnScreenTestTime dd ?


Thanks to MTA developers

CCheckpoint

Start: 0xC7F158
Size: 0x38
Num: 32

0x00 type dw ?
0x02 isUsed db ?
0x03 field_3 db ?
0x04 handle dd ?
0x08 color RwRGBA ?
0x0C field_C dw ?
0x0E field_E dw ?
0x10 position RwV3D ?
0x1C direction RwV3D ?
0x28 field_28 dd ?
0x2C size dd ?
0x30 field_30 dd ?
0x34 field_34 dd ?


Thanks to Ryosuke839

2 comments:

  1. Это новые структуры которых нету в базе?

    ReplyDelete
  2. Hello Dk22, May i suggest adding a command to activate the cars animated spoiler to the IMVEHFT mod.

    ReplyDelete