Jason S. Ninneman
ad24add3c0
actions[] now has strings instead of enums.
2017-07-05 16:31:41 -07:00
Eric S. Raymond
c8cac18f42
Improve giant-words failure message.
2017-07-05 17:32:44 -04:00
Jason S. Ninneman
0b99885ed2
Remove the specials[] duplicates of the 'big' words.
2017-07-05 14:02:52 -07:00
Jason S. Ninneman
0e540429b0
Working but unpolished refactor of bigwords().
2017-07-05 14:02:52 -07:00
NHOrus
725105b4a2
Made feeding a switch instead of elsif chain
2017-07-05 15:41:36 -04:00
NHOrus
40ff648431
Moved state_change to misc.c to start using it in main.c, too
2017-07-05 20:23:34 +03:00
Eric S. Raymond
31c1a44915
Adapt bottle object to use state_change().
2017-07-05 01:15:40 -04:00
Eric S. Raymond
3d5c7239f1
Simplify vase-dropping logic using state_change().
2017-07-05 00:40:14 -04:00
Eric S. Raymond
f37a413524
Magic-number elimination.
2017-07-04 14:15:20 -04:00
Eric S. Raymond
e1cca3b28a
State-arithmetic elimination.
2017-07-04 09:17:20 -04:00
Eric S. Raymond
e31e69b172
Grammar fix.
2017-07-04 09:04:10 -04:00
Eric S. Raymond
248fc90e3d
Another use of state_change().
2017-07-04 08:16:10 -04:00
Eric S. Raymond
e91b8c2a06
Another use of state_change() and changes messages.
2017-07-04 07:59:20 -04:00
Eric S. Raymond
e62e4f6e46
YAML cleanup.
2017-07-04 07:39:07 -04:00
Eric S. Raymond
659f797d8a
Implement and document new state-label syntax.
2017-07-03 20:27:56 -04:00
Eric S. Raymond
217f05b28b
Comment polishing.
2017-07-03 19:26:32 -04:00
Eric S. Raymond
1c4fcaf43e
Discard implementation of %L and %U format specifiers, now never used.
2017-07-03 18:40:06 -04:00
Eric S. Raymond
3d511d9e66
Use DOWN rather thabnd D in YAML.
2017-07-03 14:55:34 -04:00
Eric S. Raymond
a768555312
Use the raw buffer in tr command structure for editing.
...
This fixes some minor bugs. Unknown words are no longer truncated
nor uppercased on echo.
2017-07-03 12:52:28 -04:00
Eric S. Raymond
f48ec1eb36
Named state labels for every not clause.
2017-07-03 07:00:42 -04:00
Eric S. Raymond
bf209577a5
Make the YAML less fussy.
...
Don't string-quote things that are semantically like enums.
2017-07-03 06:47:30 -04:00
NHOrus
eeda78a210
Don't spk in wave and action
2017-07-03 00:04:44 +03:00
NHOrus
8fcbc8ecba
More magic number elimination
2017-07-02 22:57:26 +03:00
Eric S. Raymond
89e1833d8f
Magic-number elimination.
2017-07-02 15:32:50 -04:00
NHOrus
c811512a82
More tests, multilined yaml
2017-07-02 15:16:50 -04:00
Jason S. Ninneman
73278b1a3c
Bump save file version number.
...
Also add missing space in the version mesage.
2017-07-02 09:55:53 -07:00
Eric S. Raymond
fb8ba08986
Change VERSION_SKEW message - save file cersion is now...
...
...decoupled from program version.
2017-07-02 12:43:29 -04:00
NHOrus
73af0e3a55
Fix for issue #21 , hopefully
2017-07-02 10:16:13 -04:00
Eric S. Raymond
4f08537e2d
More magic-number elimination.
2017-07-01 23:07:23 -04:00
Eric S. Raymond
5c2b76f762
Magic-number elimination.
2017-07-01 22:50:08 -04:00
Wayne Conrad
16688c6d8f
Fix typo in data comments
2017-07-01 19:12:05 -04:00
Eric S. Raymond
f1b37ea163
Supply missing implementation of nodwarf bit in travel rules.
2017-07-01 19:11:24 -04:00
Jason S. Ninneman
e05f959974
Refactor specials[] to have strings instead of enum references.
...
Clean up arbitrary_messages[] accordingly.
2017-07-01 11:53:54 -07:00
Eric S. Raymond
0d0b8df0a3
Ignore l g z i under oldstyle.
2017-07-01 12:35:31 -04:00
NHOrus
3c8482a613
Change state of vase
...
Clear temporary save where it needs to be cleared instead of random places
2017-07-01 18:25:39 +03:00
NHOrus
ab79fc7814
Do not compare state to magic numbers
2017-07-01 18:25:39 +03:00
Eric S. Raymond
f47f3a4603
Magic-number elimination for dragon and rug.
2017-07-01 10:01:39 -04:00
Eric S. Raymond
ab94051da1
Magic-number and state-arithmetic removal.
2017-07-01 09:21:47 -04:00
Eric S. Raymond
9714bf8c82
Magic-number elimination.
2017-07-01 01:59:06 -04:00
Jason S. Ninneman
8bc08773fa
Various cleanups.
...
* Remove disused macro.
* GCC doesn't seem to mind if IGNORE() is left off.
* Enumify phase codes.
* Use EXIT_* macros in all exit() calls.
* How did this even work without extern?
* Give advent.h a much-needed makeover.
* Use the chomp indicator in YAML string blocks to avoid code ugliness.
2017-07-01 03:19:33 +00:00
Eric S. Raymond
ba9e933f20
Use YAML block-literal syntax to avoid wrapped lines.
...
In vspeak(), andle text with extra trailing \n.
2017-06-30 16:33:31 -04:00
Eric S. Raymond
e10637c419
Implement and document %V escape so version only needs to be set once.
2017-06-30 14:35:18 -04:00
Eric S. Raymond
39a25f8ec7
Magic-number elimination.
2017-06-30 13:30:49 -04:00
Eric S. Raymond
1f45966dec
Magic-number ellimination, contiguity warnings, cleanup.
2017-06-30 12:06:41 -04:00
Eric S. Raymond
51a4d7bd3a
Remove gaps from arbitrary_messages, there are no more number sependencies.
...
Some spans within the list may still rely on contiguity.
2017-06-30 11:27:15 -04:00
Eric S. Raymond
46185a6e88
Magic-number elimination.
2017-06-30 11:03:57 -04:00
Eric S. Raymond
129226b58a
Implement 'version' command.
2017-06-29 17:52:26 -04:00
Eric S. Raymond
78eee015e3
Not the best idea to try to rewach Don Woods for help any more.
2017-06-29 16:59:27 -04:00
Eric S. Raymond
2bd3ea61c2
'd' had a collision; 'drop' vs ;down'. Remove from 'drop' synonyms.
2017-06-29 16:28:20 -04:00
Jason S. Ninneman
3f580acc05
Clean out the now-disused vocabulary structure.
2017-06-29 15:30:33 -04:00