diff --git a/profile/3.3.5a-windows-386/include/main.h b/profile/3.3.5a-windows-386/include/main.h index 53ac024..3b7738e 100644 --- a/profile/3.3.5a-windows-386/include/main.h +++ b/profile/3.3.5a-windows-386/include/main.h @@ -93,6 +93,8 @@ #include "map/CMapBaseObjLink.h" #include "map/Weather.h" #include "map/Particulate.h" +#include "map/CChunkGeomFactory.h" +#include "map/CMapChunkBuf.h" #include "character/CCharacterComponent.h" diff --git a/profile/3.3.5a-windows-386/include/map/CChunkGeomFactory.h b/profile/3.3.5a-windows-386/include/map/CChunkGeomFactory.h new file mode 100644 index 0000000..8f2f694 --- /dev/null +++ b/profile/3.3.5a-windows-386/include/map/CChunkGeomFactory.h @@ -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 \ No newline at end of file diff --git a/profile/3.3.5a-windows-386/include/map/CMapChunkBuf.h b/profile/3.3.5a-windows-386/include/map/CMapChunkBuf.h new file mode 100644 index 0000000..8822051 --- /dev/null +++ b/profile/3.3.5a-windows-386/include/map/CMapChunkBuf.h @@ -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 \ No newline at end of file