- Fix CMap::GetChunkFacets: impassable test uses the chunk MapObjFlag (MAPOBJ_FLAG_IMPASSABLE at +0xC) like 12340, not MCNK header flag 0x40 (vertex colours). Most chunks got 32000-high wall facets, so the player could jump but not walk. - Ship paths: GetPosition, path time, accel/decel distance, roll/pitch. - Transports: Transport::UpdateMovement, CollideWithTransport, owner matrix. - Map objects: IsAllLoaded, footprints, TriData query chain (QueryTris, GetTrisTerrain/Chunk, GetTriSubchunk, QueryTrisMapObjDefs), QueryIntersectingModels. - Water ripples, projected-texture shadow drawing (shadow.cpp). - World states, LFG best random dungeon, quest POI, ComSat session lookup, blood record, virtual items, guild roster query. - Logout path: tradeskill close, LCD, DBCache_ClearPending, chat/macro/ saved-variable/account-data saving, tracked quests/achievements/ tutorials, UnloadAddOns, SaveAddOnEnableState, ~CGWorldFrame, SmartScreenRectShutdown. - Fixes: TriData batch heights stored as float* (was truncating uint32 on x64), TimeInRange is a ShipPath member, ComSat lookup takes the session type, roll/pitch names swapped in MapObjTransport::UpdateMovement, removed windows.h from Object/Passenger.h. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
16 lines
443 B
C++
16 lines
443 B
C++
#include "WTOBJECT.h"
|
|
#include "Engine/Source/Base/CDataAllocator.h"
|
|
|
|
// STATIC: 0x00D38078
|
|
static CDataAllocator s_freeSwings(sizeof(SWING), 8);
|
|
|
|
// STATIC: 0x00D3808C
|
|
static CDataAllocator s_freeTrails(sizeof(WTOBJECT), 128);
|
|
|
|
// VERIFY: c3c7b136 auto
|
|
// OFFSET: 0x007E4BC0
|
|
void WeaponTrailsShutdown() {
|
|
s_freeTrails.Clear(typeid(WTOBJECT).raw_name(), SLOG_OBJECT, 1);
|
|
s_freeSwings.Clear(typeid(SWING).raw_name(), SLOG_OBJECT, 1);
|
|
}
|