MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / exitClick

Method exitClick

src/Battlescape/ScannerState.cpp:131–139  ·  view source on GitHub ↗

* Exits the screen. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

129 * @param action Pointer to an action.
130 */
131void ScannerState::exitClick(Action *)
132{
133 if (Options::maximizeInfoScreens)
134 {
135 Screen::updateScale(Options::battlescapeScale, Options::battlescapeScale, Options::baseXBattlescape, Options::baseYBattlescape, true);
136 _game->getScreen()->resetDisplay(false);
137 }
138 _game->popState();
139}
140
141}

Callers

nothing calls this directly

Calls 3

resetDisplayMethod · 0.80
getScreenMethod · 0.80
popStateMethod · 0.45

Tested by

no test coverage detected