aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/global.gd5
-rw-r--r--client/menu/about.gd19
-rw-r--r--client/menu/about.tscn6
-rw-r--r--locale/en.ini15
4 files changed, 39 insertions, 6 deletions
diff --git a/client/global.gd b/client/global.gd
index 2a2e8048..135d504a 100644
--- a/client/global.gd
+++ b/client/global.gd
@@ -19,13 +19,14 @@
class_name G
extends Node
+const VERSION := "2.3.3"
+const DISTRIBUTION := "unknown"
+
signal using_joypad_change(using: bool)
signal using_touch_change(using: bool)
@warning_ignore("UNUSED_SIGNAL")
signal hand_count_change(count: bool)
-const VERSION := "2.3.3"
-
var default_profile := {
"username": "",
"character_style": {
diff --git a/client/menu/about.gd b/client/menu/about.gd
index 339931e7..a38aafe5 100644
--- a/client/menu/about.gd
+++ b/client/menu/about.gd
@@ -129,12 +129,31 @@ func legal_text() -> String:
text += "\n\n[code]%s[/code]" % Engine.get_license_text()
return text
+func version_text() -> String:
+ var text := "[center][b]Hurry Curry![/b]\n\n"
+ OS.get_version()
+ text += "[table=2]"
+ var row = "[cell][right]%s[/right][/cell][cell][left]%s[/left][/cell]"
+ text += row % [tr("c.version.game"), Global.VERSION]
+ text += row % [tr("c.version.protocol"), "%s.%s" % [Multiplayer.VERSION_MAJOR, Multiplayer.VERSION_MINOR]]
+ text += row % [tr("c.version.godot"), Engine.get_version_info().string]
+ text += row % [tr("c.version.os"), OS.get_name()]
+ text += row % [tr("c.version.arch"), Engine.get_architecture_name()]
+ text += row % [tr("c.version.distribution"), Global.DISTRIBUTION]
+
+ text += "[/table]"
+ text += "[/center]"
+ return text
+
func _on_credits_pressed() -> void:
submenu("res://menu/credits.tscn", credits_text())
func _on_legal_pressed() -> void:
submenu("res://menu/credits.tscn", legal_text())
+func _on_version_pressed() -> void:
+ submenu("res://menu/credits.tscn", version_text())
+
func _on_back_pressed() -> void:
exit()
diff --git a/client/menu/about.tscn b/client/menu/about.tscn
index 3e80d63b..f809d443 100644
--- a/client/menu/about.tscn
+++ b/client/menu/about.tscn
@@ -58,6 +58,11 @@ layout_mode = 2
text = "c.menu.about.credits"
alignment = 0
+[node name="version" type="Button" parent="side/margin/options/first"]
+layout_mode = 2
+text = "c.menu.about.version"
+alignment = 0
+
[node name="legal" type="Button" parent="side/margin/options/first"]
layout_mode = 2
text = "c.menu.about.legal"
@@ -79,6 +84,7 @@ text = "c.menu.back"
alignment = 0
[connection signal="pressed" from="side/margin/options/first/credits" to="." method="_on_credits_pressed"]
+[connection signal="pressed" from="side/margin/options/first/version" to="." method="_on_version_pressed"]
[connection signal="pressed" from="side/margin/options/first/legal" to="." method="_on_legal_pressed"]
[connection signal="pressed" from="side/margin/options/first/source" to="." method="_on_source_pressed"]
[connection signal="pressed" from="side/margin/options/first2/back" to="." method="_on_back_pressed"]
diff --git a/locale/en.ini b/locale/en.ini
index 2952e19a..63b92e13 100644
--- a/locale/en.ini
+++ b/locale/en.ini
@@ -37,6 +37,7 @@ c.map.players_recommended={0} players recommended
c.menu.about.credits=Credits
c.menu.about.legal=Legal
c.menu.about.source=Source Code
+c.menu.about.version=Version
c.menu.about=About
c.menu.accept=Accept
c.menu.back=Back
@@ -100,17 +101,17 @@ c.settings.audio=Audio
c.settings.gameplay.accessible_movement=Accessible movement controls
c.settings.gameplay.first_person=Enable first-person mode (reduces playability)
c.settings.gameplay.hints_started=Hints started
+c.settings.gameplay.interact_target.dir=Based on look direction (old behaviour)
+c.settings.gameplay.interact_target.dirsnap=Snap to interactable tile close to look direction
+c.settings.gameplay.interact_target=Interact Target Behaviour
c.settings.gameplay.interpolate_camera_rotation=Smooth camera rotation
c.settings.gameplay.invert_camera=Invert camera movement
c.settings.gameplay.latch_boost=Always extend boost to maximum duration
-c.settings.gameplay.setup_completed=Initial setup completed
c.settings.gameplay.setup_completed.button_label=Open setup form
+c.settings.gameplay.setup_completed=Initial setup completed
c.settings.gameplay.tutorial_disabled=Disable tutorial
c.settings.gameplay.usernames=Show username tags
c.settings.gameplay.vibration=Enable vibrations
-c.settings.gameplay.interact_target=Interact Target Behaviour
-c.settings.gameplay.interact_target.dir=Based on look direction (old behaviour)
-c.settings.gameplay.interact_target.dirsnap=Snap to interactable tile close to look direction
c.settings.gameplay=Gameplay
c.settings.graphics.aa.disabled=Disabled
c.settings.graphics.aa.fx=FXAA (computationally cheap but generated artifacts)
@@ -219,6 +220,12 @@ c.setup.uniform.value=Hairstyle {0}
c.setup.uniform=3. [b]Working Uniform.[/b] You must always have one of the following hairstyles.
c.setup.user_signature.desc=Signature of the Employee:%n%n%n
c.setup.user_signature=Click to sign
+c.version.arch=Processor Architecture
+c.version.distribution=Distribution
+c.version.game=Game Version
+c.version.godot=Godot Version
+c.version.os=Operating System
+c.version.protocol=Protocol Version
s.bot.dishwasher=Dish washer
s.bot.frank.line.0=You’re FIRED!
s.bot.frank.line.1=Work faster, {0}!