Enno Rehling
095148ab50
move va_copy macro closer to where it is used.
2017-12-29 17:00:16 +01:00
Enno Rehling
50173d5be3
PATH_MAX and MAX_PATH are crazy.
2017-12-29 11:44:14 +01:00
Enno Rehling
f98eab56c4
platform.h is only for WIN32 now.
...
replace MIN and MAX macros, they are BAD.
2017-12-29 06:13:28 +01:00
Enno Rehling
5b1d27542a
reduce dependence on platform.h.
...
gradually stop using MAX and MIN (mistakes were made).
2017-12-28 18:29:40 +01:00
Enno Rehling
b297b4d43c
eliminate some more strlcat calls.
2017-12-11 18:35:30 +01:00
Enno Rehling
2ca236e68c
Add lua tests for ROUTE.
2017-12-10 20:54:02 +01:00
Enno Rehling
4e12ff536a
The MUSEUM_MODULE define is unnecessary.
2017-12-09 21:06:44 +01:00
Enno Rehling
17ee0e50b6
cppcheck warnings and scope reductions.
2017-12-08 21:08:11 +01:00
Enno Rehling
1b9a686101
fix berkeley size/ulen error
...
remove weather module (unused)
2017-12-08 20:18:01 +01:00
Enno Rehling
923f01190c
sscanf format was too big
2017-11-20 07:52:56 +01:00
Enno Rehling
fdd28835b5
Shifting signed 32-bit value by 31 bits is undefined behaviour
2017-11-20 07:51:31 +01:00
Steffen Mecke
0aa5a64c63
allow empty faction email
2017-11-15 12:12:42 +01:00
Enno Rehling
b676bb0968
remove unused newfaction.bonus
...
thanks to @stm2. This feature is long dead.
2017-10-07 18:43:04 +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
bbeac66250
fix dupe detection
2017-08-09 19:18:45 +02:00
Enno Rehling
1aa142d821
log warnings for duplicate new emails.
2017-08-09 19:04:49 +02:00
Enno Rehling
e59ae05729
Merge branch 'master' of github.com:eressea/server
2017-08-07 18:37:33 +02:00
Enno Rehling
847e6f3e43
limit island size from configuration, deal with existing units.
2017-07-27 16:36:45 +02:00
Enno Rehling
822292c99a
do not seed factions when creating islands with 'B'.
2017-07-27 16:16:54 +02:00
Enno Rehling
3151fe9f9b
ignore comments in newfactions
2017-07-23 09:27:28 +02:00
Enno Rehling
17145eaf10
make region:set_resource do the right thing
...
also for adamantium
2017-03-22 20:37:09 +01:00
Enno Rehling
d633c2a9fb
BUG 2310: counting units and people.
...
reduce number of count_all loops made,
make f->num_units and f->num_people be correct.
2017-03-11 19:36:26 +01:00
Enno Rehling
49d8a03eca
remote the item_type.use funpointer.
2017-02-27 20:41:05 +01:00
Enno Rehling
1b93c14806
Test E2 items in E2 only.
...
Remove eye of demon (broken item).
2017-02-27 18:50:48 +01:00
Enno Rehling
1a0992e37b
remove remainders of the arena.
...
Auge des Drachens haben noch einige Spieler, darf nicht gelöscht werden.
move item tests to tests/items.lua
2017-02-27 18:21:41 +01:00
Enno Rehling
d94cde67a4
kill autoconf.h, replace platform.h for C99 compatibility work
2017-01-26 18:03:48 +01:00
Enno Rehling
a4badc0a75
remove quicklist shim, use selist everywhere
2017-01-26 17:41:21 +01:00
Enno Rehling
e52cf75c59
remove autoconf.h from platform.h, fix lots of includes
2016-11-25 20:15:11 +01:00
Enno Rehling
ea6cd2ca32
remove unguard trigger.
...
it is unused by the code
2016-11-23 17:55:44 +01:00
Enno Rehling
303eb86399
factionid and curseid are also boring.
2016-11-17 21:29:15 +01:00
Enno Rehling
413f70d1a1
move market function out of config.c
2016-11-16 22:30:59 +01:00
Enno Rehling
2b07ae810c
kil xmlreport files.
...
remove unnecessary includes.
2016-11-14 01:27:59 +01:00
Enno Rehling
d28d3f4690
move read/write_items to item.c.
...
fix bad memset in attrib.test.c.
2016-11-14 01:00:48 +01:00
Enno Rehling
11b122048b
reduce dependency on save.h
...
moving a_write* functions to attrib.h, which was most of the reason everyone and their mom include save.h
2016-11-13 19:40:38 +01:00
Enno Rehling
3533291711
remove at_hurting, it was only used by the Temple of Pain, which is no longer in the game.
2016-11-13 18:33:47 +01:00
Enno Rehling
76734c7929
remove ARENA_CREATION code, it wasn't active.
2016-11-13 18:27:58 +01:00
Enno Rehling
28aa2a56b8
Entferne unbenutztes "Szepter der Tränen".
...
Was für eine saublöde Idee.
2016-11-13 17:49:16 +01:00
Enno Rehling
e5dc754c25
fix demand in broken regions, after load.
2016-10-24 13:54:53 +02:00
Enno Rehling
5ccb2c3dc8
remove recruitcost from non-player races.
...
make score not call old_race.
fix orcs don't get scored.
https://bugs.eressea.de/view.php?id=2241
delete some unused race-enums.
delete centaurs.
2016-09-22 18:28:37 +02:00
Enno Rehling
546ffe87b8
change ship_allowed constants just a little bit
2016-06-10 18:00:22 +02:00
Enno Rehling
6148273d97
http://bugs.eressea.de/view.php?id=2210
...
fix deprecated attributes (at_key) yet again.
2016-05-28 20:26:59 +02: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
2d30d4cce6
trigger_type.read gets a gamedata object
...
github issue #479
2016-02-24 11:46:54 +01:00
Enno Rehling
7f6ced99b9
attrib.read gets a gamedata object (remove dependency on global.data_version)
2016-02-24 11:44:18 +01:00
Enno Rehling
01e864273a
crash with an assert if Lua code has syntax errors.
...
this addresses issue #474
also, correct capitalization of Lua.
2016-02-09 21:34:24 +01:00
Enno Rehling
8a3bb35987
eliminate global log_flags, revert the mode arguments for fopen.
...
turns out that text is default, and windows hates it if I open a binary file without 'b'
standardize on using join_path to create filenames
(use backslash on windows, even though fopen doesn't seem to care).
2016-02-05 23:10:05 +01:00
Enno Rehling
5187788f3c
pass the parent of an attribute into a_age and attrib_type::age
2015-12-16 22:18:44 +01:00
Steffen Mecke
1f4c521ac8
encapsulate r->land->peasants, money, horses, herbs, morale
2015-12-08 17:57:23 +01:00
Enno Rehling
1949e8710d
CID 22536: Resource leak (RESOURCE_LEAK)
...
github issue #388
2015-11-11 15:51:48 +01:00