… | |
… | |
2250 | int random_seed,\ |
2250 | int random_seed,\ |
2251 | val64 total_map_hp,\ |
2251 | val64 total_map_hp,\ |
2252 | int map_layout_style,\ |
2252 | int map_layout_style,\ |
2253 | int treasureoptions,\ |
2253 | int treasureoptions,\ |
2254 | int symmetry_used,\ |
2254 | int symmetry_used,\ |
2255 | region *region\ |
2255 | region *region,\ |
|
|
2256 | char *custom\ |
2256 | ) |
2257 | ) |
2257 | CODE: |
2258 | CODE: |
2258 | { |
2259 | { |
2259 | random_map_params rmp; |
2260 | random_map_params rmp; |
2260 | |
2261 | |
… | |
… | |
2292 | rmp.total_map_hp = total_map_hp; |
2293 | rmp.total_map_hp = total_map_hp; |
2293 | rmp.map_layout_style = map_layout_style; |
2294 | rmp.map_layout_style = map_layout_style; |
2294 | rmp.treasureoptions = treasureoptions; |
2295 | rmp.treasureoptions = treasureoptions; |
2295 | rmp.symmetry_used = symmetry_used; |
2296 | rmp.symmetry_used = symmetry_used; |
2296 | rmp.region = region; |
2297 | rmp.region = region; |
|
|
2298 | rmp.custom = custom; |
2297 | |
2299 | |
2298 | RETVAL = generate_random_map (path, &rmp); |
2300 | RETVAL = generate_random_map (path, &rmp); |
2299 | } |
2301 | } |
2300 | OUTPUT: |
2302 | OUTPUT: |
2301 | RETVAL |
2303 | RETVAL |