From 6304a3afdcf747468dc125991b3313887c2af941 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Thu, 2 Jun 2011 00:22:05 +0200 Subject: Added a new transparent scheme based on Vanilla and a simple chat window, which displays text strings received from the server. --- game.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'game.h') 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(); }; -- cgit v1.2.3