diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-01-17 23:09:49 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-01-17 23:09:49 +0000 |
| commit | 57c47659930c5e01ae5d3e8cef51c06d28d20508 (patch) | |
| tree | e67a413ec70dbf4562178ad3603619f7b2b825c2 /src/game/client/gc_render.h | |
| parent | 253a5639ae170a16055e2c8a76d12335342f6d51 (diff) | |
| download | zcatch-57c47659930c5e01ae5d3e8cef51c06d28d20508.tar.gz zcatch-57c47659930c5e01ae5d3e8cef51c06d28d20508.zip | |
editor update and other stuff
Diffstat (limited to 'src/game/client/gc_render.h')
| -rw-r--r-- | src/game/client/gc_render.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 |