summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pso/TMainTask.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/pso/TMainTask.cpp b/src/pso/TMainTask.cpp
index 7e543bf..337e8cd 100644
--- a/src/pso/TMainTask.cpp
+++ b/src/pso/TMainTask.cpp
@@ -160,6 +160,29 @@ void TMainTask::render() {
set_task_flags(0x100);
}
+void TMainTask::render_clipout_and_fade() {
+ u32 some_id;
+ set_task_flags(2);
+
+ set_depth_buffer_settings_2();
+ set_depth_buffer_settings_id(1);
+ save_depth_buffer_settings();
+ some_id = some_id_805c6f74;
+ func_803db618(1);
+
+ tl_clipout->allow_rendering();
+ tl_clipout->render_nodes();
+ tl_fade->allow_rendering();
+ tl_fade->render_nodes();
+ tl_fadeafter->allow_rendering();
+ tl_fadeafter->render_nodes();
+
+ func_803db618(some_id);
+ restore_depth_buffer_settings();
+
+ clear_task_flags(2);
+};
+
void TMainTask::run_task() {
SET_OR_CLEAR_CHILD_FLAGS(update_flags, old_update_flags, 3);
some_main_task_flag = 0;