Remove privacy poll & other tweaks/fixes (#2863)

changes:

Removed the privacy poll as it is unused.
Observing no longer creates a new mannequin, instead fetching one from SSmobs.
Observer ghosts now have a description again.
Converted new_player.dm to absolute pathing.
Fixed a bad init on holomaps.
Removed a sleep from light fixture Initialize().
Added a queue length stat to the MC panel for Icon Smoothing.
Halved time taken to create lighting overlay objects.
Species & body marking lists are now sorted alphabetically.
Commented out calls to lighting profiler to remove overhead of string interpolation in some procs.
Blood dries instantly if present during mapload instead of setting a timer.
This commit is contained in:
Lohikar
2017-07-01 13:53:39 -05:00
committed by skull132
parent de2efd09ac
commit 42f91d8117
16 changed files with 451 additions and 503 deletions

View File

@@ -65,13 +65,13 @@
update()
L_PROF(source_atom, "source_new([type])")
//L_PROF(source_atom, "source_new([type])")
return ..()
// Kill ourselves.
/datum/light_source/Destroy(force)
L_PROF(source_atom, "source_destroy")
//L_PROF(source_atom, "source_destroy")
remove_lum()
if (source_atom)
@@ -115,19 +115,19 @@
top_atom.light_sources += src // Add ourselves to the light sources of our new top atom.
L_PROF(source_atom, "source_update")
//L_PROF(source_atom, "source_update")
INTELLIGENT_UPDATE(LIGHTING_CHECK_UPDATE)
// Will force an update without checking if it's actually needed.
/datum/light_source/proc/force_update()
L_PROF(source_atom, "source_forceupdate")
//L_PROF(source_atom, "source_forceupdate")
INTELLIGENT_UPDATE(LIGHTING_FORCE_UPDATE)
// Will cause the light source to recalculate turfs that were removed or added to visibility only.
/datum/light_source/proc/vis_update()
L_PROF(source_atom, "source_visupdate")
//L_PROF(source_atom, "source_visupdate")
INTELLIGENT_UPDATE(LIGHTING_VIS_UPDATE)