Enno Rehling
9ba255e269
allow a maxnmr setting in eressea.ini to override the nmr.timeout rule.
2018-03-11 19:07:05 +01:00
Enno Rehling
432a8d432d
messy merge of cppcheck fixes into develop
2018-02-25 20:41:53 +01:00
Enno Rehling
05242aaf2d
Passing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2018-02-25 17:18:30 +01:00
Enno Rehling
ef7d0c40ed
remove the two helaing special cases from use_potion
2018-02-17 18:51:11 +01:00
Enno Rehling
d15684a546
fix test_process_turn failure.
...
move turn global to calendar.
promote calendar module to kernel.
2018-02-14 20:01:36 +01:00
Enno Rehling
f776450f9b
Replace 0 with NULL (consistency is good).
2018-01-14 09:58:45 +01:00
Enno Rehling
75f41a7169
fix crashes on 64-bit systems (not all 0s are created equal).
2018-01-14 09:38:26 +01:00
Enno Rehling
84309caad7
Temporarily re-enable the missing_message code.
...
I think we'll want to make this injectable.
Fix the give tests.
2018-01-13 22:46:02 +01:00
Enno Rehling
b83a1ee136
fix more missing_message errors.
2018-01-13 08:51:40 +01:00
Enno Rehling
98678d9fb2
disable the missing_message replacement used in so many tests. fix some tests so they don't need it.
2018-01-12 21:15:21 +01:00
Enno Rehling
3c1addf2ba
avoid using test_create_world.
2017-12-27 22:38:14 +01:00
Enno Rehling
f6753261cd
do not use test_create_world, please.
2017-12-27 22:30:07 +01:00
Enno Rehling
cff4e12fbd
celan up tests, rename test_cleanup -> test_teardown.
2017-12-27 19:58:39 +01:00
Enno Rehling
5dabd19504
add tests for visible_unit, remove unused cansee_ex
2017-12-23 17:49:30 +01:00
Enno Rehling
3685bcabfb
BUG 2389: insects starve in glaciers.
...
add feature tests for hunger.
2017-12-17 14:06:40 +01:00
Enno Rehling
e2f954b7f6
BUG 2392: anyone can use weapons, as long as they have _some_ skill.
2017-12-17 10:16:56 +01:00
Enno Rehling
3b6d7a4055
Merge branch 'develop'
2017-11-12 22:15:47 +01:00
Enno Rehling
dae2ca2b5b
buildings should have all the same name-tests as ships.
2017-11-12 15:12:45 +01:00
Enno Rehling
ac8ca5f728
Also test that I can rename a ship that I myself own, of course.
2017-11-12 15:09:57 +01:00
Enno Rehling
db3feeedcc
combine ship naming tests.
2017-11-12 15:05:17 +01:00
Enno Rehling
4a73db1f67
add a test that proves bug 2384 exists.
2017-11-12 14:59:44 +01:00
Enno Rehling
34808a25c5
Merge branch 'develop'
2017-11-09 18:04:41 +01:00
Enno Rehling
31d15550ed
Add test coverage for NAME ALLIANCE.
2017-11-06 20:38:28 +01:00
Enno Rehling
440679da87
code that uses newterrain needs to set up terrains in tests.
2017-11-05 17:00:40 +01:00
Enno Rehling
79aecf21b5
Merge branch 'develop'
2017-10-18 19:40:00 +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
db0bd8d4db
refactor: split order_data from order, force use of ids (to be replaced with db backend).
2017-10-13 19:33:27 +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
0f10b58167
add tests and rewrite MAKE TEMP
2017-10-01 15:08:26 +02:00
Enno Rehling
423fe65377
move region display to land_region struct, oceans do not have descriptions.
2017-09-16 07:58:57 +02:00
Enno Rehling
37aded9b1d
remove unused function
2017-05-21 16:12:13 +02:00
Enno Rehling
bc0726da18
remove duplicate test
2017-05-21 14:52:46 +02:00
Enno Rehling
c8e777c6d4
Merge branch 'bug2211_addendum' of https://github.com/stm2/server into stm2-bug2211_addendum
2017-05-21 14:51:13 +02:00
Enno Rehling
efb0501b20
additional testing
2017-05-21 13:10:53 +02:00
Enno Rehling
7a289ceb86
simplify building_taxes, eliminate dead lua callbacks.
2017-04-29 19:21:48 +02:00
Enno Rehling
ac12cb966d
implement fixed wage functions, select by constant value
2017-03-16 16:07:52 +01:00
Enno Rehling
8d8173def3
remove the functions struct from settings (next: remove wage, too)
2017-03-13 09:30:20 +01:00
Enno Rehling
21e260907c
BUG 2311: unit limits were not enforced by GIVE.
2017-03-11 20:03:49 +01:00
Enno Rehling
41c6793964
matching test_setup and test_cleanup calls.
2017-03-11 12:57:02 +01:00
Enno Rehling
fe95ddafa1
reduce "translation not found" warnings in tests.
2017-03-10 21:43:36 +01:00
Enno Rehling
be0b54494e
clean up some tests.
...
the test locale gets some extra strings.
test_create_world is bad, stop using it. unfinished.
2017-03-10 21:29:37 +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
30fc6f3e91
BESCHREIBE REGION ist jeder Einheit des Regionsbesitzers erlaubt
2017-01-25 21:03:08 +01:00
Enno Rehling
77cbd04cfa
BENENNE REGION ist jeder Einheit des Regionsbesitzers erlaubt
2017-01-25 20:57:54 +01:00
Enno Rehling
6d60b48b3f
create_order takes variable arguments!
...
more snprintf removal.
2017-01-07 21:19:58 +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