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

Method showInfoBoxQueue

src/Battlescape/BattlescapeGame.cpp:594–602  ·  view source on GitHub ↗

* Shows the infoboxes in the queue (if any). */

Source from the content-addressed store, hash-verified

592 * Shows the infoboxes in the queue (if any).
593 */
594void BattlescapeGame::showInfoBoxQueue()
595{
596 for (std::vector<InfoboxOKState*>::iterator i = _infoboxQueue.begin(); i != _infoboxQueue.end(); ++i)
597 {
598 _parentState->getGame()->pushState(*i);
599 }
600
601 _infoboxQueue.clear();
602}
603
604/**
605 * Handles the result of non target actions, like priming a grenade.

Callers

nothing calls this directly

Calls 3

pushStateMethod · 0.80
getGameMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected