Encapsulate object-state state tests and setttings in macros.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 7 Apr 2023 20:11:04 +0000 (16:11 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Sat, 8 Apr 2023 23:35:41 +0000 (19:35 -0400)
commit02987d0330cf586a90307ad7e8a06cfcde6f6b92
tree98dfb254c8e9ba25f1a9c80c33215fb79a64c8e2
parent9cd7c53d789a8a3bc845ff8f6b0e6b46af631627
Encapsulate object-state state tests and setttings in macros.

This isn't a complete refwctoring, just the part than can be done with
transparetly correct capture of inlinre logic into macros.

No logic changes. Tests pass, 100% coverage.
actions.c
advent.h
init.c
main.c
misc.c
saveresume.c
score.c