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
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
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
functions-5.md
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
structs.md Refactor collision surface systems and add the ability to add/remove/move surfaces (#1143) 2026-05-02 14:58:46 -04:00