Commit graph

857 commits

Author SHA1 Message Date
NHOrus
062840db69 Test modification for little more coverage 2017-06-30 23:26:18 -04:00
NHOrus
c83df10dc6 Stop leaking memory 2017-06-30 23:26:18 -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
Aaron Traas
31f27b672c Error message when you make if without retrieving git modules yet 2017-06-30 20:49:44 -04: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
Jason S. Ninneman
030fa6d27d The bugtype enum doesn't need explicit numbers. 2017-06-30 13:25:12 -07:00
NHOrus
94ea37d2bc Plugged little linenoise memory leaks. 2017-06-30 21:42:37 +03: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
Jason S. Ninneman
40acab43af Remove disused function definitions. 2017-06-30 11:08:54 -07:00
Jason S. Ninneman
4fe9b94db4 Remove more disused macros. 2017-06-30 11:05:37 -07:00
Jason S. Ninneman
d9d089bdcc Remove some disused stuff. 2017-06-30 10:56:38 -07:00
Eric S. Raymond
39a25f8ec7 Magic-number elimination. 2017-06-30 13:30:49 -04:00
NHOrus
d6dab20801 Removed line as redundant
As of 8675c4facd lines 612-613 in main.c unreachable due to earlier
dispatch at line 1132 that redirects all find/inventory verbs into actions.c
Message NEARBY fires from YAML link to those verbs.
Also, reduced signature of playermove() to motion only.
2017-06-30 13:28:29 -04:00
Eric S. Raymond
8675c4facd Less magical numbers. 2017-06-30 12:10:26 -04:00
Eric S. Raymond
2c41018358 Improve test coverage. 2017-06-30 12:06:41 -04:00
Eric S. Raymond
1f45966dec Magic-number ellimination, contiguity warnings, cleanup. 2017-06-30 12:06:41 -04:00
NHOrus
a48e0ff30e Tests for misc and main 2017-06-30 18:30:19 +03: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
NHOrus
a6d1f9228b Fixed previous test, added nibble more 2017-06-30 18:05:41 +03:00
Eric S. Raymond
46185a6e88 Magic-number elimination. 2017-06-30 11:03:57 -04:00
Eric S. Raymond
0bbfe6baf7 Fix date typo. 2017-06-30 10:46:59 -04:00
NHOrus
a0f5fa0e04 Last one test case 2017-06-30 12:27:11 +03:00
NHOrus
c1efa29510 Some more easy tests 2017-06-30 11:31:18 +03:00
Eric S. Raymond
4aa85d0068 Update illformed.chk for current YAML. 2017-06-29 18:27:14 -04:00
Eric S. Raymond
645d00c711 Deduce version from NEWS. 2017-06-29 18:25:45 -04:00
Eric S. Raymond
72b4e4b127 Update NEWS. 2017-06-29 17:54:30 -04:00
Eric S. Raymond
129226b58a Implement 'version' command. 2017-06-29 17:52:26 -04:00
Aaron Traas
aa1dd666a9 Test coverage -- fix regression 2017-06-29 17:22:00 -04:00
Aaron Traas
d0a868bd4a Test coverage - add lots more coverage from actions.c 2017-06-29 17:05:48 -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
4d1b1fa4ad Typo fix. 2017-06-29 16:46:36 -04:00
Eric S. Raymond
41d65c1cab Add Aaron Traas to credits. 2017-06-29 16:44:01 -04:00
Eric S. Raymond
50e059eff8 Start another round of magic_number removal, this time for motions. 2017-06-29 16:41:49 -04:00
Aaron Traas
ffb8393985 Documentation and comment cleanup.
Also, renove uused enums.
2017-06-29 16:37:07 -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
Eric S. Raymond
21d959a5c2 Documentation polishing and minor test improvements. 2017-06-29 16:25:55 -04:00
NHOrus
0f15c9e0f3 Breaking one-line conditionals 2017-06-29 22:51:30 +03:00
Eric S. Raymond
3001fb1dc1 Re-indented. 2017-06-29 15:45:59 -04:00
Jason S. Ninneman
3f580acc05 Clean out the now-disused vocabulary structure. 2017-06-29 15:30:33 -04:00
Aaron Traas
e7d1388c42 Updated documentation 2017-06-29 15:30:22 -04:00
Aaron Traas
ffdda21739 Cleanup test case 2017-06-29 15:30:22 -04:00
Aaron Traas
02ece8f874 Coverage - Die while closing after lamp dim 2017-06-29 15:30:22 -04:00
NHOrus
97f307c912 k2 is dead 2017-06-29 21:35:44 +03:00
NHOrus
d48504f22f Untangling variable reuse 2017-06-29 21:35:44 +03:00
NHOrus
5697a8de63 Separate debugging of linenoise 2017-06-29 21:23:04 +03:00
Eric S. Raymond
58a8a761e2 Fix an OB1 bug in allocation. 2017-06-29 13:43:36 -04:00
NHOrus
bf2fa227f0 Unshadowed k2 into k3 in main.c
Reindented everything
2017-06-29 20:11:53 +03:00
Jason S. Ninneman
5f44fccf4d Upstream linenoise rebased their project. 2017-06-29 09:34:23 -07:00
Eric S. Raymond
da27ae1932 Transition to YAML is done, adventure.text and travel.py can go away. 2017-06-29 12:21:50 -04:00
Eric S. Raymond
2b8b1b0130 Comment polishing. 2017-06-29 12:18:55 -04:00