Commit graph

546 commits

Author SHA1 Message Date
Jason S. Ninneman
f715091db6 Get plural replacement working. 2017-06-11 15:42:25 -07:00
Jason S. Ninneman
5de9c7132d Partially-working newspeak(). 2017-06-11 15:42:25 -07:00
Jason S. Ninneman
15ff262d17 More retrofitting. 2017-06-11 15:42:25 -07:00
Jason S. Ninneman
3178f5d994 Retrofit main.c for the new database and newspeak(). 2017-06-11 15:42:25 -07:00
Jason S. Ninneman
c7ca4ee73c Retrofit RSPEAK() and PSPEAK(). 2017-06-11 15:42:25 -07:00
Jason S. Ninneman
291ec54462 Check in dropped file. 2017-06-11 15:42:25 -07:00
Jason S. Ninneman
43032763cd Compile in the new (partial) database. 2017-06-11 15:42:25 -07:00
Jason S. Ninneman
cdf6993a51 First crude version of newspeak(). 2017-06-11 15:42:25 -07:00
Jason S. Ninneman
639eff8b0b Remove handlers for disused advent format specifiers. 2017-06-11 15:42:25 -07:00
Eric S. Raymond
d6c707f6ac Test for the "break" verb. 2017-06-11 18:24:35 -04:00
Eric S. Raymond
b9eccc7aa2 Increase test coverage. 2017-06-11 17:41:29 -04:00
Eric S. Raymond
5a33ce3937 More test coverage. 2017-06-11 16:50:55 -04:00
Eric S. Raymond
1a4bf3abcd Improved test coverage. 2017-06-11 16:18:03 -04:00
Eric S. Raymond
e1f44a09fa Yet more goto elimination. 2017-06-11 15:19:49 -04:00
Eric S. Raymond
2576613759 Readability tweak. 2017-06-11 11:28:30 -04:00
Eric S. Raymond
bfda14305a Abolish 18999 return from actions(). 2017-06-11 11:25:31 -04:00
Eric S. Raymond
093415efc8 Abolish 2009 return. 2017-06-11 11:13:31 -04:00
Eric S. Raymond
c3222aef27 Abolish L2010. 2017-06-11 11:06:54 -04:00
Eric S. Raymond
8cdbf034a2 Code simplifications based on abolishing 2011. 2017-06-11 10:59:33 -04:00
Eric S. Raymond
5e5ad6b1aa Abolish 2011 return from actions. A step towards localizing SPK. 2017-06-11 10:12:58 -04:00
Eric S. Raymond
55610bb1de Questions for the future. 2017-06-11 09:24:52 -04:00
Eric S. Raymond
0dcd87202a More goto elimination. 2017-06-11 08:33:30 -04:00
Eric S. Raymond
3c78ff879b Clean up dummy macro arguments. 2017-06-11 07:29:29 -04:00
Eric S. Raymond
925aeab51b Yet more goto eliminations. 2017-06-11 07:24:42 -04:00
Eric S. Raymond
9b9eab70d8 Two goto eliminations. 2017-06-11 07:24:42 -04:00
Eric S. Raymond
9d072a8c44 One more goto-label pair gone. 2017-06-11 07:24:42 -04:00
Eric S. Raymond
9fbf52ff7e Six more gotoectomies. 2017-06-11 07:24:42 -04:00
Jason S. Ninneman
3ed8b91eb7 More SPEAK() hardening. 2017-06-10 19:00:54 -07:00
Jason S. Ninneman
7ce9f7270f Replace some spaces with tabs per the database spec. 2017-06-10 19:00:54 -07:00
Eric S. Raymond
39c1b4db81 Resolve a goto. 2017-06-10 21:09:14 -04:00
Jason S. Ninneman
a4da53086b Zero-index the lookup tables and the code that references them. 2017-06-10 15:34:21 -07:00
Jason S. Ninneman
e7906b4ca3 Replace advent character constants with lookups. 2017-06-10 15:27:38 -07:00
Jason S. Ninneman
b905b5fb0f Keep ascii_to_advent[] numeric. Using char literals was misleading. 2017-06-10 14:31:50 -07:00
Jason S. Ninneman
e586f7c61f Add missing common.c. 2017-06-10 13:52:50 -07:00
Jason S. Ninneman
1173a9a265 Use a header/source set common to both advent and the dungeon builder. 2017-06-10 13:37:26 -07:00
Eric S. Raymond
0e160a665e Documentaion polishing. 2017-06-10 14:55:48 -04:00
Eric S. Raymond
dd2a949730 Structuring move. 2017-06-10 14:24:34 -04:00
Eric S. Raymond
d3e84846d3 Readability fix. 2017-06-10 13:58:18 -04:00
Eric S. Raymond
b92fb66c44 Last goto removed from actions.c 2017-06-10 13:43:17 -04:00
Eric S. Raymond
f6da31f689 Just one label left in actions.c. 2017-06-10 13:31:48 -04:00
Eric S. Raymond
e6f183ba7f Use C idioms for increment/decrement. 2017-06-10 12:38:40 -04:00
Eric S. Raymond
d8e30c69c7 Date typo fix. 2017-06-10 07:20:26 -04:00
Eric S. Raymond
62e1fddd1d Cosmetic fix: blank line before filename prompt...
...in the style of the original.
2017-06-10 07:19:26 -04:00
Eric S. Raymond
9e8e0893dc Rewrite save/resume in idiomatic C. Savefile version bumped to 26. 2017-06-10 07:13:23 -04:00
Eric S. Raymond
3af993abca Isolate the grotty save/resume code. Most of it will soon go away. 2017-06-10 05:38:47 -04:00
Eric S. Raymond
4c5474121f Unbreak the tests.
linenoise doesn't eco its prompt to stdout, which messed them up.
2017-06-10 05:35:35 -04:00
Eric S. Raymond
63e971fc4c Enable input editing with the linenoise library. 2017-06-10 05:11:29 -04:00
Eric S. Raymond
037f1df7dd Change NAPLIN signature - prepration for linenoise. 2017-06-10 01:42:53 -04:00
Eric S. Raymond
9bac28878d Replace magic linenumbers with a clearer enum. 2017-06-10 00:23:28 -04:00
Eric S. Raymond
b22d6a65b9 More goto eliminations. 2017-06-09 17:22:20 -04:00