From 5bd2c434f63ff4a039e854d647f02ef660c544d1 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Tue, 24 Jul 2007 22:53:43 +0000 Subject: 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 --- src/engine/interface.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/engine/interface.h') 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); -- cgit 1.4.1