1 #ifndef _SPAWN_OBJECT_H 2 #define _SPAWN_OBJECT_H struct Object * create_object(u32 *behScript)
Spawn an object at the origin with the behavior script at virtual address behScript.
Definition: spawn_object.c:310
void init_free_object_list(void)
Add every object in the pool to the free object list.
Definition: spawn_object.c:133
u32 * behScript
Definition: types.h:151
void clear_object_lists(struct ObjectNode *objLists)
Clear each object list, without adding the objects back to the free list.
Definition: spawn_object.c:154
void mark_obj_for_deletion(struct Object *obj)
Mark an object to be unloaded at the end of the frame.
Definition: spawn_object.c:355
void unload_object(struct Object *obj)
Free the given object.
Definition: spawn_object.c:189
unsigned int u32
Definition: ultratypes.h:16