summaryrefslogtreecommitdiff
path: root/game.h
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-06-02 00:22:05 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-06-02 00:22:05 +0200
commit6304a3afdcf747468dc125991b3313887c2af941 (patch)
tree807358c0483ef3ea284872ef6f5e7eb77a2e74a2 /game.h
parent1d106a249648b2c39c1256c80325b18ffe91f7f3 (diff)
Added a new transparent scheme based on Vanilla and a simple chat window, which displays text strings received from the server.
Diffstat (limited to 'game.h')
-rw-r--r--game.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/game.h b/game.h
index f950b64..cad032e 100644
--- a/game.h
+++ b/game.h
@@ -23,8 +23,9 @@ class Game {
void run(std::string host, std::string port);
void async_read();
- void handle_message(const boost::system::error_code& error, std::size_t bytes_transferred, uint8_t *type);
+ void handle_type(const boost::system::error_code& error, std::size_t bytes_transferred, uint8_t *type);
void handle_chunk();
+ void handle_message();
static Game& get_instance();
};