mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-17 00:22:36 +00:00
Tweaked ui a bit, updated Credits, stubbed load menu, fixed crash when stopping helicopter, Stop order is now only emitted if player has entities selected.
This commit is contained in:
@@ -3,22 +3,18 @@ class IMICRTS
|
||||
def setup
|
||||
background [0xff7b6ead, 0xff7a0d71, 0xff7a0d71, 0xff7b6ead]
|
||||
|
||||
stack(width: 350, height: 1.0) do
|
||||
stack(width: IMICRTS::MENU_WIDTH, height: 1.0, padding: IMICRTS::MENU_PADDING) do
|
||||
background [0xff555555, Gosu::Color::GRAY]
|
||||
|
||||
label "Settings", text_size: 78, margin: 20
|
||||
|
||||
@skip_intro = check_box "Skip Intro", checked: Setting.enabled?(:skip_intro)
|
||||
|
||||
stack(width: 1.0) do
|
||||
background 0xff030303
|
||||
|
||||
label "Debug Settings"
|
||||
@debug_mode = check_box "Debug Mode", checked: Setting.enabled?(:debug_mode)
|
||||
@debug_info_bar = check_box "Show Debug Info Bar", checked: Setting.enabled?(:debug_info_bar)
|
||||
@debug_pathfinding = check_box "Debug Pathfinding", checked: Setting.enabled?(:debug_pathfinding)
|
||||
@debug_pathfinding_allow_diagonal = check_box "Allow Diagonal Paths", checked: Setting.enabled?(:debug_pathfinding_allow_diagonal)
|
||||
end
|
||||
label "Debug Settings", background: 0xff030303, width: 1.0, margin_top: 20
|
||||
@debug_mode = check_box "Debug Mode", checked: Setting.enabled?(:debug_mode)
|
||||
@debug_info_bar = check_box "Show Debug Info Bar", checked: Setting.enabled?(:debug_info_bar)
|
||||
@debug_pathfinding = check_box "Debug Pathfinding", checked: Setting.enabled?(:debug_pathfinding)
|
||||
@debug_pathfinding_allow_diagonal = check_box "Allow Diagonal Paths", checked: Setting.enabled?(:debug_pathfinding_allow_diagonal)
|
||||
|
||||
button("Save and Close", width: 1.0, margin_top: 20) do
|
||||
if valid_options?
|
||||
|
||||
Reference in New Issue
Block a user