mirror of
https://github.com/zeldaret/st
synced 2026-10-07 21:31:07 -04:00
Create Timer struct, improve angle usage and name known virtual functions (#154)
* name some actor vfuncs * name some map object vfuncs * remove angle union * fix lots of clangd errors * create Timer struct * fix regressions
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "MapObject/MapObjectProfile.hpp"
|
||||
#include "Render/ModelRender.hpp"
|
||||
#include "global.h"
|
||||
#include "timer.hpp"
|
||||
#include "types.h"
|
||||
|
||||
class MapObjectUnkSTAT : public MapObject {
|
||||
@@ -14,8 +15,7 @@ public:
|
||||
/* 50 */ unk32 mUnk_50;
|
||||
/* 54 */ unk32 mUnk_54;
|
||||
/* 58 */ unk16 mUnk_58;
|
||||
/* 5A */ volatile u16 mUnk_5A;
|
||||
/* 5C */ u16 mUnk_5C;
|
||||
/* 5A */ Timer mUnk_5A;
|
||||
/* 5E */ STRUCT_PAD(0x5E, 0x60);
|
||||
/* 60 */ unk32 mUnk_60;
|
||||
/* 64 */ unk32 mUnk_64;
|
||||
@@ -23,7 +23,7 @@ public:
|
||||
|
||||
MapObjectUnkSTAT();
|
||||
|
||||
/* 00 */ virtual bool vfunc_00() override; // Init
|
||||
/* 00 */ virtual bool Init() override;
|
||||
/* 08 */ virtual void vfunc_08() override;
|
||||
/* 0C */ virtual void vfunc_0C() override;
|
||||
/* 14 */ virtual void vfunc_14(unk32 param1) override;
|
||||
|
||||
Reference in New Issue
Block a user