Backend feature to iconify the window
|Reported by:||eriktorbjorn||Owned by:||eriktorbjorn|
|Game:||Simon the Sorcerer Puzzle Pack|
The Simon Puzzle Pack has a rather unusual opcode: one that iconifies (minimizes) the game window. It's used by the solitaire games (at least), which have minimize and close buttons in the upper right corner.
To me, it seems that the best way to support this - if we are to support it at all - is to add a backend feature flag, but I don't want to muck about with the backend without asking first.
This patch adds that to the SDL backend, along with an implementation of the AGOS engine opcode.
Ticket imported from: #1568775. Ticket imported from: patches/680.