ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/random_maps/rproto.h
(Generate patch)

Comparing deliantra/server/random_maps/rproto.h (file contents):
Revision 1.4 by root, Sat Jan 13 23:06:13 2007 UTC vs.
Revision 1.8 by root, Sun Jul 1 05:00:19 2007 UTC

1/*
2 * This file is part of Crossfire TRT, the Roguelike Realtime MORPG.
3 *
4 * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team
5 * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team
6 * Copyright (©) 1992,2007 Frank Tore Johansen
7 *
8 * Crossfire TRT 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 <crossfire@schmorp.de>
22 */
23
1/* random_map.c */ 24/* random_map.c */
2extern void dump_layout(char **layout, random_map_params *RP); 25extern void dump_layout(char **layout, random_map_params *RP);
3extern char **layoutgen(random_map_params *RP); 26extern char **layoutgen(random_map_params *RP);
4extern char **symmetrize_layout(char **maze, int sym, random_map_params *RP); 27extern char **symmetrize_layout(char **maze, int sym, random_map_params *RP);
5extern char **rotate_layout(char **maze, int rotation, random_map_params *RP); 28extern char **rotate_layout(char **maze, int rotation, random_map_params *RP);
6extern void roomify_layout(char **maze, random_map_params *RP); 29extern void roomify_layout(char **maze, random_map_params *RP);
7extern int can_make_wall(char **maze, int dx, int dy, int dir, random_map_params *RP); 30extern int can_make_wall(char **maze, int dx, int dy, int dir, random_map_params *RP);
8extern int make_wall(char **maze, int x, int y, int dir); 31extern int make_wall(char **maze, int x, int y, int dir);
9extern void doorify_layout(char **maze, random_map_params *RP); 32extern void doorify_layout(char **maze, random_map_params *RP);
10extern void write_map_parameters_to_string(char *buf, random_map_params *RP); 33extern void write_map_parameters_to_string(char *buf, random_map_params *RP);
11extern void write_parameters_to_string(char *buf, int xsize_n, int ysize_n, char *wallstyle_n, char *floorstyle_n, char *monsterstyle_n, char *treasurestyle_n, char *layoutstyle_n, char *decorstyle_n, char *doorstyle_n, char *exitstyle_n, char *final_map_n, char *exit_on_final_map_n, char *this_map_n, int layoutoptions1_n, int layoutoptions2_n, int layoutoptions3_n, int symmetry_n, int dungeon_depth_n, int dungeon_level_n, int difficulty_n, int difficulty_given_n, int decoroptions_n, int orientation_n, int origin_x_n, int origin_y_n, int random_seed_n, int treasureoptions_n, float difficulty_increase); 34extern void write_parameters_to_string(char *buf, int xsize_n, int ysize_n, const char *wallstyle_n, const char *floorstyle_n, const char *monsterstyle_n, const char *treasurestyle_n, const char *layoutstyle_n, const char *decorstyle_n, const char *doorstyle_n, const char *exitstyle_n, const char *final_map_n, const char *exit_on_final_map_n, const char *this_map_n, int layoutoptions1_n, int layoutoptions2_n, int layoutoptions3_n, int symmetry_n, int dungeon_depth_n, int dungeon_level_n, int difficulty_n, int difficulty_given_n, int decoroptions_n, int orientation_n, int origin_x_n, int origin_y_n, uint32_t random_seed_n, int treasureoptions_n, float difficulty_increase);
12extern void copy_object_with_inv(object *src_ob, object *dest_ob); 35extern void copy_object_with_inv(object *src_ob, object *dest_ob);
13/* room_gen_onion.c */ 36/* room_gen_onion.c */
14extern char **map_gen_onion(int xsize, int ysize, int option, int layers); 37extern char **map_gen_onion(int xsize, int ysize, int option, int layers);
15extern void centered_onion(char **maze, int xsize, int ysize, int option, int layers); 38extern void centered_onion(char **maze, int xsize, int ysize, int option, int layers);
16extern void bottom_centered_onion(char **maze, int xsize, int ysize, int option, int layers); 39extern void bottom_centered_onion(char **maze, int xsize, int ysize, int option, int layers);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines