zcopy 
Vars | |
| deferred_discoveries | How many times did we have to recursively discover? This overlaps with the discovery total. |
|---|---|
| fake_shadower | Looks like a shadower, isn't really. Glorified image, only a movable for AO purposes. |
| fixup_cache | Cache of already mangled [old_appearance] = mangled_appearance mappings. |
| fixup_hit | How many appearances were passed to fixup and were found in fixup_cache or fixup_known_good? |
| fixup_known_good | Cache of known-valid (no layering violations) appearances. |
| fixup_miss | How many appearances required active mangling? |
| fixup_noop | How many appearances were passed to fixup but did not require mangling? |
| multiqueue_skips_object | How many times did we skip a redundant object update due to not being the most recent update? |
| multiqueue_skips_turf | How many times did we skip a redundant turf update due to not being the most recent update? |
| total_boundary_demotions | How many turfs were demoted from mimic to boundary? |
| total_boundary_promotions | How many turfs were promoted from boundary to mimic? |
| total_boundary_removals | How many boundaries were made non-z turfs? |
| total_boundary_reocclusion | How many times was a boundary removed by a ZM turf being changed to a non-mimic? |
| zlev_maximums | Highest Z level in a given Z-group for absolute layering. zlev_maximums[z] = group_max. |
Procs | |
| calculate_zstack_limits | (Re)generate Z-group information. You should run this every time world.maxz (or z-connections) change. ZM's behavior is undefined between resizing the world and calling this proc. |
| fixup_appearance_planes | Generate a new appearance from appearance with planes mangled to work with Z-Mimic. Do not pass a depth. |
| unsupported_rebuild_z_state | Fully reset Z-Mimic, rebuilding state from scratch. Use this if you change Z-stack mappings after Z-Mimic has initialized. Expensive. WARNING: This is completely unsupported. It will probably irreversibly corrupt Z-lighting in changed Z-groups. Use at own risk. |
| update_lighting | Update the passed turf's shadower from the lighting object below it. |
| update_mimic_layering | Regenerate a mimic's layering and render slice membership information. This does not recursively update. It's valid to call this on a mimic that is located on a non-mimic turf, but it must be on a turf. |
| update_mimic_occlusion | Update if a mimic should be hidden from right-click, usually by it being underneath a non-mimic turf. |
Var Details
deferred_discoveries 
How many times did we have to recursively discover? This overlaps with the discovery total.
fake_shadower 
Looks like a shadower, isn't really. Glorified image, only a movable for AO purposes.
fixup_cache 
Cache of already mangled [old_appearance] = mangled_appearance mappings.
fixup_hit 
How many appearances were passed to fixup and were found in fixup_cache or fixup_known_good?
fixup_known_good 
Cache of known-valid (no layering violations) appearances.
fixup_miss 
How many appearances required active mangling?
fixup_noop 
How many appearances were passed to fixup but did not require mangling?
multiqueue_skips_object 
How many times did we skip a redundant object update due to not being the most recent update?
multiqueue_skips_turf 
How many times did we skip a redundant turf update due to not being the most recent update?
total_boundary_demotions 
How many turfs were demoted from mimic to boundary?
total_boundary_promotions 
How many turfs were promoted from boundary to mimic?
total_boundary_removals 
How many boundaries were made non-z turfs?
total_boundary_reocclusion 
How many times was a boundary removed by a ZM turf being changed to a non-mimic?
zlev_maximums 
Highest Z level in a given Z-group for absolute layering. zlev_maximums[z] = group_max.
Proc Details
calculate_zstack_limits
(Re)generate Z-group information. You should run this every time world.maxz (or z-connections) change. ZM's behavior is undefined between resizing the world and calling this proc.
fixup_appearance_planes
Generate a new appearance from appearance with planes mangled to work with Z-Mimic. Do not pass a depth.
unsupported_rebuild_z_state
Fully reset Z-Mimic, rebuilding state from scratch. Use this if you change Z-stack mappings after Z-Mimic has initialized. Expensive. WARNING: This is completely unsupported. It will probably irreversibly corrupt Z-lighting in changed Z-groups. Use at own risk.
update_lighting
Update the passed turf's shadower from the lighting object below it.
update_mimic_layering
Regenerate a mimic's layering and render slice membership information. This does not recursively update. It's valid to call this on a mimic that is located on a non-mimic turf, but it must be on a turf.
update_mimic_occlusion
Update if a mimic should be hidden from right-click, usually by it being underneath a non-mimic turf.