mirror of
https://github.com/zeldaret/st
synced 2026-10-08 05:34:09 -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 "MapObject/MapObjectUnkSTAT.hpp"
|
||||
#include "Render/ModelRender.hpp"
|
||||
#include "Unknown/Common.hpp"
|
||||
#include "timer.hpp"
|
||||
#include "types.h"
|
||||
|
||||
class MapObjectUnkMTJR : public MapObject {
|
||||
@@ -12,15 +13,14 @@ public:
|
||||
/* 00 (base) */
|
||||
/* 40 */ ModelRender mUnk_40;
|
||||
/* A0 */ unk32 mUnk_A0;
|
||||
/* A4 */ volatile u16 mUnk_A4; // Probably a counter
|
||||
/* A6 */ u16 mUnk_A6; // Counter (mUnk_A4) bound
|
||||
/* A4 */ Timer mUnk_A4;
|
||||
/* A8 */ UnkSystem7 mUnk_A8;
|
||||
/* AC */ unk32 mUnk_AC;
|
||||
/* B0 */ unk32 mUnk_B0;
|
||||
|
||||
MapObjectUnkMTJR();
|
||||
|
||||
/* 00 */ virtual bool vfunc_00() override;
|
||||
/* 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