Files
SatyandClaude Opus 5.5 e2038cdec5 Services: port Profile, TextBlock, Camera, particles and ribbons
Profile, TextBlock, Camera (+CameraInt.h), ParticleSystem2 (emitters,
track sampling, sort queue), RibbonEmitter, GfxSingletonManager managers
and the v1 CParticleEmitter destructor. All pass or approved with
explained diffs; 0 fails. Callee-cleanup helpers declared __stdcall,
float->int paths use CMath::fint_ (binary uses fistp). CLightning fields
named only; it is WoW/Common code. _Triage CAngle removed, Camera.h
repointed to CameraInt.h. CM2SceneRender Render calls cast for the new
signature. Services links freetype for the Gxu font headers.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-27 03:08:52 +02:00

24 lines
837 B
C++

#ifndef ENGINE_SOURCE_SERVICES_CAMERA_H
#define ENGINE_SOURCE_SERVICES_CAMERA_H
#include <cstddef>
#include <cstdint>
class C2Vector;
class C3Vector;
class CCamera;
class CDataMgr;
class CRect;
CCamera* CameraCreate();
CCamera* CameraDuplicate(CCamera* camera);
void CameraGetLineSegment(float x, float y, C3Vector* start, C3Vector* end);
float CameraGetFloat(CCamera* camera, uint32_t index);
void CameraSetCoord(CCamera* camera, uint32_t index, const C3Vector& value, uint32_t keepMask = 0);
void CameraSetFloat(CCamera* camera, uint32_t index, float value);
void CameraSetupScreenProjection(const CRect& rect, const C2Vector& offset, float depth, int32_t forceOrtho);
void CameraSetupWorldProjection(CCamera* camera, const CRect& rect, uint32_t flags);
void DataMgrGetCoord(CDataMgr* mgr, uint32_t index, C3Vector* value);
#endif