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

Method btnOptionsClick

src/Menu/MainMenuState.cpp:147–151  ·  view source on GitHub ↗

* Opens the Options screen. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

145 * @param action Pointer to an action.
146 */
147void MainMenuState::btnOptionsClick(Action *)
148{
149 Options::backupDisplay();
150 _game->pushState(new OptionsVideoState(_game, OPT_MENU));
151}
152
153/**
154 * Quits the game.

Callers

nothing calls this directly

Calls 2

backupDisplayFunction · 0.85
pushStateMethod · 0.80

Tested by

no test coverage detected