Enno Rehling
7806f4991f
store calendar configuration nin JSON, not XML.
2017-05-07 17:46:51 +02:00
Enno Rehling
8b7dae6977
kill autoconf.h, replace platform.h for C99 compatibility work
2017-01-10 16:31:05 +01:00
Enno Rehling
95954fb386
start writing a test (WIP).
2016-12-16 07:29:43 +01: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
9a6d4a174a
remove move_on_land argument from move_cmd
2016-08-20 19:25:44 +02:00
Enno Rehling
f08957b513
test target selection rules for drifting ships.
2016-06-10 18:24:18 +02:00
Enno Rehling
546ffe87b8
change ship_allowed constants just a little bit
2016-06-10 18:00:22 +02:00
Enno Rehling
0410581907
Merge branch 'market_tests' of https://github.com/stm2/server into stm2-market_tests
...
Conflicts:
src/move.test.c
src/study.c
2015-11-26 18:42:23 +01:00
Steffen Mecke
4fdb9e86e7
test for follow ship error msg
2015-11-16 12:51:34 +01:00
Steffen Mecke
a6fe494ff4
error msg for movement should contain FOLLOW SHIP order
...
http://bugs.eressea.de/view.php?id=2161
2015-11-16 12:47:20 +01:00
Steffen Mecke
5326bbd9e4
refactored inside_building/building_is_active/active_building
2015-11-16 02:13:48 +01:00
Enno Rehling
521519805d
refactor piracy code into a module, separate from move.
2015-10-11 21:19:38 +02:00
Enno Rehling
ebe365fd6e
move travelthru logic to a separate module. todo: split off the report writing from the collection of units.
2015-08-18 18:57:04 +02:00
Enno Rehling
b3a8a95a24
cherry-picking ship tests from range_max code
2015-08-07 11:48:46 +02:00
Enno Rehling
f9130fcb38
some more easy tests for sabotage.
2015-07-07 13:38:14 +02:00
Enno Rehling
fe29e29c31
fix -Wconversion for move.c
2015-05-15 06:43:47 +02:00
Enno Rehling
ae9fb399f3
unit tests walkingcapacity, configurable trollbelt effect
2015-04-14 02:32:01 +02:00
Enno Rehling
b9a41bc39f
fixing the trollbelt multiplier.
...
it was multiplying the weight of the unit, too, leading to far too big bonuses.
https://bugs.eressea.de/view.php?id=1510
2015-04-09 15:59:00 +02:00
Enno Rehling
c54cbfd472
fix copyright notice
2015-01-30 22:10:29 +01:00
Enno Rehling
abca25d1d5
fix indentation in every file
...
fix copyright date
remove vi ts=2 code
remove a couple of superfluous extern declarations
2015-01-30 20:37:14 +01:00
Enno Rehling
4bb65873da
shipspeed should be in ship.c, not in config.c
2014-12-25 18:16:24 +01:00
Enno Rehling
0c54c7e32d
always nice to eliminate a few TODO's and kill some bitrot.
2014-12-09 23:27:05 +01:00
Enno Rehling
27f94783bc
fix gcc build, forward-declare structs in the header.
...
MSVC allows structs to be declared in a function signature, gcc wants
to know about them earlier.
2014-11-01 13:10:22 +01:00
Enno Rehling
cf1f3972b6
cleaning out config.c, there is too much code in there.
...
rules should be in their own modules. here:
upkeep is a concept all by itself, should have its own tests, etc.
movement code should be in move.c.
cleaning up some superfluous include directives.
2014-08-31 16:50:37 +02:00
Enno Rehling
932a615837
refactoring: special directions into their own file (vortex.c).
...
moving spells.c out of spells.
figured that movewhere should be in move.c
2014-08-27 21:30:24 +02:00
Enno Rehling
a9a0455207
reorganized directory structure.
...
flattening the directory structure, moving some modules to the src/ directory.
making stealth a separate file, under test.
more tests for some stuff.
2014-08-27 06:40:35 +02:00