diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-16 15:50:28 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-16 15:54:22 -0400 |
commit | e4af5aabc6b9b70b514e8c124dd766aa44dcab7a (patch) | |
tree | e4f9d8dba2ad47b7adb819639843f20b56206b22 /src | |
parent | 8f97c6a91c97c8ba2b40040928a32e21752ea937 (diff) |
TMainTask: Complete `TMainTask.cpp`
Diffstat (limited to 'src')
-rw-r--r-- | src/pso/TMainTask.cpp | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/pso/TMainTask.cpp b/src/pso/TMainTask.cpp index a66fec2..931a3ce 100644 --- a/src/pso/TMainTask.cpp +++ b/src/pso/TMainTask.cpp @@ -36,6 +36,58 @@ void set_some_id(u32 id) { void func_803e11e8(u32 arg1) {} void func_803e11f0() {} +void func_803369b4() {} + +void TMainTask::render_screen_overlay() { + if (!get_task_flags(0x100)) { + render_clipout_and_fade(); + empty_func(); + empty_render_screen_overlay_func(); + func_803369b4(); + } + clear_task_flags(0x180); +} + +void TMainTask::some_empty_func() {} + +void TMainTask::tl_toggle_flag_3() { + #define o(var, name) var##->toggle_flag_3(); + TL_OBJECTS_AT_TL_00_WITHOUT_TL_PARTICLE + #undef o +} + +void TMainTask::tl_clear_flag_3() { + #define o(var, name) var##->clear_flag_3(); + TL_OBJECTS_AT_TL_00 + #undef o +} + +void TMainTask::tl_delete_children() { + #define o(var, name) var##->delete_children(); + TL_OBJECTS_AT_TL_00 + #undef o +} + +void TMainTask::tl_02_toggle_flag_3() { + #define o(var, name) var##->toggle_flag_3(); + TL_OBJECTS_AT_TL_02 + #undef o +} + +void TMainTask::tl_02_clear_flag_3() { + #define o(var, name) var##->clear_flag_3(); + TL_OBJECTS_AT_TL_02 + #undef o +} + +void TMainTask::empty_render_screen_overlay_func() {} + +void TMainTask::run_tl_camera_tasks() { + set_task_flags(1); + tl_camera->run_tasks(); + clear_task_flags(1); +} + void TMainTask::render() { DISALLOW_OR_ALLOW_CHILD(render_flags, old_render_flags, rendering); set_task_flags(2); |