Commit graph

3168 commits

Author SHA1 Message Date
Enno Rehling
29a6c0ae86 gmtool, highlight and clear chaos 2017-11-21 08:47:35 +01:00
Enno Rehling
97b4806deb Merge branch 'release-13.3'
Conflicts:
	src/kernel/unit.c
	src/kernel/unit.test.c
2017-11-19 03:13:16 +01:00
Enno Rehling
1c24628d62 BUG 2362: clone_men hitpoint calculation was wrong. 2017-11-19 03:00:18 +01:00
Enno Rehling
7e1f3dbdc5 fix bug 2386, int overflow 2017-11-19 02:56:13 +01:00
Steffen Mecke
2f449e686b addendum to BUG 2383 (5a0a1f): read irace correctly 2017-11-18 18:30:19 +01:00
Enno Rehling
3f3cdad390 BUG 2383: Delete an invalid assertion.
https://bugs.eressea.de/view.php?id=2383
2017-11-18 18:30:19 +01:00
Enno Rehling
0277e10c8d BUG 2381: parse_token overrun. 2017-10-29 19:00:18 +01:00
Enno Rehling
b337373bc9 shorten some names, too many messages with the same prefix are inefficient. 2017-10-16 20:38:52 +02:00
Enno Rehling
e2c7b2c711 merge with master, which was far behind 2017-10-15 20:32:19 +02:00
Enno Rehling
a0a39124f0 additional tests for cansee, to support fixing bug 2374 2017-10-15 20:20:43 +02:00
Enno Rehling
9ff98b5b23 more fine-grained testing for cansee 2017-10-13 19:32:31 +02:00
Enno Rehling
ca6cbe5906 fixing commit 1b53128e1a and adding a test for cansee. 2017-10-13 19:07:57 +02:00
Enno Rehling
8246639e57 test cansee for perception & stealth 2017-10-13 18:41:29 +02:00
Enno Rehling
a82034b8a7 BUG 2372 canride breakage 2017-10-13 18:30:22 +02:00
Enno Rehling
9527460ca4 github issue 734: clear equipments after test. 2017-10-10 20:59:51 +02:00
Enno Rehling
1b53128e1a BUG 2366: Fix cansee for seen_spell regions. 2017-10-10 20:24:20 +02:00
Enno Rehling
9d48bfc36c BUG 2366: add a test to verify that view_reality sets an observer. 2017-10-10 18:45:44 +02:00
Enno Rehling
a175c84232 create_mage sollte ein existierendes at_mage nicht überschreiben, nur evtl. aktualisieren. 2017-10-08 09:10:41 +02:00
Enno Rehling
9d1e1a2e32 BUG 2369 workaround: do not assert at_mage. 2017-10-07 20:44:50 +02:00
Enno Rehling
e87a26d961 Slightly reduce amount of code required for a test. 2017-10-07 20:25:07 +02:00
Enno Rehling
703c6c0385 some examples for how the new orderfile logic can be used to write unit tests. 2017-10-07 20:17:04 +02:00
Enno Rehling
c2634bd095 move readorders to orderfile module. 2017-10-07 19:44:23 +02:00
Enno Rehling
f3515c8e07 move read_orders to its own module 2017-10-07 19:38:39 +02:00
Enno Rehling
b676bb0968 remove unused newfaction.bonus
thanks to @stm2. This feature is long dead.
2017-10-07 18:43:04 +02:00
Enno Rehling
ecce8e5d91 Revert "refactor: extract a read_order function."
This reverts commit 8b39133dbf.
2017-10-07 18:06:54 +02:00
Enno Rehling
0537d39b17 add a fix for 2367 to fix_familiars 2017-10-07 03:22:35 +02:00
Enno Rehling
bb54e0d5ab gcc unused variable 2017-10-06 23:18:47 +02:00
Enno Rehling
91182e12f1 Merge branch 'develop' of https://github.com/ennorehling/eressea.git 2017-10-06 22:38:30 +02:00
Enno Rehling
86e265c7c4 miniature is_mage get_mage optimization 2017-10-06 22:38:01 +02:00
Enno Rehling
6265abac74 remove side-effects from movement_speed(). 2017-10-06 22:30:44 +02:00
Enno Rehling
c73af8b89b wrap some tests around is_mage and get_mage 2017-10-06 22:01:02 +02:00
Enno Rehling
f594a908df deprecate old get_mage implementation.
fix test_familiar_equip with new get_mage.
2017-10-06 21:53:07 +02:00
Enno Rehling
2ce94f2d47 BUG 2367: refactor create_newfamiliar.
add first failing test for bug report.
2017-10-06 21:23:58 +02:00
Enno Rehling
9bfc0139f5 set_familiar code reduction.
remembering that at_skillmod is not persistent.
2017-10-06 17:32:56 +02:00
Enno Rehling
f00ff2d16e BUG 2368: additional space 2017-10-06 04:14:07 +02:00
Enno Rehling
4452f93009 BUG 2367: add a test for set_familiar. 2017-10-05 22:13:39 +02:00
Enno Rehling
02cfde0a49 fix create_unit default order memory leak 2017-10-01 17:08:05 +02:00
Enno Rehling
0f10b58167 add tests and rewrite MAKE TEMP 2017-10-01 15:08:26 +02:00
Enno Rehling
03f46e35c4 one short order to rule them all. 2017-09-30 20:09:30 +02:00
Enno Rehling
e50c421b3f can remove the keyword from order_data now 2017-09-30 20:08:22 +02:00
Enno Rehling
a067838fa0 test all the edge cases. 2017-09-30 19:44:39 +02:00
Enno Rehling
5c63d20ff7 fix remaining bugs 2017-09-30 19:35:40 +02:00
Enno Rehling
54fdda85cd smallify order 2017-09-30 19:22:24 +02:00
Enno Rehling
86e99a560c read_order must use parse_order (not create) to properly handle make temp. 2017-09-26 18:52:26 +02:00
Enno Rehling
8b39133dbf refactor: extract a read_order function. 2017-09-26 17:07:49 +02:00
Enno Rehling
e0514eddb5 let callers pass memory into create_order_i 2017-09-25 22:15:13 +02:00
Enno Rehling
9a1295b4a5 push whitespace eating down the stack a bit. 2017-09-25 22:12:49 +02:00
Enno Rehling
778f487afa remove whitespace eating from parse_order. 2017-09-25 22:08:23 +02:00
Enno Rehling
6bf2ac34e3 test that whitespace is ignored when parsing orders 2017-09-25 22:04:16 +02:00
Enno Rehling
9f97ee2dd7 Merge branch 'resolve-hashing' 2017-09-23 21:14:57 +02:00