Eric S. Raymond
|
fb93f9d67e
|
Remove now-unused code.
|
2017-06-13 09:35:39 -04: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
|
7485a8a1e1
|
Limit visibility of ugly globals.
|
2017-06-11 21:07:53 -04:00 |
|
Jason S. Ninneman
|
a2e0c55fb4
|
Abolish SPEAK().
|
2017-06-11 15:42:25 -07:00 |
|
Jason S. Ninneman
|
e81bd6de8f
|
Add missing function prototypes.
|
2017-06-11 15:42:25 -07:00 |
|
Jason S. Ninneman
|
291ec54462
|
Check in dropped file.
|
2017-06-11 15:42:25 -07:00 |
|
Eric S. Raymond
|
3c78ff879b
|
Clean up dummy macro arguments.
|
2017-06-11 07:29:29 -04: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
|
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
|
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 |
|
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
|
64897f132e
|
Abolish global variable I.
|
2017-06-09 11:53:02 -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 |
|
Eric S. Raymond
|
0a4325ce45
|
Eliminate a global variable.
|
2017-06-09 11:19:47 -04:00 |
|
Eric S. Raymond
|
42b339a1b6
|
Abolish global variable L.
|
2017-06-09 11:14:04 -04:00 |
|
Eric S. Raymond
|
4df8fac952
|
Abolish global variable J.
|
2017-06-09 11:13:03 -04:00 |
|
Eric S. Raymond
|
dd9bbe1f00
|
Because (almost) everything is done in handlers now, merge the action files.
|
2017-06-09 08:54:03 -04:00 |
|
Eric S. Raymond
|
21adfe0807
|
More vocabulary handlers.
|
2017-06-09 02:12:59 -04:00 |
|
John Boyle
|
dbe2acd864
|
Reassure compiler ("control may reach end of non-void function")
|
2017-06-08 22:50:48 -04:00 |
|
Eric S. Raymond
|
8bf31a9c19
|
Localize V1 and V2 in main.c
|
2017-06-08 04:31:06 -04:00 |
|
Eric S. Raymond
|
46cd836df0
|
Abolish funcs.h.
|
2017-06-08 04:25:20 -04:00 |
|
Eric S. Raymond
|
1386d2b157
|
De-gotoify carry().
|
2017-06-08 02:43:40 -04:00 |
|
Eric S. Raymond
|
ff36dff18f
|
Attempt to repair GitLab build breakage.
|
2017-06-07 21:26:45 -04:00 |
|
Eric S. Raymond
|
ed80d6dd2f
|
Move MAXDIE computation to dungeonmaker.
|
2017-06-07 15:33:22 -04:00 |
|
Eric S. Raymond
|
7555eb7de3
|
Global-variable elimination.
|
2017-06-07 14:45:30 -04:00 |
|
Eric S. Raymond
|
14fee6b979
|
Eliminate globals.
|
2017-06-07 14:03:33 -04:00 |
|
Eric S. Raymond
|
2deb1b9f7f
|
Localize TK.
|
2017-06-07 10:38:18 -04:00 |
|
Eric S. Raymond
|
8a256a6e37
|
Narrow the scope of IGO.
|
2017-06-07 10:33:38 -04:00 |
|
Eric S. Raymond
|
48363ba536
|
Localize K2.
|
2017-06-07 10:25:59 -04:00 |
|
Eric S. Raymond
|
dad1df9796
|
Localize KK.
|
2017-06-07 10:23:06 -04:00 |
|
Eric S. Raymond
|
8d90b03ee4
|
Fully localize VERB.
|
2017-06-07 10:06:14 -04:00 |
|
Eric S. Raymond
|
cc618146e8
|
Localize a variable.
|
2017-06-07 09:46:25 -04:00 |
|
Eric S. Raymond
|
b2c85b36f8
|
OBJ is completely localized.
|
2017-06-07 09:03:14 -04:00 |
|
Eric S. Raymond
|
4fe6286cc6
|
LOC pulled into game structure block.
|
2017-06-07 07:50:09 -04:00 |
|
Eric S. Raymond
|
a38b61638c
|
Global LL becomes local to command interpreter toplevel...
...and doesn't have to be saved.
|
2017-06-07 07:30:56 -04:00 |
|
Eric S. Raymond
|
2d95c3f4f5
|
Finish moving state arrays into game structure block.
|
2017-06-07 07:10:07 -04:00 |
|
Eric S. Raymond
|
0b02763bf0
|
More collecting of globals.
|
2017-06-07 06:38:40 -04:00 |
|
Eric S. Raymond
|
c1f1f2f79f
|
Magic-number cleanup.
|
2017-06-07 06:24:18 -04:00 |
|
Eric S. Raymond
|
461575ef4c
|
Bite the bullet - size siymbols have to be shared.
Otherwise we end up duplicating magic sizes and tey can drift apart.
|
2017-06-07 05:45:51 -04:00 |
|
Eric S. Raymond
|
7f4cff1188
|
Bring SETUP variable into game state block
Saved separately because the kogic around this variable looks
a bit dubious and may need review.
|
2017-06-07 05:24:48 -04:00 |
|
Eric S. Raymond
|
dda636bbc1
|
Pull more globals into the game state block.
|
2017-06-07 05:10:20 -04:00 |
|
Eric S. Raymond
|
91ad0185ff
|
Move more globals into the game state block.
|
2017-06-07 01:12:49 -04:00 |
|
Eric S. Raymond
|
62ee15c892
|
Pack more globals into the game block structure.
|
2017-06-07 00:41:51 -04:00 |
|
Eric S. Raymond
|
bb78ca96ce
|
Capture clock variables into the game-state block.
|
2017-06-07 00:15:31 -04:00 |
|
Eric S. Raymond
|
c68b92d9da
|
More magic-number elimination, and some information hiding.
|
2017-06-07 00:05:03 -04:00 |
|