Eric S. Raymond
35a1aff8dc
Improve test coverage.
2017-06-18 10:03:40 -04:00
Eric S. Raymond
937714f31d
Magic-number limination. Improve test coverage.
2017-06-18 09:44:34 -04:00
Eric S. Raymond
d363a5c564
Trying again to repair tests.
2017-06-18 09:13:35 -04:00
Eric S. Raymond
8371a5d5a1
Repair tests.
2017-06-18 09:08:55 -04:00
Eric S. Raymond
6333544efb
Simplify code, improve test coverage.
2017-06-18 08:57:08 -04:00
Eric S. Raymond
9e1143e780
Improve test coverage.
2017-06-18 07:41:40 -04:00
Eric S. Raymond
f704580d89
Improve test coverage.
2017-06-18 07:26:59 -04:00
Eric S. Raymond
c8dbb241e8
Rxtend test coverage, remove magic numbers.
2017-06-18 07:11:20 -04:00
Eric S. Raymond
ff7db8b0c8
Improve test coverage, simplify code.
2017-06-18 06:41:16 -04:00
Eric S. Raymond
b3057f038b
Re-format to consistent indent style with "make indent".
2017-06-18 06:18:51 -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
Eric S. Raymond
d92da99106
Improve test coverage.
2017-06-17 20:43:23 -04:00
Eric S. Raymond
516980dc6e
Test two defeat cases.
2017-06-17 20:02:41 -04:00
Eric S. Raymond
900822d38f
Magic-number elimination.
2017-06-17 19:39:25 -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
13f2e85535
Correct a message.
2017-06-17 11:09:55 -04:00
NHOrus
a0a35d8c7b
Improved docs, fixed identation
2017-06-17 11:09:55 -04:00
NHOrus
32fdd08d9b
Little cleanup of variable names
2017-06-17 17:48:12 +03:00
NHOrus
300d246179
Resume from file on startup
2017-06-17 09:20:42 +03: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
880d17042c
Typo fix.
2017-06-16 16:20:36 -04:00
Eric S. Raymond
1596e6d81e
Code simplification.
2017-06-16 15:58:51 -04:00
Eric S. Raymond
851f90cdf7
Improve test coverage.
2017-06-16 15:40:46 -04:00
Eric S. Raymond
0d373a6b87
Improve test coverage.
2017-06-16 15:27:25 -04:00
Eric S. Raymond
59a558b762
Code simplification.
2017-06-16 15:08:21 -04:00
Peje Nilsson
a6feda5307
Split saveresume to reduce complexity
...
Fixed a bug where current time was printed as version of advent
when loading an old savegame.
2017-06-16 14:16:02 -04:00
Peje Nilsson
adbbd1df25
Merge branch 'master' into actions-arithmetic
2017-06-16 17:43:14 +02:00
Eric S. Raymond
d7bb3f61eb
Test coverage of -s and -l options.
2017-06-16 09:54:10 -04:00
Eric S. Raymond
3939cd4f96
Fix the mazehint log so it works.
2017-06-16 09:38:54 -04:00
Eric S. Raymond
349c51793c
Improve test coverage.
2017-06-16 09:31:37 -04:00
Eric S. Raymond
efe898d783
Test throwing axe at bear.
2017-06-16 09:16:01 -04:00
Eric S. Raymond
4403d0b721
Improve test coverage.
2017-06-16 09:05:20 -04:00
Eric S. Raymond
d97574d35c
Magic-number elimination.
2017-06-16 08:55:53 -04:00
Eric S. Raymond
1329da1087
Remove total-ordering assumption.
2017-06-16 08:39:01 -04:00
Eric S. Raymond
a57d93ce35
Magic-number elimination.
2017-06-16 07:00:57 -04:00
Eric S. Raymond
1b5ab6c808
Code simplification.
2017-06-16 06:44:22 -04:00
Peje Nilsson
d4fc7a88b4
Merge branch 'master' into actions-arithmetic
2017-06-16 10:10:38 +02:00
Peje Nilsson
9a32f4c770
Fix more arithmetic on locations & messages
2017-06-16 10:06:01 +02:00
Eric S. Raymond
7ccef92f7f
Reduce verbosity.
2017-06-15 21:36:06 -04:00
Eric S. Raymond
eaee02aa09
Squasgh -Wextra warnings.
2017-06-15 19:39:43 -04:00
Eric S. Raymond
2182dc23ff
Documentation polishing.
2017-06-15 17:58:52 -04:00
Eric S. Raymond
e34bd8acf6
Documentation polishing.
2017-06-15 17:39:53 -04:00
Eric S. Raymond
ec031b0417
Name another magic number.
2017-06-15 17:34:06 -04:00
Eric S. Raymond
d2b226b34c
Add regression test for seed crash bug.
2017-06-15 16:58:48 -04:00
Eric S. Raymond
fc7f52f83f
Don't do dwarf moves after a fallback command.
...
Avoids a crash bug.
2017-06-15 16:54:29 -04:00
Eric S. Raymond
0d5f9064c7
Comment fix.
2017-06-15 12:20:49 -04:00