mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 09:42:29 +00:00
## About The Pull Request - Change `_basemap.dm` so instead of templates being included when `CIBUILDING` is defined, it's based off a separate `ALL_TEMPLATES` flag, like `ALL_MAPS`, also made it not dependent on `ALL_MAPS` being defined, so the two can run separately - Changes build.js to generate `templates.dm` with the `ALL_TEMPLATES` flag instead of `ALL_MAPS` - Change the compile all maps workflow to have two separate jobs, one that does `ALL_MAPS` and one that does `ALL_TEMPLATES` ## Why It's Good For The Game The downstreams are starting to run out of memory during this workflow because we have extra templates and maps, splitting it this way should alleviate that problem (for rough, non-scientific numbers: Combined workflow reaches 3.5GB and then crashes during holodeck templates using bubber code, split like this the maps workflow reaches 1GB and finishes, the templates workflow reaches 1.5GB and finishes) ## Changelog No player facing changes
23 lines
799 B
Plaintext
23 lines
799 B
Plaintext
//#define LOWMEMORYMODE //uncomment this to load centcom and runtime station and thats it.
|
|
|
|
#include "map_files\generic\CentCom.dmm"
|
|
|
|
#ifndef LOWMEMORYMODE
|
|
#ifdef ALL_MAPS
|
|
#include "map_files\Birdshot\birdshot.dmm"
|
|
#include "map_files\debug\multiz.dmm"
|
|
#include "map_files\debug\runtimestation.dmm"
|
|
#include "map_files\Deltastation\DeltaStation2.dmm"
|
|
#include "map_files\IceBoxStation\IceBoxStation.dmm"
|
|
#include "map_files\MetaStation\MetaStation.dmm"
|
|
#include "map_files\Mining\Lavaland.dmm"
|
|
#include "map_files\tramstation\tramstation.dmm"
|
|
#include "map_files\CatwalkStation\CatwalkStation_2023.dmm"
|
|
#include "map_files\NebulaStation\NebulaStation.dmm"
|
|
#include "map_files\wawastation\wawastation.dmm"
|
|
#endif
|
|
#ifdef ALL_TEMPLATES
|
|
#include "templates.dm"
|
|
#endif
|
|
#endif
|