diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-12-08 11:27:27 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-12-08 11:27:27 +0000 |
commit | 93de8db42745db1d85c850cb1001baa1ac55bcc0 (patch) | |
tree | 4afc12597da202289304300cca3ab137aa25d59d | |
parent | 7010b9e951af1fe064cd83f99cd17010cca528c6 (diff) | |
download | crawl-ref-93de8db42745db1d85c850cb1001baa1ac55bcc0.tar.gz crawl-ref-93de8db42745db1d85c850cb1001baa1ac55bcc0.zip |
Fix Windows compile issues.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@595 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/dungeon.cc | 1 | ||||
-rw-r--r-- | crawl-ref/source/libw32c.h | 1 | ||||
-rw-r--r-- | crawl-ref/source/mapdef.cc | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc index 5d67bcebe2..b98cb26b44 100644 --- a/crawl-ref/source/dungeon.cc +++ b/crawl-ref/source/dungeon.cc @@ -5357,7 +5357,6 @@ static void build_rooms(const dgn_region_list &excluded, { const coord_def c = connections[0]; connections.erase( connections.begin() ); - coord_def edge = myroom.random_edge_point(); join_the_dots(c, myroom.random_edge_point(), excluded); } else if (exclusive) diff --git a/crawl-ref/source/libw32c.h b/crawl-ref/source/libw32c.h index 37372976ee..441fdf374d 100644 --- a/crawl-ref/source/libw32c.h +++ b/crawl-ref/source/libw32c.h @@ -13,7 +13,6 @@ typedef std::basic_string<char> string; #endif -#include <excpt.h> #include <stdarg.h> #define _NORMALCURSOR true diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc index a817cea5c8..7c3c037b7f 100644 --- a/crawl-ref/source/mapdef.cc +++ b/crawl-ref/source/mapdef.cc @@ -22,7 +22,7 @@ static const char *map_section_names[] = { "float", }; -static const char *map_section_name(int msect) +const char *map_section_name(int msect) { if (msect < 0 || msect >= MAP_NUM_SECTION_TYPES) return ""; |