Commit graph

7480 commits

Author SHA1 Message Date
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
a5e63a2472 move GUARD_* flags to guard.h 2016-10-30 05:37:12 +01:00
Enno Rehling
1116afed2b merge conflict resolve 2016-10-29 19:19:22 +02:00
Enno Rehling
1ea8c80845 test that is_guard changes when armedmen does. 2016-10-29 19:19:11 +02:00
Enno Rehling
4487f4d3e1 missing declaration 2016-10-29 19:19:02 +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
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
59c8fbc5a5 fix bad Lua test for ents, so they actually guard. 2016-10-29 17:51:01 +02:00
Enno Rehling
6075396de3 WIP: make guard tests pass.
BUG: monsters are always allowed to guard unarmed.
TODO: more code duplication, refactor it.
TODO: ents do not guard resources?
2016-10-29 14:16:40 +02:00
Enno Rehling
f1d07fb647 I no longer use CRTDBG to find bugs. Valgrind rules. 2016-10-29 10:53:18 +02:00
Enno Rehling
f17b6f2bb5 WIP: additional testing for GUARD.
BUG: ents cannot guard, do not protect trees.
FIX: issue #589 (bad test for stardust)
2016-10-28 20:26:34 +02:00
Enno Rehling
e0a6618199 WIP: test production guarding.
ents are not working, because they rely on being part of the monster faction? bad!
2016-10-28 19:42:47 +02:00
Enno Rehling
91ae9245ca armedmen tests.
check missing weapons, WTF_SIEGE and minskill
2016-10-25 15:01:54 +02:00
Enno Rehling
97918799c1 additional testing for armedmen(). 2016-10-25 00:16:13 +02:00
Enno Rehling
8f802c11e1 off-by-one error for early break from loop. 2016-10-25 00:12:18 +02:00
Enno Rehling
e5dc754c25 fix demand in broken regions, after load. 2016-10-24 13:54:53 +02:00
Enno Rehling
cd69936922 fix demand in terraformed regions.
https://bugs.eressea.de/view.php?id=2249
2016-10-24 13:47:38 +02:00
Enno Rehling
2fbc7a44d5 add missing tests for recent failures. 2016-10-23 13:02:53 +02:00
Enno Rehling
a921a6594a Merge branch 'develop' of https://github.com/ennorehling/eressea.git 2016-10-23 10:03:46 +02:00
Enno Rehling
f12eda8bdf remove cfindhash, again.
curse and unit ids can collide, there is no reason why they should be from the same pool.
2016-10-23 10:03:33 +02:00
Enno Rehling
ac4e32a8f5 Merge branch 'master' into develop 2016-10-23 09:59:42 +02:00
Enno Rehling
34a6dd8d54 fix crash in 997: re-introduce cfindhash.
this prevents duplicate curse.no values.
2016-10-22 22:35:10 +02:00
Enno Rehling
c7ede945b3 use site packages on Travis CI, revert to Lua 5.1 2016-10-17 19:59:06 +02:00
Enno Rehling
641c1e1979 Merge branch 'develop' of github.com:ennorehling/eressea into develop 2016-10-17 15:50:02 +02:00
Enno Rehling
f697e06d17 do not use tolua from package 2016-10-16 18:07:45 +02:00
Enno Rehling
edbfe686e7 Merge branch 'develop' of github.com:ennorehling/eressea into develop 2016-10-16 17:31:05 +02:00
Enno Rehling
680c873844 Merge remote-tracking branch 'upstream/develop' into develop 2016-10-16 17:28:31 +02:00
Enno Rehling
06bfd2df5f Merge remote-tracking branch 'eressea/develop' into develop 2016-10-16 16:48:53 +02:00
Enno Rehling
919001fae0 do not rmdir tolua, we need it 2016-10-16 16:41:08 +02:00
Enno Rehling
0de30cd376 remove discontinued submodules if they are checked out 2016-10-16 11:58:42 +02:00
Enno Rehling
75422e1ba6 fix gcc conversion warnings 2016-10-09 10:07:05 +02:00
Enno Rehling
bf8d3b57b3 Merge branch 'develop' of github.com:eressea/server into develop 2016-10-09 10:01:36 +02:00
Enno Rehling
3d191b6573 not likely to get fixed 2016-10-09 10:01:31 +02:00
Enno Rehling
9287d0c1b4 unused function 2016-10-07 22:06:47 +02:00
Enno Rehling
38721e2046 remove all mention of centaurs from the code and configuration 2016-10-07 19:33:50 +02:00
Enno Rehling
fb470b7af1 re-organize lighthouse reporting. 2016-10-05 20:36:01 +02:00
Enno Rehling
5fe0503cd8 remove the unicode.h include from files that don't use it. 2016-10-05 16:43:14 +02:00
Enno Rehling
f9486b6c13 Merge pull request #592 from ennorehling/develop
smaller optimizations
2016-10-05 12:31:33 +02:00
Enno Rehling
f65bd3b079 disable logging of passwords. yikes 2016-10-05 09:28:23 +02:00
Enno Rehling
e79b36bc36 introduced a memory leak i last commit 2016-10-04 10:51:37 +02:00
Enno Rehling
61f76e6722 make old_race a little bit less awful. 2016-10-04 10:34:18 +02:00
Enno Rehling
9704002d2c Merge pull request #591 from ennorehling/develop
minor optimizations
2016-10-04 09:20:04 +02:00
Enno Rehling
3338f00fcb Merge branch 'develop' of github.com:ennorehling/eressea into develop 2016-10-04 09:15:11 +02:00
Enno Rehling
d3efc265c3 calculating income for dragons is no longer hard-coded 2016-10-04 09:14:49 +02:00
Enno Rehling
63f60a2465 cache some more get_race calls, especially for RC_SPELL. 2016-10-03 20:36:46 +02:00
Enno Rehling
8f1a1fc8c3 tighten up some lookups. 2016-10-03 20:27:36 +02:00
Enno Rehling
fbdf845cb9 fix overpopulation-checks and movement based on splitsize. 2016-10-03 20:15:38 +02:00