Commit graph

25 commits

Author SHA1 Message Date
Enno Rehling
b9ae927aa3 remove copyright notices. 2019-09-13 21:35:44 +02:00
Enno Rehling
c70e597b05 Update copyright notice with current date. 2019-07-14 09:37:35 +02:00
Enno Rehling
0fd7906d41 extract contact logic to a module
add missing tests for contact to units.
add an attribute for contacting a faction.
2018-11-04 15:53:27 +01:00
Enno Rehling
2e5e8347ac Bug 2489: Kill the SIEGE command, forever. 2018-09-09 21:01:10 +02:00
Enno Rehling
bdc7457a08 additional testing for largestbuilding and comparisons. 2017-04-28 21:30:05 +02:00
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
aa08a20724 Merge branch 'develop' of github.com:ennorehling/eressea into develop 2016-12-23 18:05:55 +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
a72b29610c small edit (int->bool) 2016-12-11 22:40:06 +01:00
Enno Rehling
0eaa750ef4 move read/write_attribs to attrib.h, too 2016-11-13 19:47:36 +01:00
Enno Rehling
03d90c5680 remove BOM from UTF-8 files, replace Umlauts 2016-11-01 17:25:52 +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
2953a5f036 fix swapped assertions. 2016-10-30 09:49:30 +01:00
Enno Rehling
eb7199450d fix Linux compilation. 2016-10-30 09:47:18 +01:00
Enno Rehling
f147d6a8c8 remove at_guard from guard.c, fix compilation. 2016-10-30 09:43:28 +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
1ea8c80845 test that is_guard changes when armedmen does. 2016-10-29 19:19:11 +02:00
Enno Rehling
5bb2dbfd87 move is_guarded from move.h to guard.h
Conflicts:
	src/move.c
2016-10-29 19:15:49 +02:00
Enno Rehling
a3ad9a0222 I am now calling get_race far too often. Fix this a bit. 2016-09-20 20:27:41 +02:00
Enno Rehling
a7fbe4901b eliminate old_race. make the catdragon act like a dragon. 2016-09-19 18:42:14 +02:00
Enno Rehling
0189111876 update key attribute api
prepare to replace at_key. do not return the internals. add basic test.
2016-02-09 06:43:19 +01:00
Enno Rehling
dd9420fc38 move at_guard into guard module as well 2015-09-12 23:38:31 +02:00
Enno Rehling
3055f517dc move guard implementation into a module (WIP) 2015-09-12 22:53:54 +02:00