- 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]>
20 lines
600 B
C++
20 lines
600 B
C++
#include "CPortalView.h"
|
|
#include "Engine/Source/Tempest/CRect.h"
|
|
|
|
// VERIFY: 5a33ee73 auto
|
|
// OFFSET: 0x00790570
|
|
CPortalView::CPortalView(const CRect& rect, float maxViewDepth) {
|
|
this->m_rect = rect;
|
|
this->m_maxViewDepth = maxViewDepth;
|
|
this->m_verts = nullptr;
|
|
this->m_vertCount = 0;
|
|
}
|
|
|
|
// VERIFY: 4ae18f01 auto
|
|
// OFFSET: 0x007905B0
|
|
void CPortalView::Merge(const CPortalView& other) {
|
|
this->m_rect = this->m_rect | other.m_rect;
|
|
this->m_maxViewDepth = other.m_maxViewDepth >= this->m_maxViewDepth ? other.m_maxViewDepth : this->m_maxViewDepth;
|
|
this->m_vertCount = 0;
|
|
}
|