From a64d58f02cd1b6d1b8095252ae8ab9316f88bb89 Mon Sep 17 00:00:00 2001 From: ennewalker Date: Sat, 26 Jul 2008 16:54:55 +0000 Subject: [2021070] Adding Tiles health/mp bars. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6693 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/libgui.cc | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'crawl-ref/source/libgui.cc') diff --git a/crawl-ref/source/libgui.cc b/crawl-ref/source/libgui.cc index 5f032523ad..0d6d2b2b8e 100644 --- a/crawl-ref/source/libgui.cc +++ b/crawl-ref/source/libgui.cc @@ -68,34 +68,6 @@ int tile_idx_unseen_terrain(int x, int y, int what) return t; } -static void _draw_hgauge(int x, int y, int ofs, int region, int len, int col) -{ - int i; - cgotoxy(x, y, region); - textcolor(col); - for (i = 0; i < len; i++) - { - switch((i+ ofs) % 10) - { - case 0: cprintf("%c",'+'); break; - case 4: cprintf("%c",'0' + (1+(i+ofs)/10)%10); break; - case 5: cprintf("%c",'0'); break; - default: cprintf("%c",'-'); - } - } -} - -static void _draw_vgauge(int x, int y, int ofs, int region, int len, int col) -{ - int i; - textcolor(col); - for (i = 0; i < len; i++) - { - cgotoxy(x, y+i, region); - cprintf("%02d", ofs+i); - } -} - int m_getch() { return getch(); -- cgit v1.2.3-54-g00ecf