simon-git: puzzles (main): Ben Harris

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sat Jun 3 17:11:21 BST 2023


TL;DR:
  4227ac1 Add preferences for existing UI style controls

Repository:     https://git.tartarus.org/simon/puzzles.git
On the web:     https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: main
Committer:      Ben Harris <bjh21 at bjh21.me.uk>
Date:           2023-06-03 17:11:21

commit 4227ac1fd5dc25c247e7526526079b85e1890766
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=4227ac1fd5dc25c247e7526526079b85e1890766;hp=5acce15ed907d29a5575668a09e7d94cf7a36b3f
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Tue May 30 19:57:15 2023 +0200

    Add preferences for existing UI style controls
    
    Some puzzles have keys that make changes to the display style in ways
    that would probably have been user preferences if they had existed.
    I've added a user preference for each of these.  The keys still work,
    and unlike the preferences can be changed without saving any state.
    
    The affected settings are:
     * Labelling colours with numbers in Guess ("L" key)
     * Labelling regions with numbers in Map ("L" key)
     * Whether monsters are shown as letters or pictures in Undead ("A" key)

 guess.c     | 37 +++++++++++++++++++++++++++++++------
 map.c       | 12 +++++++++---
 puzzles.but | 16 +++++++++++++++-
 undead.c    | 26 +++++++++++++++++++++++++-
 4 files changed, 80 insertions(+), 11 deletions(-)



More information about the tartarus-commits mailing list