feat(profile): adjust types

This commit is contained in:
gromchek 2025-11-09 19:34:50 +03:00
parent f33d4202e3
commit a3fd6d44ae
4 changed files with 27 additions and 15 deletions

View file

@ -6,6 +6,8 @@ DECLARE_STRUCT(CMapDoodadDef);
#include "tempest/box.h"
#include "tempest/matrix.h"
#include "tempest/vector.h"
#include "tempest/sphere.h"
#include "m2/model.h"
#include "storm/list.h"
#include "map/CMapArea.h"
@ -37,9 +39,8 @@ struct CMapDoodadDef
uint32_t unkFlags_28; //0x28
int32_t unkCounter; //0x2C
float unk_030; //0x30
void* unk_m2Model_034; //0x34
C3Vector vec1;
float unk_044; //0x44
CM2Model* model;
CAaSphere sphere;
CAaBox bboxStaticEntity;
C3Vector vec2;
C3Vector position;

View file

@ -6,6 +6,8 @@ DECLARE_STRUCT(CMapEntity);
#include "system/types.h"
#include "tempest/vector.h"
#include "tempest/box.h"
#include "tempest/sphere.h"
#include "m2/model.h"
#include "storm/list.h"
#include "map/CMapBaseObj.h"
@ -39,9 +41,8 @@ struct CMapEntity
uint32_t unkFlags_28; //0x28
int32_t unkCounter; //0x2C
float unk_030; //0x30
void* unk_m2Model_034; //0x34
C3Vector vec1;
float unk_044; //0x44
CM2Model* model;
CAaSphere sphere;
CAaBox bboxStaticEntity;
C3Vector vec2;
C3Vector position;

View file

@ -12,6 +12,8 @@ DECLARE_STRUCT(CMapObjDefGroup);
#include "storm/list.h"
#include "map/CMapDoodadDef.h"
#include "map/CMapArea.h"
#include "map/CMapObj.h"
#include "map/CMapEntity.h"
STORM_TS_GROWABLE_ARRAY(CMapObjDefGroup);
@ -64,7 +66,7 @@ struct CMapObjDef
C44Matrix invMat;
int32_t unk_F0; //0xF0
void* CMapObjPtr_owner; //0xF4
CMapObj* owner; //0xF4
int32_t unk_F8; //0xF8
uint32_t unkFlags; //0xFC
int32_t unk_100; //0x100
@ -113,6 +115,17 @@ struct CMapObjDefGroupDoodadDefLink
TSLink_CMapObjDefGroupDoodadDefLink ownerLink; //0x14 - 0x1C
};
typedef struct CMapObjDefGroupMapEntityLink CMapObjDefGroupMapEntityLink;
STORM_TS_LIST(CMapObjDefGroupMapEntityLink);
struct CMapObjDefGroupMapEntityLink
{
uint32_t objectIndex; //0x00
CMapEntity* owner; //0x04
CMapObjDef* ref; //0x08
TSLink_CMapObjDefGroupMapEntityLink refLink; //0x0C - 0x14
TSLink_CMapObjDefGroupMapEntityLink ownerLink; //0x14 - 0x1C
};
struct CMapObjDefGroup
{
void* vtable; //0x00
@ -143,12 +156,8 @@ struct CMapObjDefGroup
void* TSExplicitList__m_ptr1_unk_70; //0x70
void* TSExplicitList__m_ptr2_unk_74; //0x74
// CMapDoodadDef
TSExplicitList_CMapObjDefGroupDoodadDefLink doodadDefLinkList;
int32_t TSExplicitList__m_linkoffset_unk_84; //0x84
void* TSExplicitList__m_ptr1_unk_88; //0x88
void* TSExplicitList__m_ptr2_unk_8C; //0x8C
TSExplicitList_CMapObjDefGroupMapEntityLink mapEntityLinkList;
int32_t TSExplicitList__m_linkoffset_unk_90; //0x90
void* TSExplicitList__m_ptr1_unk_94; //0x94

View file

@ -6,6 +6,8 @@ DECLARE_STRUCT(CMapStaticEntity);
#include "system/types.h"
#include "tempest/vector.h"
#include "tempest/box.h"
#include "tempest/sphere.h"
#include "m2/model.h"
#include "storm/list.h"
#include "map/CMapBaseObj.h"
@ -37,9 +39,8 @@ struct CMapStaticEntity
uint32_t unkFlags_28; //0x28
int32_t unkCounter; //0x2C
float unk_030; //0x30
void* unk_m2Model_034; //0x34
C3Vector vec1;
float unk_044; //0x44
CM2Model* model;
CAaSphere sphere;
CAaBox bbox;
C3Vector vec2;
C3Vector position;