2023-10-05 18:02:23 +00:00
|
|
|
extends Control
|
|
|
|
|
|
|
|
const scene_server_path : String = "res://scenes/interface/page_server.tscn"
|
2023-10-28 14:51:33 +00:00
|
|
|
const scene_settings_path : String = "res://scenes/interface/page_settings.tscn"
|
2023-10-05 18:02:23 +00:00
|
|
|
|
|
|
|
func _ready():
|
|
|
|
ResourceLoader.load_threaded_request(scene_server_path)
|
2023-10-28 14:51:33 +00:00
|
|
|
ResourceLoader.load_threaded_request(scene_settings_path)
|
2023-10-05 18:02:23 +00:00
|
|
|
|
|
|
|
func _on_login_pressed():
|
|
|
|
get_tree().change_scene_to_file(scene_server_path)
|
2023-10-23 15:21:27 +00:00
|
|
|
|
|
|
|
func _on_settings_pressed():
|
2023-10-28 14:51:33 +00:00
|
|
|
get_tree().change_scene_to_file(scene_settings_path)
|
|
|
|
|
2023-10-05 18:02:23 +00:00
|
|
|
func _on_quit_button_down():
|
|
|
|
get_tree().quit()
|
|
|
|
|
2023-10-28 14:51:33 +00:00
|
|
|
func _on_button_help_pressed():
|
|
|
|
OS.shell_open("https://khaganat.net")
|
2023-10-05 18:02:23 +00:00
|
|
|
|
2023-10-28 14:51:33 +00:00
|
|
|
func _on_button_forgetPass_pressed():
|
|
|
|
OS.shell_open("https://chat.jabberfr.org/converse.js/khaganat@chat.khaganat.net")
|