Commit Graph

  • a11ee53ef8 Keen, Solo, Towers, Undead, Unequal, Group: new UI preference. Simon Tatham 2023-08-13 14:03:26 +01:00
  • 503f1c4ab8 Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Light Up Ben Harris 2023-08-09 15:58:34 +01:00
  • e30d11ecd1 Light Up: use new move_cursor() features Ben Harris 2023-08-09 15:48:14 +01:00
  • e6d25d75ba Dominosa: use new move_cursor() features Ben Harris 2023-08-09 15:41:55 +01:00
  • 7e9228f154 Use move_cursor() for cursor movement in Same Game Ben Harris 2023-08-09 14:32:31 +01:00
  • 785de41a92 Appropriately generate MOVE_NO_EFFECT from '\b' in Guess Ben Harris 2023-08-09 11:42:51 +01:00
  • 8c768e7444 Use move_cursor() for cursor movement in Guess Ben Harris 2023-08-09 11:30:24 +01:00
  • 5ec86c03a8 move_cursor(): handle visible flag; return useful value Ben Harris 2023-08-09 09:43:04 +01:00
  • 7ada9a5742 Guess: define constants for flags OR'ed into peg colours Ben Harris 2023-08-09 00:14:37 +01:00
  • 78af0c821a Guess: move hold marker upward by two pixels Ben Harris 2023-08-08 09:35:06 +01:00
  • 6d4b20c413 Pearl: re-use a single grid structure when generating Ben Harris 2023-08-06 13:30:38 +01:00
  • ff860360c3 Same Game: level-triggered keyboard cursor hiding Ben Harris 2023-08-01 23:07:08 +01:00
  • 0dd0186662 Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Same Game Ben Harris 2023-07-31 23:08:20 +01:00
  • ecb3a9d6f2 Same Game: don't hide keyboard cursor on unrecognised keys Ben Harris 2023-07-31 23:02:45 +01:00
  • 56237fa5fa Same Game: scale TILE_GAP with tilesize Ben Harris 2023-07-31 22:39:33 +01:00
  • 29eaa8f55c Flood: don't draw zero-width tile separators Ben Harris 2023-07-30 17:16:36 +01:00
  • 58511aa009 Same Game: more efficient tile_redraw Ben Harris 2023-07-30 11:30:19 +01:00
  • 76da6ec140 js: keep colour strings in JavaScript rather than in C Ben Harris 2023-07-29 16:06:19 +01:00
  • 3e7a6adce5 midend_get_prefs: Don't free memory that we just copied elsewhere. Asher Gordon 2023-07-29 15:27:46 -04:00
  • 9e4e15fda2 Use the standard game_mkhighlight in Same Game Ben Harris 2023-07-27 23:06:46 +01:00
  • d4d8e5bfc8 Same Game: darken light colours to make keyboard cursor visible Ben Harris 2023-07-27 22:46:50 +01:00
  • 6de17a7511 Refactor the new icon installation code. Simon Tatham 2023-07-14 08:40:06 +01:00
  • c99fbed8c9 Install the icons to the right location on Linux Emmanuel Gil Peyrot 2023-07-13 19:30:05 +02:00
  • 02cdafaa15 Generate more common icon sizes Emmanuel Gil Peyrot 2023-07-13 19:30:04 +02:00
  • 40d0de7a66 grid_edge_bydots_cmpfn: remove dangerous pointer comparison. Simon Tatham 2023-07-14 08:09:51 +01:00
  • a95796ebca osx.m: avoid division by zero in startConfigureSheet. Simon Tatham 2023-07-13 08:09:17 +01:00
  • 61e9c78248 grid.c: new and improved Penrose tiling generator. Simon Tatham 2023-07-07 18:16:04 +01:00
  • 23d4322fec grid.c: add dot coordinates to debugging dumps. Simon Tatham 2023-07-06 18:20:37 +01:00
  • e6cdd70df8 grid.c: allocate face/edge/dot arrays incrementally. Simon Tatham 2023-07-06 12:50:49 +01:00
  • 6b5142a7a9 Move mul_root3 out into misc.c and generalise it. Simon Tatham 2023-07-02 21:22:02 +01:00
  • ad7042db98 js: Copy-to-clipboard support Ben Harris 2023-07-05 19:39:57 +01:00
  • c8cc4a5f38 Add user preference for Bridges' "G" key (show_hints) Ben Harris 2023-06-26 23:16:49 +01:00
  • dce3719998 Bridges: remove a comment for a deleted line of code Ben Harris 2023-06-26 14:01:39 +01:00
  • 8b8a277a7a Fix control-character generation fix Ben Harris 2023-06-26 09:10:28 +01:00
  • a56781bb69 Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Galaxies Ben Harris 2023-06-25 14:30:20 +01:00
  • 0d005b526e Pearl: slightly better handling of clicks outside the grid Ben Harris 2023-06-22 23:34:48 +01:00
  • c5076be383 Keen: fix another misuse of dsf_canonify. Simon Tatham 2023-06-25 15:20:50 +01:00
  • c224416c76 Reduce the set of keys from which we generate control characters Ben Harris 2023-06-25 13:54:21 +01:00
  • 88f86918bf Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Flip Ben Harris 2023-06-24 18:37:58 +01:00
  • f749a33c5e Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Filling Ben Harris 2023-06-24 18:31:24 +01:00
  • dd0004fb5e Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Dominosa Ben Harris 2023-06-24 18:23:03 +01:00
  • 1d56527014 Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Pegs Ben Harris 2023-06-23 16:14:38 +01:00
  • 6db5cdadd0 Blackbox: correct FROMDRAW() macro for C division semantics Ben Harris 2023-06-22 23:08:19 +01:00
  • da014d23da spectre-test: support raster-mode tiling generation. Simon Tatham 2023-06-18 14:11:52 +01:00
  • 14db5e0145 spectre_adjacent: optionally report dst_edge. Simon Tatham 2023-06-18 13:33:28 +01:00
  • 68a1e8413c spectre.c: expose a couple more internal functions. Simon Tatham 2023-06-18 09:18:58 +01:00
  • 86466959e8 Spectre tiling: add a comment with some reference URLs. Simon Tatham 2023-06-17 11:11:26 +01:00
  • a33d9fad02 Loopy / grid.c: support the new Spectre monotiling. Simon Tatham 2023-06-16 18:30:53 +01:00
  • c82537b457 Fix some unused-variable warnings. Simon Tatham 2023-06-16 19:03:56 +01:00
  • de13ca2874 Add a 'core' library alongside 'common'. Simon Tatham 2023-06-15 07:40:14 +01:00
  • 43f4fde2f2 hat-test: support SVG output. Simon Tatham 2023-06-15 18:37:39 +01:00
  • 2be0e4a242 Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Pearl Ben Harris 2023-06-16 10:17:37 +01:00
  • 5fb94c9f47 Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Cube Ben Harris 2023-06-15 23:11:57 +01:00
  • 73e7bf73bb Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Fifteen Ben Harris 2023-06-15 21:53:56 +01:00
  • 1a316f47ad Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Bridges Ben Harris 2023-06-11 20:13:10 +01:00
  • 19b3bfc0d3 Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Slant Ben Harris 2023-06-10 23:02:07 +01:00
  • 1547154efb Expose the NO_EFFECT/UNUSED distinction through midend_process_key() Ben Harris 2023-06-07 23:03:30 +01:00
  • 87e98e6715 Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Mines Ben Harris 2023-06-05 22:56:11 +01:00
  • a943f3177f Add MOVE_NO_EFFECT and MOVE_UNUSED return values from interpret_move() Ben Harris 2023-06-04 19:02:21 +01:00
  • a9af3fda1d Rename UI_UPDATE as MOVE_UI_UPDATE Ben Harris 2023-06-04 18:42:58 +01:00
  • b08c13f5f4 Update a comment in Mines to reflect that we have user prefs now Ben Harris 2023-06-05 22:34:08 +01:00
  • 7333d27b0c Fix a few minor memory leaks. Simon Tatham 2023-06-06 18:50:38 +01:00
  • 4227ac1fd5 Add preferences for existing UI style controls Ben Harris 2023-05-30 19:57:15 +02:00
  • 5acce15ed9 js: pass preferences file from JS to C on the heap, not the stack Ben Harris 2023-05-30 16:55:22 +02:00
  • 6a41c0b7a0 js: handle exceptions when accessing localStorage Ben Harris 2023-05-30 15:07:41 +02:00
  • b6c842a28c Emscripten: fix edge case of js_canvas_find_font_midpoint. Simon Tatham 2023-05-26 21:29:29 +01:00
  • 8237b02be4 Loopy: fix redraw issue due to enlarged dots. Simon Tatham 2023-05-07 21:41:50 +01:00
  • d0f97926e8 Isolate icons build from the running user's preferences. Simon Tatham 2023-05-05 12:51:25 +01:00
  • 63346a8cea Windows: reorganise menu ids. Simon Tatham 2023-05-03 12:57:27 +01:00
  • 89e9026ee4 midend_apply_prefs: apply prefs to the right ui. Simon Tatham 2023-05-02 19:51:29 +01:00
  • e0bb6d3b85 Untangle: add a 'snap to grid' user preference. Simon Tatham 2023-05-01 14:24:56 +01:00
  • 628cc6785b Untangle: replace manual int64 bodging with int64_t. Simon Tatham 2023-05-01 13:49:54 +01:00
  • c48a9f44ff Replace check of __STDC_VERSION__ with HAVE_STDINT_H. Simon Tatham 2023-05-01 13:42:43 +01:00
  • 4de9836bc8 Loopy: slightly increase the size of dots. Simon Tatham 2023-04-29 14:10:40 +01:00
  • b293605ce3 hat-test: fix memory leaks. Simon Tatham 2023-04-29 13:40:51 +01:00
  • bbbbc8b22b Pattern: Reduce row clue spacing if there are lots of them Ben Harris 2023-04-24 22:25:12 +01:00
  • fcf1d274c3 Pattern: switch to small font when there are many row clues Ben Harris 2023-04-24 22:12:30 +01:00
  • 42cc7f6cb0 Correct a comment in Pattern's clue-drawing code Ben Harris 2023-04-24 21:45:02 +01:00
  • 20d424bf1b Emscripten: change the localStorage key used for preferences. Simon Tatham 2023-04-24 14:24:19 +01:00
  • 43db4aa38e Support user preferences in the Emscripten frontend. Simon Tatham 2023-04-24 10:17:33 +01:00
  • 2b6d34adbd emcc.c: remove savefile_read_ctx. Simon Tatham 2023-04-24 09:35:45 +01:00
  • 8c968483f8 emcc.c: missing (void) in a function definition. Simon Tatham 2023-04-24 09:31:18 +01:00
  • 12b2608b24 Fix bounds check in buffer_append. Simon Tatham 2023-04-24 09:56:35 +01:00
  • bf453043db Support user preferences in the Mac frontend. Simon Tatham 2023-04-24 08:44:40 +01:00
  • 81680583fd GTK save_prefs: fix a wrongly sourced error report. Simon Tatham 2023-04-24 08:35:42 +01:00
  • e080e0e325 Slant: actually check ui->swap_buttons. Simon Tatham 2023-04-23 22:34:40 +01:00
  • f01b1674bd GTK: stop referring to &thegame in prefs I/O functions. Simon Tatham 2023-04-23 14:58:31 +01:00
  • 1fa28340e8 Support user preferences on Windows. Simon Tatham 2023-04-23 14:54:29 +01:00
  • 35cd44c563 make_prefs_path(): tolerate NULL inputs. Simon Tatham 2023-04-23 14:53:11 +01:00
  • 5c0def1850 Document the new Net preference. Simon Tatham 2023-04-23 14:16:17 +01:00
  • 2d91261eb3 Net: preference for how loop highlighting interacts with locking. Simon Tatham 2023-04-23 14:02:39 +01:00
  • c0bd524848 Fix failure to update me->ui when changing preferences. Simon Tatham 2023-04-23 14:00:40 +01:00
  • e2add4185c GTK: add a command-line --delete-prefs option. Simon Tatham 2023-04-23 11:00:58 +01:00
  • 6c66e2b2de Support preferences in the GTK frontend. Simon Tatham 2023-04-23 10:58:53 +01:00
  • 4752c7a2d9 Universal preference option for one-key shortcuts. Simon Tatham 2023-04-23 10:09:27 +01:00
  • bb1ab36108 Keep a set of preferences in the midend. Simon Tatham 2023-04-22 12:54:11 +01:00
  • ea6be8f0af Require games to accept new_ui(NULL) if they have preferences. Simon Tatham 2023-04-22 10:51:37 +01:00
  • d13ece698f Generalise the midend serialisation callbacks. Simon Tatham 2023-04-21 16:19:49 +01:00
  • 0058331aeb New backend functions: get_prefs and set_prefs. Simon Tatham 2023-04-21 15:50:05 +01:00
  • 0d1a1f08ba Move per-puzzle ad-hoc getenv preferences into game_ui. Simon Tatham 2023-04-21 15:41:18 +01:00