sm64coopdx/docs/lua
djoslin0 e88bd178fc
Refactor collision surface systems and add the ability to add/remove/move surfaces (#1143)
- Add `smlua_collision_add_surface`, `_move_surface`, `_delete_surface` Lua APIs
- Add `remove_static_object_collision` to fully free a SOC and its surfaces
- Split surface pools into separate static, SOC, and dynamic pools
- Replace index-based SOC tracking with unique ID counter (`sSOCIdCounter`)
- Invalidate Lua CObjects for recycled surfaces on pool clear
- Expose `SURFACE_POOL_STATIC/DYNAMIC/SOC` constants to Lua
- Add `growing_array_swap_and_pop` and `growing_array_swap_and_pop_index` to memory utils

Co-authored-by: MysterD <myster@d>
2026-05-02 14:58:46 -04:00
..
examples Refactor collision surface systems and add the ability to add/remove/move surfaces (#1143) 2026-05-02 14:58:46 -04:00
guides Fix get_texture_info and add HOOK_ON_DYNOS_PACKS_TOGGLED (#1181) 2026-04-21 21:22:18 -04:00
constants.md Refactor collision surface systems and add the ability to add/remove/move surfaces (#1143) 2026-05-02 14:58:46 -04:00
functions-2.md Multi-return from C and other autogen changes (#1044) 2025-12-19 20:27:44 -05:00
functions-3.md Add independent X and Y scaling to text rendering functions (#1182) 2026-05-01 21:17:44 -04:00
functions-4.md Control the Lighting Engine with le_set_enabled in real time (#1193) 2026-05-01 21:15:09 -04:00
functions-5.md Fix cutscenes, syncing issues, and more (Yoshi!) (#1109) 2026-04-21 23:37:30 -04:00
functions-6.md Refactor collision surface systems and add the ability to add/remove/move surfaces (#1143) 2026-05-02 14:58:46 -04:00
functions-7.md Refactor collision surface systems and add the ability to add/remove/move surfaces (#1143) 2026-05-02 14:58:46 -04:00
functions.md Refactor collision surface systems and add the ability to add/remove/move surfaces (#1143) 2026-05-02 14:58:46 -04:00
globals.md Expose gHudDisplay (#1158) 2026-05-01 22:25:06 -04:00
lua.md Add in C documentation (#1176) 2026-04-21 21:35:01 -04:00
structs.md Refactor collision surface systems and add the ability to add/remove/move surfaces (#1143) 2026-05-02 14:58:46 -04:00