Commit graph

1433 commits

Author SHA1 Message Date
NHOrus
dc34ac3d06 workaround for eat grate bug in retrospective tests 2017-07-04 15:18:49 +03:00
NHOrus
85f918f9c0 Unspk'd chain action 2017-07-04 15:18:49 +03:00
NHOrus
469a0e74ed linearized drink 2017-07-04 15:18:49 +03:00
NHOrus
3c636e27e2 linearized extinguish 2017-07-04 15:18:49 +03:00
NHOrus
8cbb8afcbe Unspk'd and restructured fill 2017-07-04 15:18:49 +03:00
NHOrus
e6efd6dbac Partial cleanup of fill 2017-07-04 15:18:49 +03:00
NHOrus
294f2b8a6d Removed magic from checks for liquids 2017-07-04 15:18:49 +03:00
NHOrus
de5696431d Unspk'd find 2017-07-04 15:18:49 +03:00
NHOrus
ffd08893dd Unspk'd inventory lookup 2017-07-04 15:18:49 +03:00
NHOrus
b8def22d24 Unspk'd lock, cleaned up logic 2017-07-04 15:18:49 +03:00
NHOrus
babf08ddc4 Cleaned up unused variables 2017-07-04 15:18:49 +03:00
NHOrus
df2830598c Unspk'd Giant Words 2017-07-04 15:18:49 +03:00
Eric S. Raymond
248fc90e3d Another use of state_change(). 2017-07-04 08:16:10 -04:00
Eric S. Raymond
e91b8c2a06 Another use of state_change() and changes messages. 2017-07-04 07:59:20 -04:00
Eric S. Raymond
e62e4f6e46 YAML cleanup. 2017-07-04 07:39:07 -04:00
Jason S. Ninneman
4f78dfea24 Begin replacing tests on strings with tests on vocab IDs. 2017-07-03 18:21:25 -07:00
Jason S. Ninneman
07e7b8131e Upgrade get_vocab_id() to handle empty strings. 2017-07-03 18:08:04 -07:00
Eric S. Raymond
659f797d8a Implement and document new state-label syntax. 2017-07-03 20:27:56 -04:00
Eric S. Raymond
217f05b28b Comment polishing. 2017-07-03 19:26:32 -04:00
Eric S. Raymond
1c4fcaf43e Discard implementation of %L and %U format specifiers, now never used. 2017-07-03 18:40:06 -04:00
Eric S. Raymond
df36b62c74 Reducing use of dynamic allocation forecloses many errors. 2017-07-03 17:53:25 -04:00
Eric S. Raymond
6e67222206 Information hiding. 2017-07-03 17:21:06 -04:00
Eric S. Raymond
4b51b06b73 Simplify tokenization code. 2017-07-03 17:13:28 -04:00
Eric S. Raymond
393010ec41 Entirely eliminate wd1x and wd2x members of the command block.
In the process, fix another case-smashing bug.
2017-07-03 16:49:33 -04:00
NHOrus
f52a78a1f8 Captured output of help and info commands
Can't believe it wasn't done before
2017-07-03 22:15:19 +03:00
Eric S. Raymond
3d511d9e66 Use DOWN rather thabnd D in YAML. 2017-07-03 14:55:34 -04:00
Eric S. Raymond
a768555312 Use the raw buffer in tr command structure for editing.
This fixes some minor bugs. Unknown words are no longer truncated
nor uppercased on echo.
2017-07-03 12:52:28 -04:00
Eric S. Raymond
854e21a1af Remove a bad command from a check log.
It's interfering with a refactor, and pathological cases really
ought to be checked elsewhere.
2017-07-03 10:10:14 -04:00
Eric S. Raymond
f03bde268e Refactor tokenization to save raw tokens and use static buffer space...
...rather than dynamic storage.

As a side effect, this seems to have fixed a very ninor bug in the processing
of the bare word 'nothing'.  But I don't know where the bug was.  Not happy.
2017-07-03 08:53:10 -04:00
Eric S. Raymond
eba8015059 Magic-number elimination. 2017-07-03 07:14:15 -04:00
Eric S. Raymond
f48ec1eb36 Named state labels for every not clause. 2017-07-03 07:00:42 -04:00
Eric S. Raymond
bf209577a5 Make the YAML less fussy.
Don't string-quote things that are semantically like enums.
2017-07-03 06:47:30 -04:00
Eric S. Raymond
7740b163c8 playermove() never returns false; simplify accordingly 2017-07-03 06:10:52 -04:00
NHOrus
f8166fdb89 Visit room with breathtaking view
Try to extinguish a volcano
Closes #22
2017-07-03 07:30:53 +03:00
NHOrus
63152e6714 Broke all logical or into multiline statement to show lcov's lies
Results are weird, some things that need to be checked aren't and
at least my local lcov doesn't show them as unchecked
2017-07-03 07:20:37 +03:00
NHOrus
fc5267fe8b Unspk'd bivalve action, exposing more untested surface 2017-07-03 06:46:24 +03:00
NHOrus
ac65f3fd5f Unspk'd fly command 2017-07-03 06:29:02 +03:00
NHOrus
8b3ef7ca78 Unspk'd listen and lock commands 2017-07-03 06:21:38 +03:00
NHOrus
38970a1c98 Unspk'd pour command 2017-07-03 06:12:19 +03:00
NHOrus
5613b0ce36 Unspk and streamline eat command 2017-07-03 06:07:57 +03:00
NHOrus
e1f52f4e31 Removed helper function 2017-07-03 05:59:57 +03:00
NHOrus
da78e7eb92 Wake dwarves differently 2017-07-03 05:41:49 +03:00
NHOrus
77a3616182 Cover branch last branch of bird action
And remove distracting line from tests
2017-07-03 05:30:46 +03:00
Aaron Traas
e10faf6edb Coverage -- attack bird after game closed 2017-07-02 22:08:45 -04:00
Aaron Traas
9b3be62aaa Remove testing for intransitive seperate from NO_OBJECT in attact()
because we look for it immediately below, and this code is never
reached. If it were, intransitive attacks would never work.
2017-07-02 21:56:49 -04:00
Aaron Traas
c8445a88d7 Coverage -- corner cases in lock and find 2017-07-02 21:53:28 -04:00
Aaron Traas
481d198d39 Coverage -- giant words 2017-07-02 21:42:42 -04:00
Aaron Traas
854b9b0abd Coverage -- intransitive attack 2017-07-02 21:42:42 -04:00
NHOrus
c7aecb7249 Removed spk from wave, fixed compiler warning 2017-07-03 01:01:01 +03:00
NHOrus
993194bd4d Undid unspeaking of wave, fixed test again.
Changed property math to helper function.
2017-07-03 00:47:17 +03:00