summaryrefslogtreecommitdiff
path: root/src/pso
AgeCommit message (Collapse)Author
2023-02-11TMainTask: Add, and match `func_80228c44()`mrb0nk500
oof, my system crashed in the middle of builing `TMainTask.cpp`, causing it to corrupt the source file, meaning I had to redo this function again. Thank god I'm using version control.
2023-02-11TMainTask: Add, and match `func_80228dbc()`mrb0nk500
2023-02-11TMainTask: Rename `func_803db618()` -> `set_some_id()`mrb0nk500
2023-02-11TMainTask: Implement, and match `func_803db618()`mrb0nk500
2023-02-11TMainTask: Add, and match `render_clipout_and_fade()`mrb0nk500
2023-02-10TMainTask: Add, and match `render_shadows()`mrb0nk500
2023-02-10TObject: Add `{,dis}allow_rendering_shadows()`mrb0nk500
2023-02-10TMainTask: Rename `lbl_805c5b9{8,c}` -> `{,old_}render_flags`mrb0nk500
2023-02-10TMainTask: Rename `{,old_}main_task_flags` -> `{,old_}update_flags`mrb0nk500
2023-02-10TObject: Implement, and match `alloc()`, and `free()`mrb0nk500
2023-02-10TMainTask: Rename all functions called by `render()` to more readablemrb0nk500
names
2023-02-10TMainTask: Match all functions called by `render()`mrb0nk500
2023-02-08TMainTask: Add, and use `DISALLOW_OR_ALLOW_CHILD` macromrb0nk500
2023-02-08TObject: Rename `is_flag_0_clear_for_all_parents()` ->mrb0nk500
`all_parents_unqueued_for_destruction()`
2023-02-08TObject: Rename `set_flag_0_for_each_node()` ->mrb0nk500
`queue_destruction_for_each_node()`
2023-02-08TObject: Rename `BIT_8` -> `DISALLOW_RENDER_SHADOWS`mrb0nk500
2023-02-08TObject: Rename `clear_flag_4()` -> `allow_rendering()`mrb0nk500
2023-02-08TObject: Rename `set_flag_4()` -> `disallow_rendering()`mrb0nk500
2023-02-08TObject: Rename `set_flag_0()` -> `queue_destruction()`mrb0nk500
2023-02-08TObject: Add, and make use of `enum object_flags`mrb0nk500
2023-02-08TObject: Rename `call_func_0x14_for_each_node()` ->mrb0nk500
`render_shadows_for_each_node()`
2023-02-08TObject: Rename `call_func_0x10_for_each_node2()` -> `render_nodes2()`mrb0nk500
2023-02-08TObject: Rename `call_func_0x10_for_each_node()` -> `render_nodes()`mrb0nk500
2023-02-08TObject: Rename `func_0x14()` -> `render_shadows()`mrb0nk500
2023-02-08TObject: Rename `func_0x10()` -> `render()`mrb0nk500
2023-02-07THeap: Rename `aligned_size` -> `node_size`mrb0nk500
2023-02-07THeap: Make `next_u8` constmrb0nk500
2023-02-07THeap: Match `heap_alloc()`mrb0nk500
Ghidra was very confused about how it looked.
2023-02-07THeap: Use `sizeof(heap_node)` instead of `heap_offset`mrb0nk500
2023-02-07THeap: Match `THeap::THeap()`mrb0nk500
2023-02-07THeap: Add, and make use of `heap_node` structmrb0nk500
2023-02-05TMainTask: Match destructormrb0nk500
2023-02-05THeap: Add stubs for `heap_x{free,malloc}()`mrb0nk500
2023-02-05TMainTask: Add, and match `init_main_task()`mrb0nk500
2023-02-05THeap: Add global heapsmrb0nk500
2023-02-05THeap: Get `heap_alloc()`, and the constructor closer to matchingmrb0nk500
Mostly regalloc issues.
2023-02-04THeap: Add `THeap` classmrb0nk500
Some matching issues, but still a good start.
2023-02-03TMainTask: Add, and match `func_0x10()`mrb0nk500
2023-02-03TObject: Add `{set,clear}_flag_4()`mrb0nk500
2023-02-03TMainTask: Make use of `SET_OR_CLEAR_CHILD_FLAGS` in `run_task()`mrb0nk500
2023-02-03TMainTask: Add, and match `run_task()`mrb0nk500
2023-02-03TObject, TMainTask: Make object names extern, and declare them inmrb0nk500
`TObject.cpp` This is to make it match the order in the original binary.
2023-02-03TObject: Add `{set,clear}_flag_3()`mrb0nk500
2023-02-01TObject: Correct typo in `get_node_count()`mrb0nk500
Oof, forgot an underscore.
2023-01-30TObject, macros: Add `FOREACH_NODE` macros for dealing with TObjectmrb0nk500
iteration Thanks to EpochFlame for suggesting this.
2023-01-30TObject, TObject2: Create `TObject2.cpp`, and move flag functionsmrb0nk500
into it This is necessary to get the function placement correct.
2023-01-30TObject: Add task related globalsmrb0nk500
2023-01-29pso: Add `TMainTask`mrb0nk500
2023-01-29pso: add `macros.h`mrb0nk500
2023-01-29TObject: Use `vu16` from `types.h`mrb0nk500