1112 lines
26 KiB
C
1112 lines
26 KiB
C
#ifndef GH_GENERATED_STRUCTS_H
|
|
#define GH_GENERATED_STRUCTS_H
|
|
|
|
// AUTO-GENERATED FILE
|
|
#include <gh_struct_binder.h>
|
|
typedef struct _ExtraSoundParam _ExtraSoundParam, *P_ExtraSoundParam;
|
|
|
|
typedef struct _RollOffParam _RollOffParam, *P_RollOffParam;
|
|
|
|
typedef struct _RollOffParam RollOffParam;
|
|
|
|
typedef struct _SwitchParam _SwitchParam, *P_SwitchParam;
|
|
|
|
typedef struct _SwitchParam SwitchParam;
|
|
|
|
typedef long SndReal;
|
|
|
|
struct _SwitchParam {
|
|
long lObjectType;
|
|
long lObjectId;
|
|
};
|
|
|
|
struct _RollOffParam {
|
|
SndReal rDistSatur;
|
|
SndReal rDistBackGround;
|
|
};
|
|
|
|
struct _ExtraSoundParam {
|
|
RollOffParam stRollOff;
|
|
SwitchParam stSwitch;
|
|
};
|
|
|
|
typedef struct _MicroLink _MicroLink, *P_MicroLink;
|
|
|
|
typedef int SndBool;
|
|
|
|
struct _MicroLink {
|
|
long lId;
|
|
SndBool bLinked;
|
|
};
|
|
|
|
typedef struct _MicroParam _MicroParam, *P_MicroParam;
|
|
|
|
typedef struct _SndVector _SndVector, *P_SndVector;
|
|
|
|
typedef struct _SndVector SndVector;
|
|
|
|
struct _SndVector {
|
|
SndReal x;
|
|
SndReal y;
|
|
SndReal z;
|
|
};
|
|
|
|
struct _MicroParam {
|
|
SndVector pos;
|
|
SndVector vit;
|
|
SndVector dirnor;
|
|
SndVector dirtan;
|
|
};
|
|
|
|
typedef struct _SampleParam _SampleParam, *P_SampleParam;
|
|
|
|
typedef unsigned char uchar;
|
|
struct _SampleParam {
|
|
SndReal Freq;
|
|
uchar ucVol;
|
|
uchar ucPan;
|
|
uchar ucSpace;
|
|
uchar ucReverb;
|
|
};
|
|
|
|
typedef struct _SND_tdstBlockEvent _SND_tdstBlockEvent, *P_SND_tdstBlockEvent;
|
|
|
|
struct _SND_tdstBlockEvent {
|
|
};
|
|
|
|
typedef struct _SND_tdstCallback _SND_tdstCallback, *P_SND_tdstCallback;
|
|
|
|
typedef enum _SND_tdstTypeCallback {
|
|
BUFFER_ASYNCHRONE=0,
|
|
BUFFER_SYNCHRONE=1,
|
|
BUFFER_STACK=2,
|
|
ALIGN_FOR_BUFFER_CLIENT=305419896
|
|
} _SND_tdstTypeCallback;
|
|
|
|
typedef enum _SND_tdstTypeCallback SND_tduTypeCallback;
|
|
|
|
typedef union _union_2482 _union_2482, *P_union_2482;
|
|
|
|
typedef union _union_2483 _union_2483, *P_union_2483;
|
|
|
|
typedef unsigned long ulong;
|
|
typedef void (*td_pfn_vRefreshBufferClient)(long, ulong, ulong, void *);
|
|
|
|
typedef void (*td_pfn_vBufferClientPoped)(long, long);
|
|
|
|
union _union_2483 {
|
|
SndReal rCallbackPeriod;
|
|
long lNbSampleToPush;
|
|
};
|
|
|
|
union _union_2482 {
|
|
td_pfn_vRefreshBufferClient CallbackASynchrone;
|
|
td_pfn_vRefreshBufferClient CallbackSynchrone;
|
|
td_pfn_vBufferClientPoped CallbackStack;
|
|
};
|
|
|
|
struct _SND_tdstCallback {
|
|
SND_tduTypeCallback eType;
|
|
union _union_2482 uCallback;
|
|
union _union_2483 uInfo;
|
|
};
|
|
|
|
typedef struct _SND_tdstFormat _SND_tdstFormat, *P_SND_tdstFormat;
|
|
|
|
typedef enum enum_2474 {
|
|
SAMPLE_INVALID=0,
|
|
SAMPLE_PCM=1,
|
|
SAMPLE_MPEG=2,
|
|
SAMPLE_AIFF=3,
|
|
SAMPLE_ADPCM=4,
|
|
SAMPLE_ADPCM_TO_CONVERT=5,
|
|
SAMPLE_FOR_ALIGNEMENT=321148536
|
|
} enum_2474;
|
|
|
|
typedef enum enum_2474 tdeTypeZip;
|
|
|
|
typedef union _union_2479 _union_2479, *P_union_2479;
|
|
|
|
typedef struct _tdstFormatPCM _tdstFormatPCM, *P_tdstFormatPCM;
|
|
|
|
typedef struct _tdstFormatPCM tdstFormatPCM;
|
|
|
|
typedef struct _tdstFormatPCM tdstFormatMPEG;
|
|
|
|
typedef struct _tdstFormatPCM tdstFormatADPCM;
|
|
|
|
typedef unsigned short ushort;
|
|
struct _tdstFormatPCM {
|
|
ulong ulNbSamples;
|
|
ushort uwResolution;
|
|
ushort uwNbChannels;
|
|
ulong ulFreq;
|
|
};
|
|
|
|
union _union_2479 {
|
|
tdstFormatPCM stPCM;
|
|
tdstFormatMPEG stMPEG;
|
|
tdstFormatADPCM stADPCM;
|
|
};
|
|
|
|
struct _SND_tdstFormat {
|
|
tdeTypeZip eZip;
|
|
union _union_2479 uFormat;
|
|
};
|
|
|
|
typedef struct _SND_tdstInitStruct _SND_tdstInitStruct, *P_SND_tdstInitStruct;
|
|
|
|
typedef struct HINSTANCE__ *HINSTANCE;
|
|
|
|
typedef struct HWND__ *HWND;
|
|
|
|
typedef void *HANDLE;
|
|
|
|
struct _SND_tdstInitStruct {
|
|
HINSTANCE hProcessInstance;
|
|
HWND hMainWindow;
|
|
HANDLE hMutexDX;
|
|
};
|
|
|
|
typedef struct _SND_tdstStackBuffer _SND_tdstStackBuffer, *P_SND_tdstStackBuffer;
|
|
|
|
struct _SND_tdstStackBuffer {
|
|
ulong ulNbSamples;
|
|
void *ptrData;
|
|
};
|
|
|
|
typedef struct _SoundParam _SoundParam, *P_SoundParam;
|
|
|
|
typedef struct _MicroLink MicroLink;
|
|
|
|
typedef struct _ExtraSoundParam ExtraSoundParam;
|
|
|
|
struct _SoundParam {
|
|
SndReal Freq;
|
|
uchar ucVol;
|
|
uchar ucPan;
|
|
uchar ucSpace;
|
|
uchar ucReverb;
|
|
SndVector Pos;
|
|
SndVector Vit;
|
|
int iFlags;
|
|
int iNbLinks;
|
|
MicroLink astMicro[2];
|
|
ExtraSoundParam xExtra;
|
|
};
|
|
|
|
typedef struct _tdstAllRetChannelSound _tdstAllRetChannelSound, *P_tdstAllRetChannelSound;
|
|
|
|
typedef SndReal (*td_pfn_rRetChannelCoord)(long, long);
|
|
|
|
typedef SndBool (*td_pfn_bRetChannelActive)(long, long);
|
|
|
|
struct _tdstAllRetChannelSound {
|
|
td_pfn_rRetChannelCoord X;
|
|
td_pfn_rRetChannelCoord Y;
|
|
td_pfn_rRetChannelCoord Z;
|
|
td_pfn_rRetChannelCoord VX;
|
|
td_pfn_rRetChannelCoord VY;
|
|
td_pfn_rRetChannelCoord VZ;
|
|
td_pfn_bRetChannelActive Active;
|
|
SndBool bAbsCoord;
|
|
};
|
|
|
|
typedef struct _tdstAllRetMicroSound _tdstAllRetMicroSound, *P_tdstAllRetMicroSound;
|
|
|
|
typedef SndReal (*td_pfn_rRetSoundCoord)(long);
|
|
|
|
typedef long (*td_pfn_lRetSoundLong)(long);
|
|
|
|
struct _tdstAllRetMicroSound {
|
|
td_pfn_rRetSoundCoord X;
|
|
td_pfn_rRetSoundCoord Y;
|
|
td_pfn_rRetSoundCoord Z;
|
|
td_pfn_rRetSoundCoord VX;
|
|
td_pfn_rRetSoundCoord VY;
|
|
td_pfn_rRetSoundCoord VZ;
|
|
td_pfn_rRetSoundCoord DNX;
|
|
td_pfn_rRetSoundCoord DNY;
|
|
td_pfn_rRetSoundCoord DNZ;
|
|
td_pfn_rRetSoundCoord DTX;
|
|
td_pfn_rRetSoundCoord DTY;
|
|
td_pfn_rRetSoundCoord DTZ;
|
|
td_pfn_lRetSoundLong Filtre;
|
|
};
|
|
|
|
typedef struct _tdstAllRetObjectSound _tdstAllRetObjectSound, *P_tdstAllRetObjectSound;
|
|
|
|
typedef uchar (*td_pfn_ucRetSoundMidi)(long);
|
|
|
|
typedef union _SND_tduRefEvt _SND_tduRefEvt, *P_SND_tduRefEvt;
|
|
|
|
typedef union _SND_tduRefEvt SND_tduRefEvt;
|
|
|
|
typedef void (*td_pfn_vRetSoundExtraCoef)(long, SND_tduRefEvt, SndReal *, SndReal *, SndReal *);
|
|
|
|
typedef long SND_tdxHandleToSoundInfo;
|
|
|
|
typedef SND_tdxHandleToSoundInfo (*td_pfn_lRetSoundSwitch)(long, long);
|
|
|
|
typedef SndBool (*td_pfn_bRetSoundLink)(long, long);
|
|
|
|
typedef void (*td_pfn_vRetSoundVector)(long, SndVector *);
|
|
|
|
typedef ulong tdxId;
|
|
|
|
typedef struct _SND_tdstBlockEvent SND_tdstBlockEvent;
|
|
|
|
struct _tdstAllRetObjectSound {
|
|
td_pfn_rRetSoundCoord X;
|
|
td_pfn_rRetSoundCoord Y;
|
|
td_pfn_rRetSoundCoord Z;
|
|
td_pfn_rRetSoundCoord VX;
|
|
td_pfn_rRetSoundCoord VY;
|
|
td_pfn_rRetSoundCoord VZ;
|
|
td_pfn_ucRetSoundMidi REVERB;
|
|
td_pfn_vRetSoundExtraCoef ExtraCoef;
|
|
td_pfn_lRetSoundSwitch Switch;
|
|
td_pfn_bRetSoundLink MicroLink;
|
|
td_pfn_vRetSoundVector VectorI;
|
|
td_pfn_vRetSoundVector VectorJ;
|
|
td_pfn_vRetSoundVector VectorK;
|
|
void *Unk0;
|
|
void *InfoType;
|
|
};
|
|
|
|
union _SND_tduRefEvt {
|
|
tdxId Id;
|
|
SND_tdstBlockEvent *pstPtr;
|
|
};
|
|
|
|
typedef struct _tdstBlockResourceDisk _tdstBlockResourceDisk, *P_tdstBlockResourceDisk;
|
|
|
|
struct _tdstBlockResourceDisk {
|
|
};
|
|
|
|
typedef struct _tdstBlockResourceMem _tdstBlockResourceMem, *P_tdstBlockResourceMem;
|
|
|
|
struct _tdstBlockResourceMem {
|
|
};
|
|
|
|
typedef struct _tdstInfoTrackDisk _tdstInfoTrackDisk, *P_tdstInfoTrackDisk;
|
|
|
|
struct _tdstInfoTrackDisk {
|
|
};
|
|
|
|
typedef struct _tdstInfoTrackList _tdstInfoTrackList, *P_tdstInfoTrackList;
|
|
|
|
struct _tdstInfoTrackList {
|
|
};
|
|
|
|
typedef struct _tdstInfoTrackMem _tdstInfoTrackMem, *P_tdstInfoTrackMem;
|
|
|
|
struct _tdstInfoTrackMem {
|
|
};
|
|
|
|
typedef struct _tdstMidiMemory _tdstMidiMemory, *P_tdstMidiMemory;
|
|
|
|
struct _tdstMidiMemory {
|
|
};
|
|
|
|
typedef struct _tdstMidiStreaming _tdstMidiStreaming, *P_tdstMidiStreaming;
|
|
|
|
struct _tdstMidiStreaming {
|
|
};
|
|
|
|
typedef struct _tdstRandomElement _tdstRandomElement, *P_tdstRandomElement;
|
|
|
|
struct _tdstRandomElement {
|
|
};
|
|
|
|
typedef struct _tdstRangeSplitDisk _tdstRangeSplitDisk, *P_tdstRangeSplitDisk;
|
|
|
|
struct _tdstRangeSplitDisk {
|
|
};
|
|
|
|
typedef struct _tdstRangeSplitListDisk _tdstRangeSplitListDisk, *P_tdstRangeSplitListDisk;
|
|
|
|
struct _tdstRangeSplitListDisk {
|
|
};
|
|
|
|
typedef struct _tdstRangeSplitListMem _tdstRangeSplitListMem, *P_tdstRangeSplitListMem;
|
|
|
|
struct _tdstRangeSplitListMem {
|
|
};
|
|
|
|
typedef struct _tdstRangeSplitMem _tdstRangeSplitMem, *P_tdstRangeSplitMem;
|
|
|
|
struct _tdstRangeSplitMem {
|
|
};
|
|
|
|
typedef struct _tdstRefRes _tdstRefRes, *P_tdstRefRes;
|
|
|
|
struct _tdstRefRes {
|
|
};
|
|
|
|
typedef struct _tdstRefResList _tdstRefResList, *P_tdstRefResList;
|
|
|
|
struct _tdstRefResList {
|
|
};
|
|
|
|
typedef struct _tdstSampleMemory _tdstSampleMemory, *P_tdstSampleMemory;
|
|
|
|
struct _tdstSampleMemory {
|
|
};
|
|
|
|
typedef struct _tdstSampleStreaming _tdstSampleStreaming, *P_tdstSampleStreaming;
|
|
|
|
struct _tdstSampleStreaming {
|
|
};
|
|
|
|
typedef struct _tdstSndBankDescriptor _tdstSndBankDescriptor, *P_tdstSndBankDescriptor;
|
|
|
|
struct _tdstSndBankDescriptor {
|
|
};
|
|
|
|
typedef struct _tdstSndBankHead _tdstSndBankHead, *P_tdstSndBankHead;
|
|
|
|
struct _tdstSndBankHead {
|
|
};
|
|
|
|
typedef struct _tdstSndBankHeader _tdstSndBankHeader, *P_tdstSndBankHeader;
|
|
|
|
struct _tdstSndBankHeader {
|
|
};
|
|
|
|
typedef struct _tdstSndPolyEvent _tdstSndPolyEvent, *P_tdstSndPolyEvent;
|
|
|
|
struct _tdstSndPolyEvent {
|
|
};
|
|
|
|
typedef struct _tdstSndPolyResource _tdstSndPolyResource, *P_tdstSndPolyResource;
|
|
|
|
struct _tdstSndPolyResource {
|
|
};
|
|
|
|
typedef struct _tdstSwitchElement _tdstSwitchElement, *P_tdstSwitchElement;
|
|
|
|
struct _tdstSwitchElement {
|
|
};
|
|
|
|
typedef struct _tdstSwitchList _tdstSwitchList, *P_tdstSwitchList;
|
|
|
|
struct _tdstSwitchList {
|
|
};
|
|
|
|
typedef struct _tdstThemeBridge _tdstThemeBridge, *P_tdstThemeBridge;
|
|
|
|
struct _tdstThemeBridge {
|
|
};
|
|
|
|
typedef struct _tdstThemePart _tdstThemePart, *P_tdstThemePart;
|
|
|
|
struct _tdstThemePart {
|
|
};
|
|
|
|
typedef struct _tdstThemePartOutro _tdstThemePartOutro, *P_tdstThemePartOutro;
|
|
|
|
struct _tdstThemePartOutro {
|
|
};
|
|
|
|
typedef struct _tdstTypeCD _tdstTypeCD, *P_tdstTypeCD;
|
|
|
|
struct _tdstTypeCD {
|
|
};
|
|
|
|
typedef struct _tdstTypeMidiDisk _tdstTypeMidiDisk, *P_tdstTypeMidiDisk;
|
|
|
|
struct _tdstTypeMidiDisk {
|
|
};
|
|
|
|
typedef struct _tdstTypeMidiMem _tdstTypeMidiMem, *P_tdstTypeMidiMem;
|
|
|
|
struct _tdstTypeMidiMem {
|
|
};
|
|
|
|
typedef struct _tdstTypeRandomDisk _tdstTypeRandomDisk, *P_tdstTypeRandomDisk;
|
|
|
|
struct _tdstTypeRandomDisk {
|
|
};
|
|
|
|
typedef struct _tdstTypeRandomMem _tdstTypeRandomMem, *P_tdstTypeRandomMem;
|
|
|
|
struct _tdstTypeRandomMem {
|
|
};
|
|
|
|
typedef struct _tdstTypeSampleDisk _tdstTypeSampleDisk, *P_tdstTypeSampleDisk;
|
|
|
|
struct _tdstTypeSampleDisk {
|
|
};
|
|
|
|
typedef struct _tdstTypeSampleMem _tdstTypeSampleMem, *P_tdstTypeSampleMem;
|
|
|
|
struct _tdstTypeSampleMem {
|
|
};
|
|
|
|
typedef struct _tdstTypeSequenceDisk _tdstTypeSequenceDisk, *P_tdstTypeSequenceDisk;
|
|
|
|
struct _tdstTypeSequenceDisk {
|
|
};
|
|
|
|
typedef struct _tdstTypeSequenceMem _tdstTypeSequenceMem, *P_tdstTypeSequenceMem;
|
|
|
|
struct _tdstTypeSequenceMem {
|
|
};
|
|
|
|
typedef struct _tdstTypeSplitDisk _tdstTypeSplitDisk, *P_tdstTypeSplitDisk;
|
|
|
|
struct _tdstTypeSplitDisk {
|
|
};
|
|
|
|
typedef struct _tdstTypeSplitMem _tdstTypeSplitMem, *P_tdstTypeSplitMem;
|
|
|
|
struct _tdstTypeSplitMem {
|
|
};
|
|
|
|
typedef struct _tdstTypeSwitchDisk _tdstTypeSwitchDisk, *P_tdstTypeSwitchDisk;
|
|
|
|
struct _tdstTypeSwitchDisk {
|
|
};
|
|
|
|
typedef struct _tdstTypeSwitchMem _tdstTypeSwitchMem, *P_tdstTypeSwitchMem;
|
|
|
|
struct _tdstTypeSwitchMem {
|
|
};
|
|
|
|
typedef struct _tdstTypeThemeDisk _tdstTypeThemeDisk, *P_tdstTypeThemeDisk;
|
|
|
|
struct _tdstTypeThemeDisk {
|
|
};
|
|
|
|
typedef struct _tdstTypeThemeMem _tdstTypeThemeMem, *P_tdstTypeThemeMem;
|
|
|
|
struct _tdstTypeThemeMem {
|
|
};
|
|
|
|
typedef struct AI_tdstMind_ AI_tdstMind_, *PAI_tdstMind_;
|
|
|
|
struct AI_tdstMind_ {
|
|
};
|
|
|
|
typedef struct Float2 Float2, *PFloat2;
|
|
|
|
struct Float2 { /* Vector (r3) */
|
|
float x;
|
|
float y;
|
|
};
|
|
|
|
typedef struct Float3 Float3, *PFloat3;
|
|
|
|
struct Float3 { /* Vector (r3) */
|
|
float x;
|
|
float y;
|
|
float z;
|
|
};
|
|
|
|
typedef struct Float4 Float4, *PFloat4;
|
|
|
|
struct Float4 { /* Vector (r3) */
|
|
float x;
|
|
float y;
|
|
float z;
|
|
float w;
|
|
};
|
|
|
|
typedef struct Float4x4 Float4x4, *PFloat4x4;
|
|
|
|
struct Float4x4 { /* Matrix (row major?) math type */
|
|
struct Float4 x;
|
|
struct Float4 y;
|
|
struct Float4 z;
|
|
struct Float4 w;
|
|
};
|
|
|
|
typedef struct HIE_tdstSuperObject HIE_tdstSuperObject, *PHIE_tdstSuperObject;
|
|
|
|
struct HIE_tdstSuperObject {
|
|
};
|
|
|
|
typedef struct HIE_tdstSuperObject_ HIE_tdstSuperObject_, *PHIE_tdstSuperObject_;
|
|
|
|
typedef union HIE_tduLinkedObject HIE_tduLinkedObject, *PHIE_tduLinkedObject;
|
|
|
|
typedef struct POS_stCompletePosition POS_stCompletePosition, *PPOS_stCompletePosition;
|
|
|
|
typedef struct POS_stCompletePosition *POS_tdxHandleToPosition;
|
|
|
|
typedef struct MTH3D_tdstVector_ MTH3D_tdstVector_, *PMTH3D_tdstVector_;
|
|
|
|
typedef struct MTH3D_tdstVector_ MTH3D_tdstVector;
|
|
|
|
typedef struct MTH3D_tdstMatrix_ MTH3D_tdstMatrix_, *PMTH3D_tdstMatrix_;
|
|
|
|
typedef struct MTH3D_tdstMatrix_ MTH3D_tdstMatrix;
|
|
|
|
union HIE_tduLinkedObject {
|
|
struct HIE_tdstSuperObject *p_stSuperObject;
|
|
void *p_Void;
|
|
};
|
|
|
|
struct MTH3D_tdstVector_ {
|
|
float xX;
|
|
float xY;
|
|
float xZ;
|
|
};
|
|
|
|
struct HIE_tdstSuperObject_ {
|
|
ulong ulTypeOfLinkedObject;
|
|
union HIE_tduLinkedObject hLinkedObject;
|
|
struct HIE_tdstSuperObject_ *hFirstElementDyn;
|
|
struct HIE_tdstSuperObject_ *hLastElementDyn;
|
|
long lNumberOfElementsDyn;
|
|
struct HIE_tdstSuperObject_ *hNextBrotherDyn;
|
|
struct HIE_tdstSuperObject_ *hPrevBrotherDyn;
|
|
struct HIE_tdstSuperObject_ *hFatherDyn;
|
|
POS_tdxHandleToPosition hLocalMatrix;
|
|
POS_tdxHandleToPosition hGlobalMatrix;
|
|
long lLastComputeFrame;
|
|
long lDrawModeMask;
|
|
ulong ulFlags;
|
|
void *hBoundingVolume;
|
|
float fTransparenceLevel;
|
|
MTH3D_tdstVector stSemiLookAtVector;
|
|
};
|
|
|
|
struct MTH3D_tdstMatrix_ {
|
|
MTH3D_tdstVector stCol_0;
|
|
MTH3D_tdstVector stCol_1;
|
|
MTH3D_tdstVector stCol_2;
|
|
};
|
|
|
|
struct POS_stCompletePosition {
|
|
ulong ulType;
|
|
MTH3D_tdstVector stTranslationVector;
|
|
MTH3D_tdstMatrix stRotationMatrix;
|
|
MTH3D_tdstMatrix stTransformMatrix;
|
|
};
|
|
|
|
typedef struct r3_engine r3_engine, *Pr3_engine;
|
|
|
|
typedef unsigned int uint;
|
|
typedef uint uint32_t;
|
|
|
|
typedef unsigned char undefined;
|
|
|
|
struct r3_engine {
|
|
uint32_t initMask; /* isRunning? */
|
|
undefined field1_0x4;
|
|
undefined field2_0x5;
|
|
undefined field3_0x6;
|
|
undefined field4_0x7;
|
|
undefined field5_0x8;
|
|
undefined field6_0x9;
|
|
undefined field7_0xa;
|
|
undefined field8_0xb;
|
|
undefined field9_0xc;
|
|
undefined field10_0xd;
|
|
undefined field11_0xe;
|
|
undefined field12_0xf;
|
|
undefined field13_0x10;
|
|
undefined field14_0x11;
|
|
undefined field15_0x12;
|
|
undefined field16_0x13;
|
|
undefined field17_0x14;
|
|
undefined field18_0x15;
|
|
undefined field19_0x16;
|
|
undefined field20_0x17;
|
|
undefined field21_0x18;
|
|
undefined field22_0x19;
|
|
undefined field23_0x1a;
|
|
undefined field24_0x1b;
|
|
undefined field25_0x1c;
|
|
undefined field26_0x1d;
|
|
undefined field27_0x1e;
|
|
char levelName[30];
|
|
char prevLevelName[30];
|
|
bool inputSuspended;
|
|
uint32_t field31_0x5c;
|
|
};
|
|
|
|
typedef struct r3_graphics_data r3_graphics_data, *Pr3_graphics_data;
|
|
|
|
struct r3_graphics_data {
|
|
int field0_0x0;
|
|
int field1_0x4;
|
|
uint field2_0x8;
|
|
uint field3_0xc;
|
|
float field4_0x10;
|
|
float field5_0x14;
|
|
float field6_0x18;
|
|
int field7_0x1c;
|
|
float field8_0x20;
|
|
float field9_0x24;
|
|
float field10_0x28;
|
|
int field11_0x2c;
|
|
int field12_0x30;
|
|
int field13_0x34;
|
|
int field14_0x38;
|
|
undefined field15_0x3c;
|
|
undefined field16_0x3d;
|
|
undefined field17_0x3e;
|
|
undefined field18_0x3f;
|
|
int field19_0x40;
|
|
int field20_0x44;
|
|
int field21_0x48;
|
|
undefined field22_0x4c;
|
|
undefined field23_0x4d;
|
|
undefined field24_0x4e;
|
|
undefined field25_0x4f;
|
|
float field26_0x50;
|
|
float field27_0x54;
|
|
uint field28_0x58;
|
|
uint field29_0x5c;
|
|
uint field30_0x60;
|
|
struct IDirect3DVertexBuffer8 **field31_0x64;
|
|
undefined field32_0x68;
|
|
undefined field33_0x69;
|
|
undefined field34_0x6a;
|
|
undefined field35_0x6b;
|
|
int field36_0x6c;
|
|
int *field37_0x70;
|
|
float **field38_0x74;
|
|
int field39_0x78;
|
|
undefined field40_0x7c;
|
|
undefined field41_0x7d;
|
|
undefined field42_0x7e;
|
|
undefined field43_0x7f;
|
|
undefined field44_0x80;
|
|
undefined field45_0x81;
|
|
undefined field46_0x82;
|
|
undefined field47_0x83;
|
|
undefined field48_0x84;
|
|
undefined field49_0x85;
|
|
undefined field50_0x86;
|
|
undefined field51_0x87;
|
|
undefined field52_0x88;
|
|
undefined field53_0x89;
|
|
undefined field54_0x8a;
|
|
undefined field55_0x8b;
|
|
undefined field56_0x8c;
|
|
undefined field57_0x8d;
|
|
undefined field58_0x8e;
|
|
undefined field59_0x8f;
|
|
undefined field60_0x90;
|
|
undefined field61_0x91;
|
|
undefined field62_0x92;
|
|
undefined field63_0x93;
|
|
undefined field64_0x94;
|
|
undefined field65_0x95;
|
|
undefined field66_0x96;
|
|
undefined field67_0x97;
|
|
undefined field68_0x98;
|
|
undefined field69_0x99;
|
|
undefined field70_0x9a;
|
|
undefined field71_0x9b;
|
|
undefined field72_0x9c;
|
|
undefined field73_0x9d;
|
|
undefined field74_0x9e;
|
|
undefined field75_0x9f;
|
|
undefined field76_0xa0;
|
|
undefined field77_0xa1;
|
|
undefined field78_0xa2;
|
|
undefined field79_0xa3;
|
|
undefined field80_0xa4;
|
|
undefined field81_0xa5;
|
|
undefined field82_0xa6;
|
|
undefined field83_0xa7;
|
|
undefined field84_0xa8;
|
|
undefined field85_0xa9;
|
|
undefined field86_0xaa;
|
|
undefined field87_0xab;
|
|
undefined field88_0xac;
|
|
undefined field89_0xad;
|
|
undefined field90_0xae;
|
|
undefined field91_0xaf;
|
|
undefined field92_0xb0;
|
|
undefined field93_0xb1;
|
|
undefined field94_0xb2;
|
|
undefined field95_0xb3;
|
|
undefined field96_0xb4;
|
|
undefined field97_0xb5;
|
|
undefined field98_0xb6;
|
|
undefined field99_0xb7;
|
|
undefined field100_0xb8;
|
|
undefined field101_0xb9;
|
|
undefined field102_0xba;
|
|
undefined field103_0xbb;
|
|
undefined field104_0xbc;
|
|
undefined field105_0xbd;
|
|
undefined field106_0xbe;
|
|
undefined field107_0xbf;
|
|
undefined field108_0xc0;
|
|
undefined field109_0xc1;
|
|
undefined field110_0xc2;
|
|
undefined field111_0xc3;
|
|
undefined field112_0xc4;
|
|
undefined field113_0xc5;
|
|
undefined field114_0xc6;
|
|
undefined field115_0xc7;
|
|
undefined field116_0xc8;
|
|
undefined field117_0xc9;
|
|
undefined field118_0xca;
|
|
undefined field119_0xcb;
|
|
undefined field120_0xcc;
|
|
undefined field121_0xcd;
|
|
undefined field122_0xce;
|
|
undefined field123_0xcf;
|
|
undefined field124_0xd0;
|
|
undefined field125_0xd1;
|
|
undefined field126_0xd2;
|
|
undefined field127_0xd3;
|
|
undefined field128_0xd4;
|
|
undefined field129_0xd5;
|
|
undefined field130_0xd6;
|
|
undefined field131_0xd7;
|
|
undefined field132_0xd8;
|
|
undefined field133_0xd9;
|
|
undefined field134_0xda;
|
|
undefined field135_0xdb;
|
|
undefined field136_0xdc;
|
|
undefined field137_0xdd;
|
|
undefined field138_0xde;
|
|
undefined field139_0xdf;
|
|
undefined field140_0xe0;
|
|
undefined field141_0xe1;
|
|
undefined field142_0xe2;
|
|
undefined field143_0xe3;
|
|
undefined field144_0xe4;
|
|
undefined field145_0xe5;
|
|
undefined field146_0xe6;
|
|
undefined field147_0xe7;
|
|
undefined field148_0xe8;
|
|
undefined field149_0xe9;
|
|
undefined field150_0xea;
|
|
undefined field151_0xeb;
|
|
int numVertices;
|
|
int field153_0xf0;
|
|
int field154_0xf4;
|
|
struct IDirect3DVertexBuffer8 *baseVertexBuffer;
|
|
struct IDirect3DVertexBuffer8 *texVertexBufer;
|
|
struct IDirect3DIndexBuffer8 *indexBuffer;
|
|
float *lockedVertexBuffer;
|
|
};
|
|
|
|
typedef struct r3_main_data r3_main_data, *Pr3_main_data;
|
|
|
|
struct r3_main_data {
|
|
bool field0_0x0;
|
|
bool field1_0x1;
|
|
char gameDataDir[260];
|
|
};
|
|
|
|
typedef struct r3_math_interface r3_math_interface, *Pr3_math_interface;
|
|
|
|
struct r3_math_interface {
|
|
undefined *field0_0x0;
|
|
undefined *field1_0x4;
|
|
undefined *field2_0x8;
|
|
undefined *field3_0xc;
|
|
undefined *float4x4_mul;
|
|
undefined *field5_0x14;
|
|
undefined *field6_0x18;
|
|
void (*float3_normalize)(struct Float3 *, struct Float3 *);
|
|
undefined *float4_normalize;
|
|
undefined *float2_transformXZ;
|
|
undefined *field10_0x28;
|
|
undefined *field11_0x2c;
|
|
undefined field12_0x30;
|
|
undefined field13_0x31;
|
|
undefined field14_0x32;
|
|
undefined field15_0x33;
|
|
undefined *field16_0x34;
|
|
undefined field17_0x38;
|
|
undefined field18_0x39;
|
|
undefined field19_0x3a;
|
|
undefined field20_0x3b;
|
|
undefined field21_0x3c;
|
|
undefined field22_0x3d;
|
|
undefined field23_0x3e;
|
|
undefined field24_0x3f;
|
|
undefined *field25_0x40;
|
|
undefined *field26_0x44;
|
|
undefined *field27_0x48;
|
|
undefined *field28_0x4c;
|
|
undefined *field29_0x50;
|
|
undefined *field30_0x54;
|
|
undefined *field31_0x58;
|
|
undefined field32_0x5c;
|
|
undefined field33_0x5d;
|
|
undefined field34_0x5e;
|
|
undefined field35_0x5f;
|
|
undefined *field36_0x60;
|
|
undefined *field37_0x64;
|
|
undefined field38_0x68;
|
|
undefined field39_0x69;
|
|
undefined field40_0x6a;
|
|
undefined field41_0x6b;
|
|
undefined *field42_0x6c;
|
|
undefined *field43_0x70;
|
|
undefined field44_0x74;
|
|
undefined field45_0x75;
|
|
undefined field46_0x76;
|
|
undefined field47_0x77;
|
|
undefined *field48_0x78;
|
|
undefined *field49_0x7c;
|
|
undefined field50_0x80;
|
|
undefined field51_0x81;
|
|
undefined field52_0x82;
|
|
undefined field53_0x83;
|
|
undefined field54_0x84;
|
|
undefined field55_0x85;
|
|
undefined field56_0x86;
|
|
undefined field57_0x87;
|
|
undefined field58_0x88;
|
|
undefined field59_0x89;
|
|
undefined field60_0x8a;
|
|
undefined field61_0x8b;
|
|
undefined field62_0x8c;
|
|
undefined field63_0x8d;
|
|
undefined field64_0x8e;
|
|
undefined field65_0x8f;
|
|
undefined field66_0x90;
|
|
undefined field67_0x91;
|
|
undefined field68_0x92;
|
|
undefined field69_0x93;
|
|
undefined field70_0x94;
|
|
undefined field71_0x95;
|
|
undefined field72_0x96;
|
|
undefined field73_0x97;
|
|
undefined field74_0x98;
|
|
undefined field75_0x99;
|
|
undefined field76_0x9a;
|
|
undefined field77_0x9b;
|
|
undefined field78_0x9c;
|
|
undefined field79_0x9d;
|
|
undefined field80_0x9e;
|
|
undefined field81_0x9f;
|
|
undefined field82_0xa0;
|
|
undefined field83_0xa1;
|
|
undefined field84_0xa2;
|
|
undefined field85_0xa3;
|
|
undefined field86_0xa4;
|
|
undefined field87_0xa5;
|
|
undefined field88_0xa6;
|
|
undefined field89_0xa7;
|
|
undefined field90_0xa8;
|
|
undefined field91_0xa9;
|
|
undefined field92_0xaa;
|
|
undefined field93_0xab;
|
|
undefined field94_0xac;
|
|
undefined field95_0xad;
|
|
undefined field96_0xae;
|
|
undefined field97_0xaf;
|
|
undefined field98_0xb0;
|
|
undefined field99_0xb1;
|
|
undefined field100_0xb2;
|
|
undefined field101_0xb3;
|
|
undefined field102_0xb4;
|
|
undefined field103_0xb5;
|
|
undefined field104_0xb6;
|
|
undefined field105_0xb7;
|
|
undefined field106_0xb8;
|
|
undefined field107_0xb9;
|
|
undefined field108_0xba;
|
|
undefined field109_0xbb;
|
|
undefined *field110_0xbc;
|
|
undefined *field111_0xc0;
|
|
undefined *field112_0xc4;
|
|
undefined *field113_0xc8;
|
|
undefined *field114_0xcc;
|
|
undefined *field115_0xd0;
|
|
undefined *field116_0xd4;
|
|
undefined *field117_0xd8;
|
|
};
|
|
|
|
typedef struct r3_TaggedFloatUnk r3_TaggedFloatUnk, *Pr3_TaggedFloatUnk;
|
|
|
|
struct r3_TaggedFloatUnk {
|
|
uint32_t type;
|
|
struct Float4x4 mat0;
|
|
struct Float4 unk;
|
|
};
|
|
|
|
typedef struct tdstAnim3d_ tdstAnim3d_, *PtdstAnim3d_;
|
|
|
|
typedef struct tdstFrame3d_ tdstFrame3d_, *PtdstFrame3d_;
|
|
|
|
typedef struct tdstEvent_ tdstEvent_, *PtdstEvent_;
|
|
|
|
typedef struct POS_stCompletePosition POS_tdstCompletePosition;
|
|
|
|
typedef struct tdstAnimLights_ tdstAnimLights_, *PtdstAnimLights_;
|
|
|
|
typedef struct tdstAnimLights_ tdstAnimLights;
|
|
|
|
typedef struct tdstElement3d_ tdstElement3d_, *PtdstElement3d_;
|
|
|
|
typedef struct tdstPLA_Hierarchy_ tdstPLA_Hierarchy_, *PtdstPLA_Hierarchy_;
|
|
|
|
typedef struct tdstPLA_Hierarchy_ tdstPLA_Hierarchy;
|
|
|
|
typedef struct tdstEventInTable_ tdstEventInTable_, *PtdstEventInTable_;
|
|
|
|
typedef struct tdstEventInTable_ tdstEventInTable;
|
|
|
|
typedef struct tdstCouple_ tdstCouple_, *PtdstCouple_;
|
|
|
|
typedef struct tdstCouple_ tdstCouple;
|
|
|
|
struct tdstFrame3d_ {
|
|
struct tdstElement3d_ *p_stArrayOfElts3d;
|
|
struct MTH3D_tdstMatrix_ *p_stAngularSpeedMatrix;
|
|
struct MTH3D_tdstVector_ *p_stLinearSpeedVector;
|
|
tdstPLA_Hierarchy *p_stHierarchy;
|
|
};
|
|
|
|
struct tdstElement3d_ {
|
|
POS_tdxHandleToPosition stMatrix;
|
|
uchar ucElement;
|
|
uchar ucChannelNumber;
|
|
uchar bActiveStatus;
|
|
ulong eTypeOfElement;
|
|
};
|
|
|
|
struct tdstPLA_Hierarchy_ {
|
|
ulong ulNbOfCouples;
|
|
tdstCouple *d_stCouples;
|
|
};
|
|
|
|
struct tdstCouple_ {
|
|
ushort wChild;
|
|
ushort wFather;
|
|
};
|
|
|
|
struct tdstAnim3d_ {
|
|
struct tdstFrame3d_ *d_stFrame3d;
|
|
uchar ucNumberOfFrames;
|
|
uchar ucFrameRate;
|
|
uchar ucMaxNumberOfElements;
|
|
struct tdstEvent_ *d_stAnimEvent;
|
|
uchar ucNumberOfEvents;
|
|
POS_tdstCompletePosition stOffsetMatrix;
|
|
uchar bCompressedAnim;
|
|
tdstAnimLights *p_stLights;
|
|
struct stMorphData *d_stMorphDataArray;
|
|
ushort uwNumOfA3dGENERAL;
|
|
};
|
|
|
|
struct tdstAnimLights_ {
|
|
void **a_p_stLights;
|
|
ushort uwNumberOfLights;
|
|
void *a_hLightsInSector;
|
|
};
|
|
|
|
struct tdstEventInTable_ {
|
|
void *p_xEvent;
|
|
uchar ucTypeOfEvent;
|
|
uchar ucPriority;
|
|
uchar ucFirstCall;
|
|
uchar ucPeriod;
|
|
ulong ulBinaryEventId;
|
|
};
|
|
|
|
struct tdstEvent_ {
|
|
tdstEventInTable *p_stfEventInTBL;
|
|
ushort usEventNumberInTBL;
|
|
ushort uwFrameNumber;
|
|
ushort uwChannelNumber;
|
|
};
|
|
|
|
typedef struct tdstBrain_ tdstBrain_, *PtdstBrain_;
|
|
|
|
typedef void *GMT_tdxHandleToGameMaterial;
|
|
|
|
struct tdstBrain_ {
|
|
struct AI_tdstMind_ *p_stMind;
|
|
GMT_tdxHandleToGameMaterial hLastCollidedGoThroughMaterial;
|
|
bool bWarnMechanicsFlag;
|
|
};
|
|
|
|
typedef struct tdstEngineObject_ tdstEngineObject_, *PtdstEngineObject_;
|
|
|
|
struct tdstEngineObject_ {
|
|
void *h_3dData;
|
|
void *h_StandardGame;
|
|
void *h_Dynam;
|
|
void *h_Brain;
|
|
undefined field4_0x10;
|
|
undefined field5_0x11;
|
|
undefined field6_0x12;
|
|
undefined field7_0x13;
|
|
undefined field8_0x14;
|
|
undefined field9_0x15;
|
|
undefined field10_0x16;
|
|
undefined field11_0x17;
|
|
undefined field12_0x18;
|
|
undefined field13_0x19;
|
|
undefined field14_0x1a;
|
|
undefined field15_0x1b;
|
|
undefined field16_0x1c;
|
|
undefined field17_0x1d;
|
|
undefined field18_0x1e;
|
|
undefined field19_0x1f;
|
|
undefined field20_0x20;
|
|
undefined field21_0x21;
|
|
undefined field22_0x22;
|
|
undefined field23_0x23;
|
|
undefined field24_0x24;
|
|
undefined field25_0x25;
|
|
undefined field26_0x26;
|
|
undefined field27_0x27;
|
|
undefined field28_0x28;
|
|
undefined field29_0x29;
|
|
undefined field30_0x2a;
|
|
undefined field31_0x2b;
|
|
undefined field32_0x2c;
|
|
undefined field33_0x2d;
|
|
undefined field34_0x2e;
|
|
undefined field35_0x2f;
|
|
undefined field36_0x30;
|
|
undefined field37_0x31;
|
|
undefined field38_0x32;
|
|
undefined field39_0x33;
|
|
undefined field40_0x34;
|
|
undefined field41_0x35;
|
|
undefined field42_0x36;
|
|
undefined field43_0x37;
|
|
};
|
|
|
|
|
|
/* WARNING! conflicting data type names: /tdstEngineObject.h/tdstEngineObject_ - /tdstEngineObject_ */
|
|
|
|
typedef struct tdstLastErrorInfo_ tdstLastErrorInfo_, *PtdstLastErrorInfo_;
|
|
|
|
struct tdstLastErrorInfo_ {
|
|
ushort uwLastErr;
|
|
uchar ucLastFailedModuleId;
|
|
undefined field2_0x3;
|
|
ulong ulChannelId;
|
|
};
|
|
|
|
typedef struct tdstSndBankDescriptorList_ tdstSndBankDescriptorList_, *PtdstSndBankDescriptorList_;
|
|
|
|
struct tdstSndBankDescriptorList_ {
|
|
};
|
|
|
|
typedef struct tdstState_ tdstState_, *PtdstState_;
|
|
|
|
struct tdstState_ {
|
|
};
|
|
|
|
typedef struct tdstSubAnim3d_ tdstSubAnim3d_, *PtdstSubAnim3d_;
|
|
|
|
struct tdstSubAnim3d_ {
|
|
uchar ucCurrentFrame;
|
|
uchar ucRepeatAnimation;
|
|
uchar ucElement;
|
|
struct tdstState_ *p_stCurrentState;
|
|
};
|
|
|
|
#endif // GH_GENERATED_STRUCTS_H
|