path: root/src/generate.hpp
diff options
authorBardur Arantsson <>2015-03-07 16:55:40 +0100
committerBardur Arantsson <>2015-03-07 16:55:40 +0100
commitd6d10c02823805bf5f2088dfaedaf925a83ff52f (patch)
tree7e4d2b88cfe860098bc0dd271bb6318eec02ca1b /src/generate.hpp
parenta9d2bec5905a6b29023ce106f44032eba7a9c474 (diff)
Split declarations to separate header file
Diffstat (limited to 'src/generate.hpp')
1 files changed, 12 insertions, 0 deletions
diff --git a/src/generate.hpp b/src/generate.hpp
new file mode 100644
index 00000000..54ac3b7d
--- /dev/null
+++ b/src/generate.hpp
@@ -0,0 +1,12 @@
+#pragma once
+#include "angband.h"
+extern bool_ new_player_spot(int branch);
+extern void add_level_generator(cptr name, bool_ (*generator)(), bool_ stairs, bool_ monsters, bool_ objects, bool_ miscs);
+extern bool_ level_generate_dungeon();
+extern bool_ generate_fracave(int y0, int x0,int xsize,int ysize,int cutoff,bool_ light,bool_ room);
+extern void generate_hmap(int y0, int x0,int xsiz,int ysiz,int grd,int roug,int cutoff);
+extern bool_ room_alloc(int x,int y,bool_ crowded,int by0,int bx0,int *xx,int *yy);
+extern void generate_cave(void);
+extern void build_rectangle(int y1, int x1, int y2, int x2, int feat, int info);