Commit graph

302 commits

Author SHA1 Message Date
Eric S. Raymond
fc0c48f0f2 Factor out the state machine for hints. 2017-06-08 07:19:44 -04:00
Eric S. Raymond
75c2aa57aa Resolve a particularly gnarly foto in dwarfmove. 2017-06-08 06:44:25 -04:00
Eric S. Raymond
e3f3c86d1d Refactor of dwarfmove logic. 2017-06-08 06:25:52 -04:00
Eric S. Raymond
af453777d4 More gotoectomies. 2017-06-08 06:15:08 -04:00
Eric S. Raymond
897bb2cdb5 Clean up dwarfmove() 2017-06-08 05:52:32 -04:00
Eric S. Raymond
86e75219e3 Gotoectomy. 2017-06-08 05:21:20 -04:00
Eric S. Raymond
a8e8967814 More main.c cleanup. 2017-06-08 05:11:52 -04:00
Eric S. Raymond
30ac7894e7 De-gotoifying main.c 2017-06-08 05:01:51 -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
44639a9799 Repair linenoise build, add guidance to Makefile on getting it. 2017-06-08 03:38:18 -04:00
Jason S. Ninneman
2039192f05 Update the save/resume tests for linenoise. 2017-06-08 00:15:03 -07:00
Jason S. Ninneman
0f65f14b36 Remove .adv files with make clean. 2017-06-08 00:15:03 -07:00
Jason S. Ninneman
5bcb04b86d git-ignore .adv files. 2017-06-08 00:15:03 -07:00
Jason S. Ninneman
7e1ef875fc Use linenoise to get the save file name. 2017-06-08 00:15:03 -07:00
Jason S. Ninneman
955032bd24 Add database.o to the linker list. 2017-06-08 00:15:03 -07:00
Eric S. Raymond
b29678956e Localize K in fill(). 2017-06-08 03:12:07 -04:00
Eric S. Raymond
7e4753b23a De-gotoify feed(). 2017-06-08 03:03:00 -04:00
Eric S. Raymond
1386d2b157 De-gotoify carry(). 2017-06-08 02:43:40 -04:00
Eric S. Raymond
764ed291af Goto removal in actions2.c. 2017-06-08 02:33:03 -04:00
Eric S. Raymond
430b8e7d53 De-gotoify fill(). 2017-06-08 01:57:12 -04:00
Eric S. Raymond
a418ebb38c misc.c is goto-free. 2017-06-08 01:35:50 -04:00
Jason S. Ninneman
3674588968 Fix Makefile issue that broke 'make dist'. 2017-06-07 20:20:52 -07:00
Jason S. Ninneman
3d9885d24d The nuclear option. 2017-06-07 20:19:24 -07:00
Jason S. Ninneman
f840f39361 Getting desperate now. 2017-06-07 20:19:24 -07:00
Jason S. Ninneman
0b3fad94ca Fix YAML syntax. 2017-06-07 20:19:24 -07:00
Jason S. Ninneman
68ab090f17 Fix YAML syntax. 2017-06-07 20:19:24 -07:00
Jason S. Ninneman
cc92705891 Fix YAML syntax. 2017-06-07 20:19:24 -07:00
Jason S. Ninneman
82e134fdb0 Fix YAML syntax. 2017-06-07 20:19:24 -07:00
Jason S. Ninneman
9ab8b0d271 Another workaround. 2017-06-07 20:19:24 -07:00
Jason S. Ninneman
776fac4281 Use a workaround of Gitlab issue 2148.wq 2017-06-07 20:19:24 -07:00
Jason S. Ninneman
5fda630380 Tell Gitlab to grab git submodules. 2017-06-07 20:19:24 -07:00
Jason S. Ninneman
41265e020c Update Makefile for linenoise. 2017-06-07 20:19:24 -07:00
Jason S. Ninneman
1b6a10e097 Submodularize the linenoise library. 2017-06-07 20:19:24 -07:00
Eric S. Raymond
d657db5f4b Yet another parallel make attempt.
Credit to Bob Little.
2017-06-07 23:04:44 -04:00
Eric S. Raymond
3425c712c7 Yet more gotoectomy. 2017-06-07 22:59:55 -04:00
Eric S. Raymond
680788eb97 The continuing cleanup of misc.c 2017-06-07 22:34:06 -04:00
Eric S. Raymond
ff36dff18f Attempt to repair GitLab build breakage. 2017-06-07 21:26:45 -04:00
Eric S. Raymond
a45f297dc7 Still more gotoectomy. 2017-06-07 19:22:41 -04:00
Eric S. Raymond
19b3ac4ccd More goto removal. 2017-06-07 19:10:39 -04:00
Eric S. Raymond
da5976dc8c More goto elimination in misc.c 2017-06-07 18:34:08 -04:00
Eric S. Raymond
7fa8757ad4 More misc.c cleanup. 2017-06-07 18:00:12 -04:00
Eric S. Raymond
beac8d7f41 Continuing cleanup of misc.c. 2017-06-07 16:39:59 -04:00
Eric S. Raymond
1d3a087c39 Partial misc.c gotoectomy. 2017-06-07 16:30:51 -04:00
Eric S. Raymond
ed80d6dd2f Move MAXDIE computation to dungeonmaker. 2017-06-07 15:33:22 -04:00
Eric S. Raymond
fa2fb48436 Localize K in score.c. 2017-06-07 15:20:19 -04:00
Eric S. Raymond
16d90e4c28 init.c is now real C. 2017-06-07 15:12:21 -04:00
Eric S. Raymond
1b59175d8d Scoring code is fully translated to C. 2017-06-07 15:00:16 -04:00
Eric S. Raymond
db4b972fc7 Reformat score.c like normal C, since it now almost is.
Still two gotos to get rid of.
2017-06-07 14:50:45 -04:00
Eric S. Raymond
7555eb7de3 Global-variable elimination. 2017-06-07 14:45:30 -04:00