Ports verified against 12340 that take the x64 client from character login to a playable world: - Camera: SetView/ResetView, motion, free-look facing, tracking, bobs, liquid bump, world collision; camera Lua scripts - Input: world frame key/mouse layers, default action, mouselook, turn/pitch player, TurnOrAction/CameraOrSelectOrMove scripts - Movement: legal facing range, turn/pitch/raw facing events, transport status, move spline copy, unit update info, smooth facing, anim end - Units: component and extended display init, model fade/scale, entity sort table, RenderEntitys, split-body culling - Interiors: WMO group bounds, BSP segment link query, face linking, interior lighting - Collision: CMap::QueryFacets closure with frustum queries and NDCClip - UI: game UI mouse filters, client control state, faction standing packet, many *_Scripts.cpp Lua tables; name generator dictionary fix Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
28 lines
669 B
C++
28 lines
669 B
C++
#ifndef ENGINE_SOURCE_TEMPEST_CRECT_H
|
|
#define ENGINE_SOURCE_TEMPEST_CRECT_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
|
|
class C2Vector;
|
|
|
|
class CRect {
|
|
public:
|
|
/* 0000 */ float minY;
|
|
/* 0004 */ float minX;
|
|
/* 0008 */ float maxY;
|
|
/* 000C */ float maxX;
|
|
|
|
bool ContainsPoint(const C2Vector& point) const;
|
|
bool IsPointInside(const C2Vector& point) const;
|
|
CRect operator&=(const CRect& r);
|
|
};
|
|
|
|
bool operator!=(const CRect& l, const CRect& r);
|
|
CRect operator&(const CRect& l, const CRect& r);
|
|
CRect operator+(const CRect& l, const CRect& r);
|
|
CRect operator/(const CRect& l, const CRect& r);
|
|
CRect operator|(const CRect& l, const CRect& r);
|
|
|
|
#endif
|