summaryrefslogtreecommitdiff
path: root/src/pso
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-11 17:22:17 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-11 17:22:17 -0400
commit80fcde7e6155ff64b562faa27ea32aeb83eaae30 (patch)
tree46a0a054f4ca909940a2ee58e3247a907c1f20d8 /src/pso
parent01534790b1f7e260a2e5cd8a7ac6d23c788e355b (diff)
TMainTask: Add, and match `func_80228bbc()`
Diffstat (limited to 'src/pso')
-rw-r--r--src/pso/TMainTask.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/pso/TMainTask.cpp b/src/pso/TMainTask.cpp
index 8ae626c..6bd7ebe 100644
--- a/src/pso/TMainTask.cpp
+++ b/src/pso/TMainTask.cpp
@@ -164,6 +164,27 @@ void TMainTask::render() {
set_task_flags(0x100);
}
+void TMainTask::func_80228bbc() {
+ set_task_flags(0x40);
+ some_main_task_flag = 0;
+ set_depth_buffer_settings_3();
+ set_depth_buffer_settings_id(1);
+ save_depth_buffer_settings();
+
+ tl_02->render_nodes();
+
+ restore_depth_buffer_settings();
+ some_main_task_flag = 1;
+
+ set_depth_buffer_settings_1();
+ set_depth_buffer_settings_id(2);
+ save_depth_buffer_settings();
+
+ tl_02->render_nodes();
+
+ restore_depth_buffer_settings();
+ clear_task_flags(0x40);
+}
void TMainTask::func_80228c44(s32 arg0) {
set_task_flags(0x20);