Improve documentation if the *most* obscure span of code.

This commit is contained in:
Eric S. Raymond 2017-06-28 20:24:29 -04:00
parent 6150e3be1f
commit 7281c39807
2 changed files with 12 additions and 7 deletions

View file

@ -150,7 +150,8 @@ typedef struct {{
* encoding description for travel.
*/
#define T_DESTINATION(entry) MOD((entry).dest, 1000)
#define T_NODWARVES(entry) ((entry).dest / 1000 == 100)
#define T_CONDITION(entry) ((entry).dest / 1000)
#define T_NODWARVES(entry) (T_CONDITION(entry) == 100)
#define T_HIGH(entry) ((entry).dest)
#define T_TERMINATE(entry) ((entry).motion == 1)
#define L_SPEAK(loc) ((loc) - 500)