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
Enno Rehling
64f80274a0
test that ship and building cannot be named poorly.
2016-11-11 14:00:04 +01:00
Enno Rehling
bc44caa17f
backfill tests for renaming regions.
2016-11-11 02:07:11 +01:00
Enno Rehling
ff09defa69
prevent badly naming units/factions/regions.
2016-11-11 01:59:43 +01:00
Enno Rehling
467ffe2db0
include guard.h directly, not through laws.h
2016-11-01 22:11:10 +01: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
5dc9ccb03e
do not call log10(0) for new lighthouses.
...
some tests for LEARN MAGIC.
2016-09-11 11:02:04 +02:00
Enno Rehling
2df881c6ed
check the results of MAKE TEMP
...
new units have the UFL_ISNEW flag
2016-08-21 12:38:25 +02:00
Enno Rehling
238a0e22f2
Merge branch 'test-alliance' of https://github.com/ennorehling/eressea into ennorehling-test-alliance
...
Conflicts:
src/util/CMakeLists.txt
2016-08-08 08:46:09 +02:00
Enno Rehling
d0f54bf69a
Merge branch 'feature/kill-maintenance' of https://github.com/ennorehling/eressea into ennorehling-feature/kill-maintenance
...
Conflicts:
src/kernel/config.c
src/kernel/config.h
src/tests.c
2016-07-30 23:27:03 +02:00
Steffen Mecke
00ca412634
show item and race if possible
2016-06-11 23:57:01 +02:00
Enno Rehling
1443c24b36
fix gcc build
2016-06-06 23:45:11 +02:00
Enno Rehling
44d8f49bc3
test SHOW <race> only works for your own race.
...
testing message contents is hard!
2016-06-06 23:39:40 +02:00
Enno Rehling
c79ecc1a78
fix bug 2211, ignore a match for items we don't have.
2016-06-06 23:24:33 +02:00
Enno Rehling
eac94bdf4a
add a test that demonstrates bug 2211
2016-06-06 22:14:28 +02:00
Enno Rehling
a834c486d9
fix a FIXME: setting default order through config, making test better.
...
this feature is not in use, so all this work is really pointless.
2016-04-09 19:05:28 +02:00
Enno Rehling
aba0be505e
refactor many tests to use the test locale instead of building their own
2016-03-24 13:01:47 +01:00
Steffen Mecke
e3f27e3571
clean up after your tests, young grashopper
2016-02-28 20:34:37 +01:00
Steffen Mecke
11b8d85167
fixed reversed logic for demon peasant hunger (bug 2187)
...
renamed config variable hunger.demons to hunger.demons.peasant_tolerance and reversed reversed logic in upkeep.c
2016-02-28 16:15:48 +01:00
Enno Rehling
729c4ceea1
increase error-logging from unit tests.
...
suppress some unrelated errors.
2016-01-28 16:00:36 +01:00
Enno Rehling
b6d44410b7
make the password pseudo-private to faction.c
2016-01-12 06:46:51 +01:00
Steffen Mecke
723c3df7b2
test for immigration
2015-12-08 17:57:23 +01:00
Enno Rehling
c85e489f4f
Merge branch 'monster_leftovers' of https://github.com/stm2/server into stm2-monster_leftovers
...
Conflicts:
src/kernel/unit.c
src/laws.test.c
src/monsters.c
2015-11-25 14:25:42 +01:00
Enno Rehling
5b9333f6d9
Merge branch 'release-3.7' into develop
...
Conflicts:
src/buildno.h
src/monsters.c
2015-11-23 17:12:48 +01:00
Enno Rehling
b6a947ca0c
https://bugs.eressea.de/view.php?id=2165
...
Monster bewachten nicht, wenn sie nicht ausreichend bewaffnet waren, weil der nötige Check nicht in can_start_guarding gemacht wurde, sondern in guard_on_cmd.
2015-11-23 15:35:26 +01:00
Enno Rehling
b05fe9316a
introducing config_set and config_get so we don't have to refer to globals.parameters everywhere
2015-11-22 10:33:31 +01:00
Steffen Mecke
8cec4b20e0
reduce code obfuscation
2015-11-17 02:14:08 +01:00
Philipp Dreher
43b2e30c46
added initial cleanup
2015-11-07 15:18:23 +01:00
Philipp Dreher
4d622224aa
added message cleanup
2015-11-07 14:47:14 +01:00
Philipp Dreher
5e85945c94
fixed the test so it finally behaves correctly
2015-11-07 14:27:48 +01:00
Philipp Dreher
757bff87d3
slight code improvement
...
(test still not working as it should though)
2015-11-06 12:08:12 +01:00
Philipp Dreher
9e2d2b1560
corrected some mistakes in setup and cleanup of the test
2015-11-05 20:10:51 +01:00