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]>
30 lines
785 B
C++
30 lines
785 B
C++
#ifndef WOW_SOURCE_OBJECT_DYNAMICOBJECT_H
|
|
#define WOW_SOURCE_OBJECT_DYNAMICOBJECT_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include "WoW/Source/Object/WGUID.h"
|
|
|
|
class CGDynamicObjectData;
|
|
|
|
class CGDynamicObject {
|
|
public:
|
|
static uint32_t DescriptorToMirrorOffset(uint32_t offset, uint32_t size, int32_t local, uint32_t base);
|
|
static uint32_t GetSavedIndexFromDataIndex(uint32_t index, uint32_t count, int32_t local);
|
|
static int32_t TotalFields();
|
|
|
|
/* 0000 */ CGDynamicObjectData* m_dynamicObject;
|
|
/* 0004 */ void* m_dynamicObjectMirror;
|
|
};
|
|
|
|
class CGDynamicObjectData {
|
|
public:
|
|
/* 0000 */ WOWGUID m_caster;
|
|
/* 0008 */ uint8_t m_bytes[4];
|
|
/* 000C */ uint32_t m_spellID;
|
|
/* 0010 */ float m_radius;
|
|
/* 0014 */ uint32_t m_castTime;
|
|
};
|
|
|
|
#endif
|