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.53 by root, Sat Jul 3 01:12:45 2010 UTC vs.
Revision 1.54 by root, Sat Jul 3 01:49:18 2010 UTC

280 rp.ysize = g_ysize; 280 rp.ysize = g_ysize;
281 281
282 rp.set ("wallstyle" , RP->get_str ("wallstyle" , 0)); 282 rp.set ("wallstyle" , RP->get_str ("wallstyle" , 0));
283 rp.set ("floorstyle" , RP->get_str ("floorstyle", 0)); 283 rp.set ("floorstyle" , RP->get_str ("floorstyle", 0));
284 rp.set ("exitstyle" , RP->get_str ("exitstyle" , 0)); 284 rp.set ("exitstyle" , RP->get_str ("exitstyle" , 0));
285 rp.set ("region" , RP->get_str ("region" , 0));
285 rp.set ("monsterstyle" , mon); 286 rp.set ("monsterstyle" , mon);
286 rp.set ("treasurestyle", "none"); 287 rp.set ("treasurestyle", "none");
287 rp.set ("layoutstyle" , style); 288 rp.set ("layoutstyle" , style);
288 rp.set ("decorstyle" , decor); 289 rp.set ("decorstyle" , decor);
289 rp.set ("decoroptions" , (IV)-1); 290 rp.set ("decoroptions" , (IV)-1);
295 rp.difficulty = RP->difficulty; 296 rp.difficulty = RP->difficulty;
296 rp.difficulty_given = RP->difficulty; 297 rp.difficulty_given = RP->difficulty;
297 rp.difficulty_increase = RP->difficulty_increase; 298 rp.difficulty_increase = RP->difficulty_increase;
298 rp.orientation = 1; 299 rp.orientation = 1;
299 rp.random_seed = uint32_t (RP->random_seed + 0xdeadbeef); 300 rp.random_seed = uint32_t (RP->random_seed + 0xdeadbeef);
300 rp.region = RP->region;
301 301
302 the_exit->slaying = shstr_random_map_exit; 302 the_exit->slaying = shstr_random_map_exit;
303 the_exit->msg = rp.as_shstr (); 303 the_exit->msg = rp.as_shstr ();
304 304
305 delete &rp; 305 delete &rp;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines