summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-08 10:11:48 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-08 10:11:48 -0400
commitb95a156ca89c7be10a8afb4b7fa77fe9e242d00c (patch)
tree2ddefb576a73d50944774cf65d19e0caba9afb13
parent25b289d12642ed5334d1c25beec9043fb5d03ee1 (diff)
TObject: Rename `func_0x10()` -> `render()`
-rw-r--r--include/pso/TMainTask.h2
-rw-r--r--include/pso/TObject.h2
-rw-r--r--src/pso/TMainTask.cpp2
-rw-r--r--src/pso/TObject.cpp6
4 files changed, 6 insertions, 6 deletions
diff --git a/include/pso/TMainTask.h b/include/pso/TMainTask.h
index 373a982..e299006 100644
--- a/include/pso/TMainTask.h
+++ b/include/pso/TMainTask.h
@@ -44,7 +44,7 @@ public:
void init_main_task();
virtual ~TMainTask();
virtual void run_task();
- virtual void func_0x10();
+ virtual void render();
private:
void set_task_flags(u32 flags) {
this->task_flags |= flags;
diff --git a/include/pso/TObject.h b/include/pso/TObject.h
index 7f560c2..531dee1 100644
--- a/include/pso/TObject.h
+++ b/include/pso/TObject.h
@@ -48,7 +48,7 @@ public:
void set_parent(TObject *parent);
virtual void run_task();
- virtual void func_0x10();
+ virtual void render();
virtual void func_0x14();
void empty_func2();
diff --git a/src/pso/TMainTask.cpp b/src/pso/TMainTask.cpp
index c02b4ac..b9051b7 100644
--- a/src/pso/TMainTask.cpp
+++ b/src/pso/TMainTask.cpp
@@ -21,7 +21,7 @@ void TMainTask::func_80228928() {}
void TMainTask::func_80228924() {}
void TMainTask::func_802289d0() {}
-void TMainTask::func_0x10() {
+void TMainTask::render() {
SET_OR_CLEAR_CHILD_FLAGS(lbl_805c5b98, lbl_805c5b9c, 4);
set_task_flags(2);
some_main_task_flag = 0;
diff --git a/src/pso/TObject.cpp b/src/pso/TObject.cpp
index 976214d..f413135 100644
--- a/src/pso/TObject.cpp
+++ b/src/pso/TObject.cpp
@@ -71,7 +71,7 @@ void TObject::func_0x14() {
}
-void TObject::func_0x10() {
+void TObject::render() {
}
@@ -91,7 +91,7 @@ void TObject::empty_func() {
void TObject::call_func_0x10_for_each_node2() {
FOREACH_NODE(TObject, this->down, child) {
if (child->get_flags(0x200)) {
- child->func_0x10();
+ child->render();
child->clear_flag_9();
}
child->call_func_0x10_for_each_node2();
@@ -110,7 +110,7 @@ void TObject::call_func_0x14_for_each_node() {
void TObject::call_func_0x10_for_each_node() {
FOREACH_NODE(TObject, this->down, child) {
if (!child->get_flags(0x10)) {
- child->func_0x10();
+ child->render();
child->call_func_0x10_for_each_node();
}
}