diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-01 20:03:04 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-01 20:03:04 +0000 |
| commit | 08c4c8e0b71b577835eb9476ffc17626c94266ec (patch) | |
| tree | 97c6386956b483248e564ccd2b6538d233d5e721 /src/game/client/gc_client.h | |
| parent | 0747c2dff9289db6204b82501d03447f3ec6cc99 (diff) | |
| download | zcatch-08c4c8e0b71b577835eb9476ffc17626c94266ec.tar.gz zcatch-08c4c8e0b71b577835eb9476ffc17626c94266ec.zip | |
redone the input system so you can know do keybindings with say etc
Diffstat (limited to 'src/game/client/gc_client.h')
| -rw-r--r-- | src/game/client/gc_client.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/game/client/gc_client.h b/src/game/client/gc_client.h index 0b76e38c..48313765 100644 --- a/src/game/client/gc_client.h +++ b/src/game/client/gc_client.h @@ -82,6 +82,9 @@ extern int chat_mode; void chat_add_line(int client_id, int team, const char *line); void chat_reset(); +extern int emoticon_selector_active; // TODO: ugly +extern int scoreboard_active; // TODO: ugly + // client data struct client_data { @@ -125,6 +128,11 @@ void process_events(int snaptype); void clear_object_pointers(); void reset_projectile_particles(); void send_info(bool start); +void send_emoticon(int emoticon); + +void chat_say(int team, const char *line); +void chat_enable_mode(int team); + inline vec2 random_dir() { return normalize(vec2(frandom()-0.5f, frandom()-0.5f)); } @@ -202,3 +210,8 @@ void flow_dbg_render(); void flow_init(); void flow_update(); +// +void binds_save(); +void binds_set(int keyid, const char *str); +const char *binds_get(int keyid); + |