Rebrand project and refresh title presentation
This commit is contained in:
parent
17fef2c5d4
commit
7ae20789a9
138 changed files with 1511 additions and 1498 deletions
29
main/main.gd
29
main/main.gd
|
|
@ -294,7 +294,7 @@ func _ready() -> void:
|
|||
_configure_presentation_performance_profile(
|
||||
_performance_profile.is_light()
|
||||
)
|
||||
DisplayServer.window_set_title("NETfishing")
|
||||
DisplayServer.window_set_title("straywild")
|
||||
_rain_ambience = RainAmbienceType.new()
|
||||
_rain_ambience.name = "RainAmbience"
|
||||
add_child(_rain_ambience)
|
||||
|
|
@ -324,11 +324,12 @@ func _ready() -> void:
|
|||
|
||||
|
||||
func _configure_presentation_performance_profile(light_profile: bool) -> void:
|
||||
_game_ui.get_title_screen().set_minimal_presentation(light_profile)
|
||||
_game_ui.set_light_performance_profile(light_profile)
|
||||
var title_water_material := _title_background.material as ShaderMaterial
|
||||
if title_water_material != null:
|
||||
title_water_material.set_shader_parameter(
|
||||
var title_background_material := (
|
||||
_title_background.material as ShaderMaterial
|
||||
)
|
||||
if title_background_material != null:
|
||||
title_background_material.set_shader_parameter(
|
||||
"animation_enabled",
|
||||
not light_profile,
|
||||
)
|
||||
|
|
@ -461,7 +462,7 @@ func _print_dedicated_metrics() -> void:
|
|||
metrics["gatherables"] = _network_world_spawns.call(
|
||||
"get_network_metrics"
|
||||
)
|
||||
print("NETfishing server metrics: %s" % JSON.stringify(metrics))
|
||||
print("straywild server metrics: %s" % JSON.stringify(metrics))
|
||||
|
||||
|
||||
func _start_dedicated_server() -> void:
|
||||
|
|
@ -556,7 +557,7 @@ func _start_dedicated_server() -> void:
|
|||
_fail_dedicated_server(_discovery.get_host_status_message())
|
||||
return
|
||||
print(
|
||||
"NETfishing dedicated server ready: %s on %s:%d (%d players, %s, timezone %s)"
|
||||
"straywild dedicated server ready: %s on %s:%d (%d players, %s, timezone %s)"
|
||||
% [
|
||||
config.server_name,
|
||||
config.bind_address,
|
||||
|
|
@ -1096,7 +1097,7 @@ func _initialize_application(dedicated: bool) -> void:
|
|||
func _show_data_root_setup() -> void:
|
||||
if _data_setup_dialog == null:
|
||||
_data_setup_dialog = ConfirmationDialog.new()
|
||||
_data_setup_dialog.title = "NETfishing player data"
|
||||
_data_setup_dialog.title = "straywild player data"
|
||||
_data_setup_dialog.ok_button_text = "Use This Folder"
|
||||
_data_setup_dialog.cancel_button_text = "Quit"
|
||||
_data_setup_dialog.confirmed.connect(_use_default_data_root)
|
||||
|
|
@ -1113,14 +1114,14 @@ func _show_data_root_setup() -> void:
|
|||
var default_path: String = _data_root.default_visible_path()
|
||||
var legacy: bool = PortableDataMigration.legacy_files_present()
|
||||
_data_setup_dialog.dialog_text = (
|
||||
("Move your existing NETfishing data to an easy-to-find folder."
|
||||
if legacy else "Choose where NETfishing stores your player data.")
|
||||
("Move your existing straywild data to an easy-to-find folder."
|
||||
if legacy else "Choose where straywild stores your player data.")
|
||||
+ "\n\n%s\n\nYou can choose a Syncthing folder."
|
||||
% (default_path if not default_path.is_empty() else "Choose a folder")
|
||||
)
|
||||
_data_setup_dialog.ok_button_text = (
|
||||
(
|
||||
"Move to Documents/NETFISHING"
|
||||
"Move to Documents/straywild"
|
||||
if legacy else "Use This Folder"
|
||||
)
|
||||
if not default_path.is_empty()
|
||||
|
|
@ -1129,7 +1130,7 @@ func _show_data_root_setup() -> void:
|
|||
_data_setup_current_button.visible = not default_path.is_empty()
|
||||
if not _data_root.error_message.is_empty():
|
||||
_data_setup_dialog.dialog_text = (
|
||||
"Your NETfishing data folder is unavailable.\n\n%s"
|
||||
"Your straywild data folder is unavailable.\n\n%s"
|
||||
% _data_root.error_message
|
||||
)
|
||||
_data_setup_dialog.popup_centered(Vector2i(640, 360))
|
||||
|
|
@ -1265,11 +1266,11 @@ func _activate_selected_data_path(path: String, app_data: bool = false) -> void:
|
|||
func _show_existing_root_choice(path: String) -> void:
|
||||
_pending_existing_root_path = path
|
||||
var dialog: ConfirmationDialog = ConfirmationDialog.new()
|
||||
dialog.title = "Existing NETfishing data"
|
||||
dialog.title = "Existing straywild data"
|
||||
dialog.ok_button_text = "Use Data Already in Selected Folder"
|
||||
dialog.cancel_button_text = "Cancel"
|
||||
dialog.dialog_text = (
|
||||
"This folder already contains NETfishing player data.\n\n"
|
||||
"This folder already contains straywild player data.\n\n"
|
||||
+ "Choose which complete data set to use. Data is never merged automatically."
|
||||
)
|
||||
dialog.add_button(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue