MCPcopy Create free account
hub / github.com/bwapi/bwapi / setGUI

Method setGUI

bwapi/BWAPI/Source/BWAPI/GameDrawing.cpp:199–205  ·  view source on GitHub ↗

--------------------------------------------------- SET GUI ----------------------------------------------

Source from the content-addressed store, hash-verified

197 }
198 //--------------------------------------------------- SET GUI ----------------------------------------------
199 void GameImpl::setGUI(bool enabled)
200 {
201 if ( !this->tournamentCheck(Tournament::SetGUI, &enabled) )
202 return;
203 data->hasGUI = enabled;
204 setFrameSkip(enabled ? -1 : 9999999);
205 }
206 // Fixed precision conversions
207 // Uses * and / for compatibility with negative numbers
208 #define fixed2Int( x ) ( ((x) + (1 << 15)) / (1 << 16) )

Callers 2

initializeDataMethod · 0.95
processCommandsMethod · 0.45

Calls 1

tournamentCheckMethod · 0.95

Tested by

no test coverage detected