DogfightState development:
- multi interceptions on the way
Merge branch 'master' of http://github.org/SupSuper/OpenXcom
DogfightState development:
- multi interceptions added (probably still buggy, to be tested).
DogfightState development:
- removed temp variables.
DogfightState development:
- removed more temp variables and methods.
DogfightState development:
- added two variables to new game rule set.
DogfightState bugfixes (bugs reported by radius75):
- Unable to disengage from a dogfight - fixed.
- Zoom effect sometimes gets stuck and makes it impossible to zoom in or out - fixed.
DogfightState bugfix (reported by pmprog):
- Minimized dogfights numbering messed up - fixed.
DogfightState bugfix (found by pmprog):
- Two crafts cannot engage a UFO at the exact same time - fixed.
DogfightState bugfix (found by radius75):
- UFO's breaking off but interception windows don't close - fixed.
DogfightState bugfix (I'll skip telling who reported this... :P ):
- wrong positioning of windows depending on resolution - fixed.
DogfightState bugfix:
- wrong dogfights numbering (again!) - fixed.
DogfightState bugfix:
- window numbering and displaying problems when disengaging and re-engaging interceptors - should be fixed...
DogfightState bugfix:
- crafts unable to get into a dogfight after leaving the previous one - fixed.
- crafts not entering a dogfight after game is loaded - fixed.
DogfightState bugfix:
- wrong interception windows numbering - fixed.
DogfightState development:
- code cleanup.
DogfightState bugfix:
- Geoscape buttons clickable during dogfights - fixed.
- If you change the crafts destination while it's interception window is minimized the window doesn't disappear - fixed.
DogfightState bugfixes... can't tell which ones. :P
Added leave() method for State objects.

This gives them the opportunity to prepare before losing focus.
No need for popups now.

Since we know when we lose focus, GeoscapeState does not need to keep
track of popup windows.