Files
SatyandClaude Opus 5.5 6a3666e4b6 Port run-83 hit stand-ins and fix phantom terrain walls blocking movement
- 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]>
2026-10-01 15:33:24 +02:00

38 lines
754 B
C++

#ifndef ENGINE_SOURCE_TEMPEST_CIRECT_H
#define ENGINE_SOURCE_TEMPEST_CIRECT_H
#include <cstddef>
#include <cstdint>
class CiRect {
public:
/* 0000 */ int32_t minY;
/* 0004 */ int32_t minX;
/* 0008 */ int32_t maxY;
/* 000C */ int32_t maxX;
CiRect();
CiRect(int32_t minY, int32_t minX, int32_t maxY, int32_t maxX);
CiRect operator&=(const CiRect& r);
};
CiRect operator&(const CiRect& l, const CiRect& r);
// INLINED
inline CiRect::CiRect() {
this->minY = 0;
this->minX = 0;
this->maxY = 0;
this->maxX = 0;
}
// INLINED
inline CiRect::CiRect(int32_t minY, int32_t minX, int32_t maxY, int32_t maxX) {
this->minY = minY;
this->minX = minX;
this->maxY = maxY;
this->maxX = maxX;
}
#endif