diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-03-07 16:55:40 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-03-07 16:55:40 +0100 |
commit | a9d2bec5905a6b29023ce106f44032eba7a9c474 (patch) | |
tree | a14599c01dbbd63bab0df141d33006381477462a /src/gen_maze.cc | |
parent | ef6f8df29a69e5462fce11589b9a6778f02f22b5 (diff) |
Split gen_*.cc declarations to separate header filesge
Diffstat (limited to 'src/gen_maze.cc')
-rw-r--r-- | src/gen_maze.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gen_maze.cc b/src/gen_maze.cc index a7da6eaa..387fecd8 100644 --- a/src/gen_maze.cc +++ b/src/gen_maze.cc @@ -1,8 +1,4 @@ /* - * Maze dungeon generator - */ - -/* * Copyright (c) 2003 DarkGod. And somebody who posted the algorith on * rec.games.roguelike.development. I can't remember teh name :( please mail me * @@ -11,6 +7,8 @@ * included in all such copies. */ +#include "gen_evol.hpp" + #include "angband.h" #include "cave.hpp" #include "levels.hpp" @@ -24,7 +22,7 @@ */ typedef signed char maze_row[(MAX_WID / 2) + 2]; -void dig(maze_row *maze, int y, int x, int d) +static void dig(maze_row *maze, int y, int x, int d) { int k; int dy = 0, dx = 0; |