Commit graph

  • 8a6e6aae7d Fully subsume section 7 into YAML. Eric S. Raymond 2017-06-24 20:05:14 -04:00
  • 39eed7d678 Remove unused error codes. Eric S. Raymond 2017-06-24 12:59:08 -04:00
  • 2755eed5a2 Move the description of string escapes to where the strings now live. Eric S. Raymond 2017-06-24 12:49:25 -04:00
  • e9e747cffb Remove unused code. Eric S. Raymond 2017-06-24 12:43:31 -04:00
  • 1ec3ef3855 Section 13 is now all YAML, so objsound.py can go. Eric S. Raymond 2017-06-24 12:24:56 -04:00
  • 5ba7973ca7 Improve comments, eliminate magic numbers. Eric S. Raymond 2017-06-24 12:22:25 -04:00
  • 3e19c39f57 Give generate constant arrays the const specifier. Eric S. Raymond 2017-06-24 11:07:07 -04:00
  • c3a2816821 Replace magic MINTRS/MAXTRS with a treasure attribute in YAML. Eric S. Raymond 2017-06-24 10:42:23 -04:00
  • 25077d0b4e LOCSIZ -> NLOCATIONS, finishing limit-name cleanup. Eric S. Raymond 2017-06-24 10:20:36 -04:00
  • 64035d0026 More fixed limits (NOBJECTS, LOCSIZ) stop being fixed. Eric S. Raymond 2017-06-24 10:18:33 -04:00
  • 985137d9c7 Rationalize names of structure array sizes. Eric S. Raymond 2017-06-24 09:55:32 -04:00
  • 07207420a2 Elimination of OBJTXT. Eric S. Raymond 2017-06-24 09:41:39 -04:00
  • 0c2803638f Correct buggy behavior of sign in endgame. Add a test for this. Eric S. Raymond 2017-06-24 09:30:15 -04:00
  • 2c9c9076b1 Extend test coverage. read sign in endgame. Eric S. Raymond 2017-06-24 09:15:40 -04:00
  • 3a93b2b5f0 Elimination of OBJSND. Eric S. Raymond 2017-06-24 08:45:22 -04:00
  • 606b590c1e Extend test coverage of vending-machine actions. Eric S. Raymond 2017-06-24 08:06:42 -04:00
  • e8e84a24a6 Improve test coverage. Eric S. Raymond 2017-06-23 23:30:17 -04:00
  • ea70341cfe Eliminate setting of OBJTXT sell for oyster - OBJTXT is now static. Eric S. Raymond 2017-06-23 15:50:15 -04:00
  • 15b7c00e0a Abolish unclean operation on OBJSOUND - it's now static. Eric S. Raymond 2017-06-23 15:13:47 -04:00
  • ecff53d3a8 Name the lamp, grate, and bird states. Eric S. Raymond 2017-06-23 14:21:25 -04:00
  • 2848494a01 Proof of cobcept for state defines. Eric S. Raymond 2017-06-23 14:07:44 -04:00
  • 6bd1c356e2 Documentation polishing. Eric S. Raymond 2017-06-23 11:27:20 -04:00
  • 1e8c3a4a1d Support loud locations. Eric S. Raymond 2017-06-23 11:16:37 -04:00
  • f47dc9f447 Location sounds are now declared by YAML. Eric S. Raymond 2017-06-23 10:10:48 -04:00
  • 98b7434b0b objsound.py: add a (temporary) YAML transformer for translating Section 13. Eric S. Raymond 2017-06-23 09:19:50 -04:00
  • 8dd70624d1 Add YAML markup for location sounds. Eric S. Raymond 2017-06-23 07:54:49 -04:00
  • 44abab29e3 Toss unused parts of dungeon.c and init.c Eric S. Raymond 2017-06-22 22:33:24 -04:00
  • 6c6c72f327 Replace macros with condition bits. Eric S. Raymond 2017-06-22 18:30:36 -04:00
  • 51494657fd Give the FORCED property a real cond bit. Delete some unused code. Eric S. Raymond 2017-06-22 17:49:06 -04:00
  • 7f7f49b739 Switch fully over to YAML generation of condition bits. COND is gone. Eric S. Raymond 2017-06-22 17:28:39 -04:00
  • 537c4511e2 Generate initializer from YAML for Section 9 bits. Eric S. Raymond 2017-06-22 15:56:42 -04:00
  • 8b78a84998 Created cheat save file generator for testing purposes. Aaron Traas 2017-06-22 16:35:38 -04:00
  • 94d1aa5183 Use YAML references to tie hints to locations. Eric S. Raymond 2017-06-22 14:27:22 -04:00
  • 3215930f64 Fixups to the adventure.yaml commentary. Jason S. Ninneman 2017-06-22 10:20:42 -07:00
  • 0e7f2d7452 Fixups to the adventure.yaml commentary. Jason S. Ninneman 2017-06-22 10:20:42 -07:00
  • e4b2877733 Location YAML now has conditions. Eric S. Raymond 2017-06-22 11:59:41 -04:00
  • 3f7a25cdf2 locbit.py: Can't set a FORCED attribute in the YAML... Eric S. Raymond 2017-06-22 11:24:00 -04:00
  • b8c240f4b1 Repair a check file. Eric S. Raymond 2017-06-22 11:14:42 -04:00
  • 4aa006368d Check in the tool for folding Section 9 COND bits into YAML. Eric S. Raymond 2017-06-22 09:46:09 -04:00
  • 9c7c23b75a Improve namespace hygiene. Eric S. Raymond 2017-06-22 08:58:11 -04:00
  • 6277b45d6b Patch around non-working pillo bug fix. Eric S. Raymond 2017-06-22 07:24:45 -04:00
  • 97241e87d7 Quick-fix the 'pillo bug'. Jason S. Ninneman 2017-06-21 22:43:16 -07:00
  • 433e787de8 Simple fix for GitLab issue #14: Behaviour of magic words changed Eric S. Raymond 2017-06-21 17:23:28 -04:00
  • fd6da15373 Fix GitLab issue #13 - The "eat" command exhibits strange behavior Eric S. Raymond 2017-06-21 16:54:10 -04:00
  • adb9d89730 RSPEAK to rspeak David James Sherman 2017-06-21 22:43:46 +02:00
  • 6dbe6f081c Revert "Test coverage - Almost all of score.c". It's breaking tests. Eric S. Raymond 2017-06-21 16:43:27 -04:00
  • 7ed1e95441 Revert "Test coverage - 100% score.c". It's breaking tests. Eric S. Raymond 2017-06-21 16:37:59 -04:00
  • b298ce1594 Merge remote-tracking branch 'upstream/master' into 4-c-s1871 David James Sherman 2017-06-21 22:36:28 +02:00
  • a1f96a1e39 RSPEAK to rspeak David James Sherman 2017-06-21 22:34:47 +02:00
  • f426ac65ec Merge branch '4-c-s1871' of gitlab.com:davidjsherman/open-adventure into 4-c-s1871 David James Sherman 2017-06-21 22:03:06 +02:00
  • 46f867ed82 Resolve #4 David James Sherman 2017-06-21 20:57:19 +02:00
  • c8eba5c65d remove TOO_MANY_CLASS_OR_TURN_MESSAGES David James Sherman 2017-06-21 21:34:45 +02:00
  • 8ff833451c Resolve #2 David James Sherman 2017-06-21 17:06:08 +02:00
  • f4d3f6def9 Test coverage - 100% score.c Aaron Traas 2017-06-21 15:10:23 -04:00
  • 236abc8cab Test coverage - Almost all of score.c Aaron Traas 2017-06-21 15:04:41 -04:00
  • 57952b2850 Resolve #4 David James Sherman 2017-06-21 20:57:19 +02:00
  • 3c8530663d xstrdup() not called anywhere in source. Removed. Aaron Traas 2017-06-21 13:50:13 -04:00
  • 79ffdb36f0 Switch to 0-indexing for hint handling code. Jason S. Ninneman 2017-06-21 10:22:45 -07:00
  • c8f6ff3701 Abolish HNTMAX and HNTSIZ in favor of HINT_COUNT. Jason S. Ninneman 2017-06-21 10:01:16 -07:00
  • deb61e3dcd Replace SETPRM/[PR]SPEAK with variadic [pr]speak Peje Nilsson 2017-06-21 18:34:07 +02:00
  • 82f162dc32 Resolve GitLab issue #3. Applies MISRA and CERT guidelines. David James Sherman 2017-06-21 17:09:02 +02:00
  • edb3426383 Replace SETPRM/[PR]SPEAK with variadic [pr]speak Peje Nilsson 2017-06-21 18:34:07 +02:00
  • 67ed99b29c Test Coverage -- lots of new pieces of actions.c Aaron Traas 2017-06-21 12:14:24 -04:00
  • 22613f06fa Documentation polishing. Eric S. Raymond 2017-06-21 11:58:58 -04:00
  • c3a71f6db6 Documentation and polishing. Eric S. Raymond 2017-06-21 11:45:16 -04:00
  • ddb0df85b3 YAMLify section 11 (hints). Eric S. Raymond 2017-06-21 09:41:01 -04:00
  • ef1d035161 Resolve #3 David James Sherman 2017-06-21 17:09:02 +02:00
  • 0cba67e707 Resolve #2 David James Sherman 2017-06-21 17:06:08 +02:00
  • aa380ff022 Resolve #1 David James Sherman 2017-06-21 16:27:37 +02:00
  • b37f9f4b2d Document the YAML, remove some dead code, fix typos. Eric S. Raymond 2017-06-21 07:39:10 -04:00
  • f6373dd32e Section 10 (class thresholds) is now parsed entirely from YAML. Eric S. Raymond 2017-06-21 06:17:20 -04:00
  • e798355e80 Further code simplification. Eric S. Raymond 2017-06-20 20:44:21 -04:00
  • 237f1a876f Code simplification. Eric S. Raymond 2017-06-20 20:39:45 -04:00
  • 358fdd437b Chage read handler argument to by-value. Eric S. Raymond 2017-06-20 20:24:30 -04:00
  • 9437ccca36 WD* globals abolished. They're now members of the command block. Eric S. Raymond 2017-06-20 20:06:32 -04:00
  • 9714c9fc2a Fix another ob1 error. Jason S. Ninneman 2017-06-20 16:09:33 -07:00
  • 1e59d6b476 Clean out some disused variables. Jason S. Ninneman 2017-06-20 15:46:25 -07:00
  • acc07e1287 Fix off-by-one error. Jason S. Ninneman 2017-06-20 15:43:08 -07:00
  • d029b08ad1 Refactor how turn threshold penalties are accounted for. Jason S. Ninneman 2017-06-20 15:35:30 -07:00
  • 3bf8678d02 Fix another ob1 error. Jason S. Ninneman 2017-06-20 16:09:33 -07:00
  • 4fa0cd7eef Clean out some disused variables. Jason S. Ninneman 2017-06-20 15:46:25 -07:00
  • 29816b9acc Fix off-by-one error. Jason S. Ninneman 2017-06-20 15:43:08 -07:00
  • af67d1fde7 Refactor how turn threshold penalties are accounted for. Jason S. Ninneman 2017-06-20 15:35:30 -07:00
  • 89de4e4602 Test coverage -- more corner cases in actions.c Aaron Traas 2017-06-20 18:43:19 -04:00
  • 7a3f3ec7a6 Introduce command encapsulation structure. Eric S. Raymond 2017-06-20 16:04:50 -04:00
  • 6c4f140333 Refactored dungeon generator. Jason S. Ninneman 2017-06-20 14:31:35 -07:00
  • 4f042d0ca4 Clean up adventure.yaml. Jason S. Ninneman 2017-06-20 14:30:56 -07:00
  • 9cda8ad2e2 Don't exit on EOF from get_input(). Jason S. Ninneman 2017-06-20 09:02:34 -07:00
  • 53fd6348b9 Test coverage - more corner cases in actions.c Aaron Traas 2017-06-20 12:06:49 -04:00
  • e37f858b08 Comment polishing. Eric S. Raymond 2017-06-20 13:38:11 -04:00
  • 1f4d930509 Test coverage - more corner cases in actions.c Aaron Traas 2017-06-20 12:06:49 -04:00
  • 4d6f8a9c1e Don't exit on EOF from get_input(). Jason S. Ninneman 2017-06-20 09:02:34 -07:00
  • f50e984cec Add test for "cage bird". Eric S. Raymond 2017-06-20 09:32:35 -04:00
  • 521033165b Polish help text. Eric S. Raymond 2017-06-20 08:41:06 -04:00
  • 73f3831294 Add -l to coverage testing. Eric S. Raymond 2017-06-20 08:34:01 -04:00
  • 62ab37d3e9 Documentation update. Eric S. Raymond 2017-06-20 08:20:34 -04:00
  • 018ca9ae37 Fix off-by-one error that enabled the fuzzer to find a crash hole. Eric S. Raymond 2017-06-20 07:20:03 -04:00
  • d747d43429 Test logic for lamp dimming triggering battery replacement. Eric S. Raymond 2017-06-20 06:52:52 -04:00
  • 4b93fb327a Merge branch 'master' into magic-number Peje Nilsson 2017-06-20 00:06:49 +02:00
  • 6ecd001093 Fix typo and compiler warning. Jason S. Ninneman 2017-06-19 14:49:15 -07:00