diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-07-24 22:53:43 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-07-24 22:53:43 +0000 |
| commit | 5bd2c434f63ff4a039e854d647f02ef660c544d1 (patch) | |
| tree | 3fe99b2e4a7cf5e80243bde4583e10c5650ed913 /src/engine/interface.h | |
| parent | 4b098f7711e7cb96eef6797787e3f2f2b4cbb867 (diff) | |
| download | zcatch-5bd2c434f63ff4a039e854d647f02ef660c544d1.tar.gz zcatch-5bd2c434f63ff4a039e854d647f02ef660c544d1.zip | |
epic commit. removed tga support, removed BGR support. fixed one config for editor, server and client, optimized tilemap rendering (this needs some cleanup), added tools to fix alpha outline quirk and glitches in the tilemap reindering
Diffstat (limited to 'src/engine/interface.h')
| -rw-r--r-- | src/engine/interface.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/engine/interface.h b/src/engine/interface.h index ad798197..10a8794b 100644 --- a/src/engine/interface.h +++ b/src/engine/interface.h @@ -17,9 +17,10 @@ enum SNAP_PREV=1, IMG_RGB=0, - IMG_RGBA, + IMG_RGBA=1, + /* IMG_BGR, - IMG_BGRA, + IMG_BGRA,*/ }; struct snap_item @@ -753,6 +754,9 @@ float gfx_pretty_text_width(float size, const char *text); void gfx_getscreen(float *tl_x, float *tl_y, float *br_x, float *br_y); +void gfx_quads_draw_batch(void *batch); +void *gfx_quads_create_batch(); + void mods_message(int msg, int client_id); void modc_message(int msg); |