Commit graph

  • b0c3a982e8 Some more linter warnings NHOrus 2017-06-28 20:40:46 +03:00
  • 898348911f Limited cleanup NHOrus 2017-06-27 21:09:40 +03:00
  • 60847652aa Test coverage: make LCOV ignore code unreachable without interactive shell Aaron Traas 2017-06-28 12:25:59 -04:00
  • 6521d49c07 Test coverage: make LCOV ignore bug() and all calls to BUG() Aaron Traas 2017-06-28 12:21:05 -04:00
  • 94aca03203 Test coverage: make LCOV ignore sig_handler and OOM check Aaron Traas 2017-06-28 12:19:20 -04:00
  • d5942e1732 More test repairing. Eric S. Raymond 2017-06-28 13:21:31 -04:00
  • 783e2e5e2d Repair test breakage from previous commit. Eric S. Raymond 2017-06-28 13:18:07 -04:00
  • f6267ff3eb Test consolidation. Eric S. Raymond 2017-06-28 13:03:45 -04:00
  • 533f737cb3 Merge two tests so the suite can run a little faster. Eric S. Raymond 2017-06-28 12:54:50 -04:00
  • d04e1e58e0 Test coverage: make LCOV ignore code unreachable without interactive shell Aaron Traas 2017-06-28 12:25:59 -04:00
  • 94bf640481 Test coverage: make LCOV ignore bug() and all calls to BUG() Aaron Traas 2017-06-28 12:21:05 -04:00
  • 9a4dccf429 Test coverage: make LCOV ignore sig_handler and OOM check Aaron Traas 2017-06-28 12:19:20 -04:00
  • e336aaed0e Update linenoise. Jason S. Ninneman 2017-06-28 09:13:59 -07:00
  • a1af74b534 Declare one-letter synonyms for some commands. Eric S. Raymond 2017-06-28 12:05:41 -04:00
  • f5719f1aba Magic-number elimination. Eric S. Raymond 2017-06-28 11:45:53 -04:00
  • eb89cd5b4e Cleaned up tests/Makefile - added save generation to its own target Aaron Traas 2017-06-28 10:31:47 -04:00
  • 6152e35afd Test coverage: command-line options for advent Aaron Traas 2017-06-28 10:09:02 -04:00
  • 3b780dd57e Test coverage -- 100% cheat for real this time Aaron Traas 2017-06-28 09:44:20 -04:00
  • ceb5c27218 Comment polishing. Eric S. Raymond 2017-06-28 10:51:47 -04:00
  • 3fd1b59d45 Cleaned up tests/Makefile - added save generation to its own target Aaron Traas 2017-06-28 10:31:47 -04:00
  • c0eee8b06c Test coverage: command-line options for advent Aaron Traas 2017-06-28 10:09:02 -04:00
  • bd3cd524d9 Test coverage -- 100% cheat for real this time Aaron Traas 2017-06-28 09:44:20 -04:00
  • 27bc9f3bd2 De-macroize references to travel opcode fields we won't unpack further. Eric S. Raymond 2017-06-28 09:21:41 -04:00
  • db68e0097e Break travel array into three struct fields. Eric S. Raymond 2017-06-28 08:53:24 -04:00
  • aace0b1359 More macro abstraction of the travel opcodes. Eric S. Raymond 2017-06-28 08:26:36 -04:00
  • fb35c34171 After splitting out the stop field, nothing ever negates a travel opcode... Eric S. Raymond 2017-06-27 22:15:22 -04:00
  • 8560122f01 Break travel opcodes into a two-element structure. Eric S. Raymond 2017-06-27 22:11:58 -04:00
  • d53f125555 All travel[] references are now wrapped in extractor/predicate macros. Eric S. Raymond 2017-06-27 21:55:29 -04:00
  • f6cd34f778 Begin abstracting out the magic properties of travel-array opcodes. Eric S. Raymond 2017-06-27 21:46:07 -04:00
  • e49ba9fb2b Remove unused enums. Eric S. Raymond 2017-06-27 20:11:21 -04:00
  • 45384f6bf2 More use of state labels. Eric S. Raymond 2017-06-27 20:10:59 -04:00
  • d891b883b9 Minor refactoring step. Eric S. Raymond 2017-06-27 19:44:20 -04:00
  • b3b6314fa4 More use of state labels. Eric S. Raymond 2017-06-27 17:27:42 -04:00
  • ed4e6ad422 Allow state labels in not clauses. Eric S. Raymond 2017-06-27 16:54:58 -04:00
  • 6fe8f98b35 Test Coverage - elicit hints for grate and snake Aaron Traas 2017-06-27 14:47:16 -04:00
  • 1e643da216 Remove unused code Aaron Traas 2017-06-27 14:46:49 -04:00
  • 4592a24350 Test coverage -- additional coverage in actions.c Aaron Traas 2017-06-27 13:48:41 -04:00
  • 7b1eb1ec58 buildregress now generates save files correctly. Aaron Traas 2017-06-27 11:36:24 -04:00
  • 2781413fa9 100% coverage of cheat.c Aaron Traas 2017-06-27 10:53:13 -04:00
  • 0a30176a8c Allow cheat to generate save files with bogus numbers. Aaron Traas 2017-06-27 10:46:26 -04:00
  • 7392603b7d "cheat" now has command-line arguments for generating cheat files Aaron Traas 2017-06-27 10:33:10 -04:00
  • 894b3de949 Travel tables are all done from YAML now. Eric S. Raymond 2017-06-27 16:11:13 -04:00
  • 7f9363bc8b Test Coverage - elicit hints for grate and snake Aaron Traas 2017-06-27 14:47:16 -04:00
  • 68eb3a0b98 Remove unused code Aaron Traas 2017-06-27 14:46:49 -04:00
  • 5d27dd6c81 Test coverage -- additional coverage in actions.c Aaron Traas 2017-06-27 13:48:41 -04:00
  • 4ff3d497b6 This looks like it gets the terminators right. Eric S. Raymond 2017-06-27 13:23:30 -04:00
  • d53bc1c54c travel is correct except for position of terminators. Eric S. Raymond 2017-06-27 12:22:01 -04:00
  • a1295aab54 buildregress now generates save files correctly. Aaron Traas 2017-06-27 11:36:24 -04:00
  • 03ffa9f8e1 100% coverage of cheat.c Aaron Traas 2017-06-27 10:53:13 -04:00
  • 5798c66f9c Allow cheat to generate save files with bogus numbers. Aaron Traas 2017-06-27 10:46:26 -04:00
  • 6ed6b6e641 "cheat" now has command-line arguments for generating cheat files Aaron Traas 2017-06-27 10:33:10 -04:00
  • 37373c5277 Documentation polishing. Jason S. Ninneman 2017-06-26 22:26:54 -07:00
  • 20a645bdf4 Move the travel rule documentation to newdungeon.py. Eric S. Raymond 2017-06-27 00:57:36 -04:00
  • 57a8e6f19a Update linenoise from upstream. Jason S. Ninneman 2017-06-26 22:08:29 -07:00
  • 7dc8839249 Abolish VOCWRD(). Jason S. Ninneman 2017-06-26 22:07:24 -07:00
  • 2aa5f1dd61 Remove actspk[]. Jason S. Ninneman 2017-06-26 22:04:02 -07:00
  • 004fe76917 Clean up missed actspk[] references. Jason S. Ninneman 2017-06-26 22:03:42 -07:00
  • a76cbeccbb Use actions[].message instead of actspk[]. Jason S. Ninneman 2017-06-26 22:01:23 -07:00
  • c080ea85bb Add missing declaration. Jason S. Ninneman 2017-06-26 22:01:13 -07:00
  • 4d21247643 Express actions[] in newdb.[ch]. Jason S. Ninneman 2017-06-26 21:53:24 -07:00
  • 6d123b3fb1 Combine actspk and the action words into a single structure. Jason S. Ninneman 2017-06-26 21:36:24 -07:00
  • 64959e4bce This version of newdungeon.py can exactly recover Section 3... Eric S. Raymond 2017-06-26 22:41:57 -04:00
  • f9edfc5151 Reexpress the motion words in adventure.yaml. Jason S. Ninneman 2017-06-26 22:22:51 -04:00
  • 4b2472fb16 First cut at compiling travel rules from YAML. Eric S. Raymond 2017-06-26 22:15:05 -04:00
  • 6b86811fbc Repair variois problems in travel YAML. Eric S. Raymond 2017-06-26 22:13:22 -04:00
  • 3c1348c736 Replace motion word VOCWRD() calls with enums. Jason S. Ninneman 2017-06-26 15:34:39 -07:00
  • 3476d69806 Fix empty initializer braces. Jason S. Ninneman 2017-06-26 15:29:14 -07:00
  • 205b152301 Drop the vocabulary[] structure. Jason S. Ninneman 2017-06-26 15:23:51 -07:00
  • b9bfa744e1 Reexpress the motion words in adventure.yaml. Jason S. Ninneman 2017-06-26 15:21:40 -07:00
  • 0fad8a25ba Repair a missing travel element it YAML. Eric S. Raymond 2017-06-26 17:31:04 -04:00
  • 70bfd3f5a3 Update cheat.c to unbreak the build. Jason S. Ninneman 2017-06-26 13:40:38 -07:00
  • d6cb6f0d8d Create a cheater to test strange save/resume cases. Eric S. Raymond 2017-06-26 15:03:37 -04:00
  • 5581175840 Jettison some disused macros. Jason S. Ninneman 2017-06-26 11:30:46 -07:00
  • 6ac098170c Use enums for object number mnemonics instead of VOCWRD() calls. Jason S. Ninneman 2017-06-26 11:27:27 -07:00
  • 0bab67e106 Fold object vocab words into the objects[] structure. Jason S. Ninneman 2017-06-26 10:25:01 -07:00
  • 2fac8d1aef object_descriptions[] is now objects[]. Jason S. Ninneman 2017-06-26 09:42:43 -07:00
  • d40085ce6f Add vocab length define to newdb. Jason S. Ninneman 2017-06-26 08:47:30 -07:00
  • fe46e5ab0c Squash a compiler warning. Eric S. Raymond 2017-06-26 12:15:55 -04:00
  • d612b0e6ca Change the name of the KEY array to avoid an upcoming macro clash. Eric S. Raymond 2017-06-26 10:44:19 -04:00
  • 59243cf8bc Take FORTRANish upper-case function names to C-style lowercase... Eric S. Raymond 2017-06-26 10:19:33 -04:00
  • b626371b6c Wire Section 8 YAML to runtime. Eric S. Raymond 2017-06-26 00:09:50 -04:00
  • 3025388932 Subsume Section 8 into YAML. Eric S. Raymond 2017-06-25 23:41:36 -04:00
  • 1503be7567 Remove duped const keywords. Jason S. Ninneman 2017-06-25 20:22:38 -07:00
  • 4f6bc949bd Fix typo and type mismatch. Jason S. Ninneman 2017-06-25 20:20:44 -07:00
  • 4ac41aa148 Expose a vocabulary[] array in newdb.c. Jason S. Ninneman 2017-06-25 20:18:39 -07:00
  • 7ee571d832 Inline the hint messages. Jason S. Ninneman 2017-06-25 18:50:47 -07:00
  • e424588682 Unsnarl the motion code some more. Eric S. Raymond 2017-06-25 20:50:41 -04:00
  • 0c54875118 Begin toounsnarl the way the TRAVEL array is used. Eric S. Raymond 2017-06-25 19:21:14 -04:00
  • 6d571c18b8 Magic-number elimination. Eric S. Raymond 2017-06-25 18:37:14 -04:00
  • f165aabad8 Capture Section 3 in YAML. Eric S. Raymond 2017-06-25 16:05:44 -04:00
  • bbfc8eb57a A step forward in definining YAML for the travel array. Eric S. Raymond 2017-06-25 14:46:01 -04:00
  • 9301a4f419 Deal with some compiler warnings. Jason S. Ninneman 2017-06-25 12:54:22 -07:00
  • 4821aeff60 Comment polishing. Eric S. Raymond 2017-06-25 13:54:07 -04:00
  • 81be19238c Fix a report of conpile-time error. Eric S. Raymond 2017-06-25 13:31:19 -04:00
  • d809974479 Dix off-by-one errors induced by tightening some array bounds. Eric S. Raymond 2017-06-25 13:17:35 -04:00
  • 8a3757df59 Change structure of vocabulary YAML to cope with multiply-loaded words. Eric S. Raymond 2017-06-25 12:36:40 -04:00
  • cfb43fcf44 Add some sanity checking to newdungeon.py. Eric S. Raymond 2017-06-25 09:25:44 -04:00
  • 23680e3441 Comment polishing in adventure.yaml. Eric S. Raymond 2017-06-25 08:18:06 -04:00
  • 71ebe01af7 Vocabulary (adventure.txt section 4) is now in YAML... Eric S. Raymond 2017-06-25 08:08:25 -04:00
  • f8b30c1ec6 Proof of concept for Section 3 report generator. Eric S. Raymond 2017-06-25 07:12:05 -04:00