SupSuper/OpenXcom — pull request #165 by karvanit (2012-10-29 15:31:25+00:00)
Title: Cleaner Engine states

The states can know they are paused as well as when they are started.
This allowed me to get rid of the special popup() stacks inside the two big states (Geoscape and Battlescape).

PS: This change will also make it MUCH easier to refactor the Geoscape AI, so we can add some intelligence in the strategic level.
PS2: When I finish my current refactoring, I'll put up the proposed new AI framework.