mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Refactor the map loader (#39567)
* Remove duplicate initTemplateBounds method * Move dmmRegex var to the type that actually uses it * Keep a single, static map_loader datum * Combine maploader into parsed_map * Remove some redundant parameters from parsed_map/load * Move file2text into parsed_map/New * Narrow the scope of the map loading lock * Remove redundant xcrdStart var * Fix argument names in station reloader * Move offsets from parsing to loading only * Tidy argument handling on parsed_map/load * Store modelCache, track nonexistent atom paths * Use raw strings to specify the regexes * Remove cropMap from parsed_map/New * Don't parse maps twice when checking multi-z validity Speeds up SSmapping init by approximately 10%. * Bring the documentation (somewhat) up to speed * No, I don't know why this fixes it
This commit is contained in:
committed by
yogstation13-bot
parent
8efac61b1e
commit
33e92f0ab7
@@ -1738,7 +1738,6 @@
|
||||
#include "code\modules\lighting\lighting_setup.dm"
|
||||
#include "code\modules\lighting\lighting_source.dm"
|
||||
#include "code\modules\lighting\lighting_turf.dm"
|
||||
#include "code\modules\mapping\dmm_suite.dm"
|
||||
#include "code\modules\mapping\map_template.dm"
|
||||
#include "code\modules\mapping\mapping_helpers.dm"
|
||||
#include "code\modules\mapping\reader.dm"
|
||||
|
||||
Reference in New Issue
Block a user