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]>
39 lines
1.0 KiB
C++
39 lines
1.0 KiB
C++
#ifndef WOW_SOURCE_OBJECT_GAMEOBJECT_H
|
|
#define WOW_SOURCE_OBJECT_GAMEOBJECT_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include "WoW/Source/Object/WGUID.h"
|
|
|
|
class CGGameObjectData;
|
|
|
|
class CGGameObject {
|
|
public:
|
|
static uint32_t s_mirrorFieldIndex[4];
|
|
|
|
static uint32_t DescriptorToMirrorOffset(uint32_t offset, uint32_t size, int32_t local, uint32_t base);
|
|
static uint32_t MirrorIndexFromFieldIndex(uint32_t fieldIndex, uint32_t count, int32_t local);
|
|
static int32_t TotalFieldsSaved();
|
|
|
|
/* 0000 */ CGGameObjectData* m_gameObject;
|
|
/* 0004 */ void* m_gameObjectMirror;
|
|
};
|
|
|
|
class CGGameObjectData {
|
|
public:
|
|
/* 0000 */ WOWGUID m_createdBy;
|
|
/* 0008 */ uint32_t m_displayID;
|
|
/* 000C */ uint32_t m_flags;
|
|
/* 0010 */ float m_parentRotation[4];
|
|
/* 0020 */ uint16_t m_dynamicFlags;
|
|
/* 0022 */ uint16_t m_pathProgress;
|
|
/* 0024 */ uint32_t m_faction;
|
|
/* 0028 */ uint32_t m_level;
|
|
/* 002C */ int8_t m_state;
|
|
/* 002D */ int8_t m_typeID;
|
|
/* 002E */ int8_t m_artKit;
|
|
/* 002F */ uint8_t m_animProgress;
|
|
};
|
|
|
|
#endif
|