Add bapi-dmm to reduce startup time by... a lot (#16148)

* Add bapi-dmm, a rust maploader that goes BRRRRRRR

* A few more maps switched away from file paths

* Update to include 48f4879d8704cb057a (better path error handling)
This commit is contained in:
ShadowLarkens
2024-10-26 13:32:41 +02:00
committed by GitHub
parent 1375d4c23b
commit a8affbd4ae
68 changed files with 1224 additions and 2936 deletions
+7
View File
@@ -1,5 +1,7 @@
// Areas.dm
GLOBAL_LIST_EMPTY(areas_by_type)
/area
var/fire = null
var/atmos = 1
@@ -55,6 +57,11 @@
var/no_spoilers = FALSE // If true, makes it much more difficult to see what is inside an area with things like mesons.
var/soundproofed = FALSE // If true, blocks sounds from other areas and prevents hearers on other areas from hearing the sounds within.
/area/New()
// Used by the maploader, this must be done in New, not init
GLOB.areas_by_type[type] = src
return ..()
/area/Initialize()
. = ..()
luminosity = !(dynamic_lighting)