mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 09:52:28 +00:00
feat(profile): CDetailDoodadInst struct
This commit is contained in:
parent
9f188c7656
commit
a53ae10874
2 changed files with 51 additions and 0 deletions
|
|
@ -83,6 +83,7 @@
|
|||
#include "map/WMOchunks.h"
|
||||
#include "map/CMapObj.h"
|
||||
#include "map/CChunkLiquid.h"
|
||||
#include "map/CDetailDoodadInst.h"
|
||||
|
||||
#include "net/message.h"
|
||||
|
||||
|
|
|
|||
50
profile/3.3.5a-windows-386/include/map/CDetailDoodadInst.h
Normal file
50
profile/3.3.5a-windows-386/include/map/CDetailDoodadInst.h
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
#ifndef CDETAILDOODADINST_H
|
||||
#define CDETAILDOODADINST_H
|
||||
|
||||
DECLARE_STRUCT(CDetailDoodadGeomVertex);
|
||||
DECLARE_STRUCT(CDetailDoodadGeom);
|
||||
DECLARE_STRUCT(CDetailDoodadInst);
|
||||
|
||||
#include "system/types.h"
|
||||
#include "texture/texture.h"
|
||||
#include "tempest/vector.h"
|
||||
#include "storm/array.h"
|
||||
|
||||
struct CMapChunk;
|
||||
|
||||
struct CDetailDoodadGeomVertex
|
||||
{
|
||||
uint16_t unk_00;
|
||||
uint16_t unk_02;
|
||||
uint32_t unk_04;
|
||||
C3Vector pos;
|
||||
float angle;
|
||||
float scale;
|
||||
C3Vector unkVec;
|
||||
uint32_t color;
|
||||
};
|
||||
|
||||
STORM_TS_GROWABLE_ARRAY(CDetailDoodadGeomVertex);
|
||||
|
||||
struct CDetailDoodadGeom
|
||||
{
|
||||
CTexture* texture;
|
||||
int32_t unkVertexCount;
|
||||
int32_t unkIndexCount;
|
||||
void* unkVertBufStream;
|
||||
void* unkIdxBufStream;
|
||||
TSGrowableArray_CDetailDoodadGeomVertex data;
|
||||
};
|
||||
|
||||
struct CDetailDoodadInst
|
||||
{
|
||||
int32_t objectIndex;
|
||||
CDetailDoodadGeom geom[4];
|
||||
int32_t unkCounter;
|
||||
CMapChunk* mapChunkOwner;
|
||||
int32_t unk_09C;
|
||||
int32_t unk_0A0;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue