ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/random_maps/rproto.h
Revision: 1.23
Committed: Wed Jun 30 01:32:57 2010 UTC (13 years, 11 months ago) by root
Content type: text/plain
Branch: MAIN
Changes since 1.22: +0 -1 lines
Log Message:
progress?

File Contents

# User Rev Content
1 root 1.7 /*
2 root 1.9 * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 root 1.7 *
4 root 1.16 * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 root 1.10 * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team
6     * Copyright (©) 1992,2007 Frank Tore Johansen
7 root 1.7 *
8 root 1.9 * Deliantra is free software: you can redistribute it and/or modify
9 root 1.8 * it under the terms of the GNU General Public License as published by
10     * the Free Software Foundation, either version 3 of the License, or
11 root 1.10 * (at your option) any later version.
12 root 1.7 *
13 root 1.8 * 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.7 *
18 root 1.8 * You should have received a copy of the GNU General Public License
19     * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 root 1.7 *
21 root 1.9 * The authors can be reached via e-mail to <support@deliantra.net>
22 root 1.7 */
23    
24 root 1.1 /* random_map.c */
25 root 1.10 extern int make_wall (char **maze, int x, int y, int dir);
26 root 1.1 /* room_gen_onion.c */
27 root 1.12 extern void map_gen_onion (Layout maze, int option, int layers);
28 root 1.1 /* room_gen_spiral.c */
29 root 1.12 extern void map_gen_spiral (Layout maze, int option);
30 root 1.10 extern void connect_spirals (int xsize, int ysize, int sym, char **layout);
31 root 1.1 /* maze_gen.c */
32 root 1.22 extern void maze_gen (Layout maze, int full);
33 root 1.1 /* wall.c */
34 root 1.10 extern int surround_flag (char **layout, int i, int j, random_map_params *RP);
35     extern int surround_flag2 (char **layout, int i, int j, random_map_params *RP);
36     extern int surround_flag3 (maptile *map, sint16 i, sint16 j, random_map_params *RP);
37 root 1.19 extern void make_map_walls (maptile *map, char **layout, const char *w_style, const char *m_style, random_map_params *RP);
38 root 1.10 extern object *retrofit_joined_wall (maptile *the_map, int i, int j, int insert_flag, random_map_params *RP);
39 root 1.1 /* monster.c */
40 root 1.10 extern void place_monsters (maptile *map, char *monsterstyle, int difficulty, random_map_params *RP);
41 root 1.1 /* door.c */
42 root 1.10 extern void put_doors (maptile *the_map, char **maze, const char *doorstyle, random_map_params *RP);
43 root 1.1 /* decor.c */
44 root 1.21 extern void put_decor (maptile *map, char **maze, const char *decorstyle, int decor_option, random_map_params *RP);
45 root 1.1 /* exit.c */
46 root 1.21 extern void place_exits (maptile *map, char **maze, const char *exitstyle, int orientation, random_map_params *RP);
47 root 1.10 extern void unblock_exits (maptile *map, char **maze, random_map_params *RP);
48 root 1.1 /* treasure.c */
49 root 1.10 extern int wall_blocked (maptile *m, int x, int y);
50 root 1.21 extern void place_treasure (maptile *map, char **layout, const char *treasure_style, int treasureoptions, random_map_params *RP);
51 root 1.1 /* special.c */
52 root 1.10 extern void place_specials_in_map (maptile *map, char **layout, random_map_params *RP);
53 root 1.1 /* rogue_layout.c */
54 root 1.10 extern int surround_check (char **layout, int i, int j, int Xsize, int Ysize);
55 root 1.12 extern void roguelike_layout_gen (Layout maze, int options);
56 root 1.1 /* snake.c */
57 root 1.12 extern void make_snake_layout (Layout maze, int options);
58 root 1.1 /* square_spiral.c */
59 root 1.12 extern void make_square_spiral_layout (Layout maze, int options);
60 root 1.1 /* expand2x.c */
61 root 1.12 extern void expand2x (Layout maze);
62 root 1.10