summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/pso/TMainTask.h19
-rw-r--r--include/pso/forward.h1
-rw-r--r--src/pso/TMainTask.cpp13
3 files changed, 33 insertions, 0 deletions
diff --git a/include/pso/TMainTask.h b/include/pso/TMainTask.h
new file mode 100644
index 0000000..024feec
--- /dev/null
+++ b/include/pso/TMainTask.h
@@ -0,0 +1,19 @@
+#ifndef TMAINTASK_H
+#define TMAINTASK_H
+
+#include "pso/forward.h"
+#include "pso/macros.h"
+#include "pso/TObject.h"
+
+OBJECT_NAME(TMainTask)
+
+class TMainTask : public TObject {
+public:
+ u32 task_flags;
+ u32 mbr_0x20;
+ u32 mbr_0x24;
+public:
+ TMainTask();
+ virtual ~TMainTask();
+};
+#endif
diff --git a/include/pso/forward.h b/include/pso/forward.h
index bb9de90..ae055af 100644
--- a/include/pso/forward.h
+++ b/include/pso/forward.h
@@ -2,5 +2,6 @@
#define FORWARD_H
class TObject;
+class TMainTask;
#endif
diff --git a/src/pso/TMainTask.cpp b/src/pso/TMainTask.cpp
new file mode 100644
index 0000000..88216e5
--- /dev/null
+++ b/src/pso/TMainTask.cpp
@@ -0,0 +1,13 @@
+#include "pso/TMainTask.h"
+#include "pso/TObject.h"
+
+TMainTask::~TMainTask() {
+ this->delete_children();
+}
+
+TMainTask::TMainTask() : TObject(NULL) {
+ name = TMainTask_name;
+ task_flags = 0;
+ mbr_0x20 = 0;
+ mbr_0x24 = 0;
+};