mirror of
https://github.com/thunderbrewhq/binana.git
synced 2026-04-27 03:03:52 +00:00
feat(profile): refactor lua, bc code
This commit is contained in:
parent
e79ee08905
commit
37db5336e4
40 changed files with 3424 additions and 0 deletions
53
profile/3.3.5a-windows-386/include/map/maprenderchunk.h
Normal file
53
profile/3.3.5a-windows-386/include/map/maprenderchunk.h
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
#ifndef MAP_MAP_RENDER_CHUNK_H
|
||||
#define MAP_MAP_RENDER_CHUNK_H
|
||||
|
||||
DECLARE_STRUCT(CMapRenderChunkLayer);
|
||||
DECLARE_STRUCT(CMapRenderChunk);
|
||||
|
||||
#include "gx/buffer.h"
|
||||
#include "map/mapchunk.h"
|
||||
#include "system/types.h"
|
||||
#include "tempest/vector.h"
|
||||
#include "texture/texture.h"
|
||||
|
||||
struct CMapRenderChunkLayer {
|
||||
int16_t flags;
|
||||
int16_t layerIndex;
|
||||
CTexture* texture;
|
||||
int32_t unkIndex;
|
||||
int32_t unkValue;
|
||||
CMapRenderChunk* owner;
|
||||
};
|
||||
|
||||
struct CMapRenderChunk {
|
||||
CMapRenderChunk* renderChunkPtr1;
|
||||
CMapRenderChunk* renderChunkPtr2;
|
||||
uint8_t unkFlags;
|
||||
uint8_t layersCount;
|
||||
int16_t unk_0A;
|
||||
int32_t unk_0C;
|
||||
|
||||
CMapChunk* mapChunkPtr1;
|
||||
CMapChunk* mapChunkPtr2;
|
||||
|
||||
C3Vector vec1;
|
||||
C3Vector vec2;
|
||||
float radius;
|
||||
|
||||
CMapRenderChunkLayer layers[4];
|
||||
|
||||
CTexture* terrainBlendTexture;
|
||||
CTexture* shadowTexture;
|
||||
|
||||
CGxBuf* vertexBuf;
|
||||
CGxBuf* indicesBuf;
|
||||
|
||||
int32_t unk_94;
|
||||
int32_t unk_98;
|
||||
int16_t unk_9C;
|
||||
int16_t unk_9E;
|
||||
int32_t unk_A0;
|
||||
int32_t unk_A4;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue