about summary refs log tree commit diff stats
path: root/.gitmodules
blob: f25b54a8383eb7212fb379bd90db1588607a8b9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[submodule "vendor/hkutil"]
	path = vendor/hkutil
	url = https://git.fourisland.com/hkutil
[submodule "vendor/apclientpp"]
	path = vendor/apclientpp
	url = https://github.com/black-sliver/apclientpp.git
[submodule "vendor/valijson"]
	path = vendor/valijson
	url = https://github.com/tristanpenman/valijson.git
[submodule "vendor/wswrap"]
	path = vendor/wswrap
	url = https://github.com/black-sliver/wswrap.git
[submodule "vendor/websocketpp"]
	path = vendor/websocketpp
	url = https://github.com/zaphoyd/websocketpp.git
[submodule "vendor/asio"]
	path = vendor/asio
	url = https://github.com/chriskohlhoff/asio/
[submodule "vendor/vcpkg"]
	path = vendor/vcpkg
	url = https://github.com/Microsoft/vcpkg.git
olor: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
extends Button


func _ready():
	pass


func _connect_pressed():
	self.disabled = true

	var ap = global.get_node("Archipelago")
	ap.ap_server = self.get_parent().get_node("server_box").text
	ap.ap_user = self.get_parent().get_node("player_box").text
	ap.ap_pass = self.get_parent().get_node("password_box").text
	ap.saveSettings()

	ap.connectToServer()


func _back_pressed():
	var ap = global.get_node("Archipelago")
	ap.disconnect_from_ap()

	get_tree().change_scene_to_file("res://objects/scenes/menus/main_menu.tscn")