summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-10 13:26:41 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-10 13:26:41 -0400
commit3854713b26eddd08bacd51e6c6b85bba4d9a7c2d (patch)
tree47d17164a3d93f88fb07fb94b50a8032e0251663 /src
parent96806963fa75fd4be250cbe07626074405c9d3eb (diff)
TMainTask: Rename all functions called by `render()` to more readable
names
Diffstat (limited to 'src')
-rw-r--r--src/pso/TMainTask.cpp24
1 files changed, 12 insertions, 12 deletions
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);
}