mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
* Polaris initial plane upstream merge * POLARIS: Fix RIG visors with new plane system, and material scanner VIS_FULLBRIGHT * POLARIS: Fix GetFlatIcon so that cameras and id pictures don't show the HUD overlays. * POLARIS: Adds a 'alter values' proc for plane master ease of tweaking Setting stuff like colorblindness variety and things. * Remove NIF reference, fix lighting layer define * Handle effects above lighting plane * Moved all layer defines to planes+layers.dm * Fixed overlays that are supposed to be above lighting to use the PLANE_LIGHTING_ABOVE * Merge: 3000% human/update_icons() speed improvement * Merge: Avoid ghosts pointing at things
97 lines
1.7 KiB
Plaintext
97 lines
1.7 KiB
Plaintext
//Most of these are defined at this level to reduce on checks elsewhere in the code.
|
|
//Having them here also makes for a nice reference list of the various overlay-updating procs available
|
|
|
|
/mob/proc/regenerate_icons() //TODO: phase this out completely if possible
|
|
return
|
|
|
|
/mob/proc/update_icons()
|
|
return
|
|
|
|
/mob/proc/update_icons_layers(var/update_icons = TRUE)
|
|
if(update_icons)
|
|
update_icons()
|
|
|
|
/mob/proc/update_icons_huds(var/update_icons = TRUE)
|
|
if(update_icons)
|
|
update_icons()
|
|
|
|
/mob/proc/update_icons_body(var/update_icons = TRUE)
|
|
if(update_icons)
|
|
update_icons()
|
|
|
|
/mob/proc/update_icons_all()
|
|
update_icons_huds(FALSE)
|
|
update_icons_body(FALSE)
|
|
update_icons_layers(FALSE)
|
|
|
|
update_icons()
|
|
|
|
/mob/proc/update_hud()
|
|
return
|
|
|
|
/mob/proc/update_inv_handcuffed()
|
|
return
|
|
|
|
/mob/proc/update_inv_legcuffed()
|
|
return
|
|
|
|
/mob/proc/update_inv_back()
|
|
return
|
|
|
|
/mob/proc/update_inv_active_hand()
|
|
return
|
|
|
|
/mob/living/update_inv_active_hand(var/A)
|
|
if(hand)
|
|
update_inv_l_hand(A)
|
|
else
|
|
update_inv_r_hand(A)
|
|
|
|
/mob/proc/update_inv_l_hand()
|
|
return
|
|
|
|
/mob/proc/update_inv_r_hand()
|
|
return
|
|
|
|
/mob/proc/update_inv_wear_mask()
|
|
return
|
|
|
|
/mob/proc/update_inv_wear_suit()
|
|
return
|
|
|
|
/mob/proc/update_inv_w_uniform()
|
|
return
|
|
|
|
/mob/proc/update_inv_belt()
|
|
return
|
|
|
|
/mob/proc/update_inv_head()
|
|
return
|
|
|
|
/mob/proc/update_inv_gloves()
|
|
return
|
|
|
|
/mob/proc/update_mutations()
|
|
return
|
|
|
|
/mob/proc/update_inv_wear_id()
|
|
return
|
|
|
|
/mob/proc/update_inv_shoes()
|
|
return
|
|
|
|
/mob/proc/update_inv_glasses()
|
|
return
|
|
|
|
/mob/proc/update_inv_s_store()
|
|
return
|
|
|
|
/mob/proc/update_inv_pockets()
|
|
return
|
|
|
|
/mob/proc/update_inv_ears()
|
|
return
|
|
|
|
/mob/proc/update_targeted()
|
|
return
|