| 56 | |
| 57 | |
| 58 | CCMD(listmaps) |
| 59 | { |
| 60 | for (auto& map : mapList) |
| 61 | { |
| 62 | int lump = fileSystem.FindFile(map->fileName.GetChars()); |
| 63 | if (lump >= 0) |
| 64 | { |
| 65 | int rfnum = fileSystem.GetFileContainer(lump); |
| 66 | Printf("%s - %s (%s)\n", map->LabelName(), map->DisplayName(), fileSystem.GetResourceFileName(rfnum)); |
| 67 | } |
| 68 | else |
| 69 | { |
| 70 | Printf("%s - %s (defined but does not exist)\n", map->fileName.GetChars(), map->DisplayName()); |
| 71 | } |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | MapRecord *FindMapByName(const char *nm) |
| 76 | { |
nothing calls this directly
no test coverage detected