diff options
Diffstat (limited to 'Archipelago/client.gd')
-rw-r--r-- | Archipelago/client.gd | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Archipelago/client.gd b/Archipelago/client.gd index e182b9c..f33c80c 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd | |||
@@ -91,6 +91,7 @@ var _progressive_progress = {} | |||
91 | var _has_colors = ["white"] | 91 | var _has_colors = ["white"] |
92 | 92 | ||
93 | signal could_not_connect | 93 | signal could_not_connect |
94 | signal connect_status | ||
94 | signal client_connected | 95 | signal client_connected |
95 | signal evaluate_solvability | 96 | signal evaluate_solvability |
96 | 97 | ||
@@ -459,6 +460,8 @@ func connectToServer(): | |||
459 | return | 460 | return |
460 | _should_process = true | 461 | _should_process = true |
461 | 462 | ||
463 | emit_signal("connect_status", "Connecting...") | ||
464 | |||
462 | 465 | ||
463 | func sendMessage(msg): | 466 | func sendMessage(msg): |
464 | var payload = JSON.print(msg) | 467 | var payload = JSON.print(msg) |
@@ -467,6 +470,8 @@ func sendMessage(msg): | |||
467 | 470 | ||
468 | 471 | ||
469 | func requestDatapackages(games): | 472 | func requestDatapackages(games): |
473 | emit_signal("connect_status", "Downloading %s data package..." % games[0]) | ||
474 | |||
470 | sendMessage([{"cmd": "GetDataPackage", "games": games}]) | 475 | sendMessage([{"cmd": "GetDataPackage", "games": games}]) |
471 | 476 | ||
472 | 477 | ||
@@ -486,6 +491,8 @@ func processDatapackages(): | |||
486 | 491 | ||
487 | 492 | ||
488 | func connectToRoom(): | 493 | func connectToRoom(): |
494 | emit_signal("connect_status", "Authenticating...") | ||
495 | |||
489 | sendMessage( | 496 | sendMessage( |
490 | [ | 497 | [ |
491 | { | 498 | { |