summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-08make: Move runtime files to their proper place, and order in the binarymrb0nk500
2023-02-08runtime: Add `GCN_mem_alloc.c`mrb0nk500
2023-02-08OS: Add some externs from the Pikmin 2 decomp projectmrb0nk500
https://github.com/projectPiki/pikmin2
2023-02-08make, runtime: Start putting files, and functions in the right ordermrb0nk500
2023-02-08TMainTask: Add, and use `DISALLOW_OR_ALLOW_CHILD` macromrb0nk500
2023-02-08TMainTask: Add, and use `X_OR_Y_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-08make: Remove `-enum int` from `CFLAGS_BASE`mrb0nk500
This will be needed for the next commit.
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-06context: Fix typo with return value of `heap_xfree()`mrb0nk500
2023-02-05TMainTask: Match destructormrb0nk500
2023-02-05THeap: Add stubs for `heap_x{free,malloc}()`mrb0nk500
2023-02-05THeap: Correct typo with `heap_xfree()`'s return typemrb0nk500
2023-02-05TMainTask: Add, and match `init_main_task()`mrb0nk500
2023-02-05macros: Add `TL_OBJECTS` xmacromrb0nk500
2023-02-05THeap: Add global heapsmrb0nk500
2023-02-05THeap: Fix single include ifdef in headermrb0nk500
oof, didn't notice it.
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-03context: Update context to match current statemrb0nk500
2023-02-03TMainTask: Add, and match `func_0x10()`mrb0nk500
2023-02-03TObject: Add `{set,clear}_flag_4()`mrb0nk500
2023-02-03context: add `-lang=c++`mrb0nk500
2023-02-03TMainTask: Make use of `SET_OR_CLEAR_CHILD_FLAGS` in `run_task()`mrb0nk500
2023-02-03TMainTask: Add `SET_OR_CLEAR_CHILD_FLAGS` macromrb0nk500
2023-02-03context: Add compiler version, and flagsmrb0nk500
Makes it a bit easier to copy-paste into decomp.me
2023-02-03global: Add context for decomp.memrb0nk500
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: Make all the task related globals externmrb0nk500
2023-02-03TMainTask: Add private helpers for setting, clearing, and gettingmrb0nk500
`task_flags`
2023-02-03TObject: Add `{set,clear}_flag_3()`mrb0nk500
2023-02-03pso/macros: Add `FOREACH_NODE{,_NODECL}_MULTI_ITER`mrb0nk500
This allows for iterating multiple things within a `FOREACH_NODE` macro.
2023-02-03sdk: Use `NMWException.h`, and `fdlibm.h` from prime decomp projectmrb0nk500