Enno Rehling
|
3c2754071d
|
this test fails when btype->maxsize isn't used as a limit for building.
|
2017-07-17 14:01:08 +02:00 |
|
Enno Rehling
|
898c12e99a
|
XML construction elements never have a building.
required buildings are encoded by RMT_PROD_REQUIRE.
improved error messaging.
|
2017-05-06 15:53:21 +02:00 |
|
Enno Rehling
|
a313e78de5
|
move building names from function to construction data.
|
2017-04-26 21:44:24 +02:00 |
|
Enno Rehling
|
e72155a563
|
WIP: reimplemented production modifiers.
The system itself seems to work, but some Lua tests are still failing.
|
2017-04-02 14:43:53 +02:00 |
|
Enno Rehling
|
5680057e7f
|
adding simple test for MAKE <ITEM>
|
2017-02-15 17:09:23 +01:00 |
|
Enno Rehling
|
7947101899
|
factor out some function to make future debugging easier.
|
2017-02-14 21:01:22 +01:00 |
|
Enno Rehling
|
4ce415be50
|
BUG 2281: fix maxsize of guard towers.
|
2017-02-14 20:51:03 +01:00 |
|
Enno Rehling
|
8b7dae6977
|
kill autoconf.h, replace platform.h for C99 compatibility work
|
2017-01-10 16:31:05 +01:00 |
|
Enno Rehling
|
ecd74c53f5
|
More PVS-Studio warnings eliminated.
|
2016-11-23 19:19:04 +01:00 |
|
Enno Rehling
|
467ffe2db0
|
include guard.h directly, not through laws.h
|
2016-11-01 22:11:10 +01:00 |
|
Enno Rehling
|
754ad78db7
|
WIP: remove GUARD_* flags.
TODO: does not compile
TODO: write new guard.test.c tests
|
2016-10-31 07:45:06 +01:00 |
|
Enno Rehling
|
86ef225ccb
|
add some more local caching.
|
2016-09-11 12:48:00 +02:00 |
|
Enno Rehling
|
ed2c4ec56a
|
missing null-check before isparam
|
2016-09-01 21:57:50 +02:00 |
|
Enno Rehling
|
4bc8817056
|
remove a TODO that was ill-advised. The reason that "resources" is a list is that it's built incrementally.
|
2016-08-29 18:15:20 +01:00 |
|
Enno Rehling
|
a451d61f23
|
simplify destroy_cmd parsing.
|
2016-08-28 16:48:06 +01:00 |
|
Enno Rehling
|
b0400a797d
|
when not skilled enough to destroy a road, don't get a destroy_road message.
test destroy_road message.
|
2016-08-28 16:31:29 +01:00 |
|
Enno Rehling
|
1e04e20671
|
testing destroy_road by way of destroy_cmd.
two simple cases only.
|
2016-08-28 14:31:25 +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
|
db5b90e80b
|
clarify building_type.maxsize and add error logging for bug 2221.
https://bugs.eressea.de/view.php?id=2221
|
2016-08-06 13:52:29 +02:00 |
|
Enno Rehling
|
36e1060fc7
|
turn maxsize assert into an error
fix log rotation on windows
|
2016-07-31 18:48:27 +02:00 |
|
Enno Rehling
|
31feeecbd8
|
logging and fixing of live data for bug 2221
additional lua test that failed to find the issue
https://bugs.eressea.de/view.php?id=2221
|
2016-07-30 21:13:42 +02:00 |
|
Enno Rehling
|
3d5c7ba8fb
|
refactoring: move produceexp from unit.c to study.c
|
2016-03-09 14:50:54 +01:00 |
|
Enno Rehling
|
64b84481b2
|
refactoring: move parsing and allies code out of config.c
|
2015-11-24 18:52:09 +01:00 |
|
Enno Rehling
|
2e392b4d7c
|
eliminate even more static variable caches
|
2015-11-22 16:14:27 +01:00 |
|
Enno Rehling
|
a4cb5e2906
|
replace all get_param_* for global.parameters with config_get_*
|
2015-11-22 10:44:46 +01:00 |
|
Enno Rehling
|
e9ed30f9db
|
Merge pull request #377 from ennorehling/develop
Bug 2152: Parteitarnung
|
2015-11-09 16:30:57 +01:00 |
|
Enno Rehling
|
318820fb00
|
eliminate use of test_create_world
|
2015-11-07 23:49:45 +01:00 |
|
Philipp Dreher
|
663d947b2a
|
New behaviour in case of low skill during building
Insufficient skill after hitting the next improvement stage is now
handled by leaving the for-loop and skipping to after-build-processing.
|
2015-11-06 21:04:35 +01:00 |
|
Philipp Dreher
|
b0a986e155
|
Revert "added a lua-test"
This reverts commit a452ad1517 .
|
2015-11-06 20:57:19 +01:00 |
|
Philipp Dreher
|
a452ad1517
|
added a lua-test
New lua-test for the bug concerning the minskill for castle-stages.
(#1859)
|
2015-11-06 20:53:10 +01:00 |
|
Enno Rehling
|
24ff4c301d
|
refactor: separate building_is_active from inside_building
|
2015-11-02 14:18:50 +01:00 |
|
Enno Rehling
|
93b7bacff5
|
CID 22552: Dereference before null check (REVERSE_INULL)
|
2015-10-30 12:37:27 +01:00 |
|
Enno Rehling
|
f740f2829a
|
leak: in tests, when correct message_type doesn't exist, arguments should not leak
|
2015-10-14 20:41:42 +02:00 |
|
Enno Rehling
|
a6ca489d9a
|
free multi-level construction correctly, avoid duplication
|
2015-10-13 22:56:16 +02:00 |
|
Enno Rehling
|
e4026e0f6b
|
eliminate more non-critical arguments.
|
2015-08-27 16:59:39 +02:00 |
|
Enno Rehling
|
de808bf146
|
change effskill signature to take a region, change eff_skill to work on a skill * to avoid multiple lookups.
|
2015-08-27 16:16:55 +02:00 |
|
Enno Rehling
|
4d061d8592
|
repair update_long_order and K_DESTROY handling according to discussion in https://bugs.eressea.de/view.php?id=2080
|
2015-08-04 22:47:55 +02:00 |
|
Enno Rehling
|
b2d981e577
|
improved tests for DESTROY, fix destroy-after-attack
|
2015-07-03 13:08:06 +02:00 |
|
Enno Rehling
|
fc2b8f3471
|
bug 2080: long actions after DESTROY
https://bugs.eressea.de/view.php?id=2080
we forgot to set the flags. also added a test for the future.
|
2015-07-02 11:42:18 +02:00 |
|
Enno Rehling
|
dd8449783a
|
converting float->double in a lot of the code to prevent -Wconversion messages
|
2015-05-15 19:08:44 +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
|
c8b9044f78
|
rename to gettoken, use more widely, add a basic test.
|
2014-12-22 16:28:17 +01:00 |
|
Enno Rehling
|
8971f59ecc
|
move more things out of config.c.
- lighthouses into their own module.
- lastregion/firstregion into reports.c.
|
2014-12-17 17:22:26 +01:00 |
|
Enno Rehling
|
9b56ccf53c
|
cleaning up some alliance code, killing bitrot from WDW.
|
2014-12-09 14:14:35 +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
|
81bfb598d0
|
refactoring modules, cleaning out the config.c kitchen sink.
- cansee_* rules to laws.c
- translations to language.c
- stealth to attributes/,
- rename build.h -> buildno.h
|
2014-11-01 12:09:56 +01:00 |
|
Enno Rehling
|
74582aeb2f
|
fix remaining getstrtoken uses without null-check.
|
2014-09-21 16:43:17 +02:00 |
|
Enno Rehling
|
d435c13bfc
|
adding more tests.
test for build()
test for scale_number()
update submodules
|
2014-08-26 20:06:49 +02:00 |
|
Enno Rehling
|
808f343e34
|
make getstrtoken() return null at EOL, kill init_tokens.
init_order all the things!
added a bunch of new assertions to cover for oversights.
added some new tests for order parsing.
|
2014-08-23 09:17:58 +02:00 |
|