mirror of
https://github.com/thunderbrewhq/binana.git
synced 2026-04-27 03:03:52 +00:00
45 lines
1.1 KiB
C
45 lines
1.1 KiB
C
#ifndef MAP_DETAIL_DOODAD_H
|
|
#define MAP_DETAIL_DOODAD_H
|
|
|
|
DECLARE_STRUCT(CDetailDoodadGeomVertex);
|
|
DECLARE_STRUCT(CDetailDoodadGeom);
|
|
DECLARE_STRUCT(CDetailDoodadInst);
|
|
|
|
#include "map/mapchunk.h"
|
|
#include "storm/array.h"
|
|
#include "system/types.h"
|
|
#include "tempest/vector.h"
|
|
#include "texture/texture.h"
|
|
|
|
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
|