simon-git: puzzles (main): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Wed Nov 26 18:10:14 GMT 2025
TL;DR:
033bb4d Do not assume CMAKE_SOURCE_DIR is the puzzles root
5826963 Filling: remove redundant 0 key_label.
0244afc Dominosa: highlight a number when right-clicked
39f792a Undead: adjust monster count layout
6f4c60a Undead: allow showing monster count as total, remaining, or placed/total
e83975c Undead: allow clicking monster count to place monster
a4f68b6 Undead: use a typographical minus sign if possible.
Repository: https://git.tartarus.org/simon/puzzles.git
On the web: https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: main
Committer: Simon Tatham <anakin at pobox.com>
Date: 2025-11-26 18:10:14
commit 033bb4d0fd94e19f5c9359fa4cc492fb13c49d94
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=033bb4d0fd94e19f5c9359fa4cc492fb13c49d94;hp=28032bd5a0d3dc409eb225b8bdb23fd0b18a28d7
Author: Nolan Waite <nolan at nolanw.ca>
Date: Wed Sep 3 19:57:40 2025 -0600
Do not assume CMAKE_SOURCE_DIR is the puzzles root
This allows a parent CMakeLists.txt to add_subdirectory().
CMakeLists.txt | 1 +
cmake/platforms/emscripten.cmake | 4 ++--
cmake/platforms/nestedvm.cmake | 8 ++++----
cmake/platforms/unix.cmake | 10 +++++-----
cmake/platforms/windows.cmake | 4 ++--
cmake/setup.cmake | 6 +++---
icons/icons.cmake | 4 ++--
unfinished/CMakeLists.txt | 2 +-
8 files changed, 20 insertions(+), 19 deletions(-)
commit 5826963dfe36c9b236bfee3d75746ded37428864
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=5826963dfe36c9b236bfee3d75746ded37428864;hp=033bb4d0fd94e19f5c9359fa4cc492fb13c49d94
Author: Mike Edmunds <medmunds at gmail.com>
Date: Tue Sep 30 17:38:39 2025 -0700
Filling: remove redundant 0 key_label.
Commit 2376227855422b0 made Backspace perform the same function as 0.
game_request_keys() had been providing key_labels for both. This removes the
now-redundant 0 key_label, keeping Backspace (and matching Keen, Solo, etc.).
filling.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
commit 0244afcc6ba4b913dca7c89084415900f45486bd
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=0244afcc6ba4b913dca7c89084415900f45486bd;hp=5826963dfe36c9b236bfee3d75746ded37428864
Author: Mike Edmunds <medmunds at gmail.com>
Date: Mon Oct 20 19:31:10 2025 -0700
Dominosa: highlight a number when right-clicked
21b8323 allowed highlighting numbers by pressing a number key.
This makes right-clicking a number perform the same operation
(for devices without keyboards).
dominosa.c | 18 +++++++++++++++++-
puzzles.but | 7 ++++---
2 files changed, 21 insertions(+), 4 deletions(-)
commit 39f792a3195e118ed595876b1177c973ce8e9da1
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=39f792a3195e118ed595876b1177c973ce8e9da1;hp=0244afcc6ba4b913dca7c89084415900f45486bd
Author: Mike Edmunds <medmunds at gmail.com>
Date: Fri Oct 24 11:35:32 2025 -0700
Undead: adjust monster count layout
In the monster counts at top:
- Add a bit of padding between the monster and its number
- Expand the gap between counts slightly
- Try to ensure enough space for maximum possible counts at any puzzle size
(within the limits of not having a "measure text" drawing function)
In preparation for some other features related to the count area, define
macros for various layout values, move some values into game_drawstate,
and add calculate_count_layout() that can reducing spacing and fontsize
if the (future, larger) counts don't fit.
undead.c | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 79 insertions(+), 14 deletions(-)
commit 6f4c60a97d3bc202d9f3f1f1f2ffccb86d5009d6
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=6f4c60a97d3bc202d9f3f1f1f2ffccb86d5009d6;hp=39f792a3195e118ed595876b1177c973ce8e9da1
Author: Mike Edmunds <medmunds at gmail.com>
Date: Fri Oct 24 12:45:16 2025 -0700
Undead: allow showing monster count as total, remaining, or placed/total
Add a UI option and user preference for monster count display style.
Cycle through display styles with the 'C' key or by right-clicking at top.
puzzles.but | 12 +++++-
undead.c | 128 ++++++++++++++++++++++++++++++++++++++++++++++++++++++------
2 files changed, 125 insertions(+), 15 deletions(-)
commit e83975cc1fd064678118300f2fe60ae6c3acfb62
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=e83975cc1fd064678118300f2fe60ae6c3acfb62;hp=6f4c60a97d3bc202d9f3f1f1f2ffccb86d5009d6
Author: Mike Edmunds <medmunds at gmail.com>
Date: Fri Oct 24 13:06:23 2025 -0700
Undead: allow clicking monster count to place monster
For the convenience of non-keyboard users/devices, handle left-click in the
monster count area by placing that monster in the highlighted square (or
removing it if already there).
html/undead.html | 3 ++-
puzzles.but | 3 ++-
undead.c | 30 ++++++++++++++++++++++--------
3 files changed, 26 insertions(+), 10 deletions(-)
commit a4f68b6a0725e8a285c2c8cd09fb9f4f07fd5dc9
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=a4f68b6a0725e8a285c2c8cd09fb9f4f07fd5dc9;hp=e83975cc1fd064678118300f2fe60ae6c3acfb62
Author: Simon Tatham <anakin at pobox.com>
Date: Wed Nov 26 18:03:27 2025 +0000
Undead: use a typographical minus sign if possible.
Adjusts commit 6f4c60a97d3bc20 so that negative numbers are shown as
U+2212 MINUS SIGN rather than the ASCII '-', if the character set has
it available. It looks better in Keen and it looks better here too.
undead.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
More information about the tartarus-commits
mailing list