Enno Rehling
|
ec4060cb9a
|
fix curse-vigour calculation math.
also fix a ton of small other niggles from pvs-studio.
|
2016-11-20 19:08:39 +01:00 |
|
Enno Rehling
|
640ba05876
|
allow local caching of bt_find results
|
2016-09-19 04:04:02 +02:00 |
|
Enno Rehling
|
d9e541843b
|
further reduce number of bt_find calls.
|
2016-08-30 09:36:09 +01:00 |
|
Enno Rehling
|
5bb9a10a46
|
is_building_type should be a quicker way to test for a building type than bt_find.
|
2016-08-30 09:13:59 +01:00 |
|
Enno Rehling
|
a42bd9c3bf
|
remove the BLD_WORKING flag.
it's all about BLD_MAINTAINED now.
fix region.blocked (Lua property).
|
2016-08-21 20:12:28 +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
|
fe49f01bb6
|
added moa tests for buildingtype_exists
|
2015-11-25 23:25:59 +01:00 |
|
Steffen Mecke
|
5326bbd9e4
|
refactored inside_building/building_is_active/active_building
|
2015-11-16 02:13:48 +01:00 |
|
Steffen Mecke
|
251126054e
|
add missing NULL check to in_safe_building
|
2015-11-13 00:50:54 +01:00 |
|
Enno Rehling
|
7fb5adc7af
|
in_safe_building needs a test and some changes to logic
github issue #393 fixed
|
2015-11-12 17:55:39 +01:00 |
|
Enno Rehling
|
072bfd3912
|
testin building_is_active
testing multiple units in one building
|
2015-11-02 15:06:30 +01:00 |
|
Enno Rehling
|
4bf2509fb3
|
test inside_building vs. overflow
fix default building capacity (should be 1 per size)
|
2015-11-02 14:56:58 +01:00 |
|
Enno Rehling
|
605711c13a
|
constructor st_get_or_create sets ship_type to default values
xmlreader does not mess with values already set.
|
2015-02-03 17:10:29 +01:00 |
|
Enno Rehling
|
a4e6f4874c
|
building type construction is in bt_get_or_create, and only there.
+ not in jsonconf
+ not in xmlreader (no test for this)
|
2015-02-02 19:52:24 +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
|
9f09b9b915
|
fixed memory leaks in tests, thanks to valgrind
|
2014-12-30 23:34:24 +01:00 |
|
Enno Rehling
|
a55cb13924
|
make valgrind happy when running tests (cleanup)
|
2014-12-30 02:02:10 +01:00 |
|
Enno Rehling
|
1af315ebf2
|
move magic out of kernel, into src.
clean up/remove a ton of includes, especially of types.h (include in header if you need it, not in every .c file).
|
2014-11-01 12:57:01 +01:00 |
|
Enno Rehling
|
125fd519a8
|
rename test files.
add tests for keyword.c, incomplete.
|
2014-06-16 08:01:59 -07:00 |
|