1 |
root |
1.1 |
/* |
2 |
|
|
* This file is part of Deliantra, the Roguelike Realtime MMORPG. |
3 |
root |
1.4 |
* |
4 |
root |
1.3 |
* Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 |
root |
1.2 |
* Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team |
6 |
|
|
* Copyright (©) 1992,2007 Frank Tore Johansen |
7 |
root |
1.4 |
* |
8 |
root |
1.2 |
* Deliantra is free software: you can redistribute it and/or modify it under |
9 |
|
|
* the terms of the Affero GNU General Public License as published by the |
10 |
|
|
* Free Software Foundation, either version 3 of the License, or (at your |
11 |
|
|
* option) any later version. |
12 |
root |
1.4 |
* |
13 |
root |
1.1 |
* This program is distributed in the hope that it will be useful, |
14 |
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 |
|
|
* GNU General Public License for more details. |
17 |
root |
1.4 |
* |
18 |
root |
1.2 |
* You should have received a copy of the Affero GNU General Public License |
19 |
|
|
* and the GNU General Public License along with this program. If not, see |
20 |
|
|
* <http://www.gnu.org/licenses/>. |
21 |
root |
1.4 |
* |
22 |
root |
1.1 |
* The authors can be reached via e-mail to <support@deliantra.net> |
23 |
|
|
*/ |
24 |
|
|
|
25 |
|
|
/* random_map.c */ |
26 |
|
|
extern int make_wall (layout &maze, int x, int y, int dir); |
27 |
|
|
/* room_gen_onion.c */ |
28 |
|
|
extern void map_gen_onion (layout &maze, int option, int layers); |
29 |
|
|
/* room_gen_spiral.c */ |
30 |
|
|
extern void map_gen_spiral (layout &maze, int option); |
31 |
|
|
/* maze_gen.c */ |
32 |
|
|
extern void maze_gen (layout &maze, int full); |
33 |
|
|
/* wall.c */ |
34 |
|
|
extern int surround_flag (const layout &maze, int i, int j); |
35 |
|
|
extern int surround_flag2 (const layout &maze, int i, int j); |
36 |
|
|
extern int surround_flag3 (maptile *map, int i, int j); |
37 |
|
|
extern void make_map_walls (maptile *map, layout &maze, const char *w_style, const char *m_style, random_map_params *RP); |
38 |
|
|
extern object *retrofit_joined_wall (maptile *the_map, int i, int j, int insert_flag, random_map_params *RP); |
39 |
|
|
/* monster.c */ |
40 |
|
|
extern void place_monsters (maptile *map, const char *monsterstyle, int difficulty, random_map_params *RP); |
41 |
|
|
/* door.c */ |
42 |
|
|
extern void put_doors (maptile *the_map, layout &maze, const char *doorstyle, random_map_params *RP); |
43 |
|
|
/* decor.c */ |
44 |
|
|
extern void put_decor (maptile *map, layout &maze, const char *decorstyle, int decor_option, random_map_params *RP); |
45 |
|
|
/* exit.c */ |
46 |
|
|
extern void place_exits (maptile *map, layout &maze, const char *exitstyle, int orientation, random_map_params *RP); |
47 |
|
|
extern void unblock_exits (maptile *map, layout &maze); |
48 |
|
|
/* treasure.c */ |
49 |
|
|
extern int wall_blocked (maptile *m, int x, int y); |
50 |
|
|
extern void place_treasure (maptile *map, layout &maze, const char *treasure_style, int treasureoptions, random_map_params *RP); |
51 |
|
|
/* special.c */ |
52 |
|
|
extern void place_specials_in_map (maptile *map, layout &maze, random_map_params *RP); |
53 |
|
|
/* rogue_layout.c */ |
54 |
|
|
extern int surround_check (layout &maze, int i, int j); |
55 |
|
|
extern void roguelike_layout_gen (layout &maze, int options); |
56 |
|
|
/* snake.c */ |
57 |
|
|
extern void make_snake_layout (layout &maze, int options); |
58 |
|
|
/* square_spiral.c */ |
59 |
|
|
extern void make_square_spiral_layout (layout &maze, int options); |
60 |
|
|
/* expand2x.c */ |
61 |
|
|
extern void expand2x (layout &maze); |
62 |
|
|
|