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

Comparing deliantra/server/random_maps/special.C (file contents):
Revision 1.37 by root, Mon Oct 12 14:00:58 2009 UTC vs.
Revision 1.40 by root, Fri Mar 26 00:59:21 2010 UTC

1/* 1/*
2 * This file is part of Deliantra, the Roguelike Realtime MMORPG. 2 * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 * 3 *
4 * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team 4 * Copyright (©) 2005,2006,2007,2008,2010 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team 5 * Copyright (©) 2002 Mark Wedel & Crossfire Development Team
6 * Copyright (©) 1992,2007 Frank Tore Johansen 6 * Copyright (©) 1992 Frank Tore Johansen
7 * 7 *
8 * Deliantra is free software: you can redistribute it and/or modify it under 8 * 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 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 10 * Free Software Foundation, either version 3 of the License, or (at your
11 * option) any later version. 11 * option) any later version.
178 ix += freearr_x[i]; 178 ix += freearr_x[i];
179 iy += freearr_y[i]; 179 iy += freearr_y[i];
180 potion->face = fountain->face; 180 potion->face = fountain->face;
181 SET_FLAG (potion, FLAG_NO_PICK); 181 SET_FLAG (potion, FLAG_NO_PICK);
182 SET_FLAG (potion, FLAG_IDENTIFIED); 182 SET_FLAG (potion, FLAG_IDENTIFIED);
183 potion->name = potion->name_pl = "fountain"; 183 potion->name = potion->name_pl = shstr_fountain;
184 potion->x = ix; 184 potion->x = ix;
185 potion->y = iy; 185 potion->y = iy;
186 potion->materialname = "adamantium"; 186 potion->material = name_to_material (shstr_adamantium);
187 fountain->x = ix; 187 fountain->x = ix;
188 fountain->y = iy; 188 fountain->y = iy;
189 insert_ob_in_map (fountain, map, NULL, 0); 189 insert_ob_in_map (fountain, map, NULL, 0);
190 insert_ob_in_map (potion, map, NULL, 0); 190 insert_ob_in_map (potion, map, NULL, 0);
191} 191}
277 277
278 write_parameters_to_string (buf, g_xsize, g_ysize, RP->wallstyle, RP->floorstyle, mon, 278 write_parameters_to_string (buf, g_xsize, g_ysize, RP->wallstyle, RP->floorstyle, mon,
279 "none", style, decor, "none", RP->exitstyle, 0, 0, 0, 279 "none", style, decor, "none", RP->exitstyle, 0, 0, 0,
280 RMOPT_WALLS_ONLY, 0, 0, 1, RP->dungeon_level, RP->dungeon_level, 280 RMOPT_WALLS_ONLY, 0, 0, 1, RP->dungeon_level, RP->dungeon_level,
281 RP->difficulty, RP->difficulty, -1, 1, 0, 0, 0, 0, RP->difficulty_increase); 281 RP->difficulty, RP->difficulty, -1, 1, 0, 0, 0, 0, RP->difficulty_increase);
282 the_exit->slaying = "/!"; 282 the_exit->slaying = shstr_random_map_exit;
283 the_exit->msg = buf; 283 the_exit->msg = buf;
284 284
285 insert_ob_in_map (the_exit, map, NULL, 0); 285 insert_ob_in_map (the_exit, map, NULL, 0);
286} 286}
287 287

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines