Alex Bates
Alex Bates
Bad references to world data outside of world: ``` func_80242014_8B2084 = 0x80242014; func_8024206C_83386C = 0x8024206C; D_8024C098_C09918 = 0x8024C098; D_8024C100_C09980 = 0x8024C100; func_80241FE8_D3C5B8 = 0x80241FE8; arn_03_802429D4 = 0x802429D4; dgb_18_idle_80242A24 = 0x80242A24;...
Would be cool to link each overlay separately to prevent this issue entirely at compile-time. Tangentially related to https://github.com/ethteck/splat/issues/71 and https://github.com/Mr-Wiseguy/libmario
We could make symbols besides `main` and `config` in maps overlays, for example, totally invisible to other objects. This would theoretically get rid of the need for `N()` and also...
Should also probably have a CI test that checks doxygen isn't broken on PRs
Doxygen is currently dying on the long multiline comment in flo_08/CAED40.c: ``` /github/workspace/src/world/area_flo/flo_08/CAED40.c:203: error: Reached end of file while still inside a (nested) comment. Nesting level 1 (probable line reference:...
Now we've renamed ScriptInstance to Evt it may be worth renaming all the `si` funcs to `evt` (and even matching the TTYD opcode names).
Considering getting rid of cc_dsl in favour of simple macros since this repo will be used for learning about the game's internals and the fancy DSL can make it harder...
Greenlit script macros: ```c ApiStatus api_GetPlayerPos(Evt* script, ...) // Macros are used to make EVT_USER_FUNCs easier to use, and to document the number of args they take // outX: x...
get_collider_type_by_id supposedly returns the collider `flags` but they're not the same as the flags in map data
@ethteck is correct - both function names and ld_addrs symbols are linker symbols and are resolved at link-time, resulting in different codegen from just writing the address. In all cases...