From 68c52dd5efca7ed66b083b70439337b8f1205c15 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Wed, 27 Aug 2008 16:23:15 +0000 Subject: repaired the local console --- src/game/client/components/console.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/game/client/components/console.hpp') diff --git a/src/game/client/components/console.hpp b/src/game/client/components/console.hpp index 988e4ea3..8c6a9c72 100644 --- a/src/game/client/components/console.hpp +++ b/src/game/client/components/console.hpp @@ -43,10 +43,18 @@ class CONSOLE : public COMPONENT int console_state; float state_change_end; float state_change_duration; + + + void toggle(int type); + + static void client_console_print_callback(const char *str, void *user_data); + static void con_toggle_local_console(void *result, void *user_data); + static void con_toggle_remote_console(void *result, void *user_data); public: CONSOLE(); + virtual void on_init(); virtual void on_reset(); virtual void on_render(); virtual void on_message(int msgtype, void *rawmsg); -- cgit 1.4.1