diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-08-27 16:23:15 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-08-27 16:23:15 +0000 |
| commit | 68c52dd5efca7ed66b083b70439337b8f1205c15 (patch) | |
| tree | 2690d39776899a8bdea18801cb6074c35d0a941e /src/game/client/components/console.hpp | |
| parent | dc67b341387f539f11f8964c299ce479e36cc142 (diff) | |
| download | zcatch-68c52dd5efca7ed66b083b70439337b8f1205c15.tar.gz zcatch-68c52dd5efca7ed66b083b70439337b8f1205c15.zip | |
repaired the local console
Diffstat (limited to 'src/game/client/components/console.hpp')
| -rw-r--r-- | src/game/client/components/console.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
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); |