Commit graph

445 commits

Author SHA1 Message Date
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
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
a062d43079 SPK is no longer global. 2017-06-11 22:04:14 -04:00
Jason S. Ninneman
3178f5d994 Retrofit main.c for the new database and newspeak(). 2017-06-11 15:42:25 -07:00
Eric S. Raymond
e1f44a09fa Yet more goto elimination. 2017-06-11 15:19:49 -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
5e5ad6b1aa Abolish 2011 return from actions. A step towards localizing SPK. 2017-06-11 10:12:58 -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
Eric S. Raymond
39c1b4db81 Resolve a goto. 2017-06-10 21:09:14 -04: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
e6f183ba7f Use C idioms for increment/decrement. 2017-06-10 12:38:40 -04:00
Eric S. Raymond
63e971fc4c Enable input editing with the linenoise library. 2017-06-10 05:11:29 -04:00
Eric S. Raymond
9bac28878d Replace magic linenumbers with a clearer enum. 2017-06-10 00:23:28 -04:00
Eric S. Raymond
6319d27481 Whitespace fixes. 2017-06-09 17:14:18 -04:00
Eric S. Raymond
058e566e60 Whuirespace-only change. 2017-06-09 16:53:15 -04:00
Eric S. Raymond
b425de4f28 Continuing gotoicide. 2017-06-09 14:18:09 -04:00
Eric S. Raymond
c8ebabdf3b Still more gotoicides. 2017-06-09 13:49:19 -04:00
Eric S. Raymond
3c053367a5 Factor out player movement logic. 2017-06-09 13:36:39 -04:00
Eric S. Raymond
6862a92650 Another gotoicide. 2017-06-09 13:36:39 -04:00
Eric S. Raymond
d23235e902 Another gotoicide. 2017-06-09 13:36:39 -04:00
Jason S. Ninneman
bea58f2682 Render the ascii<->advent character code mappings to lookup tables. 2017-06-09 09:16:35 -07:00
Eric S. Raymond
2c33a29cf1 Replace an unstructured goto with a two-level break. 2017-06-09 12:09:47 -04:00
Eric S. Raymond
733312bdc7 Label and global-variable elimination. 2017-06-09 12:04:45 -04:00
Eric S. Raymond
64897f132e Abolish global variable I. 2017-06-09 11:53:02 -04:00
Eric S. Raymond
fd2155b2f2 Localize I. 2017-06-09 11:47:55 -04:00
Eric S. Raymond
db8dc40b84 Abolish a silly layer of macros. 2017-06-09 11:36:49 -04:00
Eric S. Raymond
b1fafc4d4d Eliminate an unused global. 2017-06-09 11:23:04 -04:00