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
Eric S. Raymond
4aa85d0068
Update illformed.chk for current YAML.
2017-06-29 18:27:14 -04:00
Eric S. Raymond
645d00c711
Deduce version from NEWS.
2017-06-29 18:25:45 -04:00
Eric S. Raymond
72b4e4b127
Update NEWS.
2017-06-29 17:54:30 -04:00
Eric S. Raymond
129226b58a
Implement 'version' command.
2017-06-29 17:52:26 -04:00
Aaron Traas
aa1dd666a9
Test coverage -- fix regression
2017-06-29 17:22:00 -04:00
Aaron Traas
d0a868bd4a
Test coverage - add lots more coverage from actions.c
2017-06-29 17:05:48 -04:00
Eric S. Raymond
78eee015e3
Not the best idea to try to rewach Don Woods for help any more.
2017-06-29 16:59:27 -04:00
Eric S. Raymond
4d1b1fa4ad
Typo fix.
2017-06-29 16:46:36 -04:00
Eric S. Raymond
41d65c1cab
Add Aaron Traas to credits.
2017-06-29 16:44:01 -04:00
Eric S. Raymond
50e059eff8
Start another round of magic_number removal, this time for motions.
2017-06-29 16:41:49 -04:00
Aaron Traas
ffb8393985
Documentation and comment cleanup.
...
Also, renove uused enums.
2017-06-29 16:37:07 -04:00
Eric S. Raymond
2bd3ea61c2
'd' had a collision; 'drop' vs ;down'. Remove from 'drop' synonyms.
2017-06-29 16:28:20 -04:00
Eric S. Raymond
21d959a5c2
Documentation polishing and minor test improvements.
2017-06-29 16:25:55 -04:00
NHOrus
0f15c9e0f3
Breaking one-line conditionals
2017-06-29 22:51:30 +03:00
Eric S. Raymond
3001fb1dc1
Re-indented.
2017-06-29 15:45:59 -04:00
Jason S. Ninneman
3f580acc05
Clean out the now-disused vocabulary structure.
2017-06-29 15:30:33 -04:00
Aaron Traas
e7d1388c42
Updated documentation
2017-06-29 15:30:22 -04:00
Aaron Traas
ffdda21739
Cleanup test case
2017-06-29 15:30:22 -04:00
Aaron Traas
02ece8f874
Coverage - Die while closing after lamp dim
2017-06-29 15:30:22 -04:00
NHOrus
97f307c912
k2 is dead
2017-06-29 21:35:44 +03:00
NHOrus
d48504f22f
Untangling variable reuse
2017-06-29 21:35:44 +03:00
NHOrus
5697a8de63
Separate debugging of linenoise
2017-06-29 21:23:04 +03:00
Eric S. Raymond
58a8a761e2
Fix an OB1 bug in allocation.
2017-06-29 13:43:36 -04:00
NHOrus
bf2fa227f0
Unshadowed k2 into k3 in main.c
...
Reindented everything
2017-06-29 20:11:53 +03:00
Jason S. Ninneman
5f44fccf4d
Upstream linenoise rebased their project.
2017-06-29 09:34:23 -07: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
Eric S. Raymond
2b8b1b0130
Comment polishing.
2017-06-29 12:18:55 -04:00
Jason S. Ninneman
1ee0e5c7b0
Finish newdb -> dungeon renaming.
2017-06-29 08:54:55 -07:00
Jason S. Ninneman
db281a96d7
newdungeon.py is now make_dungeon.py.
...
newdb.[ch] is now dungeon.[ch].
2017-06-29 08:54:35 -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
c4ceca3db9
Coverage - Test going back when you can't.
2017-06-29 10:57:34 -04: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
d43854f0f6
Simplify conditional evaluation when processing travel opcodes.
2017-06-29 08:46:29 -04:00
Eric S. Raymond
289f72e078
Address GitLab issue #16 : make dist
produces incomplete tarball
2017-06-29 07:05:11 -04:00
Jason S. Ninneman
50435465a6
Completely wire vocab words in YAML to the code.
...
This massive patch:
* Finishes working all the vocab words into YAML structures.
* Adds vocab ID generator functions.
* Redoes the input-getting system, removing the need for GETIN(),
GETTXT(), etc.
* Changes advent<->ascii mapping to avoid the special 'shift'
character.
* Works around some bad behavior in the dragon attack logic.
* Handles the reservoir magic word without changing the database
contents.
2017-06-29 01:59:37 -07:00
Eric S. Raymond
9d918edeaa
Eliminate some promiscuous variable reuse.
...
This was making the opcode-conditional evaluation logic much more
difficult to read than it needed to be.
2017-06-28 21:06:36 -04:00
Eric S. Raymond
7281c39807
Improve documentation if the *most* obscure span of code.
2017-06-28 20:24:29 -04:00
Aaron Traas
6150e3be1f
Make clean now removes cheat binary
2017-06-28 17:30:46 -04:00
Eric S. Raymond
d96d5db51f
More magic-number removal.
2017-06-28 17:29:33 -04:00
Eric S. Raymond
b5260417dd
Magic-number elimination.
2017-06-28 17:07:15 -04:00
Eric S. Raymond
1ed8126912
Implement and document state-changes messages in YAML.
...
Examples at the lamp and grate. This is a way to pull strings out of
arbitrary_messages and make them part of the object definition.
2017-06-28 16:14:23 -04:00
NHOrus
aca6d79087
Some more linter warnings
2017-06-28 15:09:05 -04:00
Aaron Traas
b729853e7a
Removed advent.info and added to .gitignore
...
advent.info is a generated file. No need to keep it in the repo.
2017-06-28 13:41:53 -04:00
Aaron Traas
60847652aa
Test coverage: make LCOV ignore code unreachable without interactive shell
2017-06-28 13:23:34 -04:00
Aaron Traas
6521d49c07
Test coverage: make LCOV ignore bug() and all calls to BUG()
...
In theory, these should be unreachable, so they shouldn't be covered
with testing.
2017-06-28 13:23:34 -04:00
Aaron Traas
94aca03203
Test coverage: make LCOV ignore sig_handler and OOM check
2017-06-28 13:23:34 -04:00