summaryrefslogtreecommitdiff
path: root/src/wild.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-03-07 16:55:40 +0100
committerBardur Arantsson <bardur@scientician.net>2015-03-07 16:55:40 +0100
commitbcd70db7575040969a4fd5c5b9522f1ab87ab220 (patch)
tree9b6bee4ab662c0899019745f6dd4406f9de5f976 /src/wild.cc
parentb07243bd2d8c8d9f6521048ceddf3a95e029decc (diff)
Split wild.cc declarations to separate header file
Diffstat (limited to 'src/wild.cc')
-rw-r--r--src/wild.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wild.cc b/src/wild.cc
index 3aaf2894..c474f692 100644
--- a/src/wild.cc
+++ b/src/wild.cc
@@ -6,6 +6,8 @@
* included in all such copies.
*/
+#include "wild.hpp"
+
#include "angband.h"
#include "cave.hpp"
#include "hooks.h"
@@ -134,7 +136,7 @@ static void plasma_recursive(int x1, int y1, int x2, int y2,
*
* Return the number of floor grids
*/
-int generate_area(int y, int x, bool_ border, bool_ corner, bool_ refresh)
+static int generate_area(int y, int x, bool_ border, bool_ corner, bool_ refresh)
{
int road, entrance;
int x1, y1;