summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-11 15:38:30 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-11 15:38:30 -0400
commited7e4c2ffd7bfa1a2a66f5b54e5547f855350c66 (patch)
treefc02480e6fc50f32484f1c81f86c9169481a8cae /src
parent136656fb687eba0575c91a5ca76f5b00fac1015c (diff)
TMainTask: Add, and match `func_80228dbc()`
Diffstat (limited to 'src')
-rw-r--r--src/pso/TMainTask.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/pso/TMainTask.cpp b/src/pso/TMainTask.cpp
index 91e4d38..71a1393 100644
--- a/src/pso/TMainTask.cpp
+++ b/src/pso/TMainTask.cpp
@@ -164,6 +164,19 @@ void TMainTask::render() {
set_task_flags(0x100);
}
+void TMainTask::func_80228dbc() {
+ set_task_flags(0x10);
+ some_main_task_flag = 0;
+ render_geometry();
+ some_main_task_flag = 1;
+ render_effects();
+ render_objects();
+ some_main_task_flag = 0;
+ render_particle_effects();
+ unused_render_func();
+ clear_task_flags(0x10);
+}
+
void TMainTask::render_clipout_and_fade() {
u32 some_id;
set_task_flags(2);