diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-11-08 20:07:24 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-11-08 20:07:24 +0000 |
| commit | adb9240bc357fe1b784463b03d88b94011d395b3 (patch) | |
| tree | 432ea3139168e5f13bca10d362f5bdfaadb3d490 /src/game/client/menu.cpp | |
| parent | f46efb288f4f13e4b08d44ee1c860acbcd1485a1 (diff) | |
| download | zcatch-adb9240bc357fe1b784463b03d88b94011d395b3.tar.gz zcatch-adb9240bc357fe1b784463b03d88b94011d395b3.zip | |
removed some old images
Diffstat (limited to 'src/game/client/menu.cpp')
| -rw-r--r-- | src/game/client/menu.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/client/menu.cpp b/src/game/client/menu.cpp index a0099929..6067edf0 100644 --- a/src/game/client/menu.cpp +++ b/src/game/client/menu.cpp @@ -37,6 +37,7 @@ enum gui_tileset_enum void draw_area(gui_tileset_enum tileset, int areax, int areay, int areaw, int areah, float x, float y, float w, float h) { +/* const float tex_w = 512.0, tex_h = 512.0; switch (tileset) @@ -69,6 +70,7 @@ void draw_area(gui_tileset_enum tileset, int areax, int areay, int areaw, int ar te_y); // endy gfx_quads_drawTL(x,y,w,h); gfx_quads_end(); + */ } void draw_part(int part_type, gui_tileset_enum tileset, float x, float y, float w, float h) @@ -163,11 +165,14 @@ void draw_background(float t) draw_sprite(4000 - fmod(t * 60 + 500, 4512), 300+130, 256); gfx_quads_end(); + /* gfx_texture_set(data->images[IMAGE_MENU_BACKGROUND].id); gfx_quads_begin(); gfx_quads_drawTL(0, 430, 1600, 1600/2); gfx_quads_end(); + */ +/* int frame = int(t * 10) % 3; //float x_path = -t @@ -193,6 +198,7 @@ void draw_background(float t) 0.5f); // endy gfx_quads_drawTL(1250 + x_nudge, 480 + y_nudge, 64, 64); gfx_quads_end(); + */ } void draw_image_button(const void *id, const char *text, int checked, float x, float y, float w, float h, void *extra) |