Commit Graph

  • 68363231f0 Galaxies: prevent creation of empty undo-chain items. Simon Tatham 2019-02-18 21:12:16 +00:00
  • 1ba4e37228 Pegs: clear ui->cur_jumping on undo or redo. Simon Tatham 2019-02-10 14:05:30 +00:00
  • d7c873313e benchmark.pl: replace use of Perl <> with <<>>. Simon Tatham 2019-01-25 20:27:49 +00:00
  • ced51ada36 Replace fe->preset_menu when we change midend. Simon Tatham 2018-12-12 22:18:00 +00:00
  • 0a5d13bcd5 Fix GTK 2 crash introduced by previous commit. Simon Tatham 2018-11-25 00:46:48 +00:00
  • d9e03f50da Don't initialise GTK in --screenshot mode. Simon Tatham 2018-11-23 23:44:17 +00:00
  • db3b531e2c Add missing 'static' to game-internal declarations. Simon Tatham 2018-11-13 22:06:19 +00:00
  • 47cec547e5 Unruly, Group: reference-count the 'immutable' array. Simon Tatham 2018-11-13 21:58:14 +00:00
  • cdc0563123 Add missing binary 'matching' to .gitignore. Simon Tatham 2018-11-13 21:54:11 +00:00
  • 53798c08d4 Add a missing const in unfinished/sokoban.c. Simon Tatham 2018-11-13 21:51:49 +00:00
  • 5f5b284c0b Use C99 bool within source modules. Simon Tatham 2018-11-13 21:45:44 +00:00
  • a550ea0a47 Replace TRUE/FALSE with C99 true/false throughout. Simon Tatham 2018-11-13 21:44:02 +00:00
  • 064da87682 Adopt C99 bool in the grid.c API. Simon Tatham 2018-11-13 21:43:11 +00:00
  • 08915945e6 Adopt C99 bool in the shared Latin-square API. Simon Tatham 2018-11-13 21:42:28 +00:00
  • 33b55db48e Adopt C99 bool in the tree234 API. Simon Tatham 2018-11-13 21:41:45 +00:00
  • 836a5c4ea7 Adopt C99 bool in misc.c functions. Simon Tatham 2018-11-13 21:40:49 +00:00
  • 8fb4cd031a Adopt C99 bool in the findloop API. Simon Tatham 2018-11-13 21:40:23 +00:00
  • 20b56788bc Adopt C99 bool in the edsf API. Simon Tatham 2018-11-13 21:39:45 +00:00
  • f6965b92e1 Adopt C99 bool in the printing API. Simon Tatham 2018-11-13 21:38:53 +00:00
  • cd6cadbecf Adopt C99 bool in the midend API. Simon Tatham 2018-11-13 21:37:09 +00:00
  • a76d269cf2 Adopt C99 bool in the game backend API. Simon Tatham 2018-11-13 21:34:42 +00:00
  • 0f77798ae2 Add a #include of <stdbool.h>. Simon Tatham 2018-11-13 21:31:32 +00:00
  • b732fda2cf Undead: remove an unused structure field. Simon Tatham 2018-11-07 19:16:00 +00:00
  • 3189fb484d Fix an inaccurate comment. Simon Tatham 2018-11-06 18:34:47 +00:00
  • baed0e3eec Fix a misuse of errno. Simon Tatham 2018-11-06 18:33:21 +00:00
  • f281644b0b Fix OSX build failure from latest XCode update. Simon Tatham 2018-10-06 18:22:42 +01:00
  • d8d506455e Net: highlight more errors in locked tiles. Jacob Nevins 2018-09-23 16:36:30 +01:00
  • cafa36b0e3 Net: rename 'loop' to 'err' in UI code. Jacob Nevins 2018-09-23 16:36:24 +01:00
  • cd9c544230 Dominosa: some more solver thoughts. Simon Tatham 2018-09-21 08:55:21 +01:00
  • 55be8e50db cube.c: Prohibit unsolvable single row/column game Michael Quevillon 2018-09-13 00:19:32 -04:00
  • 1db5961b8b Fix docs link from the JS Rectangles page. Simon Tatham 2018-07-24 18:38:00 +01:00
  • 11aab0d7c8 Tracks: stop drawing background for clues in game_print. Simon Tatham 2018-07-20 19:21:52 +01:00
  • 1d9cf25f27 Fix return value from newgame_undo_deserialise_read. Simon Tatham 2018-06-21 19:02:21 +01:00
  • 3618f6a07f Fix NUL-termination bug in saving from Javascript. Simon Tatham 2018-06-21 18:54:08 +01:00
  • 506b07352a misc.c: Fix implementation of free_keys. Lennard Sprong 2018-06-14 21:45:26 +02:00
  • 5a697b3df9 Parallelise the build script. Simon Tatham 2018-06-01 06:51:17 +01:00
  • 85d87f4e8a Fix Makefile.nestedvm so that it works with make -j. Simon Tatham 2018-06-01 07:22:55 +01:00
  • 32f96080ad Enable 64-bit osx build and fix a warning. Josh Lee 2018-05-29 08:09:01 -04:00
  • 7edbee6cb2 Enable high resolution on osx Josh Lee 2018-05-29 08:08:21 -04:00
  • 5141e5b3e7 Bump the source and target versions used in javac. Simon Tatham 2018-05-14 18:18:28 +01:00
  • 113aad8b3e Stop using deprecated gdk_beep(). Simon Tatham 2018-05-09 16:08:46 +01:00
  • 31384ca9c0 Buildscr: make long parts of the build conditionalisable. Simon Tatham 2018-04-28 12:02:55 +01:00
  • e53c097fb7 latin.c: remove a rogue array overrun. Simon Tatham 2018-04-28 12:02:43 +01:00
  • a1663d6650 C89 build fixes. Simon Tatham 2018-04-25 19:24:06 +01:00
  • 441b11b310 Make static keyword come first everywhere. Franklin Wei 2018-04-24 18:00:08 -04:00
  • b3da23806e Move `static' keyword to beginning of declaration. Franklin Wei 2018-04-23 19:54:43 -04:00
  • 19f46dce8c Add request_keys() to the rest of the unfinished games. Franklin Wei 2018-04-23 19:43:14 -04:00
  • f04923abbc Build fix: stop initialising an auto char array. Simon Tatham 2018-04-23 18:42:13 +01:00
  • 60a929a250 Add a request_keys() function with a midend wrapper. Franklin Wei 2018-04-17 16:18:16 -04:00
  • 3d04dd3335 Remove maxflow completely. Simon Tatham 2018-04-21 17:03:10 +01:00
  • dcc4d82b23 Convert Tents to use matching instead of maxflow. Simon Tatham 2018-04-21 16:51:03 +01:00
  • 000ebc5078 Use the new matching() for latin.c. Simon Tatham 2018-04-22 13:48:07 +01:00
  • 4408476b75 Implementation of the Hopcroft-Karp algorithm. Simon Tatham 2018-04-18 20:28:17 +01:00
  • ef6f6427a2 Recipe: centralise dependencies for latin.c. Simon Tatham 2018-04-22 16:45:34 +01:00
  • b7034aeb51 Move fgetline out into misc.c. Simon Tatham 2018-04-22 13:58:27 +01:00
  • 12cb1adc88 Galaxies: clarify wording of completion condition. Simon Tatham 2018-04-17 18:30:48 +01:00
  • 664deaea59 Fix two bugs in Range's solver_reasoning_recursion(). Stephen Clavering 2018-04-12 21:15:17 +01:00
  • d95f476d8b Solo: add a missing params constraint for X puzzles. Simon Tatham 2018-04-08 17:55:59 +01:00
  • c6e0161dd4 Fix false-positive completion detection in X Solo. Simon Tatham 2018-03-25 22:27:38 +01:00
  • 2adf0052d6 towerssolver: always print solver diagnostics in -v mode. Simon Tatham 2018-02-26 20:49:57 +00:00
  • 2270ee116d latin.c: dump every solution found during recursion. Simon Tatham 2018-02-26 20:49:14 +00:00
  • 43b9eb1472 Create 96x96 icons for gnome-shell Adrian Heine 2018-01-20 13:05:18 +01:00
  • 5247edd16d Forbid undo-of-new-game after midend_set_config. Simon Tatham 2017-12-09 21:28:41 +00:00
  • 4f8a4f7d7f Mark the 32-bit Windows build as runnable on XP. Simon Tatham 2017-11-29 22:27:09 +00:00
  • 3cf09c2615 Reinstate 32-bit Windows builds of Puzzles. Simon Tatham 2017-11-26 20:12:15 +00:00
  • ee8ea9b978 Permit redoing past an undone New Game action. Simon Tatham 2017-11-18 19:54:10 +00:00
  • e2514a72e6 Refactor to make me->newgame_undo a small struct. Simon Tatham 2017-11-18 19:36:10 +00:00
  • 5c6fcf10a3 Standardise character encoding of source tree on UTF-8. Simon Tatham 2017-11-18 15:22:49 +00:00
  • 8af0c29615 New grid type: the trihexagonal tiling, or 'kagome lattice'. Simon Tatham 2017-11-18 15:16:40 +00:00
  • 69773d855b Solo: remove some overzealous assertions in the solver. Simon Tatham 2017-10-28 11:36:47 +01:00
  • 6da8dc91a2 Map: stop storing pixel coordinates in game_ui. Simon Tatham 2017-10-28 08:55:33 +01:00
  • efcc00ffef Build fixes for GTK2. Simon Tatham 2017-10-24 19:39:11 +01:00
  • 38ea1599fe Unequal: run check_complete() after a hint move. Simon Tatham 2017-10-20 00:33:54 +01:00
  • 00e23909f8 fix loop condition Stefan Bühler 2017-10-07 23:21:45 +02:00
  • f6b2f47ef3 Fix assertion failure if you Undo right at startup. Simon Tatham 2017-10-06 19:49:05 +01:00
  • a58c1b216b Make the code base clean under -Wwrite-strings. Simon Tatham 2017-10-01 14:45:12 +01:00
  • 3276376d1b Assorted char * -> const char * API changes. Simon Tatham 2017-10-01 14:04:47 +01:00
  • b3243d7504 Return error messages as 'const char *', not 'char *'. Simon Tatham 2017-10-01 13:53:24 +01:00
  • de67801b0f Use a proper union in struct config_item. Simon Tatham 2017-10-01 13:38:35 +01:00
  • eeb2db283d New name UI_UPDATE for interpret_move's return "". Simon Tatham 2017-10-01 12:52:12 +01:00
  • edcf839d4c Fix an int->pointer cast warning in windows.c. Simon Tatham 2017-10-01 14:50:58 +01:00
  • 8ea15f3b35 Make newgame_undo_buf 'char *', not 'void *'. Simon Tatham 2017-10-01 13:52:16 +01:00
  • db313b3948 Forbid undo of new-game if it would change the params. Simon Tatham 2017-10-01 10:22:35 +01:00
  • 9f6114e272 Style tweaks to the newgame_undo patch. Simon Tatham 2017-10-01 09:15:24 +01:00
  • b9b73adb53 midend: Allow "new game" to be undone Ian Jackson 2017-09-30 19:50:49 +01:00
  • 9e62c710df midend_deserialise: accept an extra validation function. Simon Tatham 2017-10-01 09:59:50 +01:00
  • c0503d4873 midend_deserialise: keep deserialised data in a struct. Simon Tatham 2017-10-01 09:50:22 +01:00
  • cdf1639531 deserialise: use the right one of {,c}params. Simon Tatham 2017-10-01 09:15:49 +01:00
  • aafb1b4983 tracks: Make error clue background white Ian Jackson 2017-09-30 19:50:48 +01:00
  • b98d93ac55 tracks: Greyscale colour initialisation: line up columns Ian Jackson 2017-09-30 19:50:47 +01:00
  • 03d464dc65 tracks.c: draw_clue: Introduce bg parameter Ian Jackson 2017-09-30 19:50:46 +01:00
  • f03e8d30a0 Fix changing puzzle size in a maximised GTK3 window. Simon Tatham 2017-09-30 22:02:39 +01:00
  • 4cf2241f4f Fix auto-selection of presets in GTK. Simon Tatham 2017-09-30 21:18:52 +01:00
  • 84d3fd2bd8 Net: rewrite the drawing code for better scalability. Simon Tatham 2017-09-30 16:40:18 +01:00
  • 3aa4516a68 Net: reference-count the barriers array. Simon Tatham 2017-09-29 19:20:49 +01:00
  • 74aff6741b tracks: thicken the lines of the grid itself. Simon Tatham 2017-09-29 17:22:56 +01:00
  • c2a8a60a09 Fix a typo in devel.but. Simon Tatham 2017-09-29 17:07:08 +01:00
  • 05938e1f64 tracks: Roughly double the thickness of the "no track" crosses Ian Jackson 2017-09-29 14:29:58 +01:00
  • 9b0069b137 tracks: Scale thickness of "no track here" crosses Ian Jackson 2017-09-29 14:29:57 +01:00
  • a0435df8aa draw_thick_line: Bound thickness by 1.0 below Ian Jackson 2017-09-29 14:29:56 +01:00