NHOrus
ffd08893dd
Unspk'd inventory lookup
2017-07-04 15:18:49 +03:00
NHOrus
b8def22d24
Unspk'd lock, cleaned up logic
2017-07-04 15:18:49 +03:00
NHOrus
babf08ddc4
Cleaned up unused variables
2017-07-04 15:18:49 +03:00
NHOrus
df2830598c
Unspk'd Giant Words
2017-07-04 15:18:49 +03:00
Eric S. Raymond
248fc90e3d
Another use of state_change().
2017-07-04 08:16:10 -04:00
Eric S. Raymond
e91b8c2a06
Another use of state_change() and changes messages.
2017-07-04 07:59:20 -04:00
Eric S. Raymond
393010ec41
Entirely eliminate wd1x and wd2x members of the command block.
...
In the process, fix another case-smashing bug.
2017-07-03 16:49:33 -04:00
Eric S. Raymond
a768555312
Use the raw buffer in tr command structure for editing.
...
This fixes some minor bugs. Unknown words are no longer truncated
nor uppercased on echo.
2017-07-03 12:52:28 -04:00
Eric S. Raymond
eba8015059
Magic-number elimination.
2017-07-03 07:14:15 -04:00
NHOrus
63152e6714
Broke all logical or into multiline statement to show lcov's lies
...
Results are weird, some things that need to be checked aren't and
at least my local lcov doesn't show them as unchecked
2017-07-03 07:20:37 +03:00
NHOrus
fc5267fe8b
Unspk'd bivalve action, exposing more untested surface
2017-07-03 06:46:24 +03:00
NHOrus
ac65f3fd5f
Unspk'd fly command
2017-07-03 06:29:02 +03:00
NHOrus
8b3ef7ca78
Unspk'd listen and lock commands
2017-07-03 06:21:38 +03:00
NHOrus
38970a1c98
Unspk'd pour command
2017-07-03 06:12:19 +03:00
NHOrus
5613b0ce36
Unspk and streamline eat command
2017-07-03 06:07:57 +03:00
NHOrus
e1f52f4e31
Removed helper function
2017-07-03 05:59:57 +03:00
Aaron Traas
9b3be62aaa
Remove testing for intransitive seperate from NO_OBJECT in attact()
...
because we look for it immediately below, and this code is never
reached. If it were, intransitive attacks would never work.
2017-07-02 21:56:49 -04:00
NHOrus
c7aecb7249
Removed spk from wave, fixed compiler warning
2017-07-03 01:01:01 +03:00
NHOrus
993194bd4d
Undid unspeaking of wave, fixed test again.
...
Changed property math to helper function.
2017-07-03 00:47:17 +03:00
NHOrus
eeda78a210
Don't spk in wave and action
2017-07-03 00:04:44 +03:00
NHOrus
8fcbc8ecba
More magic number elimination
2017-07-02 22:57:26 +03:00
NHOrus
fbc80f0363
Unfalsify coverage check
2017-07-02 22:57:25 +03:00
Eric S. Raymond
89e1833d8f
Magic-number elimination.
2017-07-02 15:32:50 -04:00
Eric S. Raymond
e712f4c0e0
Magic-number elimination.
2017-07-02 14:47:21 -04:00
Jason S. Ninneman
6af38a92f6
Eliminate the global game.blklin.
2017-07-02 10:37:10 -07:00
NHOrus
8456b866ff
Rationalize attack logic
...
Fix the compiler warnings about bunching ands with ors
2017-07-02 20:29:51 +03:00
Eric S. Raymond
346bcf9458
Magic-number elimination.
2017-07-02 13:22:50 -04:00
Aaron Traas
dd50e7c9d3
Eliminate unreachable code in lock()
2017-07-02 12:52:17 -04:00
NHOrus
29672a6447
Fixed logic, documented it in notes and tests
2017-07-02 17:50:42 +03:00
NHOrus
e91742e1b9
Fixed regression in #21 Cleaned up logic of light/extinguish
2017-07-02 10:16:13 -04:00
NHOrus
73af0e3a55
Fix for issue #21 , hopefully
2017-07-02 10:16:13 -04:00
NHOrus
a5478639b6
Capture wonkyness of extinguishing urn
2017-07-02 10:16:13 -04:00
Eric S. Raymond
4f08537e2d
More magic-number elimination.
2017-07-01 23:07:23 -04:00
Eric S. Raymond
5c2b76f762
Magic-number elimination.
2017-07-01 22:50:08 -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
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
Eric S. Raymond
ab94051da1
Magic-number and state-arithmetic removal.
2017-07-01 09:21:47 -04:00
Jason S. Ninneman
2328739e51
Interim magic number replacement.
2017-07-01 06:15:54 -07:00
Eric S. Raymond
8675c4facd
Less magical numbers.
2017-06-30 12:10:26 -04:00
Eric S. Raymond
1f45966dec
Magic-number ellimination, contiguity warnings, cleanup.
2017-06-30 12:06:41 -04:00
NHOrus
0f15c9e0f3
Breaking one-line conditionals
2017-06-29 22:51:30 +03:00
NHOrus
bf2fa227f0
Unshadowed k2 into k3 in main.c
...
Reindented everything
2017-06-29 20:11:53 +03:00
Jason S. Ninneman
1ee0e5c7b0
Finish newdb -> dungeon renaming.
2017-06-29 08:54:55 -07:00
Jason S. Ninneman
83fb64b5a8
Jettison MAKEWD(), GETTXT(), vocab(), GETIN(), and the old db compiler.
2017-06-29 08:54:35 -07: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
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