Commit Graph

14 Commits

Author SHA1 Message Date
Enno Rehling 45854851ae bug 2292: allow packice to be guarded again.
https://bugs.eressea.de/view.php?id=2292
2017-03-02 18:08:58 +01:00
Enno Rehling 326f543ece gcc reports unused variable.
and for once, that points to a bug!
2017-03-02 13:01:27 +01:00
Enno Rehling 3cb24299fa bug 2292: only land regions can be guarded.
https://bugs.eressea.de/view.php?id=2292
Also adding tests for every other failure reason.
2017-03-02 12:39:21 +01:00
Enno Rehling 3a985108a6 change all magic resistance to use fractions. 2017-02-24 20:47:47 +01:00
Enno Rehling 4e5f1d05ce Be very strict about C standards.
Compile with -std=c89 in gcc.
remove all // comments (they are nice, but unnecessary).
variables only declared at start of block.
various pedantery.
backwards compatible va_copy for pre-C99 gcc.
2017-02-18 21:15:14 +01:00
Enno Rehling cc227fb707 merge monster.c and monsters.c
move RCF_DESERT handling to monsters.c
2016-12-23 18:05:38 +01:00
Enno Rehling 0bcb3a853f WIP: finish removing GUARD_* flags
TODO: fix failing tests
2016-10-31 09:40:36 +01:00
Enno Rehling 754ad78db7 WIP: remove GUARD_* flags.
TODO: does not compile
TODO: write new guard.test.c tests
2016-10-31 07:45:06 +01:00
Enno Rehling 2c0f708d1b WIP: remove at_guard, GUARD_TREES and GUARD_MINING
TODO: fix tests
TODO: write new guard coverage
2016-10-30 09:18:19 +01:00
Enno Rehling 8597e8b16a move guard test to guard.test.c 2016-10-30 05:39:25 +01:00
Enno Rehling 1ea8c80845 test that is_guard changes when armedmen does. 2016-10-29 19:19:11 +02:00
Enno Rehling 29c5bd6f55 test that regular guards need weapons and skills 2016-10-29 19:18:55 +02:00
Enno Rehling 7c827c0389 add test for races with "unarmed guard" flag. 2016-10-29 19:18:49 +02:00
Enno Rehling 654926fa06 add a failing test for "monsters can guard when unarmed" 2016-10-29 19:18:43 +02:00