mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-11 10:22:13 +00:00
Low memory mode
This commit is contained in:
committed by
CitadelStationBot
parent
c6f227fc18
commit
f706605227
25
_maps/_basemap.dm
Normal file
25
_maps/_basemap.dm
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
//#define LOWMEMORYMODE //uncomment this to load centcom and runtime station and thats it.
|
||||||
|
|
||||||
|
#include "map_files\generic\CentCom.dmm"
|
||||||
|
#include "map_files\generic\SpaceStation.dmm"
|
||||||
|
|
||||||
|
#ifndef LOWMEMORYMODE
|
||||||
|
|
||||||
|
#include "map_files\generic\Space.dmm"
|
||||||
|
#include "map_files\generic\SpaceDock.dmm"
|
||||||
|
#include "map_files\Mining\Lavaland.dmm"
|
||||||
|
#include "map_files\generic\City_of_Cogs.dmm"
|
||||||
|
|
||||||
|
#ifdef ALL_MAPS
|
||||||
|
#include "map_files\debug\runtimestation.dmm"
|
||||||
|
#include "map_files\Deltastation\DeltaStation2.dmm"
|
||||||
|
#include "map_files\MetaStation\MetaStation.dmm"
|
||||||
|
#include "map_files\OmegaStation\OmegaStation.dmm"
|
||||||
|
#include "map_files\PubbyStation\PubbyStation.dmm"
|
||||||
|
#include "map_files\BoxStation\BoxStation.dmm"
|
||||||
|
|
||||||
|
#ifdef TRAVISBUILDING
|
||||||
|
#include "templates.dm"
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
@@ -18,6 +18,9 @@
|
|||||||
#endif // 1 to use the default behaviour;
|
#endif // 1 to use the default behaviour;
|
||||||
// 2 for preloading absolutely everything;
|
// 2 for preloading absolutely everything;
|
||||||
|
|
||||||
|
#ifdef LOWMEMORYMODE
|
||||||
|
#define FORCE_MAP "_maps/runtimestation.json"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define BACKGROUND_ENABLED 0 // The default value for all uses of set background. Set background can cause gradual lag and is recommended you only turn this on if necessary.
|
#define BACKGROUND_ENABLED 0 // The default value for all uses of set background. Set background can cause gradual lag and is recommended you only turn this on if necessary.
|
||||||
// 1 will enable set background. 0 will disable set background.
|
// 1 will enable set background. 0 will disable set background.
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ SUBSYSTEM_DEF(mapping)
|
|||||||
repopulate_sorted_areas()
|
repopulate_sorted_areas()
|
||||||
process_teleport_locs() //Sets up the wizard teleport locations
|
process_teleport_locs() //Sets up the wizard teleport locations
|
||||||
preloadTemplates()
|
preloadTemplates()
|
||||||
|
#ifndef LOWMEMORYMODE
|
||||||
// Create space levels
|
// Create space levels
|
||||||
for(var/I in 1 to ZLEVEL_SPACE_RUIN_COUNT)
|
for(var/I in 1 to ZLEVEL_SPACE_RUIN_COUNT)
|
||||||
add_new_zlevel("Empty Area [2 + I]", CROSSLINKED, list(ZTRAIT_SPACE_RUINS = TRUE))
|
add_new_zlevel("Empty Area [2 + I]", CROSSLINKED, list(ZTRAIT_SPACE_RUINS = TRUE))
|
||||||
@@ -67,7 +67,7 @@ SUBSYSTEM_DEF(mapping)
|
|||||||
if (space_ruins.len)
|
if (space_ruins.len)
|
||||||
seedRuins(space_ruins, CONFIG_GET(number/space_budget), /area/space, space_ruins_templates)
|
seedRuins(space_ruins, CONFIG_GET(number/space_budget), /area/space, space_ruins_templates)
|
||||||
loading_ruins = FALSE
|
loading_ruins = FALSE
|
||||||
|
#endif
|
||||||
repopulate_sorted_areas()
|
repopulate_sorted_areas()
|
||||||
// Set up Z-level transitions.
|
// Set up Z-level transitions.
|
||||||
setup_map_transitions()
|
setup_map_transitions()
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
// END_PREFERENCES
|
// END_PREFERENCES
|
||||||
|
|
||||||
// BEGIN_INCLUDE
|
// BEGIN_INCLUDE
|
||||||
#include "_maps\basemap.dm"
|
#include "_maps\_basemap.dm"
|
||||||
#include "code\_compile_options.dm"
|
#include "code\_compile_options.dm"
|
||||||
#include "code\world.dm"
|
#include "code\world.dm"
|
||||||
#include "code\__DATASTRUCTURES\globals.dm"
|
#include "code\__DATASTRUCTURES\globals.dm"
|
||||||
|
|||||||
Reference in New Issue
Block a user