NHOrus
5697a8de63
Separate debugging of linenoise
2017-06-29 21:23:04 +03:00
Eric S. Raymond
da27ae1932
Transition to YAML is done, adventure.text and travel.py can go away.
2017-06-29 12:21:50 -04:00
Jason S. Ninneman
1ee0e5c7b0
Finish newdb -> dungeon renaming.
2017-06-29 08:54:55 -07:00
Jason S. Ninneman
074d2c8a0f
Remove MAPLIN(). Fold common.[ch] into other files and remove them.
2017-06-29 08:54:35 -07:00
Jason S. Ninneman
83fb64b5a8
Jettison MAKEWD(), GETTXT(), vocab(), GETIN(), and the old db compiler.
2017-06-29 08:54:35 -07:00
Aaron Traas
a434192373
Fixed automated testing
2017-06-29 10:16:41 -04:00
Aaron Traas
a4de450bfa
Add make target for coverage
2017-06-29 10:16:40 -04:00
Eric S. Raymond
289f72e078
Address GitLab issue #16 : make dist
produces incomplete tarball
2017-06-29 07:05:11 -04:00
Aaron Traas
6150e3be1f
Make clean now removes cheat binary
2017-06-28 17:30:46 -04:00
NHOrus
aca6d79087
Some more linter warnings
2017-06-28 15:09:05 -04:00
Eric S. Raymond
d6cb6f0d8d
Create a cheater to test strange save/resume cases.
...
Patch due to Aaron Traas, but needed modification because of code
drift since submission.
2017-06-26 15:07:09 -04:00
Eric S. Raymond
64035d0026
More fixed limits (NOBJECTS, LOCSIZ) stop being fixed.
2017-06-24 10:18:33 -04:00
Eric S. Raymond
537c4511e2
Generate initializer from YAML for Section 9 bits.
2017-06-22 16:45:38 -04:00
Eric S. Raymond
ef100a3102
Publish more things on the website.
2017-06-19 13:21:15 -04:00
Jason S. Ninneman
0f3d3f735f
Reorganize debug build options.
...
* 'make advent' by itself can be considered the 'release' build.
* 'make debug' now does 'make linty'.
2017-06-18 21:11:06 -07:00
Bob Little
04eca720d9
magic numbers, show usage, fixed linty warnings
...
Show usage when using bad parameter with ./advent
Converted magic numbers to enums for BUG(). Also bug now shows
stringify'ed version of bug enumeration (not just a number).
2017-06-18 19:33:21 -04:00
Eric S. Raymond
f862f9f1d5
Improve test coverage.
2017-06-18 10:55:09 -04:00
NHOrus
a37e578f63
Compile switch to disable save and restore
2017-06-18 10:37:51 +03:00
Bob Little
d844c2a391
Added 'linty' target for make
...
"make linty" does lots of error checking while compiling.
Simplified the standard make's CFLAGS.
Cleaned up code to eliminate resulting warnings generated by "make linty".
2017-06-17 22:28:40 -04:00
Bob Little
a3485d2a41
Move a few prototypes and static'ed a few functions
...
Moved prototypes for initialise() and action() from main.c to advent.h
Made the following functions static, so they wouldn't require prototypes:
sig_handler (main.c)
spotted_by_pirate (main.c)
light (actions.c)
2017-06-17 18:19:09 -04:00
Eric S. Raymond
14c83ede8e
Tweak formatting.
2017-06-17 12:13:20 -04:00
Eric S. Raymond
d587a5951b
Experiment with reindenting.
2017-06-17 12:04:26 -04:00
Eric S. Raymond
51a88bec4d
Address GitLab issue #11 : trivial patch for macports/osx requirements
2017-06-17 01:22:08 -04:00
Bob Little
a73620cca5
Added dependency to newdb.h to make 'make -j' work
2017-06-16 22:17:40 -04:00
Eric S. Raymond
eaee02aa09
Squasgh -Wextra warnings.
2017-06-15 19:39:43 -04:00
Bob Little
c4c28e10db
dungeon now outputs just database.h
...
Added macro DEFINE_GLOBALS_FROM_INCLUDES to main.c
Makefile no longer has to deal with database.c and database.o
2017-06-14 21:54:49 -04:00
Eric S. Raymond
f38f286f39
Document build-time dependencies.
2017-06-14 17:12:00 -04:00
Jason S. Ninneman
be2ada4d93
Fix some Makefile glitches.
2017-06-14 13:54:37 -07:00
Jason S. Ninneman
88da6e72a5
Run python3 explicitly at build.
2017-06-14 13:54:37 -07:00
Jason S. Ninneman
60126c3dac
Generate newdb.[ch] at build time, parallel with database.[ch].
...
Having two data compile jobs is a temporary situation. Eventually newdb.[ch] will supersede database.[ch].
2017-06-14 13:54:37 -07:00
Eric S. Raymond
7c9a0bfb36
Fix handling of intransitive "say".
2017-06-14 15:15:00 -04:00
Jason S. Ninneman
34621b054a
Max out compiler warnings, and rearrange the debug build recipe.
2017-06-13 11:19:58 -07:00
Eric S. Raymond
1b167e5e72
New notes.adoc file; major documentation update.
2017-06-12 22:05:44 -04:00
Jason S. Ninneman
43032763cd
Compile in the new (partial) database.
2017-06-11 15:42:25 -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
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
dd9bbe1f00
Because (almost) everything is done in handlers now, merge the action files.
2017-06-09 08:54:03 -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
955032bd24
Add database.o to the linker list.
2017-06-08 00:15:03 -07:00
Jason S. Ninneman
3674588968
Fix Makefile issue that broke 'make dist'.
2017-06-07 20:20:52 -07:00
Jason S. Ninneman
41265e020c
Update Makefile for linenoise.
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
3ba084480a
Change name of dungeon maker - dual use of "compile" was confusing.
2017-06-07 06:47:01 -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
31ecc4a8e3
Fix for parallel make.
2017-06-06 06:34:46 -04:00
Eric S. Raymond
738504d280
Properly include tests directory - must use find, not ls.
2017-06-06 06:18:09 -04:00
Eric S. Raymond
3da812fdf6
Address GitLab issue #8 : make check
breaks.
...
Include tests in the generated tarball.
2017-06-06 05:38:24 -04:00
Jason S. Ninneman
acc08b8a5c
Get rid of tarballs with 'make clean'.
2017-06-05 14:06:30 -07:00