mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 09:52:28 +00:00
feat(profile): adjust types
This commit is contained in:
parent
f33d4202e3
commit
a3fd6d44ae
4 changed files with 27 additions and 15 deletions
|
|
@ -6,6 +6,8 @@ DECLARE_STRUCT(CMapDoodadDef);
|
||||||
#include "tempest/box.h"
|
#include "tempest/box.h"
|
||||||
#include "tempest/matrix.h"
|
#include "tempest/matrix.h"
|
||||||
#include "tempest/vector.h"
|
#include "tempest/vector.h"
|
||||||
|
#include "tempest/sphere.h"
|
||||||
|
#include "m2/model.h"
|
||||||
#include "storm/list.h"
|
#include "storm/list.h"
|
||||||
#include "map/CMapArea.h"
|
#include "map/CMapArea.h"
|
||||||
|
|
||||||
|
|
@ -37,9 +39,8 @@ struct CMapDoodadDef
|
||||||
uint32_t unkFlags_28; //0x28
|
uint32_t unkFlags_28; //0x28
|
||||||
int32_t unkCounter; //0x2C
|
int32_t unkCounter; //0x2C
|
||||||
float unk_030; //0x30
|
float unk_030; //0x30
|
||||||
void* unk_m2Model_034; //0x34
|
CM2Model* model;
|
||||||
C3Vector vec1;
|
CAaSphere sphere;
|
||||||
float unk_044; //0x44
|
|
||||||
CAaBox bboxStaticEntity;
|
CAaBox bboxStaticEntity;
|
||||||
C3Vector vec2;
|
C3Vector vec2;
|
||||||
C3Vector position;
|
C3Vector position;
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,8 @@ DECLARE_STRUCT(CMapEntity);
|
||||||
#include "system/types.h"
|
#include "system/types.h"
|
||||||
#include "tempest/vector.h"
|
#include "tempest/vector.h"
|
||||||
#include "tempest/box.h"
|
#include "tempest/box.h"
|
||||||
|
#include "tempest/sphere.h"
|
||||||
|
#include "m2/model.h"
|
||||||
#include "storm/list.h"
|
#include "storm/list.h"
|
||||||
#include "map/CMapBaseObj.h"
|
#include "map/CMapBaseObj.h"
|
||||||
|
|
||||||
|
|
@ -39,9 +41,8 @@ struct CMapEntity
|
||||||
uint32_t unkFlags_28; //0x28
|
uint32_t unkFlags_28; //0x28
|
||||||
int32_t unkCounter; //0x2C
|
int32_t unkCounter; //0x2C
|
||||||
float unk_030; //0x30
|
float unk_030; //0x30
|
||||||
void* unk_m2Model_034; //0x34
|
CM2Model* model;
|
||||||
C3Vector vec1;
|
CAaSphere sphere;
|
||||||
float unk_044; //0x44
|
|
||||||
CAaBox bboxStaticEntity;
|
CAaBox bboxStaticEntity;
|
||||||
C3Vector vec2;
|
C3Vector vec2;
|
||||||
C3Vector position;
|
C3Vector position;
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,8 @@ DECLARE_STRUCT(CMapObjDefGroup);
|
||||||
#include "storm/list.h"
|
#include "storm/list.h"
|
||||||
#include "map/CMapDoodadDef.h"
|
#include "map/CMapDoodadDef.h"
|
||||||
#include "map/CMapArea.h"
|
#include "map/CMapArea.h"
|
||||||
|
#include "map/CMapObj.h"
|
||||||
|
#include "map/CMapEntity.h"
|
||||||
|
|
||||||
STORM_TS_GROWABLE_ARRAY(CMapObjDefGroup);
|
STORM_TS_GROWABLE_ARRAY(CMapObjDefGroup);
|
||||||
|
|
||||||
|
|
@ -64,7 +66,7 @@ struct CMapObjDef
|
||||||
C44Matrix invMat;
|
C44Matrix invMat;
|
||||||
|
|
||||||
int32_t unk_F0; //0xF0
|
int32_t unk_F0; //0xF0
|
||||||
void* CMapObjPtr_owner; //0xF4
|
CMapObj* owner; //0xF4
|
||||||
int32_t unk_F8; //0xF8
|
int32_t unk_F8; //0xF8
|
||||||
uint32_t unkFlags; //0xFC
|
uint32_t unkFlags; //0xFC
|
||||||
int32_t unk_100; //0x100
|
int32_t unk_100; //0x100
|
||||||
|
|
@ -113,6 +115,17 @@ struct CMapObjDefGroupDoodadDefLink
|
||||||
TSLink_CMapObjDefGroupDoodadDefLink ownerLink; //0x14 - 0x1C
|
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
|
struct CMapObjDefGroup
|
||||||
{
|
{
|
||||||
void* vtable; //0x00
|
void* vtable; //0x00
|
||||||
|
|
@ -143,12 +156,8 @@ struct CMapObjDefGroup
|
||||||
void* TSExplicitList__m_ptr1_unk_70; //0x70
|
void* TSExplicitList__m_ptr1_unk_70; //0x70
|
||||||
void* TSExplicitList__m_ptr2_unk_74; //0x74
|
void* TSExplicitList__m_ptr2_unk_74; //0x74
|
||||||
|
|
||||||
// CMapDoodadDef
|
|
||||||
TSExplicitList_CMapObjDefGroupDoodadDefLink doodadDefLinkList;
|
TSExplicitList_CMapObjDefGroupDoodadDefLink doodadDefLinkList;
|
||||||
|
TSExplicitList_CMapObjDefGroupMapEntityLink mapEntityLinkList;
|
||||||
int32_t TSExplicitList__m_linkoffset_unk_84; //0x84
|
|
||||||
void* TSExplicitList__m_ptr1_unk_88; //0x88
|
|
||||||
void* TSExplicitList__m_ptr2_unk_8C; //0x8C
|
|
||||||
|
|
||||||
int32_t TSExplicitList__m_linkoffset_unk_90; //0x90
|
int32_t TSExplicitList__m_linkoffset_unk_90; //0x90
|
||||||
void* TSExplicitList__m_ptr1_unk_94; //0x94
|
void* TSExplicitList__m_ptr1_unk_94; //0x94
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,8 @@ DECLARE_STRUCT(CMapStaticEntity);
|
||||||
#include "system/types.h"
|
#include "system/types.h"
|
||||||
#include "tempest/vector.h"
|
#include "tempest/vector.h"
|
||||||
#include "tempest/box.h"
|
#include "tempest/box.h"
|
||||||
|
#include "tempest/sphere.h"
|
||||||
|
#include "m2/model.h"
|
||||||
#include "storm/list.h"
|
#include "storm/list.h"
|
||||||
#include "map/CMapBaseObj.h"
|
#include "map/CMapBaseObj.h"
|
||||||
|
|
||||||
|
|
@ -37,9 +39,8 @@ struct CMapStaticEntity
|
||||||
uint32_t unkFlags_28; //0x28
|
uint32_t unkFlags_28; //0x28
|
||||||
int32_t unkCounter; //0x2C
|
int32_t unkCounter; //0x2C
|
||||||
float unk_030; //0x30
|
float unk_030; //0x30
|
||||||
void* unk_m2Model_034; //0x34
|
CM2Model* model;
|
||||||
C3Vector vec1;
|
CAaSphere sphere;
|
||||||
float unk_044; //0x44
|
|
||||||
CAaBox bbox;
|
CAaBox bbox;
|
||||||
C3Vector vec2;
|
C3Vector vec2;
|
||||||
C3Vector position;
|
C3Vector position;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue