mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 01:34:01 +00:00
Explicitly set lobby background layer (#91160)
Right now this is based on insertion order which is a bit gross and breaks event-base. No difference for us though
This commit is contained in:
@@ -314,12 +314,14 @@
|
|||||||
|
|
||||||
///Layer for lobby menu collapse button
|
///Layer for lobby menu collapse button
|
||||||
#define LOBBY_BELOW_MENU_LAYER 2
|
#define LOBBY_BELOW_MENU_LAYER 2
|
||||||
///Layer for lobby menu background image and main buttons (Join/Ready, Observe, Character Prefs)
|
/// Layer for background
|
||||||
#define LOBBY_MENU_LAYER 3
|
#define LOBBY_BACKGROUND_LAYER 3
|
||||||
|
///Layer for main buttons (Join/Ready, Observe, Character Prefs)
|
||||||
|
#define LOBBY_MENU_LAYER 4
|
||||||
///Layer for lobby menu shutter, which covers up the menu to collapse/expand it
|
///Layer for lobby menu shutter, which covers up the menu to collapse/expand it
|
||||||
#define LOBBY_SHUTTER_LAYER 4
|
#define LOBBY_SHUTTER_LAYER 5
|
||||||
///Layer for lobby menu buttons that are hanging away from and lower than the main panel
|
///Layer for lobby menu buttons that are hanging away from and lower than the main panel
|
||||||
#define LOBBY_BOTTOM_BUTTON_LAYER 5
|
#define LOBBY_BOTTOM_BUTTON_LAYER 6
|
||||||
|
|
||||||
///cinematics are "below" the splash screen
|
///cinematics are "below" the splash screen
|
||||||
#define CINEMATIC_LAYER -1
|
#define CINEMATIC_LAYER -1
|
||||||
|
|||||||
@@ -124,6 +124,7 @@
|
|||||||
/atom/movable/screen/lobby/background
|
/atom/movable/screen/lobby/background
|
||||||
icon = 'icons/hud/lobby/background.dmi'
|
icon = 'icons/hud/lobby/background.dmi'
|
||||||
icon_state = "background"
|
icon_state = "background"
|
||||||
|
layer = LOBBY_BACKGROUND_LAYER
|
||||||
screen_loc = "TOP,CENTER:-61"
|
screen_loc = "TOP,CENTER:-61"
|
||||||
|
|
||||||
/atom/movable/screen/lobby/button
|
/atom/movable/screen/lobby/button
|
||||||
|
|||||||
Reference in New Issue
Block a user