src/2D.cpp
void XPMPEnableAircraftLabels (bool _enable)
{
    // Only do anything if this actually is a change to prevent log spamming
    if (glob.bDrawLabels != _enable) {
        LOG_MSG(logDEBUG, DEBUG_ENABLE_AC_LABELS, _enable ? "enabled" : "disabled");
        glob.bDrawLabels = _enable;
        
        // Start/stop drawing as requested
        if (glob.bDrawLabels)
            TwoDActivate();
        else
            TwoDDeactivate();
    }
}
// Enable/Disable/Query drawing of labels
Enable/Disable/Query drawing of labels
Enable / Disable / Query drawing of labels
void XPMPEnableAircraftLabels (bool _enable)
{
    if (glob.bDrawLabels != _enable) {
        LOG_MSG(logDEBUG, DEBUG_ENABLE_AC_LABELS, _enable ? "enabled" : "disabled");
        glob.bDrawLabels = _enable;
        if (glob.bDrawLabels)
            TwoDActivate();
        else
            TwoDDeactivate();
    }
}
void XPMPEnableAircraftLabels ( bool _enable ) { if ( glob . bDrawLabels != _enable ) { LOG_MSG ( logDEBUG , DEBUG_ENABLE_AC_LABELS , _enable ? " " : " " ) ; glob . bDrawLabels = _enable ; if ( glob . bDrawLabels ) TwoDActivate ( ) ; else TwoDDeactivate ( ) ; } }
Enable/Disable/Query drawing of labels
Enable / Disable / Query drawing of labels
// Only do anything if this actually is a change to prevent log spamming // Start/stop drawing as requested