forked from github/server
fixed the unity build (somewhat)
renamed config.h -> platform.h forced to change a lot of includes
This commit is contained in:
parent
d046250db8
commit
ee8183f585
|
@ -9,7 +9,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/types.h>
|
#include <kernel/types.h>
|
||||||
#include "alliance.h"
|
#include "alliance.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "attributes.h"
|
#include "attributes.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include "fleechance.h"
|
#include "fleechance.h"
|
||||||
|
|
||||||
#include <util/attrib.h>
|
#include <util/attrib.h>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include "follow.h"
|
#include "follow.h"
|
||||||
|
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include "giveitem.h"
|
#include "giveitem.h"
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "gm.h"
|
#include "gm.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "hate.h"
|
#include "hate.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "iceberg.h"
|
#include "iceberg.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "key.h"
|
#include "key.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include "matmod.h"
|
#include "matmod.h"
|
||||||
|
|
||||||
#include <util/attrib.h>
|
#include <util/attrib.h>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "moved.h"
|
#include "moved.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "movement.h"
|
#include "movement.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "object.h"
|
#include "object.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "option.h"
|
#include "option.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "orcification.h"
|
#include "orcification.h"
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "otherfaction.h"
|
#include "otherfaction.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "overrideroads.h"
|
#include "overrideroads.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "racename.h"
|
#include "racename.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "raceprefix.h"
|
#include "raceprefix.h"
|
||||||
#include <kernel/save.h>
|
#include <kernel/save.h>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "reduceproduction.h"
|
#include "reduceproduction.h"
|
||||||
#include <kernel/save.h>
|
#include <kernel/save.h>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include "targetregion.h"
|
#include "targetregion.h"
|
||||||
|
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "variable.h"
|
#include "variable.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include "viewrange.h"
|
#include "viewrange.h"
|
||||||
|
|
||||||
/* util includes */
|
/* util includes */
|
||||||
|
|
|
@ -10,7 +10,7 @@ This program may not be used, modified or distributed
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include "bind_attrib.h"
|
#include "bind_attrib.h"
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ This program may not be used, modified or distributed
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include "bind_building.h"
|
#include "bind_building.h"
|
||||||
#include "bind_unit.h"
|
#include "bind_unit.h"
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ This program may not be used, modified or distributed
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include "bind_faction.h"
|
#include "bind_faction.h"
|
||||||
#include "bind_unit.h"
|
#include "bind_unit.h"
|
||||||
#include "bindings.h"
|
#include "bindings.h"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <curses.h>
|
#include <curses.h>
|
||||||
|
|
||||||
#include "bind_gmtool.h"
|
#include "bind_gmtool.h"
|
||||||
#include "../gmtool.h"
|
#include "../gmtool.h"
|
||||||
#include "../gmtool_structs.h"
|
#include "../gmtool_structs.h"
|
||||||
#include "../editing.h"
|
#include <editing.h>
|
||||||
|
|
||||||
#include <kernel/region.h>
|
#include <kernel/region.h>
|
||||||
#include <kernel/terrain.h>
|
#include <kernel/terrain.h>
|
||||||
|
|
|
@ -10,7 +10,7 @@ This program may not be used, modified or distributed
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include "bind_hashtable.h"
|
#include "bind_hashtable.h"
|
||||||
|
|
||||||
#include <kernel/building.h>
|
#include <kernel/building.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
|
|
||||||
// kernel includes
|
// kernel includes
|
||||||
|
|
|
@ -10,7 +10,7 @@ This program may not be used, modified or distributed
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include "bind_region.h"
|
#include "bind_region.h"
|
||||||
#include "bind_unit.h"
|
#include "bind_unit.h"
|
||||||
#include "bind_ship.h"
|
#include "bind_ship.h"
|
||||||
|
|
|
@ -10,7 +10,7 @@ This program may not be used, modified or distributed
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include "bind_ship.h"
|
#include "bind_ship.h"
|
||||||
#include "bind_unit.h"
|
#include "bind_unit.h"
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ This program may not be used, modified or distributed
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
|
|
||||||
#include "bind_unit.h"
|
#include "bind_unit.h"
|
||||||
#include "bindings.h"
|
#include "bindings.h"
|
||||||
|
|
|
@ -10,7 +10,7 @@ This program may not be used, modified or distributed
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/types.h>
|
#include <kernel/types.h>
|
||||||
#include "bind_storage.h"
|
#include "bind_storage.h"
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ This program may not be used, modified or distributed
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
|
|
||||||
#include "bind_unit.h"
|
#include "bind_unit.h"
|
||||||
#include "bind_attrib.h"
|
#include "bind_attrib.h"
|
||||||
|
|
|
@ -10,7 +10,7 @@ This program may not be used, modified or distributed
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include "bindings.h"
|
#include "bindings.h"
|
||||||
#include "bind_unit.h"
|
#include "bind_unit.h"
|
||||||
#include "bind_faction.h"
|
#include "bind_faction.h"
|
||||||
|
@ -52,6 +52,7 @@ without prior permission by the authors of Eressea.
|
||||||
|
|
||||||
#include <util/attrib.h>
|
#include <util/attrib.h>
|
||||||
#include <util/base36.h>
|
#include <util/base36.h>
|
||||||
|
#include <util/eventbus.h>
|
||||||
#include <util/language.h>
|
#include <util/language.h>
|
||||||
#include <util/lists.h>
|
#include <util/lists.h>
|
||||||
#include <util/log.h>
|
#include <util/log.h>
|
||||||
|
@ -1005,11 +1006,13 @@ static void args_free(void * udata)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void event_cb(void * sender, const char * event, void * udata) {
|
static void event_cb(void * sender, const char * event, void * udata) {
|
||||||
|
lua_State * L = (lua_State *)global.vm_state;
|
||||||
event_args * args = (event_args *)udata;
|
event_args * args = (event_args *)udata;
|
||||||
int nargs = 2;
|
int nargs = 2;
|
||||||
|
|
||||||
lua_rawgeti(L, LUA_REGISTRYINDEX, args->hfunction);
|
lua_rawgeti(L, LUA_REGISTRYINDEX, args->hfunction);
|
||||||
if (sender && args->sendertype) {
|
if (sender && args->sendertype) {
|
||||||
tolua_pushusertype(L, sender, args->sendertype);
|
tolua_pushusertype(L, sender, TOLUA_CAST args->sendertype);
|
||||||
} else {
|
} else {
|
||||||
lua_pushnil(L);
|
lua_pushnil(L);
|
||||||
}
|
}
|
||||||
|
@ -1052,7 +1055,8 @@ tolua_eventbus_fire(lua_State * L)
|
||||||
{
|
{
|
||||||
void * sender = tolua_tousertype(L, 1, 0);
|
void * sender = tolua_tousertype(L, 1, 0);
|
||||||
const char * event = tolua_tostring(L, 2, 0);
|
const char * event = tolua_tostring(L, 2, 0);
|
||||||
eventbus_fire(sender, event, args);
|
/* eventbus_fire(sender, event, args); */
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -11,7 +11,7 @@ without prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "helpers.h"
|
#include "helpers.h"
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
|
|
||||||
#include <util/functions.h>
|
#include <util/functions.h>
|
||||||
#include <util/log.h>
|
#include <util/log.h>
|
||||||
|
|
|
@ -32,7 +32,7 @@ SERVER_SOURCES =
|
||||||
kernel.c
|
kernel.c
|
||||||
stdafx.c
|
stdafx.c
|
||||||
util.c
|
util.c
|
||||||
main.c
|
external.c
|
||||||
;
|
;
|
||||||
|
|
||||||
CCFLAGS += -DSQLITE_THREADSAFE=0 ;
|
CCFLAGS += -DSQLITE_THREADSAFE=0 ;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#include "common/settings.h"
|
#include "common/settings.h"
|
||||||
#include "common/config.h"
|
#include <platform.h>
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
|
|
||||||
#include "eressea/curses/listbox.c"
|
#include <util/listbox.c>
|
||||||
#include "eressea/gmtool.c"
|
#include <gmtool.c>
|
||||||
|
#include <editing.c>
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
#include "common/settings.h"
|
#include "common/settings.h"
|
||||||
#include "common/config.h"
|
#include <platform.h>
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
|
|
||||||
#include <eressea/server.c>
|
|
||||||
#include <external/sqlite3.c>
|
#include <external/sqlite3.c>
|
||||||
#include <external/md5.c>
|
#include <external/md5.c>
|
||||||
#include <external/bson/bson.c>
|
#include <external/bson/bson.c>
|
|
@ -1,100 +1,97 @@
|
||||||
#include "common/settings.h"
|
#include <settings.h>
|
||||||
#include "common/config.h"
|
#include <platform.h>
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
|
|
||||||
#ifdef BINDINGS_TOLUA
|
#ifdef BINDINGS_TOLUA
|
||||||
#include "eressea/tolua/bindings.c"
|
#include <bindings/bindings.c>
|
||||||
#include "eressea/tolua/bind_attrib.c"
|
#include <bindings/bind_attrib.c>
|
||||||
#include "eressea/tolua/bind_sqlite.c"
|
#include <bindings/bind_sqlite.c>
|
||||||
#include "eressea/tolua/bind_unit.c"
|
#include <bindings/bind_unit.c>
|
||||||
#include "eressea/tolua/bind_ship.c"
|
#include <bindings/bind_ship.c>
|
||||||
#include "eressea/tolua/bind_building.c"
|
#include <bindings/bind_building.c>
|
||||||
#include "eressea/tolua/bind_region.c"
|
#include <bindings/bind_region.c>
|
||||||
#include "eressea/tolua/bind_faction.c"
|
#include <bindings/bind_faction.c>
|
||||||
#include "eressea/tolua/bind_message.c"
|
#include <bindings/bind_message.c>
|
||||||
#include "eressea/tolua/bind_hashtable.c"
|
#include <bindings/bind_hashtable.c>
|
||||||
#include "eressea/tolua/bind_gmtool.c"
|
#include <bindings/bind_gmtool.c>
|
||||||
#include "eressea/tolua/bind_storage.c"
|
#include <bindings/bind_storage.c>
|
||||||
#include "eressea/tolua/helpers.c"
|
#include <bindings/helpers.c>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "eressea/console.c"
|
#include <gamecode/archetype.c>
|
||||||
#include "eressea/editing.c"
|
#include <gamecode/creation.c>
|
||||||
|
#include <gamecode/creport.c>
|
||||||
|
#include <gamecode/economy.c>
|
||||||
|
#include <gamecode/give.c>
|
||||||
|
#include <gamecode/items.c>
|
||||||
|
#include <gamecode/laws.c>
|
||||||
|
#include <gamecode/luck.c>
|
||||||
|
#include <gamecode/market.c>
|
||||||
|
#include <gamecode/monster.c>
|
||||||
|
#include <gamecode/randenc.c>
|
||||||
|
#include <gamecode/report.c>
|
||||||
|
#include <gamecode/spells.c>
|
||||||
|
#include <gamecode/spy.c>
|
||||||
|
#include <gamecode/study.c>
|
||||||
|
#include <gamecode/summary.c>
|
||||||
|
#include <gamecode/xmlreport.c>
|
||||||
|
|
||||||
#include "common/gamecode/archetype.c"
|
#include <races/dragons.c>
|
||||||
#include "common/gamecode/creation.c"
|
#include <races/illusion.c>
|
||||||
#include "common/gamecode/creport.c"
|
#include <races/races.c>
|
||||||
#include "common/gamecode/economy.c"
|
#include <races/zombies.c>
|
||||||
#include "common/gamecode/give.c"
|
|
||||||
#include "common/gamecode/items.c"
|
|
||||||
#include "common/gamecode/laws.c"
|
|
||||||
#include "common/gamecode/luck.c"
|
|
||||||
#include "common/gamecode/market.c"
|
|
||||||
#include "common/gamecode/monster.c"
|
|
||||||
#include "common/gamecode/randenc.c"
|
|
||||||
#include "common/gamecode/report.c"
|
|
||||||
#include "common/gamecode/spells.c"
|
|
||||||
#include "common/gamecode/spy.c"
|
|
||||||
#include "common/gamecode/study.c"
|
|
||||||
#include "common/gamecode/summary.c"
|
|
||||||
#include "common/gamecode/xmlreport.c"
|
|
||||||
|
|
||||||
#include "common/races/dragons.c"
|
#include <attributes/alliance.c>
|
||||||
#include "common/races/illusion.c"
|
#include <attributes/attributes.c>
|
||||||
#include "common/races/races.c"
|
#include <attributes/fleechance.c>
|
||||||
#include "common/races/zombies.c"
|
#include <attributes/follow.c>
|
||||||
|
#include <attributes/giveitem.c>
|
||||||
|
#include <attributes/gm.c>
|
||||||
|
#include <attributes/hate.c>
|
||||||
|
#include <attributes/iceberg.c>
|
||||||
|
#include <attributes/key.c>
|
||||||
|
#include <attributes/matmod.c>
|
||||||
|
#include <attributes/movement.c>
|
||||||
|
#include <attributes/moved.c>
|
||||||
|
#include <attributes/object.c>
|
||||||
|
#include <attributes/option.c>
|
||||||
|
#include <attributes/orcification.c>
|
||||||
|
#include <attributes/otherfaction.c>
|
||||||
|
#include <attributes/overrideroads.c>
|
||||||
|
#include <attributes/racename.c>
|
||||||
|
#include <attributes/raceprefix.c>
|
||||||
|
#include <attributes/reduceproduction.c>
|
||||||
|
#include <attributes/targetregion.c>
|
||||||
|
#include <attributes/viewrange.c>
|
||||||
|
#include <attributes/variable.c>
|
||||||
|
|
||||||
#include "common/attributes/alliance.c"
|
#include <items/artrewards.c>
|
||||||
#include "common/attributes/attributes.c"
|
#include <items/demonseye.c>
|
||||||
#include "common/attributes/fleechance.c"
|
#include <items/itemtypes.c>
|
||||||
#include "common/attributes/follow.c"
|
#include <items/phoenixcompass.c>
|
||||||
#include "common/attributes/giveitem.c"
|
#include <items/seed.c>
|
||||||
#include "common/attributes/gm.c"
|
#include <items/weapons.c>
|
||||||
#include "common/attributes/hate.c"
|
#include <items/xerewards.c>
|
||||||
#include "common/attributes/iceberg.c"
|
|
||||||
#include "common/attributes/key.c"
|
|
||||||
#include "common/attributes/matmod.c"
|
|
||||||
#include "common/attributes/movement.c"
|
|
||||||
#include "common/attributes/moved.c"
|
|
||||||
#include "common/attributes/object.c"
|
|
||||||
#include "common/attributes/option.c"
|
|
||||||
#include "common/attributes/orcification.c"
|
|
||||||
#include "common/attributes/otherfaction.c"
|
|
||||||
#include "common/attributes/overrideroads.c"
|
|
||||||
#include "common/attributes/racename.c"
|
|
||||||
#include "common/attributes/raceprefix.c"
|
|
||||||
#include "common/attributes/reduceproduction.c"
|
|
||||||
#include "common/attributes/targetregion.c"
|
|
||||||
#include "common/attributes/viewrange.c"
|
|
||||||
#include "common/attributes/variable.c"
|
|
||||||
|
|
||||||
#include "common/items/artrewards.c"
|
#include <spells/alp.c>
|
||||||
#include "common/items/demonseye.c"
|
#include <spells/buildingcurse.c>
|
||||||
#include "common/items/itemtypes.c"
|
#include <spells/combatspells.c>
|
||||||
#include "common/items/phoenixcompass.c"
|
#include <spells/regioncurse.c>
|
||||||
#include "common/items/seed.c"
|
#include <spells/shipcurse.c>
|
||||||
#include "common/items/weapons.c"
|
#include <spells/spells.c>
|
||||||
#include "common/items/xerewards.c"
|
#include <spells/unitcurse.c>
|
||||||
|
|
||||||
#include "common/spells/alp.c"
|
#include <triggers/changefaction.c>
|
||||||
#include "common/spells/buildingcurse.c"
|
#include <triggers/changerace.c>
|
||||||
#include "common/spells/combatspells.c"
|
#include <triggers/clonedied.c>
|
||||||
#include "common/spells/regioncurse.c"
|
#include <triggers/createcurse.c>
|
||||||
#include "common/spells/shipcurse.c"
|
#include <triggers/createunit.c>
|
||||||
#include "common/spells/spells.c"
|
#include <triggers/gate.c>
|
||||||
#include "common/spells/unitcurse.c"
|
#include <triggers/giveitem.c>
|
||||||
|
#include <triggers/killunit.c>
|
||||||
#include "common/triggers/changefaction.c"
|
#include <triggers/removecurse.c>
|
||||||
#include "common/triggers/changerace.c"
|
#include <triggers/shock.c>
|
||||||
#include "common/triggers/clonedied.c"
|
#include <triggers/timeout.c>
|
||||||
#include "common/triggers/createcurse.c"
|
#include <triggers/triggers.c>
|
||||||
#include "common/triggers/createunit.c"
|
#include <triggers/unguard.c>
|
||||||
#include "common/triggers/gate.c"
|
#include <triggers/unitmessage.c>
|
||||||
#include "common/triggers/giveitem.c"
|
|
||||||
#include "common/triggers/killunit.c"
|
|
||||||
#include "common/triggers/removecurse.c"
|
|
||||||
#include "common/triggers/shock.c"
|
|
||||||
#include "common/triggers/timeout.c"
|
|
||||||
#include "common/triggers/triggers.c"
|
|
||||||
#include "common/triggers/unguard.c"
|
|
||||||
#include "common/triggers/unitmessage.c"
|
|
||||||
|
|
|
@ -1,55 +1,55 @@
|
||||||
#include "common/settings.h"
|
#include <settings.h>
|
||||||
#include "common/config.h"
|
#include <platform.h>
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
|
|
||||||
#include "common/kernel/alchemy.c"
|
#include <kernel/alchemy.c>
|
||||||
#include "common/kernel/alliance.c"
|
#include <kernel/alliance.c>
|
||||||
#include "common/kernel/battle.c"
|
#include <kernel/battle.c>
|
||||||
#include "common/kernel/binarystore.c"
|
#include <kernel/binarystore.c>
|
||||||
#include "common/kernel/connection.c"
|
#include <kernel/connection.c>
|
||||||
#include "common/kernel/build.c"
|
#include <kernel/build.c>
|
||||||
#include "common/kernel/building.c"
|
#include <kernel/building.c>
|
||||||
#include "common/kernel/calendar.c"
|
#include <kernel/calendar.c>
|
||||||
#include "common/kernel/command.c"
|
#include <kernel/command.c>
|
||||||
#include "common/kernel/curse.c"
|
#include <kernel/curse.c>
|
||||||
#include "common/kernel/equipment.c"
|
#include <kernel/equipment.c>
|
||||||
#include "common/kernel/eressea.c"
|
#include <kernel/eressea.c>
|
||||||
#include "common/kernel/faction.c"
|
#include <kernel/faction.c>
|
||||||
#include "common/kernel/group.c"
|
#include <kernel/group.c>
|
||||||
#include "common/kernel/item.c"
|
#include <kernel/item.c>
|
||||||
#include "common/kernel/karma.c"
|
#include <kernel/karma.c>
|
||||||
#include "common/kernel/magic.c"
|
#include <kernel/magic.c>
|
||||||
#include "common/kernel/message.c"
|
#include <kernel/message.c>
|
||||||
#include "common/kernel/move.c"
|
#include <kernel/move.c>
|
||||||
#include "common/kernel/names.c"
|
#include <kernel/names.c>
|
||||||
#include "common/kernel/order.c"
|
#include <kernel/order.c>
|
||||||
#include "common/kernel/pathfinder.c"
|
#include <kernel/pathfinder.c>
|
||||||
#include "common/kernel/plane.c"
|
#include <kernel/plane.c>
|
||||||
#include "common/kernel/player.c"
|
#include <kernel/player.c>
|
||||||
#include "common/kernel/pool.c"
|
#include <kernel/pool.c>
|
||||||
#include "common/kernel/race.c"
|
#include <kernel/race.c>
|
||||||
#include "common/kernel/region.c"
|
#include <kernel/region.c>
|
||||||
#include "common/kernel/reports.c"
|
#include <kernel/reports.c>
|
||||||
#include "common/kernel/resources.c"
|
#include <kernel/resources.c>
|
||||||
#include "common/kernel/save.c"
|
#include <kernel/save.c>
|
||||||
#include "common/kernel/ship.c"
|
#include <kernel/ship.c>
|
||||||
#include "common/kernel/skill.c"
|
#include <kernel/skill.c>
|
||||||
#include "common/kernel/spell.c"
|
#include <kernel/spell.c>
|
||||||
#include "common/kernel/teleport.c"
|
#include <kernel/teleport.c>
|
||||||
#include "common/kernel/terrain.c"
|
#include <kernel/terrain.c>
|
||||||
#include "common/kernel/textstore.c"
|
#include <kernel/textstore.c>
|
||||||
#include "common/kernel/unit.c"
|
#include <kernel/unit.c>
|
||||||
#include "common/kernel/xmlreader.c"
|
#include <kernel/xmlreader.c>
|
||||||
#include "common/kernel/sqlite.c"
|
#include <kernel/sqlite.c>
|
||||||
|
|
||||||
#include "common/modules/arena.c"
|
#include <modules/arena.c>
|
||||||
#include "common/modules/autoseed.c"
|
#include <modules/autoseed.c>
|
||||||
#include "common/modules/dungeon.c"
|
#include <modules/dungeon.c>
|
||||||
#include "common/modules/gmcmd.c"
|
#include <modules/gmcmd.c>
|
||||||
#include "common/modules/infocmd.c"
|
#include <modules/infocmd.c>
|
||||||
#include "common/modules/museum.c"
|
#include <modules/museum.c>
|
||||||
#include "common/modules/score.c"
|
#include <modules/score.c>
|
||||||
#include "common/modules/weather.c"
|
#include <modules/weather.c>
|
||||||
#include "common/modules/wormhole.c"
|
#include <modules/wormhole.c>
|
||||||
#include "common/modules/xecmd.c"
|
#include <modules/xecmd.c>
|
||||||
#include "common/modules/xmas.c"
|
#include <modules/xmas.c>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#include "common/settings.h"
|
#include "common/settings.h"
|
||||||
#include "common/config.h"
|
#include <platform.h>
|
||||||
|
|
|
@ -1,38 +1,40 @@
|
||||||
#include "common/settings.h"
|
#include <settings.h>
|
||||||
#include "common/config.h"
|
#include <platform.h>
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
|
|
||||||
#include "common/iniparser/iniparser.c"
|
#include <external/iniparser/iniparser.c>
|
||||||
#include "common/util/attrib.c"
|
#include <external/mt19937ar.c>
|
||||||
#include "common/util/argstack.c"
|
|
||||||
#include "common/util/base36.c"
|
#include <util/console.c>
|
||||||
#include "common/util/crmessage.c"
|
#include <util/attrib.c>
|
||||||
#include "common/util/cvector.c"
|
#include <util/argstack.c>
|
||||||
#include "common/util/dice.c"
|
#include <util/base36.c>
|
||||||
#include "common/util/event.c"
|
#include <util/crmessage.c>
|
||||||
#include "common/util/eventbus.c"
|
#include <util/cvector.c>
|
||||||
#include "common/util/filereader.c"
|
#include <util/dice.c>
|
||||||
#include "common/util/functions.c"
|
#include <util/event.c>
|
||||||
#include "common/util/goodies.c"
|
#include <util/eventbus.c>
|
||||||
#include "common/util/language.c"
|
#include <util/filereader.c>
|
||||||
#include "common/util/lists.c"
|
#include <util/functions.c>
|
||||||
#include "common/util/log.c"
|
#include <util/goodies.c>
|
||||||
#include "common/util/message.c"
|
#include <util/language.c>
|
||||||
#include "common/util/mt19937ar.c"
|
#include <util/lists.c>
|
||||||
#include "common/util/nrmessage.c"
|
#include <util/log.c>
|
||||||
#include "common/util/parser.c"
|
#include <util/message.c>
|
||||||
#include "common/util/rand.c"
|
#include <util/nrmessage.c>
|
||||||
#include "common/util/resolve.c"
|
#include <util/parser.c>
|
||||||
#include "common/util/sql.c"
|
#include <util/rand.c>
|
||||||
#include "common/util/translation.c"
|
#include <util/resolve.c>
|
||||||
#include "common/util/umlaut.c"
|
#include <util/sql.c>
|
||||||
#include "common/util/unicode.c"
|
#include <util/translation.c>
|
||||||
#include "common/util/xml.c"
|
#include <util/umlaut.c>
|
||||||
|
#include <util/unicode.c>
|
||||||
|
#include <util/xml.c>
|
||||||
|
|
||||||
#ifndef HAVE_INLINE
|
#ifndef HAVE_INLINE
|
||||||
#include "common/util/bsdstring.c"
|
#include <util/bsdstring.c>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#include "common/util/strncpy.c"
|
#include <util/strncpy.c>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "editing.h"
|
#include "editing.h"
|
||||||
|
|
||||||
|
|
|
@ -84,73 +84,6 @@
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
|
||||||
Name="Profile|Win32"
|
|
||||||
OutputDirectory="Profile/gamecode"
|
|
||||||
IntermediateDirectory="Profile/gamecode"
|
|
||||||
ConfigurationType="4"
|
|
||||||
CharacterSet="2"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCPreBuildEventTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCCustomBuildTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCXMLDataGeneratorTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCWebServiceProxyGeneratorTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCMIDLTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
Optimization="0"
|
|
||||||
AdditionalIncludeDirectories="..;."
|
|
||||||
PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_DEPRECATE;NDEBUG"
|
|
||||||
MinimalRebuild="true"
|
|
||||||
BasicRuntimeChecks="3"
|
|
||||||
RuntimeLibrary="3"
|
|
||||||
EnableFunctionLevelLinking="true"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
WarningLevel="4"
|
|
||||||
Detect64BitPortabilityProblems="true"
|
|
||||||
DebugInformationFormat="4"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCManagedResourceCompilerTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCResourceCompilerTool"
|
|
||||||
PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_DEPRECATE;NDEBUG"
|
|
||||||
AdditionalIncludeDirectories="..;."
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCPreLinkEventTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCLibrarianTool"
|
|
||||||
OutputFile="$(OutDir)/gamecode.lib"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCALinkTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCXDCMakeTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCBscMakeTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCFxCopTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCPostBuildEventTool"
|
|
||||||
/>
|
|
||||||
</Configuration>
|
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Release|Win32"
|
Name="Release|Win32"
|
||||||
OutputDirectory="Release/gamecode"
|
OutputDirectory="Release/gamecode"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "archetype.h"
|
#include "archetype.h"
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* permission from the authors.
|
* permission from the authors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "creation.h"
|
#include "creation.h"
|
||||||
#include "monster.h"
|
#include "monster.h"
|
||||||
|
|
|
@ -7,7 +7,7 @@ This program may not be used, modified or distributed
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "creport.h"
|
#include "creport.h"
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
#pragma region includes
|
#pragma region includes
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "economy.h"
|
#include "economy.h"
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "give.h"
|
#include "give.h"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "items.h"
|
#include "items.h"
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
#pragma region includes
|
#pragma region includes
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "laws.h"
|
#include "laws.h"
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* permission from the authors.
|
* permission from the authors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
|
|
||||||
#include "luck.h"
|
#include "luck.h"
|
||||||
|
|
|
@ -10,7 +10,7 @@ This program may not be used, modified or distributed
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "market.h"
|
#include "market.h"
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* permission from the authors.
|
* permission from the authors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "monster.h"
|
#include "monster.h"
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* permission from the authors.
|
* permission from the authors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "randenc.h"
|
#include "randenc.h"
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
#define ECHECK_VERSION "4.01"
|
#define ECHECK_VERSION "4.01"
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
|
|
||||||
/* modules includes */
|
/* modules includes */
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
* because it's so much work to get them out of the big array.
|
* because it's so much work to get them out of the big array.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "spy.h"
|
#include "spy.h"
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* permission from the authors.
|
* permission from the authors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "spy.h"
|
#include "spy.h"
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#define TEACH_ALL 1
|
#define TEACH_ALL 1
|
||||||
#define TEACH_FRIENDS
|
#define TEACH_FRIENDS
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "study.h"
|
#include "study.h"
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* wenn config.h nicht vor curses included wird, kompiliert es unter windows nicht */
|
/* wenn platform.h nicht vor curses included wird, kompiliert es unter windows nicht */
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
|
|
||||||
#include "summary.h"
|
#include "summary.h"
|
||||||
|
|
|
@ -7,7 +7,7 @@ This program may not be used, modified or distributed
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "xmlreport.h"
|
#include "xmlreport.h"
|
||||||
|
|
||||||
|
|
|
@ -8,16 +8,14 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* wenn config.h nicht vor curses included wird, kompiliert es unter windows nicht */
|
/* wenn platform.h nicht vor curses included wird, kompiliert es unter windows nicht */
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <curses.h>
|
#include <curses.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
|
|
||||||
#include "gmtool.h"
|
#include "gmtool.h"
|
||||||
#include "gmtool_structs.h"
|
#include "gmtool_structs.h"
|
||||||
#include "editing.h"
|
#include "editing.h"
|
||||||
#include "console.h"
|
|
||||||
#include "curses/listbox.h"
|
|
||||||
|
|
||||||
#include <modules/xmas.h>
|
#include <modules/xmas.h>
|
||||||
#include <modules/gmcmd.h>
|
#include <modules/gmcmd.h>
|
||||||
|
@ -59,6 +57,8 @@
|
||||||
#include <util/log.h>
|
#include <util/log.h>
|
||||||
#include <util/rng.h>
|
#include <util/rng.h>
|
||||||
#include <util/base36.h>
|
#include <util/base36.h>
|
||||||
|
#include <util/console.h>
|
||||||
|
#include <util/listbox.h>
|
||||||
#include <util/storage.h>
|
#include <util/storage.h>
|
||||||
|
|
||||||
#include <libxml/encoding.h>
|
#include <libxml/encoding.h>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "artrewards.h"
|
#include "artrewards.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "demonseye.h"
|
#include "demonseye.h"
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "itemtypes.h"
|
#include "itemtypes.h"
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "phoenixcompass.h"
|
#include "phoenixcompass.h"
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
|
|
||||||
#include "seed.h"
|
#include "seed.h"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "speedsail.h"
|
#include "speedsail.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "weapons.h"
|
#include "weapons.h"
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "xerewards.h"
|
#include "xerewards.h"
|
||||||
|
|
||||||
|
|
|
@ -84,73 +84,6 @@
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
|
||||||
Name="Profile|Win32"
|
|
||||||
OutputDirectory="Profile/kernel"
|
|
||||||
IntermediateDirectory="Profile/kernel"
|
|
||||||
ConfigurationType="4"
|
|
||||||
CharacterSet="2"
|
|
||||||
>
|
|
||||||
<Tool
|
|
||||||
Name="VCPreBuildEventTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCCustomBuildTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCXMLDataGeneratorTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCWebServiceProxyGeneratorTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCMIDLTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
|
||||||
Optimization="0"
|
|
||||||
AdditionalIncludeDirectories="..;."
|
|
||||||
PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_DEPRECATE;NDEBUG"
|
|
||||||
MinimalRebuild="true"
|
|
||||||
BasicRuntimeChecks="3"
|
|
||||||
RuntimeLibrary="3"
|
|
||||||
EnableFunctionLevelLinking="true"
|
|
||||||
UsePrecompiledHeader="0"
|
|
||||||
WarningLevel="4"
|
|
||||||
Detect64BitPortabilityProblems="true"
|
|
||||||
DebugInformationFormat="4"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCManagedResourceCompilerTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCResourceCompilerTool"
|
|
||||||
PreprocessorDefinitions="WIN32;_CRT_SECURE_NO_DEPRECATE;NDEBUG"
|
|
||||||
AdditionalIncludeDirectories="..;."
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCPreLinkEventTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCLibrarianTool"
|
|
||||||
OutputFile="$(OutDir)/kernel.lib"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCALinkTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCXDCMakeTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCBscMakeTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCFxCopTool"
|
|
||||||
/>
|
|
||||||
<Tool
|
|
||||||
Name="VCPostBuildEventTool"
|
|
||||||
/>
|
|
||||||
</Configuration>
|
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Release|Win32"
|
Name="Release|Win32"
|
||||||
OutputDirectory="Release/kernel"
|
OutputDirectory="Release/kernel"
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* permission from the authors.
|
* permission from the authors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "alchemy.h"
|
#include "alchemy.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ without prior permission by the authors of Eressea.
|
||||||
|
|
||||||
#pragma region includes
|
#pragma region includes
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "alliance.h"
|
#include "alliance.h"
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
#pragma region includes
|
#pragma region includes
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "battle.h"
|
#include "battle.h"
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
This program may not be used, modified or distributed
|
This program may not be used, modified or distributed
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include "eressea.h"
|
#include "eressea.h"
|
||||||
#include "textstore.h"
|
#include "textstore.h"
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* permission from the authors.
|
* permission from the authors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "build.h"
|
#include "build.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
|
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "building.h"
|
#include "building.h"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include "calendar.h"
|
#include "calendar.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "connection.h"
|
#include "connection.h"
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* permission from the authors.
|
* permission from the authors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "curse.h"
|
#include "curse.h"
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
* This program may not be sold or used commercially without prior written
|
* This program may not be sold or used commercially without prior written
|
||||||
* permission from the authors.
|
* permission from the authors.
|
||||||
*/
|
*/
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "equipment.h"
|
#include "equipment.h"
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* permission from the authors.
|
* permission from the authors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
|
|
||||||
/* attributes includes */
|
/* attributes includes */
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* this should always be the first thing included after config.h */
|
/* this should always be the first thing included after platform.h */
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
/* experimental gameplay features (that don't affect the savefile) */
|
/* experimental gameplay features (that don't affect the savefile) */
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "faction.h"
|
#include "faction.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "group.h"
|
#include "group.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
* prior permission by the authors of Eressea.
|
* prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "item.h"
|
#include "item.h"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* TODO: enum auf fst_ umstellen. Pointer auf Display-Routine */
|
/* TODO: enum auf fst_ umstellen. Pointer auf Display-Routine */
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
|
|
||||||
#include "karma.h"
|
#include "karma.h"
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* permission from the authors.
|
* permission from the authors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "magic.h"
|
#include "magic.h"
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* permission from the authors.
|
* permission from the authors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "message.h"
|
#include "message.h"
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* permission from the authors.
|
* permission from the authors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "move.h"
|
#include "move.h"
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* permission from the authors.
|
* permission from the authors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "names.h"
|
#include "names.h"
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "order.h"
|
#include "order.h"
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* permission from the authors.
|
* permission from the authors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "pathfinder.h"
|
#include "pathfinder.h"
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* permission from the authors.
|
* permission from the authors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "plane.h"
|
#include "plane.h"
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
without prior permission by the authors of Eressea.
|
without prior permission by the authors of Eressea.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include "player.h"
|
#include "player.h"
|
||||||
|
|
||||||
#include <util/goodies.h>
|
#include <util/goodies.h>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* permission from the authors.
|
* permission from the authors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "pool.h"
|
#include "pool.h"
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
* This program may not be sold or used commercially without prior written
|
* This program may not be sold or used commercially without prior written
|
||||||
* permission from the authors.
|
* permission from the authors.
|
||||||
*/
|
*/
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "race.h"
|
#include "race.h"
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* permission from the authors.
|
* permission from the authors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <platform.h>
|
||||||
#include <kernel/eressea.h>
|
#include <kernel/eressea.h>
|
||||||
#include "region.h"
|
#include "region.h"
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue