diff options
-rw-r--r-- | context.h | 61 |
1 files changed, 38 insertions, 23 deletions
@@ -66,31 +66,14 @@ extern TMainTask main_task; extern TObject global_obj1; extern TObject global_obj2; +// Variable defs. +u32 some_main_task_flag = 1; +u32 main_task_flags; +u32 old_main_task_flags; +u32 lbl_805c5b98; +u32 lbl_805c5b9c; // Class defs. -class TMainTask : public TObject { -public: - u32 task_flags; - u32 mbr_0x20; - u32 mbr_0x24; -public: - TMainTask(); - virtual ~TMainTask(); - virtual void run_task(); -private: - void set_task_flags(u32 flags) { - this->task_flags |= flags; - } - - void clear_task_flags(u32 flags) { - this->task_flags &= ~flags; - } - - u32 get_task_flags(u32 flags) { - return this->task_flags & flags; - }; -}; - class TObject { public: const char *name; @@ -101,6 +84,8 @@ public: TObject *up; TObject *down; public: + void set_flag_4(); + void clear_flag_4(); void set_flag_3(); void clear_flag_3(); void set_flag_0(); @@ -196,3 +181,33 @@ private: return this->flags & flags; }; }; + +class TMainTask : public TObject { +public: + u32 task_flags; + u32 mbr_0x20; + u32 mbr_0x24; +public: + void func_80228ae8(); + void func_80228a7c(); + void func_80228a3c(); + void func_80228928(); + void func_80228924(); + void func_802289d0(); + + virtual ~TMainTask(); + virtual void run_task(); + virtual void func_0x10(); +private: + void set_task_flags(u32 flags) { + this->task_flags |= flags; + } + + void clear_task_flags(u32 flags) { + this->task_flags &= ~flags; + } + + u32 get_task_flags(u32 flags) { + return this->task_flags & flags; + }; +}; |