Port VOREStation PR 6914 Speed up map load significantly

- Set initialized = FALSE on unsimulated turfs that need to intialize.
- Most of area/New() to initialize
- Faster lookup of self-init on atoms
- Split air alarm and fire alarm files, move new to initialize
- Tweak decals and opacity

Co-authored-by: Aronai Sieyes <arokha@arokha.com>
Co-authored-by: Leshana <Leshana@users.noreply.github.com>
This commit is contained in:
ShadowLarkens
2020-03-27 20:37:02 -04:00
committed by Leshana
co-authored by Aronai Sieyes Leshana
parent dfda8ea952
commit 6b802b61e8
37 changed files with 539 additions and 581 deletions
+1 -2
View File
@@ -16,8 +16,7 @@ SUBSYSTEM_DEF(mapping)
if(config.generate_map)
// Map-gen is still very specific to the map, however putting it here should ensure it loads in the correct order.
if(using_map.perform_map_generation())
using_map.refresh_mining_turfs()
using_map.perform_map_generation()
/datum/controller/subsystem/mapping/proc/load_map_templates()