Enno Rehling
|
b9ae927aa3
|
remove copyright notices.
|
2019-09-13 21:35:44 +02:00 |
|
Enno Rehling
|
c97e881dbf
|
let horses be short, too.
|
2019-08-03 20:58:13 +02:00 |
|
Enno Rehling
|
8106cf15a1
|
morale is ony [0-10], so unsigned short is more than fine.
|
2019-08-03 15:28:50 +02:00 |
|
Enno Rehling
|
a51d3edee7
|
region.peasants can be short
|
2019-08-03 15:12:07 +02:00 |
|
Enno Rehling
|
dac6ef660d
|
Merge branch 'master' into develop
|
2018-11-04 09:10:54 +01:00 |
|
Enno Rehling
|
8bcdb5c381
|
Bug 2509 contd: new_region still creating duplicates
|
2018-11-03 15:48:35 +01:00 |
|
Enno Rehling
|
ba9af6d765
|
1. region_create(uid)
2. read_region_reference never gets a callback, so save it.
|
2018-11-01 21:08:59 +01:00 |
|
Enno Rehling
|
b5b39024f2
|
BUG 2506: starting regions have bad resource levels.
add some one-off custom code to fix the resource levels of selected regions
|
2018-10-30 21:01:16 +01:00 |
|
Enno Rehling
|
ced21cc336
|
BUG 2459 Regionen recycling macht ein Reset der Rohstoffe.
|
2018-07-13 23:37:45 +02:00 |
|
Enno Rehling
|
4240e142a5
|
BUG 2440: the random encounters code was completely unused.
|
2018-05-13 16:15:22 +02:00 |
|
Enno Rehling
|
aae7e9b954
|
immer noch FAST_CONNECT Reste
|
2018-02-25 20:06:55 +01:00 |
|
Enno Rehling
|
4181e23d15
|
FAST_CONNECT is always on.
fix more cppcheck messages.
|
2018-02-25 18:30:20 +01:00 |
|
Enno Rehling
|
4247ef96b1
|
why are we using the short type?
|
2018-01-21 11:14:55 +01:00 |
|
Enno Rehling
|
05425b5101
|
pull economy requests into header, rename the struct.
|
2017-12-04 19:20:48 +01:00 |
|
Enno Rehling
|
0a9705809b
|
fix some bugs created during conversions (thanks, tests!)
|
2017-09-22 17:19:55 +02:00 |
|
Enno Rehling
|
3aed0b1ee5
|
fix gcc compilation
|
2017-09-22 16:39:46 +02:00 |
|
Enno Rehling
|
902e2126c9
|
WIP: change the resolve.h API
|
2017-09-21 17:29:01 +02:00 |
|
Enno Rehling
|
89e162c12a
|
change resolve.h api to use int, not variant.
|
2017-09-19 11:42:02 +02:00 |
|
Enno Rehling
|
423fe65377
|
move region display to land_region struct, oceans do not have descriptions.
|
2017-09-16 07:58:57 +02:00 |
|
Enno Rehling
|
1ac64650b0
|
BUG 2360: upper limits for trees.
https://bugs.eressea.de/view.php?id=2360
|
2017-08-27 20:10:27 +02:00 |
|
Enno Rehling
|
abb7c9fb17
|
Merge branch 'kill-rcspell' into feature/refactor-rcspell
Conflicts:
src/kernel/config.h
src/main.c
src/report.c
src/reports.c
src/reports.test.c
src/spells.c
|
2017-05-21 21:33:29 +02:00 |
|
Enno Rehling
|
c7f8b16c07
|
remove unused r->land->items list.
|
2017-05-09 18:49:10 +02:00 |
|
Enno Rehling
|
1112890293
|
use building_taxes everywhere.
make it return an integer, not double.
|
2017-04-28 20:10:20 +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
|
c1f468ceb0
|
begin to declutter config.c
|
2016-11-15 20:43:36 +01:00 |
|
Enno Rehling
|
29d072a186
|
remove the old ORCIFICATION code.
|
2016-11-13 17:13:59 +01:00 |
|
Enno Rehling
|
e5dc754c25
|
fix demand in broken regions, after load.
|
2016-10-24 13:54:53 +02:00 |
|
Enno Rehling
|
15702daf99
|
Add a new attribute and RF_OBSERVER flag.
|
2016-09-25 13:01:51 +02:00 |
|
Enno Rehling
|
e97ebb0469
|
RF_SAVEMASK needs to include RF_LIGHTHOUSE or the new report prep doesn't work.
|
2016-09-17 19:52:13 +02:00 |
|
Enno Rehling
|
d449ce4a8c
|
re-enable report writing, fix report.c to work without seen_region
|
2016-09-16 18:03:28 +02:00 |
|
Enno Rehling
|
a67950433d
|
WIP: prepare_seen vs lastregion/firstregion.
lighthouses and travelthru are handled by both, should only be in prepare_seen?
|
2016-09-12 22:03:16 +02:00 |
|
Enno Rehling
|
a3ff8781c4
|
setting herbs will warn if they are the wrong herbs.
planes can be erased.
add a script that erases unused planes from E2.
|
2016-08-18 19:04:48 +02:00 |
|
Enno Rehling
|
4dc9b737de
|
mark missing test files in CMakeLists.txt
kill some dead code prototypes
|
2016-04-09 18:19:30 +02:00 |
|
Enno Rehling
|
d48d9a25e0
|
forward-declare struct gamedata
|
2016-02-24 11:54:23 +01:00 |
|
Enno Rehling
|
8a9d617aa3
|
read_referernce takes a gamedata object.
with all the trimmings that requires,
this is for github issue $479
|
2016-02-24 11:53:22 +01:00 |
|
Enno Rehling
|
370338736c
|
gcc is picky, fix gcc warnings
|
2016-02-22 20:47:06 +01:00 |
|
Enno Rehling
|
3fafb04b57
|
fix ahort to int converaion problems, fox PR
|
2015-12-11 18:03:55 +01:00 |
|
Steffen Mecke
|
1f4c521ac8
|
encapsulate r->land->peasants, money, horses, herbs, morale
|
2015-12-08 17:57:23 +01:00 |
|
Enno Rehling
|
3e048e2a84
|
Merge branch 'bug_2139' of https://github.com/stm2/server into stm2-bug_2139
Conflicts:
scripts/tests/e3/castles.lua
scripts/tests/e3/rules.lua
|
2015-12-03 11:06:55 +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 |
|
Steffen Mecke
|
e2b56cd04a
|
fix morale change when region owner changes
http://bugs.eressea.de/view.php?id=2139
|
2015-11-12 16:09:26 +01:00 |
|
Enno Rehling
|
976b6aaea1
|
coverity CID 22593: write to pointer after free
github issue #324
use free_land where we need it.
|
2015-10-29 11:17:31 +01:00 |
|
Enno Rehling
|
337aca9b3c
|
remove region.donations, replace with a global list.
|
2015-09-09 16:47:09 +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
|
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
|
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
|
2da1d11277
|
move chaos to a separate module (it is an old E2 feature)
|
2014-12-13 11:44:14 +01: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 |
|