From 7a3874745ca370a799d95b5f86e85fcc8eadefbb Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 29 Mar 2008 11:44:03 +0000 Subject: fixed loads of graphical optimizations --- src/game/client/gc_render.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/game/client/gc_render.h') diff --git a/src/game/client/gc_render.h b/src/game/client/gc_render.h index 53b6510a..b3439e93 100644 --- a/src/game/client/gc_render.h +++ b/src/game/client/gc_render.h @@ -29,6 +29,11 @@ enum { SPRITE_FLAG_FLIP_Y=1, SPRITE_FLAG_FLIP_X=2, + + LAYERRENDERFLAG_OPAQUE=1, + LAYERRENDERFLAG_TRANSPARENT=2, + + TILERENDERFLAG_EXTEND=4, }; typedef struct sprite; @@ -66,7 +71,7 @@ void render_player( // map render methods (gc_render_map.cpp) void render_eval_envelope(ENVPOINT *points, int num_points, int channels, float time, float *result); -void render_quads(QUAD *quads, int num_quads, void (*eval)(float time_offset, int env, float *channels)); +void render_quads(QUAD *quads, int num_quads, void (*eval)(float time_offset, int env, float *channels), int flags); void render_tilemap(TILE *tiles, int w, int h, float scale, vec4 color, int flags); // helpers -- cgit 1.4.1