Files
SatyandClaude Opus 5.5 18c46cb87e Client bring-up: in-world camera, input, movement, unit rendering
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]>
2026-09-29 23:04:53 +02:00

25 lines
822 B
C++

#include "Engine/Source/Base/Coordinate.h"
#include "Engine/Source/Event/CMouseEvent.h"
// VERIFY: ed0a27f8 manual
// OFFSET: 0x0055DCE0
CMouseEvent::CMouseEvent() {
this->m_data.m_mousePosition.x = 0.5f;
this->m_data.m_mousePosition.y = 0.5f;
}
// VERIFY: c018945e auto
// OFFSET: 0x00480DE0
CMouseEvent& CMouseEvent::operator=(const EVENT_DATA_MOUSE& data) {
this->m_data.m_mode = data.m_mode;
this->m_data.m_button = data.m_button;
this->m_data.m_buttonState = data.m_buttonState;
this->m_data.m_metaKeyState = data.m_metaKeyState;
this->m_data.m_flags = data.m_flags;
this->m_data.m_eventTime = data.m_time;
this->m_data.m_wheelAmount = data.m_wheelDistance;
NDCToDDC(data.m_x, data.m_y, &this->m_data.m_mousePosition.x, &this->m_data.m_mousePosition.y);
return *this;
}