summaryrefslogtreecommitdiff
path: root/include/pso
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-05 16:08:45 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-05 16:08:45 -0400
commit7e037462eda6221047eefd2195539302d3b40083 (patch)
treee8c79e49485c83002a52c3fc464a8c4c66de44ad /include/pso
parent7dfa8bbfaf995bcf1c8561a90099db5103feaa33 (diff)
TMainTask: Add, and match `init_main_task()`
Diffstat (limited to 'include/pso')
-rw-r--r--include/pso/TMainTask.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/pso/TMainTask.h b/include/pso/TMainTask.h
index 1786c71..373a982 100644
--- a/include/pso/TMainTask.h
+++ b/include/pso/TMainTask.h
@@ -19,6 +19,14 @@
old_flags = flags; \
}
+#define o(var, name) extern const char *var##_name;
+TL_OBJECTS
+#undef o
+
+#define o(var, name) extern TObject *var;
+TL_OBJECTS
+#undef o
+
class TMainTask : public TObject {
public:
u32 task_flags;
@@ -33,6 +41,7 @@ public:
void func_80228924();
void func_802289d0();
+ void init_main_task();
virtual ~TMainTask();
virtual void run_task();
virtual void func_0x10();