From 57c47659930c5e01ae5d3e8cef51c06d28d20508 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Thu, 17 Jan 2008 23:09:49 +0000 Subject: editor update and other stuff --- src/game/client/gc_render.h | 5 ++++- 1 file changed, 4 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 feb04641..5294b89e 100644 --- a/src/game/client/gc_render.h +++ b/src/game/client/gc_render.h @@ -4,6 +4,7 @@ #include "../g_vmath.h" #include "../g_mapitems.h" +#include "gc_ui.h" struct tee_render_info { @@ -30,6 +31,7 @@ void draw_sprite(float x, float y, float size); // rects void draw_round_rect(float x, float y, float w, float h, float r); void draw_round_rect_ext(float x, float y, float w, float h, float r, int corners); +void ui_draw_rect(const RECT *r, vec4 color, int corners, float rounding); // larger rendering methods void menu_render(); @@ -49,7 +51,8 @@ void render_player( const struct obj_player_info *prev_info, const struct obj_player_info *player_info); // map render methods (gc_render_map.cpp) -void render_quads(QUAD *quads, int num_quads); +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_tilemap(TILE *tiles, int w, int h, float scale, int flags); // helpers -- cgit 1.4.1