feat(profile): CChunkGeomBuffer and CMapChunkBuf structs

This commit is contained in:
gromchek 2025-12-08 00:45:53 +03:00
parent 40f4c25346
commit c83a929f50
3 changed files with 58 additions and 0 deletions

View file

@ -0,0 +1,31 @@
#ifndef CCHUNKGEOMFACTORY_H
#define CCHUNKGEOMFACTORY_H
DECLARE_STRUCT(CChunkGeomFactory);
#include "system/types.h"
#include "tempest/matrix.h"
#include "map/CChunkLiquid.h"
#include "map/CMapChunkBuf.h"
struct CChunkGeomFactory
{
void** vtable;
uint32_t unk_04;
uint32_t unk_08;
uint32_t unk_0C;
uint32_t unk_10;
CChunkLiquid* liquidChunk;
uint32_t unk_18;
CMapChunkBuf* mapChunkBuf;
uint32_t unk_20;
uint32_t unk_24;
uint32_t unk_28;
uint16_t unk_flags_2C;
uint16_t unk_flags_2E;
uint32_t unk_30;
C44Matrix matrix;
};
#endif

View file

@ -0,0 +1,25 @@
#ifndef CMAPCHUNKBUF_H
#define CMAPCHUNKBUF_H
DECLARE_STRUCT(CMapChunkBuf);
#include "system/types.h"
#include "gx/buffer.h"
struct CMapChunkBuf
{
uint32_t unk_00;
float flushTimer;
uint32_t vertexDataSize;
uint32_t indexDataSize;
CGxBuf* vertexBuf;
CGxBuf* indexBuf;
CGxPool* vertexPool;
CGxPool* indexPool;
uint32_t unk_20;
uint32_t unk_24;
};
#endif