summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--context.h1
-rw-r--r--include/pso/TMainTask.h1
-rw-r--r--src/pso/TMainTask.cpp13
3 files changed, 15 insertions, 0 deletions
diff --git a/context.h b/context.h
index 200bd20..8a6bdcd 100644
--- a/context.h
+++ b/context.h
@@ -317,6 +317,7 @@ public:
void unused_render_func();
void render_objects();
void render_ui();
+ void func_80228dbc();
void render_clipout_and_fade();
void init_main_task();
diff --git a/include/pso/TMainTask.h b/include/pso/TMainTask.h
index 6de10f7..31e8e79 100644
--- a/include/pso/TMainTask.h
+++ b/include/pso/TMainTask.h
@@ -47,6 +47,7 @@ public:
void unused_render_func();
void render_objects();
void render_ui();
+ void func_80228dbc();
void render_clipout_and_fade();
void init_main_task();
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);