Opened 18 years ago

Closed 18 years ago

Last modified 5 years ago

#8575 closed patch

Backend feature to iconify the window

Reported by: eriktorbjorn Owned by: eriktorbjorn
Priority: normal Component: Engine: AGOS
Version: Keywords:
Cc: Game: Simon the Sorcerer Puzzle Pack

Description

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.

Attachments (1)

agos-iconify.diff (2.6 KB ) - added by eriktorbjorn 18 years ago.
Patch against current SVN

Download all attachments as: .zip

Change History (5)

by eriktorbjorn, 18 years ago

Attachment: agos-iconify.diff added

Patch against current SVN

comment:1 by fingolfin, 18 years ago

I have no fundamental objections to this feature (although it seems rather odd :-).

comment:2 by eriktorbjorn, 18 years ago

Thanks. I've committed it. (And I agree it's an odd feature. :-)

comment:3 by eriktorbjorn, 18 years ago

Owner: set to eriktorbjorn
Status: newclosed

comment:4 by digitall, 5 years ago

Component: Engine: AGOS
Game: Simon the Sorcerer Puzzle Pack
Note: See TracTickets for help on using tickets.