aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Wrap the status bar in a viewport, to avoid it expanding if the textSimon Tatham2004-05-01
| | | | | | | doesn't fit in it. This not only looked ugly, but caused unnecessary calls to configure_area() and kept destroying the pixmap. [originally from svn r4180]
* The cube was being drawn slightly differently on the top and leftSimon Tatham2004-05-01
| | | | | | | | rows, because the coordinates were crossing one or other axis at that point and so the lower coordinate was being rounded up while the upper one was rounded down. Judicious use of floor() fixes it. [originally from svn r4179]
* Keep the status bar in better sync with the game display.Simon Tatham2004-04-30
| | | | [originally from svn r4177]
* We were forgetting to count the final move.Simon Tatham2004-04-30
| | | | [originally from svn r4176]
* Incorrect placing of the polyhedron sometimes left it on a blueSimon Tatham2004-04-30
| | | | | | square. Oops. [originally from svn r4175]
* Added a status bar.Simon Tatham2004-04-29
| | | | [originally from svn r4174]
* Implemented text and clipping primitives in the frontend, and addedSimon Tatham2004-04-29
| | | | | | two new simple games `fifteen' and `sixteen'. [originally from svn r4173]
* `There's always one'. Add nullgame to .cvsignore.Simon Tatham2004-04-29
| | | | [originally from svn r4170]
* Add a template file defining the null game.Simon Tatham2004-04-29
| | | | [originally from svn r4169]
* Add a new game concept called a `flash'. This is a graphical effectSimon Tatham2004-04-28
| | | | | | | | | | | | | | | taking non-zero time, which is triggered by the making of a move and is _not_ hurried to its conclusion by the start of the next move (so the game redraw function is expected to be able to draw it in parallel with continuing moves). The only thing that prematurely terminates a flash is the start of a fresh flash. In particular, this concept is used to display the completion flash in Net, because at least _my_ playing instincts make me lock every piece I've unambiguously placed, and hence the last turn move is instantly followed by a lock move which was previously suppressing the completion flash. [originally from svn r4168]
* Have each game declare a name which is used for window titles etc.Simon Tatham2004-04-28
| | | | [originally from svn r4167]
* Shift-click is equivalent to middle-click. This is mostly forSimon Tatham2004-04-28
| | | | | | | 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]
* Fix zillions of MSVC compiler warnings. Sigh.Simon Tatham2004-04-28
| | | | [originally from svn r4165]
* Introduce diagonal movement keys on the numeric keypad, and use themSimon Tatham2004-04-28
| | | | | | | | 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]
* Add .map and .rsp files to .cvsignore.Simon Tatham2004-04-28
| | | | [originally from svn r4160]
* More robust timer handling in GTK: never create a new timer when oneSimon Tatham2004-04-28
| | | | | | is already active. [originally from svn r4159]
* Add a menu bar, in both Windows and GTK. In particular, game modulesSimon Tatham2004-04-28
| | | | | | | | | 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]
* A-_ha_! The Windows Rectangle() call appears to get uppity if askedSimon Tatham2004-04-27
| | | | | | | | | 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! [originally from svn r4157]
* Most of a Windows front end. Something's not _quite_ right in theSimon Tatham2004-04-27
| | | | | | | GDI - there are blobs in the middle of powered lines in Net. But it's 99% there now. [originally from svn r4156]
* Stop the user being able to resize the window.Simon Tatham2004-04-27
| | | | [originally from svn r4155]
* Implemented Cube, in a sufficiently general way that it also handlesSimon Tatham2004-04-27
| | | | | | the tetrahedron, octahedron and icosahedron. [originally from svn r4151]
* Further general development. Net is now playable, thoughSimon Tatham2004-04-26
| | | | | | configuration is absent as yet. [originally from svn r4145]
* General further development. Sketched out the mid-end, added moreSimon Tatham2004-04-25
| | | | | | GTK code, rudiments of event passing. [originally from svn r4141]
* Beginnings of a GTK framework. (And I do mean _beginnings_; it opensSimon Tatham2004-04-25
| | | | | | a window and that's about it.) [originally from svn r4139]
* Initial checkin of a portable framework for writing small GUI puzzleSimon Tatham2004-04-25
games. [originally from svn r4138]