marioparty4/include/REL/modeltestDll.h
Dávid Balatoni 34cf507e3f
x64 and hsfload improvements, build every REL (#582)
* Port some of hsfload.c

* More byteswaps in hsfload.c

* Finish hsfload besides cenv

* hsfload fixes

* Some x64 improvements

* More x64 improvements

* 64 bit improvements

* Link in lots of files

* Fix armem bug

* Fix dll killing, load modeseldll

* Fixes, clearing TODOs

* Tons of warning/error fixes

* Linux build fixes

* Add -fPIC flag to fix build on x64 linux

* GXSETARRAY sizes and misc fixes

* More fixes

* Build all RELs

* Implement C_Quat functions

* Fix PAL build
2025-04-14 18:02:42 +02:00

43 lines
967 B
C

#ifndef REL_MODELTEST_H
#define REL_MODELTEST_H
#include "game/hsfdraw.h"
#include "game/object.h"
#include "game/objsub.h"
#include "ext_math.h"
// -------------------------------------------------------------------------- //
#define US_PER_60TH_SEC (1000000.0f / 60.0f)
#define US_TO_60TH_SEC(us) ((us) / US_PER_60TH_SEC)
#define FB_SIZE(width, height) width *height * 2
// -------------------------------------------------------------------------- //
typedef struct {
s16 unk0[7];
} HuUnkF9C2;
typedef struct {
Vec pos; // 0000
Vec rot; // 000C
Vec scale; // 0018
s32 unk24;
s32 unk28;
s32 unk2C;
HsfObject *obj; // 0030
} HuObjUnk;
void fn_1_29C();
void fn_1_28F8(Vec *arg0, Vec *arg1);
void fn_1_37DC(omObjData *);
void fn_1_439C(omObjData *);
void fn_1_46F0();
typedef void(omObjFunc2)(struct om_obj_data *);
omObjFunc2 fn_1_F9C;
#endif
// -------------------------------------------------------------------------- //