Steffen Mecke
|
1f4c521ac8
|
encapsulate r->land->peasants, money, horses, herbs, morale
|
2015-12-08 17:57:23 +01:00 |
Enno Rehling
|
950bf91850
|
fix merge conflict in PR #397 (config changes)
|
2015-11-26 18:48:21 +01:00 |
Enno Rehling
|
6ad5db8e22
|
Merge pull request #397 from stm2/taxing_message
taxing without skill does not fail silently any more
|
2015-11-26 18:43:57 +01: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 |
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
|
edcd79d044
|
add a config_token function to look for a token inside a list
|
2015-11-22 12:20:33 +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
|
990fda6234
|
clean up config.c, remove static configuration caching
|
2015-11-21 18:13:16 +01:00 |
Enno Rehling
|
7e27928d17
|
eliminate static variables and cache logic from more modules
|
2015-11-21 12:28:20 +01:00 |
Steffen Mecke
|
5326bbd9e4
|
refactored inside_building/building_is_active/active_building
|
2015-11-16 02:13:48 +01:00 |
Steffen Mecke
|
493b45c832
|
taxing without skill does not fail silently any more
http://bugs.eressea.de/view.php?id=2158
added configuration parameter for tax per level
|
2015-11-14 15:36:14 +01:00 |
Enno Rehling
|
34c9958368
|
CID 22584 Result is not floating-point
github issue #326
chance of morale loss is 20-100 percent depending on loss of silver
|
2015-11-10 10:44:17 +01:00 |
Enno Rehling
|
edb862a8fc
|
CID 22461 Division or modulo by zero
partial fix github issue #326
also fewer calls to rmoney
|
2015-11-09 20:10:02 +01:00 |
Enno Rehling
|
24ff4c301d
|
refactor: separate building_is_active from inside_building
|
2015-11-02 14:18:50 +01:00 |
Enno Rehling
|
20c9fb60dc
|
release additional reference to recruit order
|
2015-10-14 11:58:54 +02:00 |
Enno Rehling
|
09efd9c2a9
|
fix anything that uses the calendar module. opps.
|
2015-09-12 12:54:49 +02:00 |
Enno Rehling
|
d29d38f710
|
refactor donations into a seaprate code module, add a basic test
|
2015-09-09 15:45:20 +02:00 |
Enno Rehling
|
60111282b3
|
make findunitr be O(1) instead of O(#r->units)
|
2015-09-09 13:29:58 +02:00 |
Enno Rehling
|
e4026e0f6b
|
eliminate more non-critical arguments.
|
2015-08-27 16:59:39 +02:00 |
Enno Rehling
|
564a041b0d
|
eliminate invalid assertions, remove unnecessary arguments (plant/breed/trees)
|
2015-08-27 16:53:36 +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
|
6889cb0c80
|
remove superfluous argument from herbsearch
use effskill, not eff_skill
|
2015-08-27 14:46:08 +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
|
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
|
c4d1482250
|
signed/unsigned comparisons (VC warning only)
|
2015-05-15 20:56:43 +02:00 |
Enno Rehling
|
eac4ef7ddc
|
reduce conversion warning to float only
|
2015-05-15 13:32:22 +02:00 |
Steffen Mecke
|
b5f8be8a95
|
fix heroes must not recruit
|
2015-02-10 18:17:58 +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
|
90dd700487
|
BREED/PLANT/GROW are technically the same command, merge them.
The new parser makes this easy.
|
2015-01-04 15:11:49 +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
|
c8b9044f78
|
rename to gettoken, use more widely, add a basic test.
|
2014-12-22 16:28:17 +01:00 |
Enno Rehling
|
5cdc85f6bf
|
start to get rid of getstrtoken(), which uses an internal static buffer and causes horrible bugs when called multiple times.
|
2014-12-22 14:21:24 +01:00 |
Enno Rehling
|
27b1d55350
|
enhancement: buildings without an owner report their lack of upkeep to the entire region.
https://bugs.eressea.de/view.php?id=1713
|
2014-12-14 11:48:15 +01:00 |
Enno Rehling
|
3a1e4ab7f5
|
fix crash when a GIVE order has no arguments.
|
2014-12-13 18:40:15 +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 |
Enno Rehling
|
1024dd5c81
|
Refactoring morale into a separate module.
Not all of it yet, because it is inconveniently part of kernel/region.
|
2014-12-10 19:04:02 +01:00 |
Enno Rehling
|
2fe40f00f5
|
Merge branch 'master' of github.com:eressea/server
|
2014-11-16 13:08:17 +01:00 |
Enno Rehling
|
a5f14e7f02
|
Merge branch 'version-3-3'
Conflicts:
src/build.h
|
2014-11-16 12:55:58 +01:00 |
Enno Rehling
|
13b443ebb3
|
fix crash (null pointer in make_cmd)
|
2014-11-16 12:49:39 +01:00 |
Enno Rehling
|
5b9eb9080f
|
refactoring: move all monster-related code into monster.c
make some features depend on being NPCs, not monster faction.
|
2014-11-11 16:53:56 +01:00 |
Enno Rehling
|
b2140f54fd
|
refactor, move give_cmd into give.c
|
2014-11-03 08:44:26 +01:00 |
Enno Rehling
|
38a0a02565
|
refactor tests for giving, add test for GIVE HERBS.
|
2014-11-03 08:33:07 +01:00 |
Enno Rehling
|
0b96cc7d13
|
fix previous commit
|
2014-11-02 12:54:49 +01:00 |
Enno Rehling
|
59075b7194
|
fixing the gcc build (switch warning)
|
2014-11-02 12:45:20 +01:00 |
Enno Rehling
|
ecc3b1b441
|
Dragons re using the new LOOT command.
Fixing the income message (missing ")").
|
2014-11-02 11:10:26 +01:00 |
Enno Rehling
|
2b596b40f6
|
Merge branch 'master' of github.com:eressea/server
|
2014-11-02 10:40:49 +01:00 |
Enno Rehling
|
bbd4e31cf9
|
Merge branch 'loot' of github.com:CTD1/eressea-server-bugfixing into CTD1-loot
Conflicts:
res/core/de/strings.xml
|
2014-11-02 10:02:30 +01:00 |
Enno Rehling
|
367307575c
|
Merge branch 'master' of github.com:eressea/server
|
2014-11-01 22:12:11 +01:00 |