Commit graph

1065 commits

Author SHA1 Message Date
Eric S. Raymond
75094fd658 Comment polishing. 2017-07-08 08:35:44 -04:00
Eric S. Raymond
2935e07bc9 Documentation polishing. 2017-07-08 01:52:19 -04:00
Aaron Traas
4446c61d5f Now YAML coverage test generates a nice HTML template 2017-07-07 22:41:59 -04:00
Eric S. Raymond
6af7db8cd9 Comment polishing. 2017-07-07 16:39:11 -04:00
Aaron Traas
310559ce15 adventure.yaml coverage test script -- not at all polished, but works 2017-07-07 16:28:14 -04:00
NHOrus
5af8fb18f0 Prevent access beyond boundaries of array on fallthrough 2017-07-07 23:15:54 +03:00
NHOrus
9100c14d2c Fuzzed tests for two of untested hint conditions 2017-07-07 22:41:53 +03:00
Eric S. Raymond
100152c21d Comment cleanup. 2017-07-07 15:34:32 -04:00
Eric S. Raymond
1cbc3d827b Eliminate magic numbers from C side of condition handling. 2017-07-07 15:01:25 -04:00
Eric S. Raymond
2bdf9e2803 Purge magic numbers from C side of destination handling. 2017-07-07 11:04:18 -04:00
NHOrus
e619c41048 Don't forget to ask important questions when removing restore of saves 2017-07-07 17:58:42 +03:00
NHOrus
0042d641dc Plugged all memory leaks.
Now all tests pass under ASan or Valgrind.
2017-07-07 12:07:52 +03:00
NHOrus
551838cea2 Deal around newline-only lines pruned to zero-lenght
Test for that, too
2017-07-07 11:21:37 +03:00
NHOrus
ef97d579ea Don't zero stuff twice 2017-07-07 11:18:02 +03:00
NHOrus
51b6b52dc8 Eliminated multiple reassigments 2017-07-07 10:20:32 +03:00
NHOrus
d51da9d0b8 Magic Number Elimination 2017-07-07 10:04:26 +03:00
Eric S. Raymond
7c1c169bf8 More readable dungeon.c output. 2017-07-06 16:41:06 -04:00
Eric S. Raymond
7b13a88429 Make the travel table in the dungeon.c output easier to read. 2017-07-06 15:56:23 -04:00
Eric S. Raymond
004693c261 Towards a more readable generated file. 2017-07-06 15:56:23 -04:00
NHOrus
ea4986e0f5 Stop overwriting obj by dragon check 2017-07-06 19:12:16 +03:00
NHOrus
8f5c262e6d Semantic type for verb 2017-07-06 18:40:11 +03:00
NHOrus
cca3686f2f Clear login in bvreak
Test double-breaking of vase
2017-07-06 18:23:07 +03:00
NHOrus
0a04293f23 Prevent multiple assigment to game.bonus in blast 2017-07-06 18:18:31 +03:00
NHOrus
adab8e2190 Be explicitely intransitive 2017-07-06 18:11:02 +03:00
NHOrus
ca7ac4063f Magic-number elimination and fix
More test coverage for some of the cases
2017-07-06 17:55:56 +03:00
Eric S. Raymond
da6a090b83 Magic-number elimination. 2017-07-06 07:42:41 -04:00
NHOrus
aee5fff1a3 Some test improvements 2017-07-06 11:04:07 +03:00
NHOrus
fd3b08e7d1 Improve readability 2017-07-06 10:32:33 +03:00
NHOrus
53efcdf2d2 Cleaned up light and extinguish 2017-07-06 10:27:49 +03:00
NHOrus
a802db1ce0 Cleaned up eat 2017-07-06 10:18:18 +03:00
NHOrus
acf303a57f Pruned out special case of discarding the vase 2017-07-06 10:13:43 +03:00
NHOrus
7be2c233ed Cleared up lock/unlock logic 2017-07-06 10:12:55 +03:00
NHOrus
de2b1894f2 obj_t in actions. And some more magical word removal
Also, reindented everything, as usual
2017-07-06 10:05:11 +03:00
Eric S. Raymond
146abeae17 Magic-number elimination. 2017-07-05 21:45:55 -04:00
Eric S. Raymond
da1f251524 Remove arithmetic on a location number. 2017-07-05 20:51:45 -04:00
Eric S. Raymond
b2a686b07d Location arithmetic elimination. 2017-07-05 20:29:50 -04:00
Jason S. Ninneman
ad24add3c0 actions[] now has strings instead of enums. 2017-07-05 16:31:41 -07:00
Eric S. Raymond
88477f1175 Repair tests to track previous change. 2017-07-05 19:26:32 -04: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
Eric S. Raymond
73608b6307 Further infiltrare semantic types. 2017-07-05 16:55:16 -04:00
NHOrus
d3578c9da9 Test for bear, from tag seed 2017-07-05 15:41:36 -04:00
NHOrus
b2d71155e9 same with bear, but without test 2017-07-05 15:41:36 -04:00
NHOrus
603f548a21 Fixed feed command and white space in tests 2017-07-05 15:41:36 -04:00
NHOrus
7137c20316 Capture correct behavior from seed 2017-07-05 15:41:36 -04:00
NHOrus
725105b4a2 Made feeding a switch instead of elsif chain 2017-07-05 15:41:36 -04:00
NHOrus
23aced5c7c One bit less math on states 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
NHOrus
df422fe2ed Test cover all of discard 2017-07-05 19:12:05 +03:00