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 |
|
Enno Rehling
|
ecaeba3058
|
add a test for the vortex special direction before touching that code.
|
2014-08-27 20:10:17 +02:00 |
|
Enno Rehling
|
4c00777553
|
make race::_name a string, not an array of strings. add a test for rc_name.
|
2014-08-24 23:58:29 +02:00 |
|
Enno Rehling
|
d743d32215
|
bind "blocked" flag for Lua (bug 1922).
remove unused region-flags.
|
2014-07-05 10:46:43 -07:00 |
|
Enno Rehling
|
a9f0538d8e
|
keyword_t and direction_t are moving into their own module.
direction parser gets new initialization function, for use in jsonconf later.
add unit tests for directions.
|
2014-06-15 18:34:39 -07:00 |
|
Enno Rehling
|
c2329f7f2b
|
changing unsigned flags to regular ints
the storage library does not understand unsigned at the moment, and using the highest order bit causes trouble
new version of datafile
|
2014-05-10 18:57:04 +02:00 |
|
Enno Rehling
|
e9b9c9783a
|
export factions, too
give this a header and some flags so we can choose in detail what to
export.
|
2014-03-07 08:03:53 -08:00 |
|
Enno Rehling
|
03c247c788
|
I am killing the core/ directory.
Lots of files are moving to a new location in src/
Some intersting CMake changes.
|
2014-02-18 05:45:00 +01:00 |
|