| 2578 | } |
| 2579 | |
| 2580 | static command_result GetRegionMapsNew(color_ostream &stream, const EmptyMessage *in, RegionMaps *out) |
| 2581 | { |
| 2582 | if (!df::global::world->world_data) |
| 2583 | { |
| 2584 | return CR_FAILURE; |
| 2585 | } |
| 2586 | df::world_data * data = df::global::world->world_data; |
| 2587 | for (size_t i = 0; i < data->midmap_data.region_details.size(); i++) |
| 2588 | { |
| 2589 | df::world_region_details * region = data->midmap_data.region_details[i]; |
| 2590 | if (!region) |
| 2591 | continue; |
| 2592 | RegionMap * regionMap = out->add_region_maps(); |
| 2593 | CopyLocalMap(data, region, regionMap); |
| 2594 | } |
| 2595 | return CR_OK; |
| 2596 | } |
| 2597 | |
| 2598 | static command_result GetCreatureRaws(color_ostream &stream, const EmptyMessage *in, CreatureRawList *out) |
| 2599 | { |
nothing calls this directly
no test coverage detected