Aaron Traas
|
4592a24350
|
Test coverage -- additional coverage in actions.c
|
2017-06-27 16:13:49 -04:00 |
|
Aaron Traas
|
7b1eb1ec58
|
buildregress now generates save files correctly.
|
2017-06-27 16:13:49 -04:00 |
|
Aaron Traas
|
2781413fa9
|
100% coverage of cheat.c
|
2017-06-27 16:13:49 -04:00 |
|
Aaron Traas
|
0a30176a8c
|
Allow cheat to generate save files with bogus numbers.
Also remove pre-built save file for resumefail.log
|
2017-06-27 16:13:49 -04:00 |
|
Aaron Traas
|
7392603b7d
|
"cheat" now has command-line arguments for generating cheat files
-d number of deaths. Signed integer value
-s number of saves. Signed integer value
-o file name of save game to write
|
2017-06-27 16:13:49 -04:00 |
|
Eric S. Raymond
|
894b3de949
|
Travel tables are all done from YAML now.
Leaves only Section 4 from asventure.text still relevant.
|
2017-06-27 16:11:13 -04:00 |
|
Eric S. Raymond
|
4ff3d497b6
|
This looks like it gets the terminators right.
|
2017-06-27 13:23:30 -04:00 |
|
Eric S. Raymond
|
d53bc1c54c
|
travel is correct except for position of terminators.
|
2017-06-27 12:22:01 -04:00 |
|
Jason S. Ninneman
|
37373c5277
|
Documentation polishing.
|
2017-06-26 22:27:44 -07:00 |
|
Eric S. Raymond
|
20a645bdf4
|
Move the travel rule documentation to newdungeon.py.
|
2017-06-27 01:18:34 -04:00 |
|
Jason S. Ninneman
|
57a8e6f19a
|
Update linenoise from upstream.
|
2017-06-26 22:08:29 -07:00 |
|
Jason S. Ninneman
|
7dc8839249
|
Abolish VOCWRD().
Action word mnemonics are now enums from adventure.yaml.
|
2017-06-26 22:07:24 -07:00 |
|
Jason S. Ninneman
|
2aa5f1dd61
|
Remove actspk[].
|
2017-06-26 22:04:02 -07:00 |
|
Jason S. Ninneman
|
004fe76917
|
Clean up missed actspk[] references.
|
2017-06-26 22:03:42 -07:00 |
|
Jason S. Ninneman
|
a76cbeccbb
|
Use actions[].message instead of actspk[].
|
2017-06-26 22:01:23 -07:00 |
|
Jason S. Ninneman
|
c080ea85bb
|
Add missing declaration.
|
2017-06-26 22:01:13 -07:00 |
|
Jason S. Ninneman
|
4d21247643
|
Express actions[] in newdb.[ch].
|
2017-06-26 21:53:24 -07:00 |
|
Jason S. Ninneman
|
6d123b3fb1
|
Combine actspk and the action words into a single structure.
|
2017-06-26 21:36:24 -07:00 |
|
Eric S. Raymond
|
64959e4bce
|
This version of newdungeon.py can exactly recover Section 3...
...from the YAML data. Next, to pack the recovered data the way
dungeon.c does and wite it in.
|
2017-06-26 22:41:57 -04:00 |
|
Jason S. Ninneman
|
f9edfc5151
|
Reexpress the motion words in adventure.yaml.
|
2017-06-26 22:22:51 -04:00 |
|
Eric S. Raymond
|
4b2472fb16
|
First cut at compiling travel rules from YAML.
Not fully wired in yet.
|
2017-06-26 22:15:05 -04:00 |
|
Eric S. Raymond
|
6b86811fbc
|
Repair variois problems in travel YAML.
|
2017-06-26 22:13:22 -04:00 |
|
Eric S. Raymond
|
0fad8a25ba
|
Repair a missing travel element it YAML.
Got left off due to an edge condition in travel.py.
|
2017-06-26 17:31:04 -04:00 |
|
Jason S. Ninneman
|
70bfd3f5a3
|
Update cheat.c to unbreak the build.
|
2017-06-26 13:40:38 -07: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 |
|
Jason S. Ninneman
|
5581175840
|
Jettison some disused macros.
|
2017-06-26 11:30:46 -07:00 |
|
Jason S. Ninneman
|
6ac098170c
|
Use enums for object number mnemonics instead of VOCWRD() calls.
|
2017-06-26 11:27:27 -07:00 |
|
Jason S. Ninneman
|
0bab67e106
|
Fold object vocab words into the objects[] structure.
|
2017-06-26 10:25:01 -07:00 |
|
Jason S. Ninneman
|
2fac8d1aef
|
object_descriptions[] is now objects[].
|
2017-06-26 09:43:11 -07:00 |
|
Jason S. Ninneman
|
d40085ce6f
|
Add vocab length define to newdb.
|
2017-06-26 09:43:11 -07:00 |
|
Eric S. Raymond
|
fe46e5ab0c
|
Squash a compiler warning.
|
2017-06-26 12:15:55 -04:00 |
|
Eric S. Raymond
|
d612b0e6ca
|
Change the name of the KEY array to avoid an upcoming macro clash.
|
2017-06-26 10:44:19 -04:00 |
|
Eric S. Raymond
|
59243cf8bc
|
Take FORTRANish upper-case function names to C-style lowercase...
...except for a few we're planning to get rid of. This will avoid some
upcoming collisions with macros defined from YAML.
|
2017-06-26 10:19:33 -04:00 |
|
Eric S. Raymond
|
b626371b6c
|
Wire Section 8 YAML to runtime.
|
2017-06-26 00:09:50 -04:00 |
|
Eric S. Raymond
|
3025388932
|
Subsume Section 8 into YAML.
|
2017-06-25 23:41:36 -04:00 |
|
Jason S. Ninneman
|
1503be7567
|
Remove duped const keywords.
|
2017-06-25 20:22:38 -07:00 |
|
Jason S. Ninneman
|
4f6bc949bd
|
Fix typo and type mismatch.
|
2017-06-25 20:20:44 -07:00 |
|
Jason S. Ninneman
|
4ac41aa148
|
Expose a vocabulary[] array in newdb.c.
|
2017-06-25 20:18:39 -07:00 |
|
Jason S. Ninneman
|
7ee571d832
|
Inline the hint messages.
|
2017-06-25 18:50:47 -07:00 |
|
Eric S. Raymond
|
e424588682
|
Unsnarl the motion code some more.
|
2017-06-25 20:50:41 -04:00 |
|
Eric S. Raymond
|
0c54875118
|
Begin toounsnarl the way the TRAVEL array is used.
|
2017-06-25 19:22:46 -04:00 |
|
Eric S. Raymond
|
6d571c18b8
|
Magic-number elimination.
|
2017-06-25 19:22:46 -04:00 |
|
Eric S. Raymond
|
f165aabad8
|
Capture Section 3 in YAML.
The temporary script travel.py emitted this YAML from the Section 3 data.
It will be removed when the compilation from YAML to an initializer is done.
|
2017-06-25 19:22:46 -04:00 |
|
Eric S. Raymond
|
bbfc8eb57a
|
A step forward in definining YAML for the travel array.
|
2017-06-25 19:22:46 -04:00 |
|
Jason S. Ninneman
|
9301a4f419
|
Deal with some compiler warnings.
|
2017-06-25 12:54:22 -07:00 |
|
Eric S. Raymond
|
4821aeff60
|
Comment polishing.
|
2017-06-25 13:54:07 -04:00 |
|
Eric S. Raymond
|
81be19238c
|
Fix a report of conpile-time error.
|
2017-06-25 13:31:19 -04:00 |
|
Eric S. Raymond
|
d809974479
|
Dix off-by-one errors induced by tightening some array bounds.
|
2017-06-25 13:17:35 -04:00 |
|
Eric S. Raymond
|
8a3757df59
|
Change structure of vocabulary YAML to cope with multiply-loaded words.
|
2017-06-25 12:36:40 -04:00 |
|
Eric S. Raymond
|
cfb43fcf44
|
Add some sanity checking to newdungeon.py.
|
2017-06-25 09:25:44 -04:00 |
|