Commit graph

1503 commits

Author SHA1 Message Date
Eric S. Raymond
8f527fb433 Fix whitespace glitch. 2023-03-09 10:19:53 -05:00
Eric S. Raymond
643eab4e9c Use $(advent) rather than advent where needed. 2023-03-09 08:54:20 -05:00
Eric S. Raymond
f53476f826 Complete fix of GitLab issue #64: Coverage summary looks wrong 2023-03-08 22:55:12 -05:00
Eric S. Raymond
83c32598be Partially address Gitlsb issue #64: Coverage summary looks wrong 2023-03-08 21:54:45 -05:00
Torbjörn Andersson
98b95e92ee Another typo fix. 2023-03-08 18:15:51 +01:00
Eric S. Raymond
8d409c6b3b Add a comment to the code that fixes the inventory-count bug. 2023-03-07 08:12:36 -05:00
Eric S. Raymond
e1ce7d6b6a Documentation polishing. 2023-03-07 06:27:08 -05:00
Eric S. Raymond
f911e42453 Eliminate some forwards. 2023-03-06 23:41:07 -05:00
Eric S. Raymond
12d39ef72b Improve Makefile recipe for coverage testing. 2023-03-06 12:55:17 -05:00
Eric S. Raymond
1efd1027f7 Add test for interspersed non-motion command amidst magic words. 2023-03-04 20:26:13 -05:00
Eric S. Raymond
1121bb8aa5 NEWS and notes.adoc update. 2023-03-04 20:16:07 -05:00
Eric S. Raymond
a01c08385c Prevent a spurious coverage error. 2023-03-04 19:58:57 -05:00
Eric S. Raymond
643656fcc3 Complain to user on save/resume.restore when it's disabled. 2023-03-04 19:48:17 -05:00
Eric S. Raymond
ac0c5fc024 Document -a option. 2023-03-03 17:18:00 -05:00
Rob Swindell (on Debian Linux)
dfff80faa8 Add optional auto-save/restore feature using -a <filename> option
To enable use with online Bulletin Board Systems (BBSes) where users
may be disconnected unexpectedly, but would naturally want to resume
playing their same game, added support for an optional save game
path/filename to be specified on the command-line (very similar to
"-r <filename>"), except this save/restore file is:
1. automatically loaded/restored if it exists
2. automatically created when starting a new game
3. automatically updated when exiting a game for any reason
4. cannot be changed to a different path/filename by the user

Since a BBS server program can be expected to send a SIGHUP or SIGTERM
to the game process upon user disconnection (or timeout), those
signals are caught and a graceful termination will occur which saves
the current game state.

Build with ADVENT_AUTOSAVE defined to enable this option.

BUG:
The 'info' command still reports the save/suspend/pause commands as
valid, though they are not when this build option is used (same is
true of ADVENT_NOSAVE, and that doesn't apparently bother anyone).
2023-03-02 19:44:47 -08:00
Eric S. Raymond
426684fec2 Increase retrigressiveness of oldstyle a bit. 2023-03-01 17:46:13 -05:00
Eric S. Raymond
162c5abc8a Comment typo fix. 2023-03-01 16:03:13 -05:00
Eric S. Raymond
1f644a1d7d Don't crap out on failed diff. 2023-03-01 14:01:44 -05:00
Eric S. Raymond
17782cab67 Another comment typo fix. 2023-03-01 13:52:54 -05:00
Eric S. Raymond
94e7cc6505 Address Gitlab isse #62: Comment typos. 2023-03-01 13:04:53 -05:00
Eric S. Raymond
3f34adad3b Move pylint suppressions inline. 2023-02-28 19:46:50 -05:00
Eric S. Raymond
17c74326c1 Ready to ship 1.13. 2023-02-28 19:02:10 -05:00
Eric S. Raymond
b8c7a6d5ea cppcheck cleanup. 2023-02-28 18:55:12 -05:00
Eric S. Raymond
e5e6dbd741 NEWS update. 2023-02-28 18:40:40 -05:00
Eric S. Raymond
89266b7c1a Documerntation and comment polishing. 2023-02-28 17:05:37 -05:00
Eric S. Raymond
9a1b4d021e Improve message emission when player wins. 2023-02-28 15:10:54 -05:00
Eric S. Raymond
ff2dd31209 Update our tapview copy. 2023-02-28 15:04:42 -05:00
Eric S. Raymond
66b8192ae8 SPDXify generated code. 2023-02-28 14:55:40 -05:00
Eric S. Raymond
23e9931645 Prevent spurious error return. 2023-02-28 14:48:33 -05:00
Eric S. Raymond
20859304c0 Eliminate a bad code smell. 2023-02-28 06:45:24 -05:00
Eric S. Raymond
aa32e8f4d6 Add Ryan Sarson's 430-point win to the test suite. 2023-02-27 23:03:38 -05:00
Eric S. Raymond
60d7070506 Cleanup for current pylint. 2023-02-17 13:45:50 -05:00
Eric S. Raymond
a44ec19753 Documentation polishing. 2023-02-07 05:27:24 -05:00
Eric S. Raymond
9812b7a357 Comment improvements. 2023-02-07 04:55:59 -05:00
Eric S. Raymond
d9111efc68 Ready to ship 1.12 2023-02-06 17:03:34 -05:00
Eric S. Raymond
5e2614678b NEWS update. 2023-02-06 16:52:16 -05:00
Eric S. Raymond
0aead5634e Another typo fix. 2023-02-06 16:46:03 -05:00
Eric S. Raymond
7810888164 Experimental tweak of Docker image to try to fix manpage build. 2023-02-06 16:36:59 -05:00
Eric S. Raymond
aaaf0ac7d2 Typo fixes. 2023-02-06 16:03:38 -05:00
Eric S. Raymond
750cfe36d8 Fix for GitLab issue #59. 2022-10-21 11:21:58 -04:00
Eric S. Raymond
b6c0f5bff0 Add Patreon link. 2022-04-20 11:59:26 -04:00
Eric S. Raymond
e5d01c83f0 Remove ibsoletre constraint comment.
I think it became obsolete when we factored out state-change messages.
2022-04-20 11:32:02 -04:00
Eric S. Raymond
3dcf8449e5 In the grapher,add some room condition bits to clean up code. 2022-04-20 11:09:08 -04:00
Eric S. Raymond
3f3e114536 In the grapher, split forset from surface mode. 2022-04-20 07:15:18 -04:00
Eric S. Raymond
baab09e3ab py;imt cleanup. 2022-04-19 22:41:14 -04:00
Eric S. Raymond
81c7bb6d5b More grapher improvement. 2022-04-19 22:36:28 -04:00
Eric S. Raymond
c547f4498b Add verbose optionm to grapher. 2022-04-19 20:39:54 -04:00
Eric S. Raymond
74b1589b57 Various grapher improvements. 2022-04-19 19:48:35 -04:00
Eric S. Raymond
67a887f432 Magic-number elimination. 2022-04-19 17:07:46 -04:00
Eric S. Raymond
00c2182d9b Code cleanup. 2022-04-19 16:36:20 -04:00