shithub: puzzles

RSS feed

87e98e67 – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/06/05 18:56
Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Mines

a943f317 – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/06/04 15:02
Add MOVE_NO_EFFECT and MOVE_UNUSED return values from interpret_move()

a9af3fda – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/06/04 14:42
Rename UI_UPDATE as MOVE_UI_UPDATE

b08c13f5 – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/06/05 18:34
Update a comment in Mines to reflect that we have user prefs now

7333d27b – Simon Tatham <anakin@pobox.com> authored on 2023/06/06 14:50
Fix a few minor memory leaks.

4227ac1f – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/05/30 15:57
Add preferences for existing UI style controls

5acce15e – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/05/30 12:55
js: pass preferences file from JS to C on the heap, not the stack

6a41c0b7 – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/05/30 11:07
js: handle exceptions when accessing localStorage

b6c842a2 – Simon Tatham <anakin@pobox.com> authored on 2023/05/26 17:29
Emscripten: fix edge case of js_canvas_find_font_midpoint.

8237b02b – Simon Tatham <anakin@pobox.com> authored on 2023/05/07 17:41
Loopy: fix redraw issue due to enlarged dots.

d0f97926 – Simon Tatham <anakin@pobox.com> authored on 2023/05/05 08:51
Isolate icons build from the running user's preferences.

63346a8c – Simon Tatham <anakin@pobox.com> authored on 2023/05/03 08:57
Windows: reorganise menu ids.

89e9026e – Simon Tatham <anakin@pobox.com> authored on 2023/05/02 15:51
midend_apply_prefs: apply prefs to the right ui.

e0bb6d3b – Simon Tatham <anakin@pobox.com> authored on 2023/05/01 10:24
Untangle: add a 'snap to grid' user preference.

628cc678 – Simon Tatham <anakin@pobox.com> authored on 2023/05/01 09:49
Untangle: replace manual int64 bodging with int64_t.

c48a9f44 – Simon Tatham <anakin@pobox.com> authored on 2023/05/01 09:42
Replace check of __STDC_VERSION__ with HAVE_STDINT_H.

4de9836b – Simon Tatham <anakin@pobox.com> authored on 2023/04/29 10:10
Loopy: slightly increase the size of dots.

b293605c – Simon Tatham <anakin@pobox.com> authored on 2023/04/29 09:40
hat-test: fix memory leaks.

bbbbc8b2 – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/04/24 18:25
Pattern: Reduce row clue spacing if there are lots of them

fcf1d274 – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/04/24 18:12
Pattern: switch to small font when there are many row clues

42cc7f6c – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/04/24 17:45
Correct a comment in Pattern's clue-drawing code

20d424bf – Simon Tatham <anakin@pobox.com> authored on 2023/04/24 10:24
Emscripten: change the localStorage key used for preferences.

43db4aa3 – Simon Tatham <anakin@pobox.com> authored on 2023/04/24 06:17
Support user preferences in the Emscripten frontend.

2b6d34ad – Simon Tatham <anakin@pobox.com> authored on 2023/04/24 05:35
emcc.c: remove savefile_read_ctx.

8c968483 – Simon Tatham <anakin@pobox.com> authored on 2023/04/24 05:31
emcc.c: missing (void) in a function definition.

12b2608b – Simon Tatham <anakin@pobox.com> authored on 2023/04/24 05:56
Fix bounds check in buffer_append.

bf453043 – Simon Tatham <anakin@pobox.com> authored on 2023/04/24 04:44
Support user preferences in the Mac frontend.

81680583 – Simon Tatham <anakin@pobox.com> authored on 2023/04/24 04:35
GTK save_prefs: fix a wrongly sourced error report.

e080e0e3 – Simon Tatham <anakin@pobox.com> authored on 2023/04/23 18:34
Slant: actually check ui->swap_buttons.

f01b1674 – Simon Tatham <anakin@pobox.com> authored on 2023/04/23 10:58
GTK: stop referring to &thegame in prefs I/O functions.

1fa28340 – Simon Tatham <anakin@pobox.com> authored on 2023/04/23 10:54
Support user preferences on Windows.

35cd44c5 – Simon Tatham <anakin@pobox.com> authored on 2023/04/23 10:53
make_prefs_path(): tolerate NULL inputs.

5c0def18 – Simon Tatham <anakin@pobox.com> authored on 2023/04/23 10:16
Document the new Net preference.

2d91261e – Simon Tatham <anakin@pobox.com> authored on 2023/04/23 10:02
Net: preference for how loop highlighting interacts with locking.

c0bd5248 – Simon Tatham <anakin@pobox.com> authored on 2023/04/23 10:00
Fix failure to update me->ui when changing preferences.

e2add418 – Simon Tatham <anakin@pobox.com> authored on 2023/04/23 07:00
GTK: add a command-line --delete-prefs option.

6c66e2b2 – Simon Tatham <anakin@pobox.com> authored on 2023/04/23 06:58
Support preferences in the GTK frontend.

4752c7a2 – Simon Tatham <anakin@pobox.com> authored on 2023/04/23 06:09
Universal preference option for one-key shortcuts.

bb1ab361 – Simon Tatham <anakin@pobox.com> authored on 2023/04/22 08:54
Keep a set of preferences in the midend.

ea6be8f0 – Simon Tatham <anakin@pobox.com> authored on 2023/04/22 06:51
Require games to accept new_ui(NULL) if they have preferences.

d13ece69 – Simon Tatham <anakin@pobox.com> authored on 2023/04/21 12:19
Generalise the midend serialisation callbacks.

0058331a – Simon Tatham <anakin@pobox.com> authored on 2023/04/21 11:50
New backend functions: get_prefs and set_prefs.

0d1a1f08 – Simon Tatham <anakin@pobox.com> authored on 2023/04/21 11:41
Move per-puzzle ad-hoc getenv preferences into game_ui.

a4fca328 – Simon Tatham <anakin@pobox.com> authored on 2023/04/21 11:30
Pass a game_ui to compute_size, print_size and print.

ec2e2f37 – Simon Tatham <anakin@pobox.com> authored on 2023/04/21 12:12
Missing const in configure() documentation.

20606f0f – Simon Tatham <anakin@pobox.com> authored on 2023/04/21 05:26
Filling: switch to using dsf_minimal in minimize_clue_set.

ce203c12 – Simon Tatham <anakin@pobox.com> authored on 2023/04/20 15:41
Loopy: draw even faint lines using draw_thick_line.

777dbffd – Simon Tatham <anakin@pobox.com> authored on 2023/04/20 15:38
Turn off Leak Sanitiser in the icons build.

9f08986c – Simon Tatham <anakin@pobox.com> authored on 2023/04/20 11:13
Update the documentation for the dsf functions.

68d242c5 – Simon Tatham <anakin@pobox.com> authored on 2023/04/20 13:13
Actually rewrite the dsf implementation.

c5e253a9 – Simon Tatham <anakin@pobox.com> authored on 2023/04/20 13:27
Reorganise the dsf API into three kinds of dsf.

14e1e055 – Simon Tatham <anakin@pobox.com> authored on 2023/04/20 11:32
Introduce a new dsf_equivalent() function.

088fdeee – Simon Tatham <anakin@pobox.com> authored on 2023/04/20 10:57
Remove conditioned-out dsf diagnostic code.

348aac4c – Simon Tatham <anakin@pobox.com> authored on 2023/04/20 10:46
Remove size parameter from dsf init and copy functions.

dad2f355 – Simon Tatham <anakin@pobox.com> authored on 2023/04/20 10:25
Store a size field inside the DSF type.

095224d5 – Simon Tatham <anakin@pobox.com> authored on 2023/04/20 10:12
Actually make DSF an opaque structure type.

89c438e1 – Simon Tatham <anakin@pobox.com> authored on 2023/04/20 10:06
Declare all dsfs as a dedicated type name 'DSF'.

7abf85a9 – Simon Tatham <anakin@pobox.com> authored on 2023/04/20 10:00
Remove a direct use of dsf internals in Filling.

f21c7d27 – Simon Tatham <anakin@pobox.com> authored on 2023/04/20 09:56
Consistently use snew_dsf to allocate dsfs.

11a8149d – Simon Tatham <anakin@pobox.com> authored on 2023/04/20 09:52
Use a dedicated copy function to copy dsfs.

bb561ee3 – Simon Tatham <anakin@pobox.com> authored on 2023/04/20 09:35
Use a dedicated free function to free dsfs.

16f997d3 – Simon Tatham <anakin@pobox.com> authored on 2023/04/20 09:13
Stop putting dsfs in existing scratch int arrays.

6c02b72d – Simon Tatham <anakin@pobox.com> authored on 2023/04/20 10:08
Remove an unnecessary extern function declaration.

0d86fe4b – Simon Tatham <anakin@pobox.com> authored on 2023/04/16 04:44
Move obfuscator tests into obfusc.c.

6fb890e0 – Simon Tatham <anakin@pobox.com> authored on 2023/04/10 10:56
Reference my just-published article about aperiodic tilings.

71cf891f – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/02/14 08:16
Don't allow zero clues in Pattern

a4c6f21b – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/02/13 19:06
Net: validate co-ordinates in decode_ui()

9be7db54 – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/02/13 18:22
Add a game_state argument to decode_ui()

418cb3a5 – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/02/13 17:41
Make encode_ui() and decode_ui() optional in back-ends

e411db78 – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/02/13 17:14
Net: assert that cx and cy are in range in compute_active()

d505f08f – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/04/06 05:58
js: explicitly tell Emscripten which browsers to target

b5f87e61 – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/04/06 05:23
js: set -s ENVIRONMENT=web in Emscripten

3b9cafa0 – Simon Tatham <anakin@pobox.com> authored on 2023/04/06 03:07
Fall back to <math.h> if <tgmath.h> doesn't work.

d9355041 – Simon Tatham <anakin@pobox.com> authored on 2023/04/06 03:07
Remove obsolete testbuild.c.

7a668559 – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/04/05 20:00
KaiOS: include extra copyright notices in manual

2e48ce13 – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/04/04 17:43
Replace <math.h> with <tgmath.h> throughout

4fcc1ea6 – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/04/03 18:49
js: stop using EXTRA_EXPORTED_RUNTIME_METHODS

4de5d203 – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/04/03 18:11
js: use the "load" event for loading save files

36c282aa – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/04/03 11:16
js: Load save files into the C side incrementally

8d3a93ce – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/04/02 16:58
js: load games using FileReader.readAsArrayBuffer()

2499eb47 – Simon Tatham <anakin@pobox.com> authored on 2023/04/02 10:30
hat-test: more scaling and clipping options.

79561485 – Simon Tatham <anakin@pobox.com> authored on 2023/04/02 10:10
hat-test: fix array underrun.

2296d6f0 – Simon Tatham <anakin@pobox.com> authored on 2023/04/02 09:07
Remove penrose_count_tiles().

83244294 – Simon Tatham <anakin@pobox.com> authored on 2023/04/02 06:42
Move other test main()s out of library source files.

71e17760 – Simon Tatham <anakin@pobox.com> authored on 2023/04/02 06:20
Move hat-test into its own source file.

0bd1a805 – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/04/01 14:54
Magnets: add a check that magnets don't wrap between lines

91735e50 – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/03/31 16:38
Correct a range check in Magnets' layout verification

1af1204b – Simon Tatham <anakin@pobox.com> authored on 2023/03/31 14:35
hat-test: option to generate four-coloured hat tilings.

52d801a0 – Ben Harris <bjh21@bjh21.me.uk> authored on 2023/03/31 11:33
Require a grid description for hats grid

e6aa7ab6 – Simon Tatham <anakin@pobox.com> authored on 2023/03/30 04:45
hat-test: allow choosing a random number seed.

73dab39b – Simon Tatham <anakin@pobox.com> authored on 2023/03/30 04:37
Hats: choose the tiling's starting hat more uniformly.

796d0f37 – Simon Tatham <anakin@pobox.com> authored on 2023/03/30 04:34
Hats: factor out the parent-choosing system.

4720eeb1 – Simon Tatham <anakin@pobox.com> authored on 2023/03/28 16:48
Loopy: widen clip rectangle for redrawing clues.

827051da – Simon Tatham <anakin@pobox.com> authored on 2023/03/28 16:35
hat-test: alternative data output mode to write Python.

828c7da7 – Simon Tatham <anakin@pobox.com> authored on 2023/03/28 16:31
hat-test: allow specifying tiling size on the command line.

22417efa – Simon Tatham <anakin@pobox.com> authored on 2023/03/28 16:29
Hats tiling: make hat-test draw each hat in one go.

6f75879e – Simon Tatham <anakin@pobox.com> authored on 2023/03/28 16:27
Hats tiling: more uniform parent selection.

2b1167d8 – Simon Tatham <anakin@pobox.com> authored on 2023/03/27 15:31
Fix references to the renamed 'auxiliary' directory.

0af537d2 – Simon Tatham <anakin@pobox.com> authored on 2023/03/27 05:17
Rename the 'aux' subdirectory to avoid Windows restrictions.

8d664754 – Simon Tatham <anakin@pobox.com> authored on 2023/03/26 16:05
Loopy / grid.c: new grid type, 'Hats'.

Next