summaryrefslogtreecommitdiff
path: root/src/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/interface.c b/src/interface.c
index f58b2a4..fef6445 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -562,6 +562,9 @@ void draw_svf_ui(pixel *vid_buf)
case CM_GRAD:
drawtext(vid_buf, XRES-29+BARSIZE/*481*/, YRES+(MENUSIZE-13), "\xD3", 255, 50, 255, 255);
break;
+ case CM_LIFE:
+ drawtext(vid_buf, XRES-29+BARSIZE/*481*/, YRES+(MENUSIZE-13), "\x00", 255, 50, 255, 255);
+ break;
}
drawrect(vid_buf, XRES-32+BARSIZE/*478*/, YRES+(MENUSIZE-16), 14, 14, 255, 255, 255, 255);
@@ -1857,6 +1860,11 @@ void set_cmode(int cm)
strcpy(itc_msg, "Alternate Velocity Display");
else if(cmode==CM_GRAD)
strcpy(itc_msg, "Heat Gradient Display");
+ else if(cmode==CM_LIFE)
+ if(DEBUG_MODE)
+ strcpy(itc_msg, "Life Display");
+ else
+ set_cmode(CM_CRACK);
else
strcpy(itc_msg, "Velocity Display");
}