src/Map.cpp
void MapCreateAll ()
{
    // Loop all possible maps and see if they exist
    for (const char* mapIdentifier: ALL_MAPS)
        if (XPLMMapExists(mapIdentifier))
            MapLayerCreate(mapIdentifier);
}
/// Loop all existing maps and create our map layer for them
Loop all existing maps and create our map layer for them
Loop all existing maps and create our map layer for them
void MapCreateAll ()
{
    for (const char* mapIdentifier: ALL_MAPS)
        if (XPLMMapExists(mapIdentifier))
            MapLayerCreate(mapIdentifier);
}
void MapCreateAll ( ) { for ( const char * mapIdentifier : ALL_MAPS ) if ( XPLMMapExists ( mapIdentifier ) ) MapLayerCreate ( mapIdentifier ) ; }
Loop all existing maps and create our map layer for them
Loop all existing maps and create our map layer for them
// Loop all possible maps and see if they exist