From 300fefe2dc8dfa8a5cd47736cf6480380504101f Mon Sep 17 00:00:00 2001 From: Spartan322 Date: Mon, 5 Feb 2024 14:02:13 -0500 Subject: Add GameInfo button to MainMenu Add clarifications to ReleaseInfoBox buttons --- game/assets/graphics/theme/main_menu.tres | 21 ++++++++++++++++++++- game/assets/localisation/locales/en_GB/menus.csv | 6 +++++- game/assets/localisation/locales/en_US/menus.csv | 6 +++++- 3 files changed, 30 insertions(+), 3 deletions(-) (limited to 'game/assets') diff --git a/game/assets/graphics/theme/main_menu.tres b/game/assets/graphics/theme/main_menu.tres index d79184c..c39d030 100644 --- a/game/assets/graphics/theme/main_menu.tres +++ b/game/assets/graphics/theme/main_menu.tres @@ -1,4 +1,4 @@ -[gd_resource type="Theme" load_steps=32 format=3 uid="uid://qoi3oec48jp0"] +[gd_resource type="Theme" load_steps=37 format=3 uid="uid://qoi3oec48jp0"] [ext_resource type="Script" path="res://src/Game/Theme/StyleBoxCombinedTexture.gd" id="1_axke7"] [ext_resource type="Script" path="res://src/Game/Theme/TextureSetting.gd" id="2_7bwl2"] @@ -81,6 +81,16 @@ texture_settings = Array[ExtResource("2_7bwl2")]([SubResource("Resource_hxpog"), [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_1qcrh"] +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_yfar7"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_m16nl"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_exmmj"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_k4wq5"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_nm664"] + [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_dd2b8"] content_margin_left = 20.0 content_margin_top = 10.0 @@ -169,6 +179,15 @@ CommitLabel/styles/focus = SubResource("StyleBoxEmpty_1qwxu") CommitLabel/styles/hover = SubResource("StyleBoxEmpty_myxhv") CommitLabel/styles/normal = SubResource("StyleBoxEmpty_kmfi1") CommitLabel/styles/pressed = SubResource("StyleBoxEmpty_1qcrh") +GameInfoButton/base_type = &"Button" +GameInfoButton/colors/font_hover_color = Color(0.360784, 0.360784, 0.360784, 1) +GameInfoButton/colors/font_hover_pressed_color = Color(0.215686, 0.215686, 0.215686, 1) +GameInfoButton/colors/font_pressed_color = Color(0.215686, 0.215686, 0.215686, 1) +GameInfoButton/styles/disabled = SubResource("StyleBoxEmpty_yfar7") +GameInfoButton/styles/focus = SubResource("StyleBoxEmpty_m16nl") +GameInfoButton/styles/hover = SubResource("StyleBoxEmpty_exmmj") +GameInfoButton/styles/normal = SubResource("StyleBoxEmpty_k4wq5") +GameInfoButton/styles/pressed = SubResource("StyleBoxEmpty_nm664") TitleButton/base_type = &"Button" TitleButton/colors/font_color = Color(0.87451, 0.87451, 0.87451, 1) TitleButton/colors/font_disabled_color = Color(0.87451, 0.87451, 0.87451, 0.501961) diff --git a/game/assets/localisation/locales/en_GB/menus.csv b/game/assets/localisation/locales/en_GB/menus.csv index f329342..67e3519 100644 --- a/game/assets/localisation/locales/en_GB/menus.csv +++ b/game/assets/localisation/locales/en_GB/menus.csv @@ -11,7 +11,11 @@ MAINMENU_MULTIPLAYER;Multiplayer MAINMENU_OPTIONS;Options MAINMENU_CREDITS;Credits MAINMENU_EXIT;Exit -MAINMENU_CHECKSUM;Checksum {checksum} +MAIMENU_LATEST_RELEASE_NAME;Latest Release Name: {release_name} +MAIMENU_COMMIT;Commit: {short_hash} +MAINMENU_CHECKSUM;Checksum: {short_checksum} +MAINMENU_CHECKSUM_TOOLTIP;Checksum {checksum} +MAINMENU_GAME_INFO;Game Info ;; Options OPTIONS_RESET;R diff --git a/game/assets/localisation/locales/en_US/menus.csv b/game/assets/localisation/locales/en_US/menus.csv index 1312f3b..3b4b9e8 100644 --- a/game/assets/localisation/locales/en_US/menus.csv +++ b/game/assets/localisation/locales/en_US/menus.csv @@ -7,7 +7,11 @@ MAINMENU_MULTIPLAYER;Multiplayer MAINMENU_OPTIONS;Options MAINMENU_CREDITS;Credits MAINMENU_EXIT;Exit -MAINMENU_CHECKSUM;Checksum {checksum} +MAIMENU_LATEST_RELEASE_NAME;Latest Release Name: {release_name} +MAIMENU_COMMIT;Commit: {short_hash} +MAINMENU_CHECKSUM;Checksum: {short_checksum} +MAINMENU_CHECKSUM_TOOLTIP;Checksum {checksum} +MAINMENU_GAME_INFO;Game Info ;; Options OPTIONS_RESET;R -- cgit v1.2.3-56-ga3b1