Replace most of Point3d with Vec
This commit is contained in:
parent
dd2c167c8e
commit
eb35233505
19 changed files with 732 additions and 711 deletions
|
|
@ -30,7 +30,7 @@ void fn_1_1CA8(void);
|
|||
void fn_1_1CAC(float, float, float);
|
||||
void fn_1_1CD4(float *arg0, float *arg1, float *arg2);
|
||||
s32 fn_1_1D88(void);
|
||||
void fn_1_1DB0(Point3d *arg0, Point3d *arg1, float *arg2, s32 arg3, s32 arg4);
|
||||
void fn_1_1DB0(Vec *arg0, Vec *arg1, float *arg2, s32 arg3, s32 arg4);
|
||||
|
||||
void fn_1_2354(Process *arg0);
|
||||
void fn_1_2564(void);
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
#include "game/object.h"
|
||||
#include "game/objsub.h"
|
||||
|
||||
|
||||
#include "ext_math.h"
|
||||
|
||||
// -------------------------------------------------------------------------- //
|
||||
|
|
@ -21,20 +20,20 @@ typedef struct {
|
|||
} HuUnkF9C2;
|
||||
|
||||
typedef struct {
|
||||
Point3d pos; // 0000
|
||||
Point3d rot; // 000C
|
||||
Point3d scale; // 0018
|
||||
Vec pos; // 0000
|
||||
Vec rot; // 000C
|
||||
Vec scale; // 0018
|
||||
s32 unk24;
|
||||
s32 unk28;
|
||||
s32 unk2C;
|
||||
HsfObject *obj; // 0030
|
||||
} HuObjUnk;
|
||||
|
||||
extern Point3d CRot;
|
||||
extern Point3d Center;
|
||||
extern Vec CRot;
|
||||
extern Vec Center;
|
||||
extern float CZoom;
|
||||
void fn_1_29C();
|
||||
void fn_1_28F8(Point3d *arg0, Point3d *arg1);
|
||||
void fn_1_28F8(Vec *arg0, Vec *arg1);
|
||||
void fn_1_37DC(omObjData *);
|
||||
void fn_1_439C(omObjData *);
|
||||
void fn_1_46F0();
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
#include "game/hsfformat.h"
|
||||
#include "game/memory.h"
|
||||
|
||||
|
||||
#define HU3D_MODEL_MAX 512
|
||||
#define HU3D_MOTION_MAX 256
|
||||
#define HU3D_TEXANIM_MAX 256
|
||||
|
|
@ -109,7 +108,7 @@ struct model_data {
|
|||
u32 unk_4C;
|
||||
u32 attr;
|
||||
u32 motion_attr;
|
||||
Point3d unk_58;
|
||||
Vec unk_58;
|
||||
float unk_64;
|
||||
float unk_68;
|
||||
float unk_6C;
|
||||
|
|
@ -164,8 +163,8 @@ typedef struct ThreeDProjectionStruct {
|
|||
char unk_01[0x3];
|
||||
void *unk_04;
|
||||
Vec unk_08;
|
||||
Point3d unk_14;
|
||||
Point3d unk_20;
|
||||
Vec unk_14;
|
||||
Vec unk_20;
|
||||
Vec unk_2C;
|
||||
Mtx unk_38;
|
||||
Mtx unk_68;
|
||||
|
|
@ -271,12 +270,12 @@ void Hu3DLLightKill(s16, s16);
|
|||
void Hu3DLightAllKill(void);
|
||||
void Hu3DGLightColorSet(s16, u8, u8, u8, u8);
|
||||
void Hu3DLLightColorSet(s16, s16, u8, u8, u8, u8);
|
||||
void Hu3DGLightPosSetV(s16, Vec *, Point3d *);
|
||||
void Hu3DLLightPosSetV(s16, s16, Vec *, Point3d *);
|
||||
void Hu3DGLightPosSetV(s16, Vec *, Vec *);
|
||||
void Hu3DLLightPosSetV(s16, s16, Vec *, Vec *);
|
||||
void Hu3DGLightPosSet(s16, float, float, float, float, float, float);
|
||||
void Hu3DLLightPosSet(s16, s16, float, float, float, float, float, float);
|
||||
void Hu3DGLightPosAimSetV(s16, Point3d *, Point3d *);
|
||||
void Hu3DLLightPosAimSetV(s16, s16, Point3d *, Point3d *);
|
||||
void Hu3DGLightPosAimSetV(s16, Vec *, Vec *);
|
||||
void Hu3DLLightPosAimSetV(s16, s16, Vec *, Vec *);
|
||||
void Hu3DGLightPosAimSet(s16, float, float, float, float, float, float);
|
||||
void Hu3DLLightPosAimSet(s16, s16, float, float, float, float, float, float);
|
||||
void Hu3DGLightStaticSet(s16, s32);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue