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