diff --git a/profile/3.3.5a-windows-386/include/main.h b/profile/3.3.5a-windows-386/include/main.h index 2698b9f..13c2ed8 100644 --- a/profile/3.3.5a-windows-386/include/main.h +++ b/profile/3.3.5a-windows-386/include/main.h @@ -82,6 +82,7 @@ #include "map/CMapArea.h" #include "map/WMOchunks.h" #include "map/CMapObj.h" +#include "map/CChunkLiquid.h" #include "net/message.h" diff --git a/profile/3.3.5a-windows-386/include/map/CChunkLiquid.h b/profile/3.3.5a-windows-386/include/map/CChunkLiquid.h new file mode 100644 index 0000000..f104398 --- /dev/null +++ b/profile/3.3.5a-windows-386/include/map/CChunkLiquid.h @@ -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 \ No newline at end of file diff --git a/profile/3.3.5a-windows-386/symbol/chunkliquid/func.sym b/profile/3.3.5a-windows-386/symbol/chunkliquid/func.sym index eea8e62..716af07 100644 --- a/profile/3.3.5a-windows-386/symbol/chunkliquid/func.sym +++ b/profile/3.3.5a-windows-386/symbol/chunkliquid/func.sym @@ -1 +1,10 @@ CChunkLiquid__Purge 007CDE10 f end=007CDE28 +CChunkLiquid__UpdateResourcePurging 007CDE30 f end=007CDE72 +CChunkLiquid__CreateVertXY 007CDF80 f end=007CE0A9 +CChunkLiquid__GetRadius 007CE520 f end=007CE5CC +CChunkLiquid__GetTris 007CE5D0 f end=007CE95B +CChunkLiquid__GetTris 007CE960 f end=007CEB71 +CChunkLiquid__GetTris 007CEB80 f end=007CEC6E +CChunkLiquid__destructor 007CEEF0 f end=007CEFC3 +CChunkLiquid__Batch 007CF200 f end=007CF78D +CChunkLiquid__RenderPrep 007CF9A0 f end=007CF9D2 diff --git a/profile/3.3.5a-windows-386/symbol/liquid/func.sym b/profile/3.3.5a-windows-386/symbol/liquid/func.sym new file mode 100644 index 0000000..cca4c62 --- /dev/null +++ b/profile/3.3.5a-windows-386/symbol/liquid/func.sym @@ -0,0 +1,6 @@ +Liquid__CInstance__AddRef 008A1700 f end=008A1705 +Liquid__CInstance__Purge 008A1710 f end=008A171A +Liquid__CInstance__Release 008A1AC0 f end=008A1AFC +Liquid__CInstance__Create 008A1B00 f end=008A1B25 +Liquid__CMaterialBank__GetMaterial 008A1FA0 f end=008A20BD +Liquid__CSettingsBank__GetSettings 008A28F0 f end=008A2974 diff --git a/profile/3.3.5a-windows-386/symbol/map/func.sym b/profile/3.3.5a-windows-386/symbol/map/func.sym index 837da4d..62f8cc3 100644 --- a/profile/3.3.5a-windows-386/symbol/map/func.sym +++ b/profile/3.3.5a-windows-386/symbol/map/func.sym @@ -48,3 +48,4 @@ CMap__Purge 007C3730 f end=007CC01C CMap__LoadTerrainTexture 007D6980 f end=007D6A8F CMap__LoadArea 007D9A20 f end=007D9A6B CMap__PrepareArea 007D9A70 f end=007D9B0E +CMap__ProcessChunkLiquidUpdateList 007B5420 f end=007B549A diff --git a/profile/3.3.5a-windows-386/symbol/map/label.sym b/profile/3.3.5a-windows-386/symbol/map/label.sym index be04900..fa9b34f 100644 --- a/profile/3.3.5a-windows-386/symbol/map/label.sym +++ b/profile/3.3.5a-windows-386/symbol/map/label.sym @@ -19,3 +19,4 @@ CMap__bDungeon 00CF08F4 l CMap__bPreload 00ADFBC8 l CMap__s_holeMask 00A3FAF0 l CMap__m_areaTable 00CE48D0 l +CMap__s_mapChunkLiquidUpdateList 00ADFC3C l