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
NHOrus
eeda78a210
Don't spk in wave and action
2017-07-03 00:04:44 +03:00
NHOrus
8fcbc8ecba
More magic number elimination
2017-07-02 22:57:26 +03:00
NHOrus
fbc80f0363
Unfalsify coverage check
2017-07-02 22:57:25 +03:00
Eric S. Raymond
89e1833d8f
Magic-number elimination.
2017-07-02 15:32:50 -04:00
NHOrus
c811512a82
More tests, multilined yaml
2017-07-02 15:16:50 -04:00
Eric S. Raymond
e712f4c0e0
Magic-number elimination.
2017-07-02 14:47:21 -04:00
NHOrus
369c67840e
Attack content and dead bear
2017-07-02 21:10:27 +03:00
Eric S. Raymond
708dd0fb4a
Imprive coverage of cheat.
2017-07-02 13:57:01 -04:00
Aaron Traas
35f4af108d
Coverage - attack sitting bear
2017-07-02 13:40:24 -04:00
Jason S. Ninneman
6af38a92f6
Eliminate the global game.blklin.
2017-07-02 10:37:10 -07:00
NHOrus
8456b866ff
Rationalize attack logic
...
Fix the compiler warnings about bunching ands with ors
2017-07-02 20:29:51 +03:00
Eric S. Raymond
346bcf9458
Magic-number elimination.
2017-07-02 13:22:50 -04:00
Jason S. Ninneman
73278b1a3c
Bump save file version number.
...
Also add missing space in the version mesage.
2017-07-02 09:55:53 -07:00
Aaron Traas
589a1c92ad
Test coverage: intransitive lock
2017-07-02 12:52:17 -04:00
Aaron Traas
dd50e7c9d3
Eliminate unreachable code in lock()
2017-07-02 12:52:17 -04:00
Aaron Traas
2d71fe8137
Add capabilities to cheat. Expand testing to cover.
2017-07-02 12:52:17 -04:00
Aaron Traas
7eaefce61d
Moved application settings to settings_t struct
...
Since logfp, oldstyle, and prompt were application settings, rather than
have them all as global vars, move them to a single global var, seperate
from game state, as they aren't, technically, game state, but are
application settings.
2017-07-02 12:52:17 -04:00
Jason S. Ninneman
d23111daba
Replace datime() with just time().
...
Also make the 'savetime' value meaningful.
This removes a separate library dependency on some systems.
2017-07-02 09:46:01 -07:00
Eric S. Raymond
fb8ba08986
Change VERSION_SKEW message - save file cersion is now...
...
...decoupled from program version.
2017-07-02 12:43:29 -04:00
Eric S. Raymond
d3b525212b
Documentation polishing.
2017-07-02 11:19:29 -04:00
Eric S. Raymond
ea963d4af8
Documentation polishing.
2017-07-02 11:01:32 -04:00
Eric S. Raymond
1d41d9a2f8
Begin decomposing cond magic numbers.
2017-07-02 10:55:02 -04:00
NHOrus
29672a6447
Fixed logic, documented it in notes and tests
2017-07-02 17:50:42 +03:00
NHOrus
e91742e1b9
Fixed regression in #21 Cleaned up logic of light/extinguish
2017-07-02 10:16:13 -04:00
NHOrus
73af0e3a55
Fix for issue #21 , hopefully
2017-07-02 10:16:13 -04:00
NHOrus
4c32714997
really capture it
2017-07-02 10:16:13 -04:00
NHOrus
8ec7c9d576
Capture current state of bugs, for #21
2017-07-02 10:16:13 -04:00
NHOrus
a5478639b6
Capture wonkyness of extinguishing urn
2017-07-02 10:16:13 -04:00
NHOrus
664b4cf4d7
more tests
2017-07-02 10:16:13 -04:00
NHOrus
e65132a108
Ability to use non-standard FreeBSD gcov tool
2017-07-02 10:16:13 -04:00
NHOrus
634cd0f17f
Make include of dependency platform-generic
2017-07-02 10:16:13 -04:00
Aaron Traas
3d3cd4ba39
Localize scope for restore file pointer in main.
2017-07-02 02:28:58 -04:00