Recently I finally wanted to find the infamous "Plymouth Cold War" bug, but about 10 seconds after looking at all these (map_id)s, I lost my interest. Since it's a problem that the mapper is generating hardly readable code, i wrote this simple console application that replaces the map_ids with their enum equivalent. Drop the text file onto the .exe.
example:
TethysGame::CreateUnit(x, (map_id)1, LOCATION(90+31, 35-1), 0, (map_id)0, 0);
TethysGame::CreateUnit(x, (map_id)1, LOCATION(92+31, 35-1), 0, (map_id)0, 0);
TethysGame::CreateUnit(x, (map_id)1, LOCATION(93+31, 36-1), 0, (map_id)0, 0);
TethysGame::CreateUnit(x, (map_id)2, LOCATION(88+31, 38-1), 0, (map_id)0, 0);
TethysGame::CreateUnit(x, (map_id)2, LOCATION(89+31, 39-1), 0, (map_id)0, 0);
TethysGame::CreateUnit(x, (map_id)2, LOCATION(88+31, 39-1), 0, (map_id)0, 0);
TethysGame::CreateUnit(x, (map_id)27, LOCATION(97+31, 38-1), 0, (map_id)0, 0);
TethysGame::CreateUnit(x, (map_id)13, LOCATION(92+31, 39-1), 0, (map_id)0, 0);
TethysGame::CreateUnit(x, (map_id)23, LOCATION(82+31, 39-1), 0, (map_id)59, 0);
TethysGame::CreateUnit(x, (map_id)23, LOCATION(84+31, 40-1), 0, (map_id)59, 0);
TethysGame::CreateUnit(x, (map_id)26, LOCATION(95+31, 41-1), 0, (map_id)0, 0);
TethysGame::CreateUnit(x, (map_id)26, LOCATION(97+31, 41-1), 0, (map_id)0, 0);
TethysGame::CreateUnit(x, (map_id)7, LOCATION(79+31, 40-1), 0, (map_id)61, 0);
TethysGame::CreateUnit(x, (map_id)7, LOCATION(83+31, 36-1), 0, (map_id)61, 0);
to
TethysGame::CreateUnit(x, mapCargoTruck, LOCATION(90+31, 35-1), 0, mapNone, 0);
TethysGame::CreateUnit(x, mapCargoTruck, LOCATION(92+31, 35-1), 0, mapNone, 0);
TethysGame::CreateUnit(x, mapCargoTruck, LOCATION(93+31, 36-1), 0, mapNone, 0);
TethysGame::CreateUnit(x, mapConVec, LOCATION(88+31, 38-1), 0, mapNone, 0);
TethysGame::CreateUnit(x, mapConVec, LOCATION(89+31, 39-1), 0, mapNone, 0);
TethysGame::CreateUnit(x, mapConVec, LOCATION(88+31, 39-1), 0, mapNone, 0);
TethysGame::CreateUnit(x, mapForum, LOCATION(97+31, 38-1), 0, mapNone, 0);
TethysGame::CreateUnit(x, mapEvacuationTransport, LOCATION(92+31, 39-1), 0, mapNone, 0);
TethysGame::CreateUnit(x, mapGuardPost, LOCATION(82+31, 39-1), 0, mapAcidCloud, 0);
TethysGame::CreateUnit(x, mapGuardPost, LOCATION(84+31, 40-1), 0, mapAcidCloud, 0);
TethysGame::CreateUnit(x, mapRareStorage, LOCATION(95+31, 41-1), 0, mapNone, 0);
TethysGame::CreateUnit(x, mapRareStorage, LOCATION(97+31, 41-1), 0, mapNone, 0);
TethysGame::CreateUnit(x, mapTiger, LOCATION(79+31, 40-1), 0, mapLaser, 0);
TethysGame::CreateUnit(x, mapTiger, LOCATION(83+31, 36-1), 0, mapLaser, 0);