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
Aaron Traas
22a557efb1
Coverage -- version command
2017-07-02 02:22:52 -04:00
Aaron Traas
85f8334e17
centralize calls to make_zzword()
...
make_zzword() now called in set_seed(), because the only times it was
called in the entire application is after every invocation of set_seed().
2017-07-02 02:02:09 -04:00
Aaron Traas
be115e9567
Fixed -r option. Added test to make sure it doesn't break later.
2017-07-02 01:36:28 -04:00
Aaron Traas
70838f7001
Changed usage message to multi-line string for cheat
2017-07-02 01:17:14 -04:00
Aaron Traas
f815299a2a
make_zzword() moved to initialize. Pruned unused stuff from cheat.c
2017-07-02 01:07:53 -04:00
Eric S. Raymond
6c822610c5
Improve test coverage.
2017-07-01 23:51:24 -04:00
Eric S. Raymond
a6954db376
Rewrite dwarf-encounter ceck so coverage testing sees all predicates.
2017-07-01 23:33:57 -04:00
Eric S. Raymond
4f08537e2d
More magic-number elimination.
2017-07-01 23:07:23 -04:00
Eric S. Raymond
5c2b76f762
Magic-number elimination.
2017-07-01 22:50:08 -04:00
Wayne Conrad
16688c6d8f
Fix typo in data comments
2017-07-01 19:12:05 -04:00
Wayne Conrad
76e3e27f66
Fix typo in notes
2017-07-01 19:12:05 -04:00
Eric S. Raymond
f1b37ea163
Supply missing implementation of nodwarf bit in travel rules.
2017-07-01 19:11:24 -04:00
Eric S. Raymond
0aa70d04cf
Another step in de-obscurifying the travel code.
2017-07-01 19:11:24 -04:00
Jason S. Ninneman
e05f959974
Refactor specials[] to have strings instead of enum references.
...
Clean up arbitrary_messages[] accordingly.
2017-07-01 11:53:54 -07:00
Eric S. Raymond
e57d9d514c
Minor refactor - create an equality function to simplify skip logic.
2017-07-01 14:07:23 -04:00
Jason S. Ninneman
e66b4561d4
Never write the input prompt to log files.
2017-07-01 11:04:21 -07:00
Eric S. Raymond
50bbbbceee
Forther break apart the magic enconding of travel arrays.
2017-07-01 12:51:12 -04:00
Eric S. Raymond
c98668c529
Remove debris from a misclick.
2017-07-01 12:40:12 -04:00
Eric S. Raymond
0d0b8df0a3
Ignore l g z i under oldstyle.
2017-07-01 12:35:31 -04:00
NHOrus
3c8482a613
Change state of vase
...
Clear temporary save where it needs to be cleared instead of random places
2017-07-01 18:25:39 +03:00
NHOrus
ab79fc7814
Do not compare state to magic numbers
2017-07-01 18:25:39 +03:00
NHOrus
b8d86b840d
Little more less magic in dragon state
2017-07-01 18:25:39 +03:00
Eric S. Raymond
9355882cac
Documentation polishing.
2017-07-01 11:01:06 -04:00
Jason S. Ninneman
d529a14356
Ensure libedit is installed for the pipeline jobs.
2017-07-01 07:29:53 -07:00
Jason S. Ninneman
b3828c8edc
Attempt to unbreak pipeline.
2017-07-01 07:27:37 -07:00
Jason S. Ninneman
dec4cf3968
Jettison the -s option.
...
It's no longer needed since libedit doesn't have the 'paste bug'.
2017-07-01 07:22:53 -07:00
Jason S. Ninneman
98f019b9e4
Remove the linenoise submodule.
2017-07-01 07:22:53 -07:00
Jason S. Ninneman
5fcebc66ae
Move most build instructions into INSTALL.adoc.
2017-07-01 07:22:53 -07:00
Jason S. Ninneman
c69355f08a
Update documentation about the libedit conversion.
2017-07-01 07:22:53 -07:00