simon-svn: puzzles: simon

Commits to Tartarus CVS repository. tartarus-commits at
Sun May 6 15:01:35 BST 2012

SVN root:       svn://
Changes by:     simon
Revision:       9502
Date:           2012-05-06 15:01:35 +0100 (Sun, 06 May 2012)

Log message (11 lines):
GNUstep compatibility: stop using the API feature isFlipped/setFlipped
to translate y-coordinates from the default of up-from-bottom to the
down-from-top expected by these puzzles, because it doesn't work right
on GNUstep. Instead, we run the API in its default mode (probably a
more robust choice anyway) and translate coordinates manually in the
front end.

In the process, I've separates the processButton: method into one for
mouse buttons and one for keys, since that was the easiest way to
ensure the coordinates passed to the mid-end for the latter are -1,-1
_after_ translation rather than before.

Modified files:
U   puzzles/osx.m


More information about the tartarus-commits mailing list