diff options
| author | Simon <simon@hardwired.org.uk> | 2010-12-29 21:15:40 (GMT) |
|---|---|---|
| committer | Simon <simon@hardwired.org.uk> | 2010-12-29 21:15:40 (GMT) |
| commit | 3715925dd95c7433c4bfd3078089bcf05a16f813 (patch) | |
| tree | 6e7c1ac2757738343f748fd51d4ab3ad5dcca3a9 /src/interface.c | |
| parent | 713034ed619378aa0abc6b38b69604e1aba8821c (diff) | |
| parent | 5766f9aa7ee0f78adea5799322dce67506d9247d (diff) | |
| download | powder-3715925dd95c7433c4bfd3078089bcf05a16f813.zip powder-3715925dd95c7433c4bfd3078089bcf05a16f813.tar.gz | |
Merge branch 'master' of git://github.com/cracker64/The-Powder-Toy
Diffstat (limited to 'src/interface.c')
| -rw-r--r-- | src/interface.c | 8 |
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"); } |
