ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/rproto.h
Revision: 1.1
Committed: Sun Aug 22 20:23:06 2010 UTC (13 years, 9 months ago) by root
Content type: text/plain
Branch: MAIN
Log Message:
rproto.h => include and random_map.h => include/rmg.h

File Contents

# User Rev Content
1 root 1.1 /*
2     * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3     *
4     * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5     * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team
6     * Copyright (©) 1992,2007 Frank Tore Johansen
7     *
8     * Deliantra is free software: you can redistribute it and/or modify
9     * 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     * (at your option) any later version.
12     *
13     * 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     *
18     * 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     *
21     * The authors can be reached via e-mail to <support@deliantra.net>
22     */
23    
24     /* random_map.c */
25     extern int make_wall (layout &maze, int x, int y, int dir);
26     /* room_gen_onion.c */
27     extern void map_gen_onion (layout &maze, int option, int layers);
28     /* room_gen_spiral.c */
29     extern void map_gen_spiral (layout &maze, int option);
30     /* maze_gen.c */
31     extern void maze_gen (layout &maze, int full);
32     /* wall.c */
33     extern int surround_flag (const layout &maze, int i, int j);
34     extern int surround_flag2 (const layout &maze, int i, int j);
35     extern int surround_flag3 (maptile *map, int i, int j);
36     extern void make_map_walls (maptile *map, layout &maze, const char *w_style, const char *m_style, random_map_params *RP);
37     extern object *retrofit_joined_wall (maptile *the_map, int i, int j, int insert_flag, random_map_params *RP);
38     /* monster.c */
39     extern void place_monsters (maptile *map, const char *monsterstyle, int difficulty, random_map_params *RP);
40     /* door.c */
41     extern void put_doors (maptile *the_map, layout &maze, const char *doorstyle, random_map_params *RP);
42     /* decor.c */
43     extern void put_decor (maptile *map, layout &maze, const char *decorstyle, int decor_option, random_map_params *RP);
44     /* exit.c */
45     extern void place_exits (maptile *map, layout &maze, const char *exitstyle, int orientation, random_map_params *RP);
46     extern void unblock_exits (maptile *map, layout &maze);
47     /* treasure.c */
48     extern int wall_blocked (maptile *m, int x, int y);
49     extern void place_treasure (maptile *map, layout &maze, const char *treasure_style, int treasureoptions, random_map_params *RP);
50     /* special.c */
51     extern void place_specials_in_map (maptile *map, layout &maze, random_map_params *RP);
52     /* rogue_layout.c */
53     extern int surround_check (layout &maze, int i, int j);
54     extern void roguelike_layout_gen (layout &maze, int options);
55     /* snake.c */
56     extern void make_snake_layout (layout &maze, int options);
57     /* square_spiral.c */
58     extern void make_square_spiral_layout (layout &maze, int options);
59     /* expand2x.c */
60     extern void expand2x (layout &maze);
61