mirror of
https://github.com/zeldaret/st
synced 2026-10-08 13:36:27 -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:
@@ -5,6 +5,7 @@
|
||||
#include "Render/ModelRender.hpp"
|
||||
#include "Unknown/Common.hpp"
|
||||
#include "global.h"
|
||||
#include "timer.hpp"
|
||||
#include "types.h"
|
||||
|
||||
class MapObjectSwitchStep_40 : public ModelRender {
|
||||
@@ -39,8 +40,7 @@ public:
|
||||
/* A4 */ UnkSystem5 mUnk_A4;
|
||||
/* C4 */ unk32 mUnk_C4;
|
||||
/* C8 */ STRUCT_PAD(0xC8, 0xE4);
|
||||
/* E4 */ volatile u16 mUnk_E4;
|
||||
/* E6 */ u16 mUnk_E6;
|
||||
/* E4 */ Timer mUnk_E4;
|
||||
/* E8 */ unk16 mUnk_E8;
|
||||
/* EA */ u8 mUnk_EA; // bool?
|
||||
/* EB */ unk8 mUnk_EB;
|
||||
@@ -48,7 +48,7 @@ public:
|
||||
|
||||
MapObjectSwitchStep();
|
||||
|
||||
/* 00 */ virtual bool vfunc_00() override;
|
||||
/* 00 */ virtual bool Init() override;
|
||||
/* 08 */ virtual void vfunc_08() override;
|
||||
/* 14 */ virtual void vfunc_14(unk32 param1) override;
|
||||
/* 18 */ virtual void vfunc_18(s8 *param1) override;
|
||||
|
||||
Reference in New Issue
Block a user