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/view.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/view.cc')
-rw-r--r-- | trunk/source/view.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/trunk/source/view.cc b/trunk/source/view.cc index 0e2fccd58e..8eea17e6a9 100644 --- a/trunk/source/view.cc +++ b/trunk/source/view.cc @@ -3,6 +3,8 @@ * Summary: Misc function used to render the dungeon. * Written by: Linley Henzell * + * Modified for Crawl Reference by $Author$ on $Date$ + * * Change History (most recent first): * * <10> 29 Jul 00 JDJ show_map iterates horizontally to 79 instead of 80. @@ -88,7 +90,7 @@ void monster_grid(bool do_updates); //--------------------------------------------------------------- int get_number_of_lines(void) { -#ifdef LINUX +#ifdef UNIX return (get_number_of_lines_from_curses()); #elif MAC return (MAC_NUMBER_OF_LINES); @@ -1892,7 +1894,7 @@ void show_map( FixedVector<int, 2> &spec_place ) if (spec_place[0] == 0 && getty != 0 && getty != '+' && getty != '-' && getty != 'h' && getty != 'j' && getty != 'k' && getty != 'l' && getty != 'y' && getty != 'u' && getty != 'b' && getty != 'n' -#ifdef LINUX +#ifdef UNIX && getty != 'H' && getty != 'J' && getty != 'K' && getty != 'L' && getty != 'Y' && getty != 'U' && getty != 'B' && getty != 'N' #endif @@ -1904,7 +1906,7 @@ void show_map( FixedVector<int, 2> &spec_place ) if (spec_place[0] == 1 && getty != 0 && getty != '+' && getty != '-' && getty != 'h' && getty != 'j' && getty != 'k' && getty != 'l' && getty != 'y' && getty != 'u' && getty != 'b' && getty != 'n' -#ifdef LINUX +#ifdef UNIX && getty != 'H' && getty != 'J' && getty != 'K' && getty != 'L' && getty != 'Y' && getty != 'U' && getty != 'B' && getty != 'N' #endif @@ -1966,7 +1968,7 @@ void show_map( FixedVector<int, 2> &spec_place ) move_y = 0; break; -#ifndef LINUX +#ifndef UNIX // This is old DOS keypad support case 'H': move_y = -1; |