Commit graph

1334 commits

Author SHA1 Message Date
Jason S. Ninneman
7a542633e5 Discuss specials: in the adventure.yaml comments. 2017-07-16 12:19:42 -07:00
Eric S. Raymond
15c936d240 Fix adventitious '' occurrences. 2017-07-16 14:17:26 -04:00
Eric S. Raymond
0b31f7530b Consolidare window1 test into bigfail. 2017-07-16 14:06:04 -04:00
Eric S. Raymond
0df532f92f Test consolidation into bigfail.log. 2017-07-16 13:05:34 -04:00
Eric S. Raymond
3e3c93903f Extend bigfail test. 2017-07-16 09:23:40 -04:00
NHOrus
614d9b34ad Removed temporary variable for clarity; Upsized text buffer in fallback to maximum possible size 2017-07-16 16:07:23 +03:00
NHOrus
8d9c8e4d5c Deal with more agressive gcov 7.1; Reindent 2017-07-16 16:00:19 +03:00
Aaron Traas
33e546b746 Test consolidation 2017-07-16 07:57:44 -04:00
Aaron Traas
818b95a85f YAML coverage generator minor cleanup 2017-07-16 07:53:20 -04:00
Aaron Traas
b47d95853b Fixed YAML coverage generator in python3 2017-07-16 07:53:20 -04:00
Eric S. Raymond
058fc70344 Fold smallpit test into bigfail. 2017-07-16 07:48:37 -04:00
Eric S. Raymond
8bce57d3df Fix bug where knife hit might not be reported. 2017-07-16 07:13:06 -04:00
Eric S. Raymond
427bd23a10 Test consolidation - move a lot of nonlethal failures into bigfail.log. 2017-07-16 06:26:51 -04:00
Eric S. Raymond
9b585f40d8 Two coverage imprivenents, one by recognizing dead code. 2017-07-16 05:33:43 -04:00
Eric S. Raymond
9eda1f424d Apply state_change() to mirror object. 2017-07-16 05:08:03 -04:00
Eric S. Raymond
c4cbb859c2 More test consolidation. 2017-07-16 04:13:08 -04:00
Eric S. Raymond
c499426d57 Test consolidation. 2017-07-16 04:00:33 -04:00
Eric S. Raymond
76806f814e Improve symbol coverage. 2017-07-15 20:49:38 -04:00
Aaron Traas
87d7117ddd YAML coverage - TROLL_BLOCKS arbitrary message 2017-07-15 18:10:29 -04:00
Aaron Traas
834d645d8b Named unnamed actions and specials 2017-07-15 17:20:02 -04:00
Aaron Traas
ac4e43196c Full refactor of YAML dungeon generator.
The big difference is that the differences between the entity types
is concentrated in one place.

Also concentrated all File I/O in main function, moved most processing
outside of main
2017-07-15 17:19:29 -04:00
Aaron Traas
fb86d64b20 First stage cleanup of YAML dungeon generator. Less hard-coded stuff.
Next stage will be rewrite so report object contains all of the keys
and coverage values, so we're not scribbling over DB all the time, and
we don't have to walk over things multiple times, and can keep HTML
generation in one place
2017-07-15 13:10:39 -04:00
Eric S. Raymond
fefc1ff486 Improve symbol coverage. 2017-07-15 13:00:48 -04:00
Eric S. Raymond
fece880dc2 Documentation polishing. 2017-07-15 12:05:54 -04:00
Aaron Traas
33dfafc705 YAML coverage - last object message 2017-07-14 13:13:24 -04:00
Eric S. Raymond
d1e29319fa Code cleanup. 2017-07-14 13:10:13 -04:00
Eric S. Raymond
1954c04ccc Fix off-by-two bug. 2017-07-14 12:39:06 -04:00
Aaron Traas
040e027a71 YAML coverage - object messages 100% covered 2017-07-14 12:29:09 -04:00
Jason S. Ninneman
e581c7741d Replace some more wd? with id?. 2017-07-14 09:18:55 -07:00
Jason S. Ninneman
11043b7246 Replace some uses of wd[12] with id[12]. 2017-07-14 09:18:55 -07:00
Jason S. Ninneman
596a15457d Dragon attack code no longer edits the command struct.
This also fixes a minor bug where refusing to attack the dragon
costs the player two turns instead of one.
2017-07-14 09:18:55 -07:00
Jason S. Ninneman
ff6a816e5f Handle word type and raw strings. 2017-07-14 09:18:55 -07:00
Jason S. Ninneman
820737fb80 Use vocab IDs along side packed words. 2017-07-14 09:18:24 -07:00
Eric S. Raymond
61570c700b More coverage improvements. 2017-07-14 12:00:29 -04:00
Eric S. Raymond
66fba512a7 Partially address GitLab issue #27: arbitrary_messages unreachable 2017-07-14 11:33:22 -04:00
NHOrus
7f18e66866 Refactored discard to concentrate bird-related things in one place 2017-07-14 16:38:25 +03:00
NHOrus
66ba9a0101 Refactored carry for clarity 2017-07-14 16:38:25 +03:00
NHOrus
3d2ba18355 Do not base endgame bonus on arbitrary messages
This may break save files, but doesn't, due to padding
2017-07-14 16:38:25 +03:00
Aaron Traas
6a90dcd017 YAML coverage - commented out unused arbitrary messages 2017-07-13 23:20:27 -04:00
Aaron Traas
e4aed91401 YAML coverage - all the listen messages 2017-07-13 23:16:24 -04:00
Aaron Traas
7220425015 YAML coverage - cleanup and comments 2017-07-13 21:52:27 -04:00
Aaron Traas
52cdc8b87a YAML coverage - locations 100% covered 2017-07-13 21:52:27 -04:00
Aaron Traas
342c27494d YAML coverage - more locations and message
- LOC_DEADCRAWL
- CROSS_BRIDGE
- LOC_BOULDERS2.short
- LOC_WINDOW1
2017-07-13 21:52:27 -04:00
Aaron Traas
4bffb10094 YAML coverage - hints 100% covered 2017-07-13 21:52:27 -04:00
Aaron Traas
99595f6a2a YAML coverage parser bug fixed -- handling \n and \t correctly 2017-07-13 21:52:27 -04:00
Aaron Traas
2ec9c7cc1a YAML coverage parser fixed to equate "NO_MESSAGE" with None 2017-07-13 21:52:27 -04:00
Aaron Traas
a6e80af64f adventure.yaml - coverage of all scoring class thresholds 2017-07-13 21:52:27 -04:00
Aaron Traas
e696fed6db Prompt and taunt you after 3rd and final death
Fixed a bug where you'd not be asked about whether to be resurrected a
final time. Now you are.
2017-07-13 21:52:27 -04:00
NHOrus
49d9ef1bee No spk remains in the code base 2017-07-13 21:52:27 -04:00
NHOrus
761d660cd2 Test that troll really retuns after we take eggs 2017-07-13 21:52:27 -04:00