Commit graph

  • 551838cea2 Deal around newline-only lines pruned to zero-lenght Test for that, too NHOrus 2017-07-07 11:21:37 +03:00
  • ef97d579ea Don't zero stuff twice NHOrus 2017-07-07 11:18:02 +03:00
  • 51b6b52dc8 Eliminated multiple reassigments NHOrus 2017-07-07 10:20:32 +03:00
  • d51da9d0b8 Magic Number Elimination NHOrus 2017-07-07 10:04:26 +03:00
  • 7c1c169bf8 More readable dungeon.c output. Eric S. Raymond 2017-07-06 16:41:06 -04:00
  • 7b13a88429 Make the travel table in the dungeon.c output easier to read. Eric S. Raymond 2017-07-06 15:55:28 -04:00
  • 004693c261 Towards a more readable generated file. Eric S. Raymond 2017-07-06 08:47:27 -04:00
  • ea4986e0f5 Stop overwriting obj by dragon check NHOrus 2017-07-06 19:12:16 +03:00
  • 8f5c262e6d Semantic type for verb NHOrus 2017-07-06 18:35:43 +03:00
  • cca3686f2f Clear login in bvreak Test double-breaking of vase NHOrus 2017-07-06 18:23:07 +03:00
  • 0a04293f23 Prevent multiple assigment to game.bonus in blast NHOrus 2017-07-06 18:18:31 +03:00
  • adab8e2190 Be explicitely intransitive NHOrus 2017-07-06 18:11:02 +03:00
  • ca7ac4063f Magic-number elimination and fix More test coverage for some of the cases NHOrus 2017-07-06 17:55:56 +03:00
  • da6a090b83 Magic-number elimination. Eric S. Raymond 2017-07-06 07:42:41 -04:00
  • aee5fff1a3 Some test improvements NHOrus 2017-07-06 11:04:07 +03:00
  • fd3b08e7d1 Improve readability NHOrus 2017-07-06 10:32:33 +03:00
  • 53efcdf2d2 Cleaned up light and extinguish NHOrus 2017-07-06 10:27:49 +03:00
  • a802db1ce0 Cleaned up eat NHOrus 2017-07-06 10:18:18 +03:00
  • acf303a57f Pruned out special case of discarding the vase NHOrus 2017-07-06 10:13:43 +03:00
  • 7be2c233ed Cleared up lock/unlock logic NHOrus 2017-07-06 10:12:55 +03:00
  • de2b1894f2 obj_t in actions. And some more magical word removal Also, reindented everything, as usual NHOrus 2017-07-06 09:56:14 +03:00
  • 146abeae17 Magic-number elimination. Eric S. Raymond 2017-07-05 21:45:55 -04:00
  • da1f251524 Remove arithmetic on a location number. Eric S. Raymond 2017-07-05 20:51:45 -04:00
  • b2a686b07d Location arithmetic elimination. Eric S. Raymond 2017-07-05 20:29:50 -04:00
  • ad24add3c0 actions[] now has strings instead of enums. Jason S. Ninneman 2017-07-05 14:32:08 -07:00
  • 88477f1175 Repair tests to track previous change. Eric S. Raymond 2017-07-05 19:26:32 -04:00
  • c8cac18f42 Improve giant-words failure message. Eric S. Raymond 2017-07-05 17:32:44 -04:00
  • 0b99885ed2 Remove the specials[] duplicates of the 'big' words. Jason S. Ninneman 2017-07-05 11:30:29 -07:00
  • 0e540429b0 Working but unpolished refactor of bigwords(). Jason S. Ninneman 2017-07-05 11:28:15 -07:00
  • 73608b6307 Further infiltrare semantic types. takebird Eric S. Raymond 2017-07-05 16:55:16 -04:00
  • d3578c9da9 Test for bear, from tag seed NHOrus 2017-07-05 20:35:26 +03:00
  • b2d71155e9 same with bear, but without test NHOrus 2017-07-05 20:06:08 +03:00
  • 603f548a21 Fixed feed command and white space in tests NHOrus 2017-07-05 20:03:55 +03:00
  • 7137c20316 Capture correct behavior from seed NHOrus 2017-07-05 20:01:53 +03:00
  • 725105b4a2 Made feeding a switch instead of elsif chain NHOrus 2017-07-05 19:55:52 +03:00
  • 23aced5c7c One bit less math on states NHOrus 2017-07-05 19:33:01 +03:00
  • 525fb0149b Test for bear, from tag seed NHOrus 2017-07-05 20:35:26 +03:00
  • 40ff648431 Moved state_change to misc.c to start using it in main.c, too NHOrus 2017-07-05 20:23:34 +03:00
  • 3d19b8d5a7 same with bear, but without test NHOrus 2017-07-05 20:06:08 +03:00
  • cae900e661 Fixed feed command and white space in tests NHOrus 2017-07-05 20:03:55 +03:00
  • b310720875 Capture correct behavior from seed NHOrus 2017-07-05 20:01:53 +03:00
  • a162bb0734 Made feeding a switch instead of elsif chain NHOrus 2017-07-05 19:55:52 +03:00
  • bf3e210d8c One bit less math on states NHOrus 2017-07-05 19:33:01 +03:00
  • df422fe2ed Test cover all of discard NHOrus 2017-07-05 19:12:05 +03:00
  • 878800edc6 Triggering more phrases NHOrus 2017-07-05 18:59:05 +03:00
  • 6ec4bc0dba Make a test more explicit. Eric S. Raymond 2017-07-05 11:47:10 -04:00
  • e521cc368e Repair oilplant.log. Eric S. Raymond 2017-07-05 11:36:16 -04:00
  • 3b64fb3bfd Reduce test makefile verbosity under Emacs. Eric S. Raymond 2017-07-05 04:35:58 -04:00
  • c35cf99966 Static analysis warnings squished NHOrus 2017-07-05 17:45:12 +03:00
  • 7be7ac9406 Magic-number elimination. Eric S. Raymond 2017-07-05 03:17:24 -04:00
  • fd57b3b5bd Fix dropped stitch in last commit. Eric S. Raymond 2017-07-05 02:55:51 -04:00
  • d522d22c71 Magic-number elimination. Eric S. Raymond 2017-07-05 02:53:39 -04:00
  • 752ac08737 Documentation polishing. Eric S. Raymond 2017-07-05 02:42:51 -04:00
  • df87c596fb Under oldstyle, mangled echoed unknown text to simulate old behavior. Eric S. Raymond 2017-07-05 02:34:36 -04:00
  • c8f3289828 Minor clarifications. Eric S. Raymond 2017-07-05 02:02:39 -04:00
  • caab2242fc Trigger 'NO_EDIBLES' message NHOrus 2017-07-05 08:37:04 +03:00
  • 31c1a44915 Adapt bottle object to use state_change(). Eric S. Raymond 2017-07-05 01:15:40 -04:00
  • 8613f0b3d9 Magic number elimination Special state/locations for game.fixd object array NHOrus 2017-07-05 07:37:42 +03:00
  • 3d5c7239f1 Simplify vase-dropping logic using state_change(). Eric S. Raymond 2017-07-05 00:40:14 -04:00
  • 5ae09b9c34 Magic-number elimination. Eric S. Raymond 2017-07-04 23:46:16 -04:00
  • c48c330883 Magic-number elimination in the olover/alcove pasage code. Eric S. Raymond 2017-07-04 22:56:02 -04:00
  • f3dae6ff83 Coverage -- more odd actions Aaron Traas 2017-07-04 17:41:42 -04:00
  • 19127d05df Removed equivocation between ROD and ROD2 in throw() Aaron Traas 2017-07-04 17:13:26 -04:00
  • abf820bb5c Magic-number elimination. Eric S. Raymond 2017-07-04 14:40:10 -04:00
  • f37a413524 Magic-number elimination. Eric S. Raymond 2017-07-04 14:15:20 -04:00
  • a8ac2f477a Abstract out some state arithmetic. Eric S. Raymond 2017-07-04 13:40:05 -04:00
  • 4ac9df527b Test for filling full bottle with different liquid NHOrus 2017-07-04 20:35:03 +03:00
  • 63396e6abc Oops. Also, sometimes it's better be explicit in parameters NHOrus 2017-07-04 19:50:19 +03:00
  • 92de4856a6 Localized spk in discard NHOrus 2017-07-04 19:45:00 +03:00
  • 733b035933 Completed unspk'ing of vcarry. NHOrus 2017-07-04 19:41:06 +03:00
  • e46cbdf194 Unspk'd (v)carry. Made logic more visible. And tested some of newly exposed cases. NHOrus 2017-07-04 19:27:00 +03:00
  • 665103410a Unspk'd and streamlined attack. Tested one of discovered gaps. NHOrus 2017-07-04 18:41:28 +03:00
  • 16a175bbab Eliminated bivalve function. Aaron Traas 2017-07-04 09:55:02 -04:00
  • e1cca3b28a State-arithmetic elimination. Eric S. Raymond 2017-07-04 09:17:20 -04:00
  • e31e69b172 Grammar fix. Eric S. Raymond 2017-07-04 09:03:42 -04:00
  • e1d9c97118 Drinking not from stream gets the same result NHOrus 2017-07-04 14:43:17 +03:00
  • dc34ac3d06 workaround for eat grate bug in retrospective tests NHOrus 2017-07-04 11:02:58 +03:00
  • 85f918f9c0 Unspk'd chain action NHOrus 2017-07-04 15:16:36 +03:00
  • 469a0e74ed linearized drink NHOrus 2017-07-04 14:38:43 +03:00
  • 3c636e27e2 linearized extinguish NHOrus 2017-07-04 14:33:30 +03:00
  • 8cbb8afcbe Unspk'd and restructured fill NHOrus 2017-07-04 13:58:00 +03:00
  • e6efd6dbac Partial cleanup of fill NHOrus 2017-07-04 13:28:00 +03:00
  • 294f2b8a6d Removed magic from checks for liquids NHOrus 2017-07-04 13:04:04 +03:00
  • de5696431d Unspk'd find NHOrus 2017-07-04 11:49:02 +03:00
  • ffd08893dd Unspk'd inventory lookup NHOrus 2017-07-04 11:37:30 +03:00
  • b8def22d24 Unspk'd lock, cleaned up logic NHOrus 2017-07-04 11:30:39 +03:00
  • babf08ddc4 Cleaned up unused variables NHOrus 2017-07-04 11:15:10 +03:00
  • df2830598c Unspk'd Giant Words NHOrus 2017-07-04 11:12:38 +03:00
  • 248fc90e3d Another use of state_change(). Eric S. Raymond 2017-07-04 08:16:10 -04:00
  • e91b8c2a06 Another use of state_change() and changes messages. Eric S. Raymond 2017-07-04 07:59:20 -04:00
  • e62e4f6e46 YAML cleanup. Eric S. Raymond 2017-07-04 07:39:07 -04:00
  • 4f78dfea24 Begin replacing tests on strings with tests on vocab IDs. Jason S. Ninneman 2017-07-03 18:21:25 -07:00
  • 07e7b8131e Upgrade get_vocab_id() to handle empty strings. Jason S. Ninneman 2017-07-03 10:37:44 -07:00
  • 659f797d8a Implement and document new state-label syntax. Eric S. Raymond 2017-07-03 20:27:56 -04:00
  • 217f05b28b Comment polishing. Eric S. Raymond 2017-07-03 19:26:32 -04:00
  • 1c4fcaf43e Discard implementation of %L and %U format specifiers, now never used. Eric S. Raymond 2017-07-03 18:40:06 -04:00
  • df36b62c74 Reducing use of dynamic allocation forecloses many errors. Eric S. Raymond 2017-07-03 17:53:25 -04:00
  • 6e67222206 Information hiding. Eric S. Raymond 2017-07-03 17:21:06 -04:00
  • 4b51b06b73 Simplify tokenization code. Eric S. Raymond 2017-07-03 17:13:28 -04:00
  • 393010ec41 Entirely eliminate wd1x and wd2x members of the command block. Eric S. Raymond 2017-07-03 16:49:33 -04:00