List all the heightmaps */
| 597 | |
| 598 | /* List all the heightmaps */ |
| 599 | static bool ConListHeightmaps(std::span<std::string_view> argv) |
| 600 | { |
| 601 | if (argv.empty()) { |
| 602 | IConsolePrint(CC_HELP, "List all loadable heightmaps. Usage: 'list_heightmaps'."); |
| 603 | return true; |
| 604 | } |
| 605 | |
| 606 | _console_file_list_heightmap.ValidateFileList(true); |
| 607 | for (uint i = 0; i < _console_file_list_heightmap.size(); i++) { |
| 608 | IConsolePrint(CC_DEFAULT, "{}) {}", i, _console_file_list_heightmap[i].title.GetDecodedString()); |
| 609 | } |
| 610 | |
| 611 | return true; |
| 612 | } |
| 613 | |
| 614 | /* Change the dir via console */ |
| 615 | static bool ConChangeDirectory(std::span<std::string_view> argv) |
nothing calls this directly
no test coverage detected