Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QUICKSTART define #11912

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _maps/_basemap.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//#define LOWMEMORYMODE //uncomment this to load centcom and runtime station and thats it.
//#define QUICKSTART // uncomment this to start the round immidiately when ready and automatically spawn players with debug outfit

// uncomment this for a map you need to use
// #define FORCE_MAP "corgstation"
Expand Down
5 changes: 5 additions & 0 deletions code/_compile_options.dm
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@
#endif
#endif

//#define QUICKSTART
#ifdef QUICKSTART
#warn WARNING: Compiling with QUICKSTART.
#endif

//TODO Remove the SDMM check when it supports 1568
#if !defined(SPACEMAN_DMM) && (DM_VERSION < MIN_COMPILER_VERSION || DM_BUILD < MIN_COMPILER_BUILD) && !defined(FASTDMM)
//Don't forget to update this part
Expand All @@ -104,7 +109,7 @@
#define MAX_COMPILER_VERSION 514
#define MAX_COMPILER_BUILD 1589
#if DM_VERSION > MAX_COMPILER_VERSION || DM_BUILD > MAX_COMPILER_BUILD
#warn WARNING: Your BYOND version is over the recommended version (514.1589)! Stability is not guaranteed.

Check warning on line 112 in code/_compile_options.dm

View workflow job for this annotation

GitHub Actions / Run Linters

OD1201: #warn WARNING: Your BYOND version is over the recommended version (514.1589)! Stability is not guaranteed.
#endif
//Log the full sendmaps profile on 514.1556+, any earlier and we get bugs or it not existing
#if DM_VERSION >= 514 && DM_BUILD >= 1556
Expand Down
6 changes: 5 additions & 1 deletion code/controllers/subsystem/job.dm
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,11 @@ SUBSYSTEM_DEF(job)
living_mob.mind.assigned_role = rank
to_chat(M, "<b>You are the [rank].</b>")
if(job)
var/new_mob = job.equip(living_mob, null, null, joined_late , null, M.client)
var/override_outfit = null
#ifdef QUICKSTART
override_outfit = /datum/outfit/debug
#endif
var/new_mob = job.equip(living_mob, null, null, joined_late , override_outfit, M.client)
EvilDragonfiend marked this conversation as resolved.
Show resolved Hide resolved
if(ismob(new_mob))
living_mob = new_mob
if(!joined_late)
Expand Down
4 changes: 4 additions & 0 deletions code/controllers/subsystem/ticker.dm
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ SUBSYSTEM_DEF(ticker)
var/emergency_start = FALSE

/datum/controller/subsystem/ticker/Initialize()
#ifdef QUICKSTART
start_immediately = TRUE
#endif

load_mode()

var/list/byond_sound_formats = list(
Expand Down
3 changes: 3 additions & 0 deletions code/modules/mob/dead/new_player/new_player.dm
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
var/ineligible_for_roles = FALSE

/mob/dead/new_player/Initialize(mapload)
#ifdef QUICKSTART
ready = TRUE
#endif
if(client && SSticker.state == GAME_STATE_STARTUP)
var/atom/movable/screen/splash/S = new(null, client, TRUE, TRUE)
S.Fade(TRUE)
Expand Down
Loading