mapping
Vars | |
biomes | All possible biomes in assoc list as type || instance |
---|---|
critical_planes | List of plane masters that are of critical priority |
map_zones | List of all map zones |
max_plane_offset | The largest plane offset we've generated so far |
plane_offset_blacklist | List of planes that do not allow for offsetting |
plane_offset_to_true | Assoc list of string plane values to their true, non offset representation |
plane_to_offset | Assoc list of string plane to the plane's offset value |
render_offset_blacklist | List of render targets that do not allow for offsetting |
true_to_offset_planes | Assoc list of true string plane values to a list of all potential offset planess |
virtual_z_translation | Translation of virtual level ID to a virtual level reference |
z_level_to_lowest_plane_offset | List of z level (as number) -> The lowest plane offset in that z stack |
z_level_to_plane_offset | List of z level (as number) -> plane offset of that z level Used to maintain the plane cube |
Procs | |
add_new_zlevel | Adds new physical space level. DO NOT USE THIS TO LOAD SOMETHING NEW. SSmapping.get_free_allocation() will create any levels nessecary and pass you coordinates to create a new virtual level |
create_map_zone | Sanity Methodical trial and error method Creates and passes a new map zone |
create_virtual_level | Allocates, creates and passes a new virtual level |
find_allocation_in_level | None of the levels could faciliate a new allocation, make a new one Finds a box allocation inside a Z level. Uses a methodical box boundary check method |
get_free_allocation | Searches for a free allocation for the passed type and size, creates new physical levels if nessecary. |
init_reserved_levels | Creates basic physical levels so we dont have to do that during runtime every time, nothing bad will happen if this wont run, as allocation will handle adding new levels |
initialize_biomes | Initialize all biomes, assoc as type || instance |
Var Details
biomes
All possible biomes in assoc list as type || instance
critical_planes
List of plane masters that are of critical priority
map_zones
List of all map zones
max_plane_offset
The largest plane offset we've generated so far
plane_offset_blacklist
List of planes that do not allow for offsetting
plane_offset_to_true
Assoc list of string plane values to their true, non offset representation
plane_to_offset
Assoc list of string plane to the plane's offset value
render_offset_blacklist
List of render targets that do not allow for offsetting
true_to_offset_planes
Assoc list of true string plane values to a list of all potential offset planess
virtual_z_translation
Translation of virtual level ID to a virtual level reference
z_level_to_lowest_plane_offset
List of z level (as number) -> The lowest plane offset in that z stack
z_level_to_plane_offset
List of z level (as number) -> plane offset of that z level Used to maintain the plane cube
Proc Details
add_new_zlevel
Adds new physical space level. DO NOT USE THIS TO LOAD SOMETHING NEW. SSmapping.get_free_allocation() will create any levels nessecary and pass you coordinates to create a new virtual level
create_map_zone
Sanity Methodical trial and error method Creates and passes a new map zone
create_virtual_level
Allocates, creates and passes a new virtual level
find_allocation_in_level
None of the levels could faciliate a new allocation, make a new one Finds a box allocation inside a Z level. Uses a methodical box boundary check method
get_free_allocation
Searches for a free allocation for the passed type and size, creates new physical levels if nessecary.
init_reserved_levels
Creates basic physical levels so we dont have to do that during runtime every time, nothing bad will happen if this wont run, as allocation will handle adding new levels
initialize_biomes
Initialize all biomes, assoc as type || instance