Express word type with an enum instead of magic numbers. 238/head
authorJason S. Ninneman <jsn@mbar.us>
Wed, 12 Jul 2017 00:44:06 +0000 (17:44 -0700)
committerJason S. Ninneman <jsn@mbar.us>
Wed, 12 Jul 2017 17:35:00 +0000 (10:35 -0700)
commit50efa22849c73c3b43e5005e6ddafc5f0027464a
tree66fbca0801cdd57ecec0982a3bc4b66e63e4e281
parentb5badcacc8f3518a9fbb1338bdfc8f3621d3b26b
Express word type with an enum instead of magic numbers.

* Make a cleaner function for getting vocab metadata.
* Get rid of magic numbers.
* Purge get_vocab_id().
* Abolish the *_WORD() macros.
* Add FIXME comment on some ugliness.
actions.c
advent.h
main.c
misc.c