projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2328739
)
Add a DEMOTE_WORD() macro.
177/head
author
Jason S. Ninneman
<jsn@mbar.us>
Sat, 1 Jul 2017 13:18:24 +0000
(06:18 -0700)
committer
Jason S. Ninneman
<jsn@mbar.us>
Sat, 1 Jul 2017 13:18:24 +0000
(06:18 -0700)
advent.h
patch
|
blob
|
history
diff --git
a/advent.h
b/advent.h
index 670d7e9cab3f916a35d5f17d4405294d34fe0ade..cf049f48c9e9ede5f3920317b43a8eaac3e86071 100644
(file)
--- a/
advent.h
+++ b/
advent.h
@@
-59,6
+59,7
@@
#define ACTION_WORD(n) ((n) + 2000)
#define SPECIAL_WORD(n) ((n) + 3000)
#define PROMOTE_WORD(n) ((n) + 1000)
+#define DEMOTE_WORD(n) ((n) - 1000)
enum bugtype {
SPECIAL_TRAVEL_500_GT_L_GT_300_EXCEEDS_GOTO_LIST,