Liquid system ported from 12340 (LiquidSystem module, chunk/WMO liquid, wave manager, geometry factories); CMap load chain (Load, LoadWdt, low-detail WDL, lights, CreateMapObjDef, PurgeMaps); CMapChunk create/batch/vertex/index code; CMapRenderChunk; frustum stack and scene cull helpers. MapViewer renders terrain through a viewer-only shortcut (ViewerWorld.cpp). Engine fix: int render-state setters write the full pointer-sized slot (x64 texture crash). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
35 lines
860 B
C++
35 lines
860 B
C++
#ifndef WOW_SOURCE_WORLDCLIENT_MAPLIGHT_H
|
|
#define WOW_SOURCE_WORLDCLIENT_MAPLIGHT_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include "Engine/Source/Tempest/C3Vector.h"
|
|
#include "Engine/Source/Tempest/CAaBox.h"
|
|
#include "Engine/Source/Tempest/CAaSphere.h"
|
|
#include "Engine/Source/Model2/M2Light.h"
|
|
#include "WoW/Source/WorldClient/MapBaseObj.h"
|
|
|
|
class CMapLight : public CMapBaseObj {
|
|
public:
|
|
/* 0024 */ C3Vector m_position;
|
|
/* 0030 */ CAaBox m_bbox;
|
|
/* 0048 */ CAaSphere m_sphere;
|
|
/* 0058 */ CM2Light m_light;
|
|
/* 00C4 */ float unk_00C4;
|
|
/* 00C8 */ float m_radius;
|
|
/* 00CC */ float unk_00CC;
|
|
/* 00D0 */ uint8_t unk_00D0;
|
|
/* 00D1 */ uint8_t unk_00D1;
|
|
/* 00D2 */ uint8_t unk_00D2;
|
|
/* 00D3 */ uint8_t unk_00D3;
|
|
|
|
CMapLight();
|
|
};
|
|
|
|
class CMapCacheLight {
|
|
public:
|
|
/* 0000 */ uint8_t unk_0000[132];
|
|
};
|
|
|
|
#endif
|