Add stub surfaces_unload_object
This commit is contained in:
@@ -192,4 +192,5 @@ SM64_LIB_FN void sm64_move_object( uint32_t id, const struct SM64ObjectTransform
|
|||||||
|
|
||||||
SM64_LIB_FN void sm64_unload_object( uint32_t id )
|
SM64_LIB_FN void sm64_unload_object( uint32_t id )
|
||||||
{
|
{
|
||||||
|
surfaces_unload_object( id );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -253,6 +253,11 @@ uint32_t surfaces_load_object( const struct SM64SurfaceObject *surfaceObject )
|
|||||||
return idx;
|
return idx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void surfaces_unload_object( uint32_t objId )
|
||||||
|
{
|
||||||
|
// TODO implement
|
||||||
|
}
|
||||||
|
|
||||||
void surface_object_update_transform( uint32_t objId, const struct SM64ObjectTransform *newTransform )
|
void surface_object_update_transform( uint32_t objId, const struct SM64ObjectTransform *newTransform )
|
||||||
{
|
{
|
||||||
update_transform( &s_surface_object_list[objId].transform, newTransform );
|
update_transform( &s_surface_object_list[objId].transform, newTransform );
|
||||||
|
|||||||
@@ -9,4 +9,5 @@ extern void update_dynamic_surface_list( void );
|
|||||||
extern void surfaces_load_static_libsm64( const struct SM64Surface *surfaceArray, uint32_t numSurfaces );
|
extern void surfaces_load_static_libsm64( const struct SM64Surface *surfaceArray, uint32_t numSurfaces );
|
||||||
extern uint32_t surfaces_load_object( const struct SM64SurfaceObject *surfaceObject );
|
extern uint32_t surfaces_load_object( const struct SM64SurfaceObject *surfaceObject );
|
||||||
extern void surface_object_update_transform( uint32_t objId, const struct SM64ObjectTransform *newTransform );
|
extern void surface_object_update_transform( uint32_t objId, const struct SM64ObjectTransform *newTransform );
|
||||||
|
extern void surfaces_unload_object( uint32_t objId );
|
||||||
extern void surfaces_unload_all( void );
|
extern void surfaces_unload_all( void );
|
||||||
Reference in New Issue
Block a user