diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-07-30 19:46:31 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-07-30 19:46:31 +0000 |
| commit | f826bc6cac4f4dfc191fa1d94f3336e117f44278 (patch) | |
| tree | 4e1a74ae9b3caf6f47ea28d17f22aa48a7019c29 /src/engine/client/client.h | |
| parent | 57da0cae4f2d072211b39a6618a102c6b620197f (diff) | |
| download | zcatch-f826bc6cac4f4dfc191fa1d94f3336e117f44278.tar.gz zcatch-f826bc6cac4f4dfc191fa1d94f3336e117f44278.zip | |
larger update. reduced the amount of video memory used from ~60 to ~36mb on a typical map
Diffstat (limited to 'src/engine/client/client.h')
| -rw-r--r-- | src/engine/client/client.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/src/engine/client/client.h b/src/engine/client/client.h deleted file mode 100644 index f433a376..00000000 --- a/src/engine/client/client.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef __CLIENT_H -#define __CLIENT_H - -#include <engine/network.h> -// --- client --- -// TODO: remove this class -class client -{ -public: - int info_request_begin; - int info_request_end; - - int snapshot_part; - - int debug_font; // TODO: rfemove this line - - // data to hold three snapshots - // previous, - - void send_info(); - - void send_entergame(); - - void send_error(const char *error); - - void send_input(); - - void disconnect(); - - bool load_data(); - - void debug_render(); - - void render(); - - void run(const char *direct_connect_server); - - void error(const char *msg); - - void serverbrowse_request(int id); - - void serverbrowse_update(); - void process_packet(NETPACKET *packet); - - void pump_network(); -}; - -#endif |