feat(profile): CChunkLiquid struct

This commit is contained in:
gromchek 2025-09-13 16:59:32 +03:00
parent 7f79d5c329
commit 0e2c465287
6 changed files with 57 additions and 0 deletions

View file

@ -82,6 +82,7 @@
#include "map/CMapArea.h"
#include "map/WMOchunks.h"
#include "map/CMapObj.h"
#include "map/CChunkLiquid.h"
#include "net/message.h"

View file

@ -0,0 +1,39 @@
#ifndef CCHUNKLIQUID_H
#define CCHUNKLIQUID_H
DECLARE_STRUCT(CChunkLiquid);
struct CMapChunk;
#include "tempest/vector.h"
struct CChunkLiquid
{
int32_t objectIndex;
int32_t unk_004;
int32_t unk_008;
C3Vector topLeftCoords;
C3Vector center;
float radius;
C2Vector height;
float resPurgeTimer;
C2iVector tileBegin;
C2iVector tileEnd;
int32_t unk_044;
int32_t unk_048;
int32_t unk_04C;
int32_t unk_050;
uint8_t* tiles;
uint8_t* liquidInstPtr;
CMapChunk* owner;
CChunkLiquid* prev;
CChunkLiquid* next;
int32_t unk_068;
int32_t unk_06C;
int32_t unk_070;
int32_t unk_074;
C3Vector verts[81];
};
#endif