aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Remove extraneous underscores at start and end of Rectangles seeds.Simon Tatham2004-08-17
| | | | [originally from svn r4473]
* Net's redraw function now uses the `dir' argument to determine whether it'sJacob Nevins2004-08-16
| | | | | | redrawing an undo. Seems to work. [originally from svn r4470]
* After discussion with Simon, the game redraw functions are now passed a newJacob Nevins2004-08-16
| | | | | | | | | argument `dir' which tells them whether this redraw is due to an undo, rather than have them second-guess it from game state. Note that none of the actual games yet take advantage of this; so it hasn't been tested in anger (although it has been inspected by debugging). [originally from svn r4469]
* UI nit: make cursor visible upon use of A/S/D keyboard controls.Jacob Nevins2004-08-16
| | | | [originally from svn r4467]
* This repository needs to have a copy of mkfiles.pl, although reallySimon Tatham2004-08-16
| | | | | | I'd prefer to be able to share a single instance with PuTTY. [originally from svn r4466]
* Clarify that difficulty does not increase forever as you increaseSimon Tatham2004-08-16
| | | | | | the expansion factor... [originally from svn r4465]
* Robustness in the face of a completely configurable expansion factor.Simon Tatham2004-08-16
| | | | [originally from svn r4464]
* Moved my puzzle collection out into ixion's main CVS area, so here'sSimon Tatham2004-08-16
| | | | | | a MODULE file. [originally from svn r4463]
* Just for convenience, a docs Makefile, outside the main mkfiles.plSimon Tatham2004-08-16
| | | | | | structure. [originally from svn r4462]
* Fold in the expanded-grid mechanism for generating different kindsSimon Tatham2004-08-16
| | | | | | | | of puzzle. Configurable option, turned off by default, and not propagated in game IDs (though you can explicitly specify it in command-line parameters, and the docs explain how). [originally from svn r4461]
* Added a help file, mostly thanks to Jacob.Simon Tatham2004-08-16
| | | | [originally from svn r4460]
* Failed to connect up the `destroy' signal in error_box(), causingSimon Tatham2004-07-30
| | | | | | | | | | | gtk_main_quit not to get called, with the result that the whole game ended up running one gtk_main level lower down. This meant that final dialog box processing was not performed, so that (for example) selecting 1x1 in Net, hitting OK and getting an error box, then selecting a different size and hitting OK again failed to change to the new size. [originally from svn r4376]
* HACKING should be in .cvsignore.Simon Tatham2004-07-05
| | | | [originally from svn r4322]
* Richard B's utterly evil `netslide': cross between Net and Sixteen.Simon Tatham2004-05-26
| | | | [originally from svn r4257]
* Added the beginnings of a hacking guide.Simon Tatham2004-05-24
| | | | [originally from svn r4255]
* makedist.sh should be silent.Simon Tatham2004-05-22
| | | | [originally from svn r4240]
* Fix a memory leak.Simon Tatham2004-05-22
| | | | [originally from svn r4239]
* Now that we have string-encodable game parameters, let's support aSimon Tatham2004-05-20
| | | | | | | command-line argument which is either a set of parameters or a params+seed game ID. [originally from svn r4234]
* Introduce routines in each game module to encode a set of gameSimon Tatham2004-05-19
| | | | | | | | | | | | parameters as a string, and decode it again. This is used in midend.c to prepend the game parameters to the game seed, so that copying out of the Specific box is sufficient to completely specify the game you were playing. Throughout development of these games I have referred to `seed' internally, and `game ID' externally. Now there's a measurable difference between them! :-) [originally from svn r4231]
* Fix `visible' calculation (again).Simon Tatham2004-05-12
| | | | [originally from svn r4223]
* Ahem. Seed validation was completely broken.Simon Tatham2004-05-12
| | | | [originally from svn r4222]
* During redraws, I now do corner analysis centrally, which enables meSimon Tatham2004-05-12
| | | | | | | | | to maintain the `visible' array accurately and hence actually switch it on. This prevents us having to redraw the entire playing area on any move, which means really big grids are now sensibly playable without display lag. [originally from svn r4221]
* Remove vestigial code from the previous attempt at clever gridSimon Tatham2004-05-12
| | | | | | | generation. Grid generation should now be orders of magnitude faster at large sizes. [originally from svn r4220]
* Fiddle with the coordinate system to see if I can improve userSimon Tatham2004-05-12
| | | | | | experience. [originally from svn r4219]
* Flash on completion. Two people actually complained! :-)Simon Tatham2004-05-12
| | | | [originally from svn r4218]
* Missing draw_update call.Simon Tatham2004-05-11
| | | | [originally from svn r4216]
* Rename the Windows Net executable, due to its clash with the systemSimon Tatham2004-05-11
| | | | | | net.exe. [originally from svn r4215]
* Now we have the UI abstraction, use it to implement keyboard controlSimon Tatham2004-05-11
| | | | | | in Net. [originally from svn r4214]
* And I _always_ forget to clear the background when first drawing theSimon Tatham2004-05-11
| | | | | | | display of a new game, so I'll add it to nullgame.c and hope that makes me remember it next time! [originally from svn r4213]
* Cosmetic fixes for Windows.Simon Tatham2004-05-11
| | | | [originally from svn r4212]
* Don't rush move animation to a conclusion on a subsequent keypressSimon Tatham2004-05-11
| | | | | | | | unless there's actual activity happening as a result of the move. Net animations were tending to get rushed to conclusion by the mouse button release now that it's being reported to the mid-end. [originally from svn r4211]
* We should turn off the dragging variables in the UI _whenever_Simon Tatham2004-05-11
| | | | | | | `enddrag' is TRUE, not just when the end of the drag was within a sensible range. [originally from svn r4210]
* Rectangles is now actually playable, since I've used the new UISimon Tatham2004-05-11
| | | | | | | | feature to arrange a mechanism that allows you to draw a whole rectangle at a time by dragging rather than having to click each edge individually. [originally from svn r4209]
* Oops - missed a bit in the GTK front end :-)Simon Tatham2004-05-11
| | | | [originally from svn r4208]
* Framework alteration: we now support a `game_ui' structure inSimon Tatham2004-05-11
| | | | | | | | | | | | | addition to the `game_state'. The new structure is intended to contain ephemeral data pertaining to the game's user interface rather than the actual game: things stored in the UI structure are not restored in an Undo, for example. make_move() is passed the UI to modify as it wishes; it is now allowed to return the _same_ game_state it was passed, to indicate that although no move has been made there has been a UI operation requiring a redraw. [originally from svn r4207]
* Added a new game, `Rectangles', taken from nikoli.co.jp.Simon Tatham2004-05-11
| | | | [originally from svn r4206]
* Forgot to initialise the font variables in the Windows frontend structure.Simon Tatham2004-05-04
| | | | [originally from svn r4200]
* Forgot to set up the initial value of checkboxes.Simon Tatham2004-05-04
| | | | [originally from svn r4199]
* dupstr() should take a const char *. In particular, this allowsSimon Tatham2004-05-04
| | | | | | compilation under GTK 2. [originally from svn r4198]
* Net puzzles more than 32 tiles wide weren't working properly due toSimon Tatham2004-05-04
| | | | | | me testing the wrong variables for clicks on the tile border... [originally from svn r4197]
* Peter Maydell points out that the README misspells `Makefile' asSimon Tatham2004-05-04
| | | | | | `Makefile.gtk'. [originally from svn r4196]
* Uninitialised variable caused ultra-wide windows. Silly.Simon Tatham2004-05-04
| | | | [originally from svn r4195]
* Add a README.Simon Tatham2004-05-03
| | | | [originally from svn r4194]
* Shell script to prepare a source distribution archive.Simon Tatham2004-05-03
| | | | [originally from svn r4193]
* Add a licence file.Simon Tatham2004-05-03
| | | | [originally from svn r4192]
* Redraws during undo in Sixteen had been broken by my faffing aboutSimon Tatham2004-05-03
| | | | | | | | with last_movement_sense (which was necessary to fix the animation when the grid was only 2 squares wide in either dimension). Movement sense is now inverted if the move being animated is an undo. [originally from svn r4191]
* GTK and Windows appear to handle timers very differently:Simon Tatham2004-05-03
| | | | | | | | | | | specifically, the elapsed time between calls varies much more with GTK than it does under Windows. Therefore, I now take my own time readings on every timer call, and this appears to have made the animations run at closer to the same speed between platforms. Having done that, I decided some of them were at the _wrong_ speed, and fiddled with each game's timings as well. [originally from svn r4189]
* Make Return and Escape work reliably in GTK dialog boxes.Simon Tatham2004-05-03
| | | | [originally from svn r4188]
* The Windows RNG turns out to only give about 16 bits at a time. ThisSimon Tatham2004-05-03
| | | | | | | | | | | | | | | is (a) pretty feeble, and (b) means that although Net seeds transfer between platforms and still generate the same game, there's a suspicious discrepancy in the typical seed _generated_ by each platform. I have a better RNG kicking around in this code base already, so I'll just use it. Each midend has its own random_state, which it passes to new_game_seed() as required. A handy consequence of this is that initial seed data is now passed to midend_new(), which means that new platform implementors are unlikely to forget to seed the RNG because failure to do so causes a compile error! [originally from svn r4187]
* Implement selection of game seeds, by reusing the config boxSimon Tatham2004-05-03
| | | | | | | | | mechanism I've just invented (the midend handles the standard game selection configuration). Each game is now required to validate its own seed data before attempting to base a game on it and potentially confusing itself. [originally from svn r4186]