simon-git: puzzles (main): Ben Harris

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sat Dec 31 16:21:08 GMT 2022


TL;DR:
  f63810f Don't use Null Game's extra source files for all GUI programs
  b403f8f Support the generation of icons from uniformly-coloured screenshots
  14c025d Create an icon for the Null Game

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:           2022-12-31 16:21:08

commit f63810fbc89158d5637e4f554436c80140569024
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=f63810fbc89158d5637e4f554436c80140569024;hp=0363e9e7fd49a240a39794904d38d4738f7c9d2a
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Sat Dec 31 09:28:54 2022 +0000

    Don't use Null Game's extra source files for all GUI programs
    
    All the not-quite-puzzle GUI programs (only galaxieseditor at this
    point) were using the extra source files from Null Game, presumably as a
    convenient way of asking not to have an icon on platforms where icons
    are provided as extra source files.  Unfortunately, this all went wrong
    if Null Game did have a save file for an icon, causing CMake to complain
    about multiple definitions of a target.
    
    Now these programs look for extra files under their own names, which
    will work just as well since those have no save files to generate icons
    from either.

 cmake/setup.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b403f8f97a97f9f55205d57149fd355a09727bd4
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=b403f8f97a97f9f55205d57149fd355a09727bd4;hp=f63810fbc89158d5637e4f554436c80140569024
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Sat Dec 31 15:20:17 2022 +0000

    Support the generation of icons from uniformly-coloured screenshots
    
    The square.pl script removed all pixels that were the same colour as the
    edge ones, even if that meant removing all of the pixels.  Now it stops
    removing pixels at 1x1 so that there will be something left for
    ImageMagick to work on.

 icons/square.pl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 14c025d192579961d1ade51f2a322bd765aef0e5
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=14c025d192579961d1ade51f2a322bd765aef0e5;hp=b403f8f97a97f9f55205d57149fd355a09727bd4
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Sat Dec 31 15:54:58 2022 +0000

    Create an icon for the Null Game
    
    This might be useful for creating a KaiOS app of it.  It also
    conveniently ensures that Null Game doesn't just build but also runs
    correctly.

 icons/nullgame.sav | 9 +++++++++
 1 file changed, 9 insertions(+)



More information about the tartarus-commits mailing list