Runtime map now loads in ~11 seconds instead of ~40, sped up various other things (#19957)

Runtime map now has a bunch of new areas / items with often-tested
stuffs, and some hard-to-put-at-runtime stuffs.
Runtime map jobs now are positioned to make it faster to reach the
aforementioned often-tested stuffs.
Runtime map doesn't generate an overmap anymore by default, which speeds
up the process.
Runtime map now loads in ~11 seconds instead of ~40 seconds as it was
before.
Updated the maploader to be faster in parsing maps.
Bapi is not engaged anymore if we're only measuring the map size, which
speeds up the process.
In fastboot we do not generate the codexes anymore, which speeds up the
process.
In fastboot and if exoplanets and away sites are not enabled, we do not
parse the map templates anymore, which speeds up the process.
Updated the icon smoothing to be faster.
Optimized cargo area code.
Other optimizations.
This commit is contained in:
Fluffy
2024-10-06 21:31:01 +00:00
committed by GitHub
parent 9636363e60
commit b8902e2e16
124 changed files with 1238 additions and 134598 deletions
+12 -7
View File
@@ -7,11 +7,7 @@
//Z1
list(ZTRAIT_STATION = TRUE, ZTRAIT_UP = TRUE, ZTRAIT_DOWN = FALSE),
//Z2
list(ZTRAIT_STATION = TRUE, ZTRAIT_UP = TRUE, ZTRAIT_DOWN = TRUE),
//Z3
list(ZTRAIT_STATION = TRUE, ZTRAIT_UP = FALSE, ZTRAIT_DOWN = TRUE),
//Centcomm
ZTRAITS_CENTCOM
)
force_spawnpoint = TRUE
@@ -20,9 +16,9 @@
lobby_transitions = 10 SECONDS
admin_levels = list(9)
contact_levels = list(1, 2, 3)
player_levels = list(1, 2, 3)
accessible_z_levels = list(1, 2, 3)
contact_levels = list(1, 2)
player_levels = list(1, 2)
accessible_z_levels = list(1, 2)
overmap_event_areas = 10
@@ -35,8 +31,11 @@
company_short = "BT"
station_type = "dumpster"
//If you're testing overmap stuff, remove the conditional definition
#if defined(UNIT_TEST)
use_overmap = TRUE
overmap_size = 35
#endif
shuttle_docked_message = "Attention all hands: Jump preparation complete. The bluespace drive is now spooling up, secure all stations for departure. Time to jump: approximately %ETA%."
shuttle_leaving_dock = "Attention all hands: Jump initiated, exiting bluespace in %ETA%."
@@ -76,3 +75,9 @@
lift_floor_label = "Under construction"
lift_floor_name = "Under construction"
ABSTRACT_TYPE(/obj/item/paper/fluff/runtime)
/obj/item/paper/fluff/runtime/dontforgetuseovermap
name = "Don't Forget use_overmap!"
info = SPAN_BOLD("Don't forget to remove the conditional preprocessor definition for use_overmap = TRUE in maps\\runtime\\code\\runtime.dm if you want to test overmap things, it's off to load even faster!")