Commit graph

454 commits

Author SHA1 Message Date
Eric S. Raymond
593b8e3caa Add woods hint and hint display to test coverage. 2017-06-13 10:05:48 -04:00
Eric S. Raymond
6c1eadcd67 Arrange test coverage of reincarnation code. 2017-06-13 09:48:32 -04:00
Eric S. Raymond
760e2e3282 Remove more unused code. 2017-06-13 09:42:18 -04:00
Peje Nilsson
89829f45be Speling misstakes 2017-06-13 09:40:11 -04:00
Eric S. Raymond
fb93f9d67e Remove now-unused code. 2017-06-13 09:35:39 -04:00
Peje Nilsson
b373ba447d Cleanup leftover comments 2017-06-13 13:27:44 +00:00
Eric S. Raymond
cbf027c28b Further increase test coverage. 2017-06-13 09:26:54 -04:00
Eric S. Raymond
7018354e22 Improve regression-test coverage. 2017-06-13 09:18:24 -04:00
Eric S. Raymond
8a46a60c8c Documentation update. 2017-06-13 08:37:36 -04:00
Eric S. Raymond
43f0c07f1a Update docs to track Peje's latest patch. 2017-06-13 08:30:49 -04:00
Peje Nilsson
169c683e45 Refactor part of dwarfmove to remove goto jumpout 2017-06-13 14:18:06 +02:00
Eric S. Raymond
60ab7a63dc Comment polishing. 2017-06-13 08:15:01 -04:00
Eric S. Raymond
6a6d9ca14e Address GitLab issue #10: Spurious '>' characters appearing in console output
The prompt logic has become unpleasantly complicated.
2017-06-13 08:03:27 -04:00
Eric S. Raymond
9e08cba63e Adjust for Peje Add Peje Nilsson to credits. 2017-06-13 07:49:53 -04:00
Peje Nilsson
a7c0f331d1 Remove L19999 2017-06-13 07:41:08 -04:00
Eric S. Raymond
3bdab31a0d Improve slightly on Peje's L12 patch, changing documentation to match. 2017-06-13 07:36:57 -04:00
Eric S. Raymond
804e60ccff More documentation updates. 2017-06-13 07:20:05 -04:00
Peje Nilsson
c366ddb733 Relocate L12
With a bit of code duplication the L12 label can be moved outside
the loop.
2017-06-13 07:41:09 +02:00
Eric S. Raymond
1b167e5e72 New notes.adoc file; major documentation update. 2017-06-12 22:05:44 -04:00
Jason S. Ninneman
bc1dd279e2 Don't output disused dungeon data. 2017-06-12 14:44:33 -07:00
Jason S. Ninneman
6b75d87797 Remove some hard-coded array dimensions. Generate CLSSES at compile time.
(How did this ever even work without 'extern'?)
2017-06-12 21:36:07 +00:00
Jason S. Ninneman
90b9b84797 Clean up function argument. 2017-06-12 21:36:06 +00:00
Jason S. Ninneman
ca0e042952 Use strdup() instead of strncpy(). 2017-06-12 21:36:06 +00:00
Eric S. Raymond
a044f10411 Turn MOD from function to macro.
I experimented with expanding it to ((N % M) everywhere, but in context
the MOD(N, M) notation seems easier to read.
2017-06-12 17:33:21 -04:00
Eric S. Raymond
66c22301ed Add -s option.
Re-enables pasting multiline sequences to the > prompt (for making checkfiles).
2017-06-12 16:51:35 -04:00
Eric S. Raymond
a02b387999 FORTRAN line numbers returned from action() become action symbols. 2017-06-12 14:42:04 -04:00
Eric S. Raymond
d85ef403af Refactor main command loop to eliminate L2000. 2017-06-12 09:42:43 -04:00
Eric S. Raymond
1c4097314a Eliminare L8 label. 2017-06-12 09:28:11 -04:00
Eric S. Raymond
b560b0f597 Eliminate L8 label. 2017-06-12 09:24:11 -04:00
Eric S. Raymond
57f2dfb28f Factor out logic for listing objects at present location. 2017-06-12 09:01:21 -04:00
Eric S. Raymond
d7ae7efd30 Refactor hinting logic to pull more code out of mainline. 2017-06-12 08:31:32 -04:00
Eric S. Raymond
bd6e402512 Closing-time check factored out. 2017-06-12 08:15:58 -04:00
Eric S. Raymond
73d5310839 Reformat for readability. 2017-06-12 08:07:49 -04:00
Eric S. Raymond
b0eb54b125 More goto elimination. 2017-06-12 08:03:10 -04:00
Eric S. Raymond
c04fa7e446 Goto elimination. 2017-06-12 07:58:24 -04:00
Eric S. Raymond
696779d337 K successfully localized. 2017-06-12 06:47:10 -04:00
Eric S. Raymond
95f1548a10 Allow direct object to persist across turns. 2017-06-12 06:26:58 -04:00
Eric S. Raymond
c0a450c4d6 Localize K. 2017-06-12 06:13:00 -04:00
Eric S. Raymond
5535c509eb Narrow scope of K. 2017-06-12 06:09:34 -04:00
Eric S. Raymond
cfcb1a6ec6 Fix uninitialized-variable warning. 2017-06-12 05:28:28 -04:00
Eric S. Raymond
e723b7e462 SPK is abolished. 2017-06-12 02:10:14 -04:00
Eric S. Raymond
ac88b9c7e1 More SPK localization. 2017-06-12 01:45:01 -04:00
Eric S. Raymond
a101fc8679 SPK localization. 2017-06-12 01:28:20 -04:00
Eric S. Raymond
d80abbce02 K localization. 2017-06-12 00:30:45 -04:00
Eric S. Raymond
80c0c10221 Localize K to main.c 2017-06-12 00:21:14 -04:00
Eric S. Raymond
1f7a1bc8fd Localization moves for K. 2017-06-12 00:10:07 -04:00
Eric S. Raymond
04db837075 Update TODO. 2017-06-11 22:07:12 -04:00
Eric S. Raymond
a062d43079 SPK is no longer global. 2017-06-11 22:04:14 -04:00
Eric S. Raymond
e2ebc24114 Continue localization of SPK (not yet complete). 2017-06-11 21:58:21 -04:00
Eric S. Raymond
7485a8a1e1 Limit visibility of ugly globals. 2017-06-11 21:07:53 -04:00