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/interface.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/interface.h')
| -rw-r--r-- | src/engine/interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/interface.h b/src/engine/interface.h index f3de5109..960be724 100644 --- a/src/engine/interface.h +++ b/src/engine/interface.h @@ -753,6 +753,7 @@ void gfx_pretty_text(float x, float y, float size, const char *text); float gfx_pretty_text_width(float size, const char *text, int length = -1); void gfx_getscreen(float *tl_x, float *tl_y, float *br_x, float *br_y); +int gfx_memory_usage(); void mods_message(int msg, int client_id); void modc_message(int msg); @@ -768,6 +769,7 @@ struct server_info }; void client_connect(const char *address); +void client_disconnect(); void client_serverbrowse_refresh(int lan); int client_serverbrowse_getlist(server_info **servers); |