Files
SatyandClaude Opus 5.5 4a571e727c World port: WMO water, fog, area updates, purge chain, detail doodads
- Barriers, shadow/portal queries, underwater selection, hit testing
- Interior water: PolyClipper, ClipGroupGeometry, liquid index fix
- Area updates, barrier updates, purge/free chain for areas, chunks,
  doodad and map object defs, detail doodad update list
- Water ripples, terrain pixel shader path, liquid shader toggles
- Detail doodads: creation per chunk, pools, batching, vertex/index
  fill, shader and fixed-function render state, RenderDetailDoodads
  (trailing occluder/debug draws still to port), CMapChunk::SelectLights
- DayNight moved to WoW/Source/WorldClient
- MapViewer: fog, WMO water, detail doodads; diagnostics removed

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-29 07:43:15 +02:00

23 lines
732 B
C++

#include <cstdint>
#include "WoW/Source/ObjectAlloc/HeapUsage.h"
#include "Engine/Source/ConsoleBase/ConsoleVar.h"
#include "Engine/Source/ConsoleBase/IConsole.h"
#include "Engine/Source/Storm/H/storm.h"
// STATIC: 0x00B4AFBC
CVar* s_cvHeapAllocTracking;
// VERIFY: 030f8411 manual
// OFFSET: 0x004D2780
bool ChangeHeapAllocTracking(CVar* var, const char* oldValue, const char* value, void* arg) {
if (SStrToInt(value)) {
SMemSetDebugFlags(SMEM_DEBUG_HEAPTRACKING, SMEM_DEBUG_HEAPTRACKING);
ConsoleWrite("Heap tracking switched ON", DEFAULT_COLOR);
} else {
SMemSetDebugFlags(0, SMEM_DEBUG_HEAPTRACKING);
ConsoleWrite("Heap tracking switched OFF", DEFAULT_COLOR);
}
return true;
}