puzzles: antialiased line drawing via Wu's algorithm and optional "shortcuts" for undo/redo

- line drawing should eventually be moved to xlcd, but for now it's very unportable code
- also fixes a minor issue with the configuration screens

Change-Id: I897f01b7210cbbec32665c2bc67920c965ea0bec
This commit is contained in:
Franklin Wei 2017-01-09 13:21:27 -05:00
parent 42e54c508f
commit d221ca6e5b
3 changed files with 327 additions and 97 deletions

View file

@ -43,8 +43,8 @@ ROCKS += $(PUZZLES_ROCKS)
endif
# Hack to suppress all warnings:
PUZZLESFLAGS = $(filter-out -O%,$(PLUGINFLAGS)) -Os \
-Wno-unused-parameter -Wno-sign-compare -Wno-strict-aliasing -w \
PUZZLESFLAGS = $(filter-out -O%,$(PLUGINFLAGS)) -O3 \
-Wno-unused-parameter -Wno-sign-compare -Wno-strict-aliasing -w \
-DFOR_REAL -I$(PUZZLES_SRCDIR)
ifdef PUZZLES_COMBINED
PUZZLESFLAGS += -DCOMBINED