More robust timer handling in GTK: never create a new timer when one
is already active.
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4159
cda61777-01e9-0310-a592-
d414129be87e
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.
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4158
cda61777-01e9-0310-a592-
d414129be87e
A-_ha_! The Windows Rectangle() call appears to get uppity if asked
to draw a 1x1 rectangle, presumably on the grounds that that's
beneath its dignity and you ought to be using SetPixel() instead. So
now I do, and now Net actually looks exactly the same on Windows and
GTK. Woo!
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4157
cda61777-01e9-0310-a592-
d414129be87e
Most of a Windows front end. Something's not _quite_ right in the
GDI - there are blobs in the middle of powered lines in Net. But
it's 99% there now.
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4156
cda61777-01e9-0310-a592-
d414129be87e
Stop the user being able to resize the window.
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4155
cda61777-01e9-0310-a592-
d414129be87e
Implemented Cube, in a sufficiently general way that it also handles
the tetrahedron, octahedron and icosahedron.
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4151
cda61777-01e9-0310-a592-
d414129be87e
Further general development. Net is now playable, though
configuration is absent as yet.
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4145
cda61777-01e9-0310-a592-
d414129be87e
General further development. Sketched out the mid-end, added more
GTK code, rudiments of event passing.
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4141
cda61777-01e9-0310-a592-
d414129be87e
Beginnings of a GTK framework. (And I do mean _beginnings_; it opens
a window and that's about it.)
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4139
cda61777-01e9-0310-a592-
d414129be87e
Initial checkin of a portable framework for writing small GUI puzzle
games.
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4138
cda61777-01e9-0310-a592-
d414129be87e