simon-git: puzzles (main): Ben Harris

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Wed Dec 7 20:58:03 GMT 2022


TL;DR:
  0b036c9 galaxies: Use the same code for handling all dropped arrows

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-07 20:58:03

commit 0b036c9e79578cec5425aaca1b1af13a4ae0d937
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=0b036c9e79578cec5425aaca1b1af13a4ae0d937;hp=09f2052fbfbc8a2136b09cf3a868c8cf9c239de0
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Wed Dec 7 18:43:34 2022 +0000

    galaxies: Use the same code for handling all dropped arrows
    
    The keyboard code was prone to adding null items to the undo history,
    and was also unreadable.  Rather than fix it, I've replaced it with a
    jump to the mouse drop handling, lightly enhanced to reject drops on
    things that aren't tiles.

 galaxies.c | 20 ++++++--------------
 1 file changed, 6 insertions(+), 14 deletions(-)



More information about the tartarus-commits mailing list