Files
wowdecomp/WoW/Source/WorldClient/MapRenderChunk.h
T
SatyandClaude Opus 5.5 cccfd26213 Move Storm to Engine/Source/Storm; SFile.cpp to BlizzardCore
Storm moves under Engine/Source with its inner layout unchanged. All
includes use Engine/Source/Storm/..., Storm's include guards follow the
new path, and the top-level CMakeLists adds Engine/Source/Storm.
SFile.cpp (SFile::CreateOverlapped/DestroyOverlapped) moves to
Engine/Source/BlizzardCore.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-24 03:33:51 +02:00

76 lines
2.0 KiB
C++

#ifndef WOW_SOURCE_WORLDCLIENT_MAPRENDERCHUNK_H
#define WOW_SOURCE_WORLDCLIENT_MAPRENDERCHUNK_H
#include <cstddef>
#include <cstdint>
#include "Engine/Source/Gx/Types.h"
#include "Engine/Source/Tempest/C3Vector.h"
#include "Engine/Source/Tempest/caasphere.h"
#include "Engine/Source/Storm/H/stpl.h"
class CGxBuf;
class CMapChunk;
class CMapChunkBufBlock;
class CMapRenderChunk;
class CMapRenderChunkBuf;
class CTexture;
class CMapRenderChunkBuf {
public:
/* 0000 */ CGxBuf* m_vertexBuf;
/* 0004 */ CGxBuf* m_indexBuf;
/* 0008 */ CMapRenderChunk* m_renderChunk;
/* 000C */ CMapChunkBufBlock* m_block;
/* 0010 */ uint32_t m_unkFlags;
/* 0014 */ TSLink<CMapRenderChunkBuf> unk_0014;
};
class CMapChunkBufBlock {
public:
/* 0000 */ uint32_t m_vertexCount;
/* 0004 */ CMapRenderChunkBuf m_bufs [2];
/* 003C */ TSLink<CMapChunkBufBlock> m_blockLink;
/* 0044 */ TSLink<CMapChunkBufBlock> m_bufLink;
};
class CMapRenderChunkLayer {
public:
/* 0000 */ int16_t m_flags;
/* 0002 */ int16_t m_layerIndex;
/* 0004 */ CTexture* m_texture;
/* 0008 */ int32_t m_textureId;
/* 000C */ int32_t m_layerTexture;
/* 0010 */ CMapRenderChunk* m_owner;
};
class CMapRenderChunk {
public:
/* 0000 */ TSLink<CMapRenderChunk> m_renderChunkLink;
/* 0008 */ uint8_t m_unkFlags;
/* 0009 */ uint8_t m_layersCount;
/* 000A */ int16_t unk_000A;
/* 000C */ float m_lastUpdateTime;
/* 0010 */ CMapChunk* m_mapChunkPtr1;
/* 0014 */ CMapChunk* m_mapChunkPtr2;
/* 0018 */ C3Vector m_vec1;
/* 0024 */ CAaSphere m_sphere;
/* 0034 */ CMapRenderChunkLayer m_layers [4];
/* 0084 */ CTexture* m_terrainBlendTexture;
/* 0088 */ CTexture* m_shadowTexture;
/* 008C */ CMapRenderChunkBuf* m_chunkBuf;
/* 0090 */ CGxBatch m_batch;
};
struct SMMapHeader {
/* 0000 */ uint32_t m_flags;
/* 0004 */ uint32_t m_something;
/* 0008 */ uint32_t m_unused [6];
};
struct TextureLayerInfo {
/* 0000 */ uint32_t m_flags;
/* 0004 */ uint8_t* m_alphaData;
};
#endif