11 Commits

Author SHA1 Message Date
64e6afdeed Have each game declare a name which is used for window titles etc.
[originally from svn r4167]
2004-04-28 17:46:04 +00:00
e96f53452a Shift-click is equivalent to middle-click. This is mostly for
Windows users who may not have a middle button at all, but I've
replicated it in GTK to maintain cross-platform consistency.

[originally from svn r4166]
2004-04-28 17:42:32 +00:00
56a59e2e51 Introduce diagonal movement keys on the numeric keypad, and use them
as an alternative control method in Cube. (This was a bit of hassle
in the Windows front end; I also introduced a debugging framework
and made TranslateMessage conditional.)

[originally from svn r4162]
2004-04-28 17:21:57 +00:00
d44034bcf6 More robust timer handling in GTK: never create a new timer when one
is already active.

[originally from svn r4159]
2004-04-28 12:34:37 +00:00
3d8e7585b7 Add a menu bar, in both Windows and GTK. In particular, game modules
are now expected to provide a list of `presets' (game_params plus a
name) which are selectable from the menu. This means I can play
both Octahedron and Cube without recompiling in between :-)
While I'm here, also enabled a Cygwin makefile, which Just Worked.

[originally from svn r4158]
2004-04-28 12:07:15 +00:00
786b24afc1 Stop the user being able to resize the window.
[originally from svn r4155]
2004-04-27 19:01:49 +00:00
d99e217cfb Implemented Cube, in a sufficiently general way that it also handles
the tetrahedron, octahedron and icosahedron.

[originally from svn r4151]
2004-04-27 17:44:30 +00:00
9867234e70 Further general development. Net is now playable, though
configuration is absent as yet.

[originally from svn r4145]
2004-04-26 17:10:44 +00:00
a87bb05760 General further development. Sketched out the mid-end, added more
GTK code, rudiments of event passing.

[originally from svn r4141]
2004-04-25 20:15:22 +00:00
3663603627 Beginnings of a GTK framework. (And I do mean _beginnings_; it opens
a window and that's about it.)

[originally from svn r4139]
2004-04-25 14:45:22 +00:00
96dbb537ee Initial checkin of a portable framework for writing small GUI puzzle
games.

[originally from svn r4138]
2004-04-25 14:27:58 +00:00