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

Method timerReset

src/Geoscape/GeoscapeState.cpp:1751–1757  ·  view source on GitHub ↗

* Slows down the timer back to minimum speed, * for when important events occur. */

Source from the content-addressed store, hash-verified

1749 * for when important events occur.
1750 */
1751void GeoscapeState::timerReset()
1752{
1753 SDL_Event ev;
1754 ev.button.button = SDL_BUTTON_LEFT;
1755 Action act(&ev, _game->getScreen()->getXScale(), _game->getScreen()->getYScale(), _game->getScreen()->getCursorTopBlackBand(), _game->getScreen()->getCursorLeftBlackBand());
1756 _btn5Secs->mousePress(&act, this);
1757}
1758
1759/**
1760 * Adds a new popup window to the queue

Callers 9

btnInterceptClickMethod · 0.80
btnCentreClickMethod · 0.80
btnGotoBaseClickMethod · 0.80
btnInterceptClickMethod · 0.80
btnCentreClickMethod · 0.80
btnOk5SecsClickMethod · 0.80
btnOkClickMethod · 0.80
btnOk5SecsClickMethod · 0.80
btnGotoBaseClickMethod · 0.80

Calls 6

getScreenMethod · 0.80
getCursorTopBlackBandMethod · 0.80
getXScaleMethod · 0.45
getYScaleMethod · 0.45
mousePressMethod · 0.45

Tested by 1

btnGotoBaseClickMethod · 0.64