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 |
|
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
|
2f2bbb16ab
|
remove wild mkdir calls all over the code, catch EEXIST errors
use join_path more consistently
fix a test that's intermittent on windows because fopen(..., "wb") fails, why?
|
2016-02-01 09:26:24 +01:00 |
|
Enno Rehling
|
73f16d5bb6
|
adding a join_path function to try and narrow down misbehavior.
|
2016-01-29 19:11:48 +01:00 |
|
Enno Rehling
|
f559c263e3
|
cleanup of config.c: move more code to other modules like unit.c and faction.c
|
2015-11-24 19:53:27 +01:00 |
|
Enno Rehling
|
8aa7fec54c
|
config.c cleanup: move attribute registration to attributes.c
|
2015-11-24 19:32:52 +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
|
5f457f77b4
|
refactoring: move those count_* functions out of config.c
|
2015-11-22 15:46:14 +01:00 |
|
Enno Rehling
|
35e7a0bc79
|
eliminate global.cookie and the cache-invalidation which it enabled
|
2015-11-22 12:50:10 +01:00 |
|
Enno Rehling
|
73fc5a51b3
|
remove more junk defines from config.h, move them closer to where they belong
|
2015-11-22 12:47:57 +01:00 |
|
Enno Rehling
|
bf74eb1446
|
cleanup: remove movement constatns from config.h
|
2015-11-22 12:41:22 +01:00 |
|
Enno Rehling
|
cf6084a5ca
|
refactoring: move game configuration defines out of config.h
temporarily pushing them into settings.h where others already are, though they should be in their own modules or in config files.
|
2015-11-22 12:37:25 +01:00 |
|
Enno Rehling
|
74b1f9872e
|
change visibility of configuration data structures, local to config.c only
|
2015-11-22 12:27:08 +01:00 |
|
Enno Rehling
|
fe173e9551
|
refactor: make sure global.paramteres is used only inside config.c
|
2015-11-22 12:24:27 +01:00 |
|
Enno Rehling
|
edcd79d044
|
add a config_token function to look for a token inside a list
|
2015-11-22 12:20:33 +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 |
|
Enno Rehling
|
66dd1b8172
|
remove produce_exp caching in static variables (more slowdown)
|
2015-11-22 10:21:37 +01:00 |
|
Enno Rehling
|
990fda6234
|
clean up config.c, remove static configuration caching
|
2015-11-21 18:13:16 +01:00 |
|
Enno Rehling
|
ee02721c21
|
fix and tests for otherfaction attributes in E2
https://bugs.eressea.de/view.php?id=2152
|
2015-11-09 13:36:52 +01:00 |
|
Enno Rehling
|
b0c79b9978
|
refactor some get_param lookups
kill unused global.functions.maintenance
|
2015-09-13 10:11:56 +02:00 |
|
Enno Rehling
|
71c4cb53c0
|
add missing guard.h include everywhere, remove duplicate prototypes from config.h
|
2015-09-12 23:41:37 +02:00 |
|
Enno Rehling
|
dd9420fc38
|
move at_guard into guard module as well
|
2015-09-12 23:38:31 +02:00 |
|
Enno Rehling
|
8fa3234159
|
Merge branch 'master' into develop
Conflicts:
tests/runtests.bat
|
2015-09-12 21:00:28 +02:00 |
|
Enno Rehling
|
a027139057
|
remove global variable verbosity in favor of static in main.c (use log_* functions everywhere)
|
2015-09-12 20:58:09 +02:00 |
|
Enno Rehling
|
7906cdbcb6
|
do not read gamename from XML, read it from JSON only (two mechanisms for the same feature are too many)
|
2015-09-12 16:49:18 +02:00 |
|
Enno Rehling
|
8a95ea0c00
|
speeding up produceexp_chance
|
2015-09-12 16:41:22 +02:00 |
|
Enno Rehling
|
9bdc811582
|
produceexp uses a json-configurable constant
make get_param_flt return a double, floats are for wimps.
|
2015-09-12 16:38:51 +02:00 |
|
Enno Rehling
|
cf08cdf3fb
|
configuration type-fixes: int to bool where appropriate (possibly incomplete)
rename some rules to make it more obvious that they are flags or other integer values.
|
2015-09-11 10:04:08 +02:00 |
|
Enno Rehling
|
2e3c0db02a
|
add a failing test for bug 1685
|
2015-09-05 18:14:28 +02:00 |
|
Enno Rehling
|
8efc874952
|
backfill missing tests for ally_cmd
|
2015-08-05 12:19:17 +02:00 |
|
Enno Rehling
|
c22636ca13
|
unit tests for update_long_order. e3 tests are still broken.
|
2015-08-05 00:03:30 +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
|
ae9fb399f3
|
unit tests walkingcapacity, configurable trollbelt effect
|
2015-04-14 02:32:01 +02:00 |
|
Enno Rehling
|
4ce2429276
|
fix keyword-buffer overflow
|
2015-03-04 22:19:11 +01: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
|
108a909131
|
kill gc_add and gc_done, they were terrible ideas.
|
2014-12-25 22:38:01 +01:00 |
|
Enno Rehling
|
4e94a95835
|
remove dead code, move weight(unit) to unit.c
|
2014-12-25 19:40:40 +01:00 |
|
Enno Rehling
|
901c70efd9
|
config cleanup contd.
createunit => create_unit, everywhere.
make_undead_unit in zombies.c
|
2014-12-25 18:40:46 +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
|
b27491eccd
|
move atoip out of config (small helper) and test it.
remove some unnecessary variables from laws.c
|
2014-12-23 09:23:37 +01:00 |
|
Enno Rehling
|
5ebf05f625
|
additional tests for the parser.
move more parsing code out of config.c
|
2014-12-22 16:45:56 +01:00 |
|
Enno Rehling
|
2966e1ea3d
|
remove igetstrtoken, a confusing helper function that was hardly used at all.
|
2014-12-18 17:47:49 +01:00 |
|
Enno Rehling
|
da1d3c49c3
|
ongoing config.c cleanup: getid()
|
2014-12-18 07:09:22 +01:00 |
|
Enno Rehling
|
1050daac19
|
remove strlist from config.c, move it to reports.c (where it is used primarily).
this is not the best data structure there is, should replace it some day.
|
2014-12-17 17:40:36 +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
|
fb0eb4dce6
|
refactoring: moving plagues out of config.c
cleaning up the code, moving chance into the random event code, it is not used by the plague spell (reduce signature by one argument)
|
2014-12-16 14:18:29 +01:00 |
|
Enno Rehling
|
98994f233d
|
remove the deprecated getunit function.
fix the build, missing return value from give_control_cmd.
|
2014-12-12 21:06:47 +01:00 |
|
Enno Rehling
|
481275aef1
|
refactor: eliminate the getunitpeasants global variable.
bugfix: it was possible to uncover stealth units with GIVE CONTROL.
|
2014-12-12 20:53:39 +01:00 |
|