summaryrefslogtreecommitdiff
path: root/src/interface.c
diff options
context:
space:
mode:
authorPhilip <philip@philip-linuxlaptop.(none)>2010-11-17 00:47:18 (GMT)
committer Philip <philip@philip-linuxlaptop.(none)>2010-11-17 00:47:18 (GMT)
commit9383c1ca4c0b7b1232762fa7511a4179c98caa24 (patch)
tree9a9b83d1cb2746b17a47a72ac0f5936415231d3e /src/interface.c
parent245628a7fd00422671cc931e258888ddddd7a4c5 (diff)
downloadpowder-9383c1ca4c0b7b1232762fa7511a4179c98caa24.zip
powder-9383c1ca4c0b7b1232762fa7511a4179c98caa24.tar.gz
Added a different velocity/pressure display. Added old fireworks i made.
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/interface.c b/src/interface.c
index 8f0a559..e22a9c4 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -552,6 +552,8 @@ void draw_svf_ui(pixel *vid_buf)
drawtext(vid_buf, XRES-29+BARSIZE/*481*/, YRES+(MENUSIZE-13), "\xC4", 100, 150, 255, 255);
case CM_NOTHING:
drawtext(vid_buf, XRES-29+BARSIZE/*481*/, YRES+(MENUSIZE-13), "\x00", 100, 150, 255, 255);
+ case CM_CRACK:
+ drawtext(vid_buf, XRES-29+BARSIZE/*481*/, YRES+(MENUSIZE-13), "\x00", 100, 150, 255, 255);
break;
}
drawrect(vid_buf, XRES-32+BARSIZE/*478*/, YRES+(MENUSIZE-16), 14, 14, 255, 255, 255, 255);
@@ -1774,7 +1776,9 @@ void set_cmode(int cm)
else if(cmode==CM_PRESS)
strcpy(itc_msg, "Pressure Display");
else if(cmode==CM_NOTHING)
- strcpy(itc_msg, "Cracker Display");
+ strcpy(itc_msg, "Nothing Display");
+ else if(cmode==CM_CRACK)
+ strcpy(itc_msg, "Alternate Velocity Display");
else
strcpy(itc_msg, "Velocity Display");
}