sm64coopdx/src/engine
Isaac0-dev eaeaeb0f7f
add a way for mods to get dynamic surfaces that belong to specific objects (#59)
Adding this for collision minimap, but I'm sure it'd be useful for many other mods that deal with collision in this kind of way

exposes a function, obj_get_surface_from_index. pass in an object, and the index of the surface you want. numSurfaces is also added to know when to stop iterating through surfaces

Thanks to peachy for coming up with the better method of doing this

Co-authored-by: PeachyPeach <72323920+PeachyPeachSM64@users.noreply.github.com>
2024-06-06 17:24:28 +10:00
..
behavior_script.c Change around printing a little 2024-04-19 13:32:39 -04:00
behavior_script.h fix bugs caused by interpolating the frame an object spawns (#36) 2024-05-11 08:28:20 +10:00
extended_bounds.h Adjust extended bounds values 2022-04-16 21:34:49 -07:00
geo_layout.c Force broken romhack port missing skyboxes to BACKGROUND_HAUNTED 2023-10-26 16:09:36 -07:00
geo_layout.h Rename AllocOnlyPool to DynamicPool, add GrowingPool 2023-05-12 18:53:25 -07:00
graph_node.c Massively improve "Global Player Models" option 2024-03-17 20:58:38 -04:00
graph_node.h Force broken romhack port missing skyboxes to BACKGROUND_HAUNTED 2023-10-26 16:09:36 -07:00
graph_node_manager.c Massively improve "Global Player Models" option 2024-03-17 20:58:38 -04:00
level_script.c Fix red coin, secret, caps, WF platforms and goomba bhv overrides being broken 2024-03-17 18:05:44 -04:00
level_script.h Make envfx use dynamic memory 2023-05-12 21:30:16 -07:00
math_util.c Fixed several crashes and errors found in static analysis 2023-05-15 01:15:20 -07:00
math_util.h Add some more functions for use in LUA, And expose others. (#129) 2022-08-05 22:17:05 -07:00
surface_collision.c Properly determine the correct wall between multiple, turn off rounded corners in the air 2023-06-22 20:00:43 -07:00
surface_collision.h Properly determine the correct wall between multiple, turn off rounded corners in the air 2023-06-22 20:00:43 -07:00
surface_load.c add a way for mods to get dynamic surfaces that belong to specific objects (#59) 2024-06-06 17:24:28 +10:00
surface_load.h add a way for mods to get dynamic surfaces that belong to specific objects (#59) 2024-06-06 17:24:28 +10:00