diff options
author | nlanza <nlanza@c06c8d41-db1a-0410-9941-cceddc491573> | 2005-08-03 05:55:39 +0000 |
---|---|---|
committer | nlanza <nlanza@c06c8d41-db1a-0410-9941-cceddc491573> | 2005-08-03 05:55:39 +0000 |
commit | 7b2204d69f21d7075e4666ee032d7a129081bc4b (patch) | |
tree | d187565b15ddf71f99b5ee35a8eb15b85170b46f /trunk/source/output.cc | |
parent | 64fb30df969e02635f651f3e6c6bb5f0dce1960c (diff) | |
download | crawl-ref-7b2204d69f21d7075e4666ee032d7a129081bc4b.tar.gz crawl-ref-7b2204d69f21d7075e4666ee032d7a129081bc4b.zip |
Further build cleanup.
The build system used 'LINUX' as a shorthand for Unix-like systems, which
ends up being a horrible mess -- it's pretty counterintuitive to have
the Solaris/Irix/BSD setups #defining LINUX to make things work.
This replaces the use of 'LINUX' with a more-general and more-obvious
'UNIX', and moves the not-really-linux-at-all 'liblinux' to 'libunix'.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'trunk/source/output.cc')
-rw-r--r-- | trunk/source/output.cc | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/trunk/source/output.cc b/trunk/source/output.cc index 40f1738534..6b7568710b 100644 --- a/trunk/source/output.cc +++ b/trunk/source/output.cc @@ -3,6 +3,8 @@ * Summary: Functions used to print player related info. * Written by: Linley Henzell * + * Modified for Crawl Reference by $Author$ on $Date$ + * * Change History (most recent first): * * <2> 5/20/99 BWR Efficiency changes for curses. @@ -75,7 +77,7 @@ void print_stats(void) if (max_max_hp != you.hp_max) cprintf( " (%d)", max_max_hp ); -#ifdef LINUX +#ifdef UNIX clear_to_end_of_line(); #else cprintf(" "); @@ -90,7 +92,7 @@ void print_stats(void) cprintf( "%d/%d", you.magic_points, you.max_magic_points ); -#ifdef LINUX +#ifdef UNIX clear_to_end_of_line(); #else cprintf(" "); @@ -246,7 +248,7 @@ void print_stats(void) you.experience_level, you.experience, you.exp_available ); #endif -#ifdef LINUX +#ifdef UNIX clear_to_end_of_line(); #else cprintf(" "); @@ -257,7 +259,7 @@ void print_stats(void) if (you.wield_change) { gotoxy(40, 13); -#ifdef LINUX +#ifdef UNIX clear_to_end_of_line(); #else cprintf(" "); @@ -306,7 +308,7 @@ void print_stats(void) { gotoxy(40, 14); -#ifdef LINUX +#ifdef UNIX clear_to_end_of_line(); #else cprintf( " " ); @@ -367,7 +369,7 @@ void print_stats(void) { gotoxy(40, 15); -#ifdef LINUX +#ifdef UNIX clear_to_end_of_line(); #else cprintf( " " ); @@ -452,7 +454,7 @@ void print_stats(void) { gotoxy(40, 16); -#ifdef LINUX +#ifdef UNIX clear_to_end_of_line(); #else cprintf( " " ); @@ -532,7 +534,7 @@ void print_stats(void) cprintf( "Position (%2d,%2d)", you.x_pos, you.y_pos ); #endif -#ifdef LINUX +#ifdef UNIX // get curses to redraw screen update_screen(); #endif |