summaryrefslogtreecommitdiff
path: root/client.gd
blob: 5025c8ca1cf6259cc6d548ab394e331a28396ae0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
extends Node


var account: Dictionary = {
	"id": "",
}

var character: Dictionary = {
	"name": "",
}


func _ready() -> void:
	#var grf = GRF.open("res://client_data/data.grf")
	#grf.extract()
	#grf.convert()#"user://data")
	
	#Sprite.from_bytes(FileAccess.get_file_as_bytes("res://client_data/data/sprite/cursors.spr"))
	#ActionFormat.from_bytes(
		#ByteStream.from_bytes(
			#FileAccess.get_file_as_bytes("res://client_data/data/sprite/cursors.act")
		#)
	#)
	GATFormat.from_bytes(
		ByteStream.from_bytes(
			FileAccess.get_file_as_bytes("res://client_data/data/int_land02.gat")
		)
	)
	GNDFormat.from_bytes(
		ByteStream.from_bytes(
			FileAccess.get_file_as_bytes("res://client_data/data/int_land02.gnd")
		)
	)
	RSWFormat.from_bytes(
		ByteStream.from_bytes(
			#FileAccess.get_file_as_bytes("res://client_data/data/int_land02.rsw")
			FileAccess.get_file_as_bytes("res://client_data/data/pay_dun00.rsw")
		)
	)