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]>
18 lines
307 B
C++
18 lines
307 B
C++
#ifndef ENGINE_SOURCE_TEMPEST_C2IVECTOR_H
|
|
#define ENGINE_SOURCE_TEMPEST_C2IVECTOR_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
|
|
class C2iVector {
|
|
public:
|
|
/* 0000 */ int32_t x;
|
|
/* 0004 */ int32_t y;
|
|
|
|
uint32_t MajorAxis() const;
|
|
};
|
|
|
|
bool operator<(const C2iVector& l, const C2iVector& r);
|
|
|
|
#endif
|