summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-11-13 21:02:46 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-11-13 21:02:46 (GMT)
commitc63dff45e4e59ac14c0a087388b89e0d08fa5a62 (patch)
tree50f2791205200202f1d2a991cd530e207b572180 /src/main.c
parent0f4c0915d9bdfbd9e865200941083bd463d03d69 (diff)
downloadpowder-c63dff45e4e59ac14c0a087388b89e0d08fa5a62.zip
powder-c63dff45e4e59ac14c0a087388b89e0d08fa5a62.tar.gz
Basic render modes for Render_ui
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/main.c b/src/main.c
index c2451af..565e27a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3162,17 +3162,7 @@ int main(int argc, char *argv[])
}
if (x>=(XRES+BARSIZE-(510-476)) && x<=(XRES+BARSIZE-(510-491)) && !bq)
{
- render_ui(vid_buf);
- /*if (b & SDL_BUTTON_LMASK) {
- set_cmode((cmode+1) % CM_COUNT);
- }
- if (b & SDL_BUTTON_RMASK) {
- if ((cmode+(CM_COUNT-1)) % CM_COUNT == CM_LIFE) {
- set_cmode(CM_GRAD);
- } else {
- set_cmode((cmode+(CM_COUNT-1)) % CM_COUNT);
- }
- }*/
+ render_ui(vid_buf, XRES+BARSIZE-(510-491), YRES+(MENUSIZE-19), 3);
}
if (x>=(XRES+BARSIZE-(510-494)) && x<=(XRES+BARSIZE-(510-509)) && !bq)
sys_pause = !sys_pause;