plane_master_group 
Datum that represents one "group" of plane masters So all the main window planes would be in one, all the spyglass planes in another Etc
Vars | |
| active_offset | Think of multiz as a stack of z levels. Each index in that stack has its own group of plane masters This variable is the plane offset our perpsective is currently "on" We use it to track what we should show/not show Goes from 0 to the max (z level stack size - 1) |
|---|---|
| key | Our key in the group list on /datum/hud Should be unique for any group of plane masters in the world |
| map | What, if any, submap we render onto |
| our_hud | Our parent hud |
| perspective | The atom whose "perspective" we are viewing the world from |
| plane_masters | List in the form "[plane]" = object, the plane masters we own |
| relay_loc | Controls the screen_loc that owned plane masters will use when generating relays. Due to a Byond bug, relays using the CENTER positional loc Will be improperly offset |
Procs | |
| attach_to | Display a plane master group to some viewer, so show all our planes to it |
| build_plane_masters | Actually generate our plane masters, in some offset range (where offset is the z layers to render to, because each "layer" in a multiz stack gets its own plane master cube) |
| get_perspective | Returns the perspective we are viewing with this plane master group, null if there is none |
| get_plane | Nice wrapper for the "[]"ing |
| get_plane_types | Returns a list of all the plane master types we want to create |
| prep_plane_instance | Similarly, exists so subtypes can do unique behavior to planes on creation |
| rebuild_hud | Fully regenerate our group, resetting our planes to their compile time values |
| rebuild_plane_masters | Regenerate our plane masters, this is useful if we don't have a mob but still want to rebuild. Such in the case of changing the screen_loc of relays |
| refresh_hud | Well, refresh our group, mostly useful for plane specific updates |
| refresh_planes_offset | Regenerates plane offsets, done if we suspect something may have changed |
| set_hud | Hooks outselves into the passed in hud Returns TRUE if meaningful, FALSE otherwise |
| should_scale | Returns TRUE if we should scale our planes with depth, FALSE otherwise |
| show_plane | This is mostly a proc so it can be overriden by popups, since they have unique behavior they want to do |
Var Details
active_offset 
Think of multiz as a stack of z levels. Each index in that stack has its own group of plane masters This variable is the plane offset our perpsective is currently "on" We use it to track what we should show/not show Goes from 0 to the max (z level stack size - 1)
key 
Our key in the group list on /datum/hud Should be unique for any group of plane masters in the world
map 
What, if any, submap we render onto
our_hud 
Our parent hud
perspective 
The atom whose "perspective" we are viewing the world from
plane_masters 
List in the form "[plane]" = object, the plane masters we own
relay_loc 
Controls the screen_loc that owned plane masters will use when generating relays. Due to a Byond bug, relays using the CENTER positional loc Will be improperly offset
Proc Details
attach_to
Display a plane master group to some viewer, so show all our planes to it
build_plane_masters
Actually generate our plane masters, in some offset range (where offset is the z layers to render to, because each "layer" in a multiz stack gets its own plane master cube)
get_perspective
Returns the perspective we are viewing with this plane master group, null if there is none
get_plane
Nice wrapper for the "[]"ing
get_plane_types
Returns a list of all the plane master types we want to create
prep_plane_instance
Similarly, exists so subtypes can do unique behavior to planes on creation
rebuild_hud
Fully regenerate our group, resetting our planes to their compile time values
rebuild_plane_masters
Regenerate our plane masters, this is useful if we don't have a mob but still want to rebuild. Such in the case of changing the screen_loc of relays
refresh_hud
Well, refresh our group, mostly useful for plane specific updates
refresh_planes_offset
Regenerates plane offsets, done if we suspect something may have changed
set_hud
Hooks outselves into the passed in hud Returns TRUE if meaningful, FALSE otherwise
should_scale
Returns TRUE if we should scale our planes with depth, FALSE otherwise
show_plane
This is mostly a proc so it can be overriden by popups, since they have unique behavior they want to do