… | |
… | |
293 | rp.difficulty_increase = RP->difficulty_increase; |
293 | rp.difficulty_increase = RP->difficulty_increase; |
294 | rp.decoroptions = -1; |
294 | rp.decoroptions = -1; |
295 | rp.orientation = 1; |
295 | rp.orientation = 1; |
296 | rp.random_seed = RP->random_seed ^ 0xdeadbeef; |
296 | rp.random_seed = RP->random_seed ^ 0xdeadbeef; |
297 | rp.region = RP->region; |
297 | rp.region = RP->region; |
|
|
298 | rp.difficulty=99;//D |
298 | |
299 | |
299 | write_map_parameters_to_string (buf, &rp); |
300 | write_map_parameters_to_string (buf, &rp); |
300 | delete &rp; |
301 | delete &rp; |
301 | } |
302 | } |
302 | |
303 | |
… | |
… | |
307 | } |
308 | } |
308 | |
309 | |
309 | void |
310 | void |
310 | place_specials_in_map (maptile *map, char **layout, random_map_params *RP) |
311 | place_specials_in_map (maptile *map, char **layout, random_map_params *RP) |
311 | { |
312 | { |
|
|
313 | for(int i=0;i<100;++i)//D |
312 | switch (rmg_rndm (NUM_OF_SPECIAL_TYPES)) |
314 | switch (rmg_rndm (NUM_OF_SPECIAL_TYPES)) |
313 | { |
315 | { |
314 | case SPECIAL_SUBMAP: |
316 | case SPECIAL_SUBMAP: |
315 | { |
317 | { |
316 | /* includes a special map into the random map being made. */ |
318 | /* includes a special map into the random map being made. */ |