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]>
9 lines
228 B
C++
9 lines
228 B
C++
#include "MapMem.h"
|
|
#include "WoW/Source/WorldClient/MapArea.h"
|
|
|
|
// VERIFY: bffb685d manual
|
|
// OFFSET: 0x007BFE40
|
|
void* CMapArea::AllocAsyncLoadBuffer(int32_t fileSize) {
|
|
return SMemAlloc(fileSize, __FILE__, __LINE__, 0);
|
|
}
|