Go to the source code of this file.
|
void | alloc_surface_pools (void) |
| Allocate some of the main pool for surfaces (2300 surf) and for surface nodes (7000 nodes). More...
|
|
void | load_area_terrain (s16 index, s16 *data, s8 *surfaceRooms, s16 *macroObjects) |
| Process the level file, loading in vertices, surfaces, some objects, and environmental boxes (water, gas, JRB fog). More...
|
|
void | clear_dynamic_surfaces (void) |
| If not in time stop, clear the surface partitions. More...
|
|
void | load_object_collision_model (void) |
| Transform an object's vertices, reload them, and render the object. More...
|
|
◆ SpatialPartitionCell
◆ anonymous enum
Enumerator |
---|
SPATIAL_PARTITION_FLOORS | |
SPATIAL_PARTITION_CEILS | |
SPATIAL_PARTITION_WALLS | |
◆ alloc_surface_pools()
Allocate some of the main pool for surfaces (2300 surf) and for surface nodes (7000 nodes).
◆ clear_dynamic_surfaces()
If not in time stop, clear the surface partitions.
◆ load_area_terrain()
void load_area_terrain |
( |
s16 |
index, |
|
|
s16 * |
data, |
|
|
s8 * |
surfaceRooms, |
|
|
s16 * |
macroObjects |
|
) |
| |
Process the level file, loading in vertices, surfaces, some objects, and environmental boxes (water, gas, JRB fog).
◆ load_object_collision_model()
void load_object_collision_model |
( |
void |
| ) |
|
Transform an object's vertices, reload them, and render the object.
◆ gDynamicSurfacePartition
◆ gStaticSurfacePartition
Partitions for course and object surfaces.
The arrays represent the 16x16 cells that each level is split into.
◆ sSurfaceNodePool
Pools of data to contain either surface nodes or surfaces.
◆ sSurfacePool
◆ sSurfacePoolSize
The size of the surface pool (2300).
◆ unused8038BE90