Eric S. Raymond
c98668c529
Remove debris from a misclick.
2017-07-01 12:40:12 -04:00
Eric S. Raymond
0d0b8df0a3
Ignore l g z i under oldstyle.
2017-07-01 12:35:31 -04:00
NHOrus
3c8482a613
Change state of vase
...
Clear temporary save where it needs to be cleared instead of random places
2017-07-01 18:25:39 +03:00
NHOrus
ab79fc7814
Do not compare state to magic numbers
2017-07-01 18:25:39 +03:00
NHOrus
b8d86b840d
Little more less magic in dragon state
2017-07-01 18:25:39 +03:00
Eric S. Raymond
9355882cac
Documentation polishing.
2017-07-01 11:01:06 -04:00
Jason S. Ninneman
d529a14356
Ensure libedit is installed for the pipeline jobs.
2017-07-01 07:29:53 -07:00
Jason S. Ninneman
b3828c8edc
Attempt to unbreak pipeline.
2017-07-01 07:27:37 -07:00
Jason S. Ninneman
dec4cf3968
Jettison the -s option.
...
It's no longer needed since libedit doesn't have the 'paste bug'.
2017-07-01 07:22:53 -07:00
Jason S. Ninneman
98f019b9e4
Remove the linenoise submodule.
2017-07-01 07:22:53 -07:00
Jason S. Ninneman
5fcebc66ae
Move most build instructions into INSTALL.adoc.
2017-07-01 07:22:53 -07:00
Jason S. Ninneman
c69355f08a
Update documentation about the libedit conversion.
2017-07-01 07:22:53 -07:00
Jason S. Ninneman
ad3b097c9e
Replace linenoise with libedit in code and build.
2017-07-01 07:22:53 -07:00
Eric S. Raymond
f47f3a4603
Magic-number elimination for dragon and rug.
2017-07-01 10:01:39 -04:00
NHOrus
45820bc8cd
Reindend, compile out all save stuff
2017-07-01 16:46:51 +03:00
NHOrus
8cc5ee5412
Put stuff back in init, C-style
2017-07-01 16:45:42 +03:00
Jason S. Ninneman
b3fb636149
Apply DEMOTE_WORD().
2017-07-01 13:22:53 +00:00
Eric S. Raymond
ab94051da1
Magic-number and state-arithmetic removal.
2017-07-01 09:21:47 -04:00
Jason S. Ninneman
36a6cbca34
Add a DEMOTE_WORD() macro.
2017-07-01 06:18:24 -07:00
Jason S. Ninneman
2328739e51
Interim magic number replacement.
2017-07-01 06:15:54 -07:00
Eric S. Raymond
065caace64
Move PRNG initialization to simplify cheat.c
2017-07-01 08:59:45 -04:00
NHOrus
0a87fc9f78
Spread documentation from init.c It was empty without anything to document. Reindented, too
2017-07-01 08:53:03 -04:00
NHOrus
7f2c118e56
Cut initialize in favor of implicit/default initialization where possible
2017-07-01 08:53:03 -04:00
NHOrus
562569f33c
Putting cleanup in the right place, too
2017-07-01 15:39:37 +03:00
NHOrus
b0705ba0bb
Fix make debug check
2017-07-01 15:39:37 +03:00
Eric S. Raymond
58b44313d3
Without IGNORE, -Wunused-result throws a warning on fread(2).
...
I've seen it happen on fwrite(2) as well; wrapping that as well in
case some compiler decides to be finicky.
2017-07-01 08:35:05 -04:00
Eric S. Raymond
9714bf8c82
Magic-number elimination.
2017-07-01 01:59:06 -04:00
NHOrus
062840db69
Test modification for little more coverage
2017-06-30 23:26:18 -04:00
NHOrus
c83df10dc6
Stop leaking memory
2017-06-30 23:26:18 -04:00
Jason S. Ninneman
8bc08773fa
Various cleanups.
...
* Remove disused macro.
* GCC doesn't seem to mind if IGNORE() is left off.
* Enumify phase codes.
* Use EXIT_* macros in all exit() calls.
* How did this even work without extern?
* Give advent.h a much-needed makeover.
* Use the chomp indicator in YAML string blocks to avoid code ugliness.
2017-07-01 03:19:33 +00:00
Aaron Traas
31f27b672c
Error message when you make if without retrieving git modules yet
2017-06-30 20:49:44 -04:00
Eric S. Raymond
ba9e933f20
Use YAML block-literal syntax to avoid wrapped lines.
...
In vspeak(), andle text with extra trailing \n.
2017-06-30 16:33:31 -04:00
Jason S. Ninneman
030fa6d27d
The bugtype enum doesn't need explicit numbers.
2017-06-30 13:25:12 -07:00
NHOrus
94ea37d2bc
Plugged little linenoise memory leaks.
2017-06-30 21:42:37 +03:00
Eric S. Raymond
e10637c419
Implement and document %V escape so version only needs to be set once.
2017-06-30 14:35:18 -04:00
Jason S. Ninneman
40acab43af
Remove disused function definitions.
2017-06-30 11:08:54 -07:00
Jason S. Ninneman
4fe9b94db4
Remove more disused macros.
2017-06-30 11:05:37 -07:00
Jason S. Ninneman
d9d089bdcc
Remove some disused stuff.
2017-06-30 10:56:38 -07:00
Eric S. Raymond
39a25f8ec7
Magic-number elimination.
2017-06-30 13:30:49 -04:00
NHOrus
d6dab20801
Removed line as redundant
...
As of 8675c4facd
lines 612-613 in main.c unreachable due to earlier
dispatch at line 1132 that redirects all find/inventory verbs into actions.c
Message NEARBY fires from YAML link to those verbs.
Also, reduced signature of playermove() to motion only.
2017-06-30 13:28:29 -04:00
Eric S. Raymond
8675c4facd
Less magical numbers.
2017-06-30 12:10:26 -04:00
Eric S. Raymond
2c41018358
Improve test coverage.
2017-06-30 12:06:41 -04:00
Eric S. Raymond
1f45966dec
Magic-number ellimination, contiguity warnings, cleanup.
2017-06-30 12:06:41 -04:00
NHOrus
a48e0ff30e
Tests for misc and main
2017-06-30 18:30:19 +03:00
Eric S. Raymond
51a4d7bd3a
Remove gaps from arbitrary_messages, there are no more number sependencies.
...
Some spans within the list may still rely on contiguity.
2017-06-30 11:27:15 -04:00
NHOrus
a6d1f9228b
Fixed previous test, added nibble more
2017-06-30 18:05:41 +03:00
Eric S. Raymond
46185a6e88
Magic-number elimination.
2017-06-30 11:03:57 -04:00
Eric S. Raymond
0bbfe6baf7
Fix date typo.
2017-06-30 10:46:59 -04:00
NHOrus
a0f5fa0e04
Last one test case
2017-06-30 12:27:11 +03:00
NHOrus
c1efa29510
Some more easy tests
2017-06-30 11:31:18 +03:00