spidey-decomp/chunk.h
2024-07-24 17:51:16 +02:00

47 lines
707 B
C++

#pragma once
#ifndef CHUNK_H
#define CHUNK_H
#include "export.h"
#include "ob.h"
struct SChunkEntry
{
CItem* pItem;
CVector field_4;
u8 padAfter4[0x14-0x4-sizeof(CVector)];
CSVector field_14;
u8 padAfter14[0x1C-0x14-sizeof(CSVector)];
u32 field_1C;
};
class CChunkControl : public CBody
{
public:
EXPORT CChunkControl(CVector*, u16);
EXPORT virtual ~CChunkControl(void);
EXPORT void AddChunk(CItem*);
EXPORT virtual void AI(void);
u8 padTop[4];
u16 field_F8;
u16 field_FA;
SChunkEntry *field_FC;
};
EXPORT void Chunk_MakeItemDisappear(CItem* item);
EXPORT void Chunk_ChunkItemByChecksum(u32);
void validate_CChunkControl(void);
void validate_SChunkEntry(void);
#endif