Skip to content

Commit

Permalink
faster lobby art init during world start (cmss13-devs#4205)
Browse files Browse the repository at this point in the history
the lobby art subsystem may as well start a little faster so people
don't see through the illusion during atom init

:cl:
add: you always see lobby art while the world is setting up
/:cl:
  • Loading branch information
harryob committed Aug 22, 2023
1 parent b348ed3 commit 552ac06
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 20 deletions.
2 changes: 1 addition & 1 deletion code/__DEFINES/subsystems.dm
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
#define SS_INIT_INPUT 85
#define SS_INIT_FAIL_TO_TOPIC 84
#define SS_INIT_TOPIC 83
#define SS_INIT_LOBBYART 82
#define SS_INIT_RUST 30
#define SS_INIT_INFLUXDRIVER 28
#define SS_INIT_SUPPLY_SHUTTLE 25
Expand Down Expand Up @@ -162,7 +163,6 @@
#define SS_INIT_PLAYTIME -29
#define SS_INIT_PREDSHIPS -30
#define SS_INIT_OBJECTIVES -31
#define SS_INIT_LOBBYART -33
#define SS_INIT_MINIMAP -34
#define SS_INIT_STATPANELS -98
#define SS_INIT_CHAT -100 //Should be last to ensure chat remains smooth during init.
Expand Down
2 changes: 2 additions & 0 deletions code/game/turfs/walls/wall_types.dm
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@
icon_state = "fakewindows"
opacity = FALSE

INITIALIZE_IMMEDIATE(/turf/closed/wall/indestructible/splashscreen)

/turf/closed/wall/indestructible/splashscreen
name = "Lobby Art"
desc = "Assorted artworks."
Expand Down
2 changes: 1 addition & 1 deletion config/example/custom_items.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ckey: name: /path/to/obj
ckey: name: /path/to/obj
36 changes: 18 additions & 18 deletions config/example/forumdbconfig.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# This configuration file is for the forum database, if you need to set up
# population, death, etc. tracking see 'dbconfig.txt'
# The login credentials for this will likely differ from those in dbconfig.txt!
# Server the MySQL database can be found at
# Examples: localhost, 200.135.5.43, www.mysqldb.com, etc.
ADDRESS localhost
# MySQL server port (default is 3306)
PORT 3306
# Database the forum data may be found in
DATABASE tgstation13
# Username/Login used to access the database
LOGIN mylogin
# Password used to access the database
# This configuration file is for the forum database, if you need to set up
# population, death, etc. tracking see 'dbconfig.txt'
# The login credentials for this will likely differ from those in dbconfig.txt!

# Server the MySQL database can be found at
# Examples: localhost, 200.135.5.43, www.mysqldb.com, etc.
ADDRESS localhost

# MySQL server port (default is 3306)
PORT 3306

# Database the forum data may be found in
DATABASE tgstation13

# Username/Login used to access the database
LOGIN mylogin

# Password used to access the database
PASSWORD mypassword

0 comments on commit 552ac06

Please sign in to comment.