summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-01-30 11:29:51 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-01-30 11:29:51 -0400
commit2b94b732c9e71a5884de4729ca50d9a8eda42049 (patch)
tree4e67fe722c13d2b3de7a1f23c68da617cbacef11 /src
parentd73a0184cbeebc702d8c63dbc50a128d83d8b8f0 (diff)
TObject, TObject2: Create `TObject2.cpp`, and move flag functions
into it This is necessary to get the function placement correct.
Diffstat (limited to 'src')
-rw-r--r--src/pso/TObject.cpp16
-rw-r--r--src/pso/TObject2.cpp17
2 files changed, 17 insertions, 16 deletions
diff --git a/src/pso/TObject.cpp b/src/pso/TObject.cpp
index 8957b5c..012b62f 100644
--- a/src/pso/TObject.cpp
+++ b/src/pso/TObject.cpp
@@ -165,19 +165,3 @@ TObject::TObject(TObject *parent) {
name = TObject_name;
add_parent(parent, false);
}
-
-void TObject::clear_flag_9() {
- clear_flags(0x200);
-}
-
-void TObject::set_flag_9() {
- set_flags(0x200);
-}
-
-u32 TObject::get_flag_9() {
- return get_flags(0x200);
-}
-
-void TObject::set_flag_0() {
- set_flags(1);
-}
diff --git a/src/pso/TObject2.cpp b/src/pso/TObject2.cpp
new file mode 100644
index 0000000..157544c
--- /dev/null
+++ b/src/pso/TObject2.cpp
@@ -0,0 +1,17 @@
+#include "pso/TObject.h"
+
+void TObject::clear_flag_9() {
+ clear_flags(0x200);
+}
+
+void TObject::set_flag_9() {
+ set_flags(0x200);
+}
+
+u32 TObject::get_flag_9() {
+ return get_flags(0x200);
+}
+
+void TObject::set_flag_0() {
+ set_flags(1);
+}