summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/pso/TMainTask.h12
-rw-r--r--src/pso/TMainTask.cpp24
2 files changed, 18 insertions, 18 deletions
diff --git a/include/pso/TMainTask.h b/include/pso/TMainTask.h
index 71341a2..62f3ef5 100644
--- a/include/pso/TMainTask.h
+++ b/include/pso/TMainTask.h
@@ -41,12 +41,12 @@ public:
u32 mbr_0x24;
public:
TMainTask();
- void func_80228ae8();
- void func_80228a7c();
- void func_80228a3c();
- void func_80228928();
- void func_80228924();
- void func_802289d0();
+ void render_particle_effects();
+ void render_effects();
+ void render_geometry();
+ void unused_render_func();
+ void render_objects();
+ void render_ui();
void init_main_task();
virtual ~TMainTask();
diff --git a/src/pso/TMainTask.cpp b/src/pso/TMainTask.cpp
index 69197ff..25e1515 100644
--- a/src/pso/TMainTask.cpp
+++ b/src/pso/TMainTask.cpp
@@ -27,7 +27,7 @@ void func_803db618(u32 arg1) {}
void func_803e11e8(u32 arg1) {}
void func_803e11f0() {}
-void TMainTask::func_80228a3c() {
+void TMainTask::render_particle_effects() {
set_depth_buffer_settings_1();
set_depth_buffer_settings_id(1);
save_depth_buffer_settings();
@@ -38,7 +38,7 @@ void TMainTask::func_80228a3c() {
restore_depth_buffer_settings();
}
-void TMainTask::func_80228a7c() {
+void TMainTask::render_effects() {
set_depth_buffer_settings_1();
set_depth_buffer_settings_id(2);
save_depth_buffer_settings();
@@ -55,7 +55,7 @@ void TMainTask::func_80228a7c() {
restore_depth_buffer_settings();
}
-void TMainTask::func_80228ae8() {
+void TMainTask::render_geometry() {
set_depth_buffer_settings_3();
set_depth_buffer_settings_id(1);
save_depth_buffer_settings();
@@ -88,11 +88,11 @@ void TMainTask::func_80228ae8() {
func_80141618();
}
-void TMainTask::func_80228924() {
+void TMainTask::unused_render_func() {
}
-void TMainTask::func_80228928() {
+void TMainTask::render_objects() {
set_task_flags(0x200);
tl_03->render_nodes2();
@@ -120,7 +120,7 @@ void TMainTask::func_80228928() {
func_80141618();
}
-void TMainTask::func_802289d0() {
+void TMainTask::render_ui() {
u32 some_id;
set_depth_buffer_settings_2();
set_depth_buffer_settings_id(1);
@@ -141,16 +141,16 @@ void TMainTask::render() {
DISALLOW_OR_ALLOW_CHILD(lbl_805c5b98, lbl_805c5b9c, rendering);
set_task_flags(2);
some_main_task_flag = 0;
- func_80228ae8();
+ render_geometry();
some_main_task_flag = 1;
- func_80228a7c();
+ render_effects();
some_main_task_flag = 0;
- func_80228a3c();
+ render_particle_effects();
some_main_task_flag = 1;
- func_80228928();
+ render_objects();
some_main_task_flag = 0;
- func_80228924();
- func_802289d0();
+ unused_render_func();
+ render_ui();
clear_task_flags(2);
set_task_flags(0x100);
}