fixed the unity build (somewhat)

renamed config.h -> platform.h
forced to change a lot of includes
This commit is contained in:
Enno Rehling 2010-02-20 08:31:56 +00:00
parent d046250db8
commit ee8183f585
207 changed files with 628 additions and 4381 deletions

View File

@ -9,7 +9,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/types.h>
#include "alliance.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "attributes.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include "fleechance.h"
#include <util/attrib.h>

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include "follow.h"
#include <kernel/eressea.h>

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include "giveitem.h"
#include <kernel/eressea.h>

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "gm.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "hate.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "iceberg.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "key.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include "matmod.h"
#include <util/attrib.h>

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "moved.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "movement.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "object.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "option.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "orcification.h"

View File

@ -11,7 +11,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "otherfaction.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "overrideroads.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "racename.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "raceprefix.h"
#include <kernel/save.h>

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "reduceproduction.h"
#include <kernel/save.h>

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include "targetregion.h"
#include <kernel/eressea.h>

View File

@ -10,7 +10,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "variable.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include "viewrange.h"
/* util includes */

View File

@ -10,7 +10,7 @@ This program may not be used, modified or distributed
without prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include "bind_attrib.h"
#include <kernel/eressea.h>

View File

@ -10,7 +10,7 @@ This program may not be used, modified or distributed
without prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include "bind_building.h"
#include "bind_unit.h"

View File

@ -10,7 +10,7 @@ This program may not be used, modified or distributed
without prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include "bind_faction.h"
#include "bind_unit.h"
#include "bindings.h"

View File

@ -1,10 +1,10 @@
#include <config.h>
#include <platform.h>
#include <curses.h>
#include "bind_gmtool.h"
#include "../gmtool.h"
#include "../gmtool_structs.h"
#include "../editing.h"
#include <editing.h>
#include <kernel/region.h>
#include <kernel/terrain.h>

View File

@ -10,7 +10,7 @@ This program may not be used, modified or distributed
without prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include "bind_hashtable.h"
#include <kernel/building.h>

View File

@ -1,4 +1,4 @@
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
// kernel includes

View File

@ -10,7 +10,7 @@ This program may not be used, modified or distributed
without prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include "bind_region.h"
#include "bind_unit.h"
#include "bind_ship.h"

View File

@ -10,7 +10,7 @@ This program may not be used, modified or distributed
without prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include "bind_ship.h"
#include "bind_unit.h"

View File

@ -10,7 +10,7 @@ This program may not be used, modified or distributed
without prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include "bind_unit.h"
#include "bindings.h"

View File

@ -10,7 +10,7 @@ This program may not be used, modified or distributed
without prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/types.h>
#include "bind_storage.h"

View File

@ -10,7 +10,7 @@ This program may not be used, modified or distributed
without prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include "bind_unit.h"
#include "bind_attrib.h"

View File

@ -10,7 +10,7 @@ This program may not be used, modified or distributed
without prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include "bindings.h"
#include "bind_unit.h"
#include "bind_faction.h"
@ -52,6 +52,7 @@ without prior permission by the authors of Eressea.
#include <util/attrib.h>
#include <util/base36.h>
#include <util/eventbus.h>
#include <util/language.h>
#include <util/lists.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) {
lua_State * L = (lua_State *)global.vm_state;
event_args * args = (event_args *)udata;
int nargs = 2;
lua_rawgeti(L, LUA_REGISTRYINDEX, args->hfunction);
if (sender && args->sendertype) {
tolua_pushusertype(L, sender, args->sendertype);
tolua_pushusertype(L, sender, TOLUA_CAST args->sendertype);
} else {
lua_pushnil(L);
}
@ -1052,7 +1055,8 @@ tolua_eventbus_fire(lua_State * L)
{
void * sender = tolua_tousertype(L, 1, 0);
const char * event = tolua_tostring(L, 2, 0);
eventbus_fire(sender, event, args);
/* eventbus_fire(sender, event, args); */
return 0;
}
static void

View File

@ -11,7 +11,7 @@ without prior permission by the authors of Eressea.
*/
#include "helpers.h"
#include <config.h>
#include <platform.h>
#include <util/functions.h>
#include <util/log.h>

View File

@ -32,7 +32,7 @@ SERVER_SOURCES =
kernel.c
stdafx.c
util.c
main.c
external.c
;
CCFLAGS += -DSQLITE_THREADSAFE=0 ;

View File

@ -1,6 +1,7 @@
#include "common/settings.h"
#include "common/config.h"
#include <platform.h>
#include "stdafx.h"
#include "eressea/curses/listbox.c"
#include "eressea/gmtool.c"
#include <util/listbox.c>
#include <gmtool.c>
#include <editing.c>

View File

@ -1,8 +1,7 @@
#include "common/settings.h"
#include "common/config.h"
#include <platform.h>
#include "stdafx.h"
#include <eressea/server.c>
#include <external/sqlite3.c>
#include <external/md5.c>
#include <external/bson/bson.c>

View File

@ -1,100 +1,97 @@
#include "common/settings.h"
#include "common/config.h"
#include <settings.h>
#include <platform.h>
#include "stdafx.h"
#ifdef BINDINGS_TOLUA
#include "eressea/tolua/bindings.c"
#include "eressea/tolua/bind_attrib.c"
#include "eressea/tolua/bind_sqlite.c"
#include "eressea/tolua/bind_unit.c"
#include "eressea/tolua/bind_ship.c"
#include "eressea/tolua/bind_building.c"
#include "eressea/tolua/bind_region.c"
#include "eressea/tolua/bind_faction.c"
#include "eressea/tolua/bind_message.c"
#include "eressea/tolua/bind_hashtable.c"
#include "eressea/tolua/bind_gmtool.c"
#include "eressea/tolua/bind_storage.c"
#include "eressea/tolua/helpers.c"
#include <bindings/bindings.c>
#include <bindings/bind_attrib.c>
#include <bindings/bind_sqlite.c>
#include <bindings/bind_unit.c>
#include <bindings/bind_ship.c>
#include <bindings/bind_building.c>
#include <bindings/bind_region.c>
#include <bindings/bind_faction.c>
#include <bindings/bind_message.c>
#include <bindings/bind_hashtable.c>
#include <bindings/bind_gmtool.c>
#include <bindings/bind_storage.c>
#include <bindings/helpers.c>
#endif
#include "eressea/console.c"
#include "eressea/editing.c"
#include <gamecode/archetype.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 "common/gamecode/creation.c"
#include "common/gamecode/creport.c"
#include "common/gamecode/economy.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 <races/dragons.c>
#include <races/illusion.c>
#include <races/races.c>
#include <races/zombies.c>
#include "common/races/dragons.c"
#include "common/races/illusion.c"
#include "common/races/races.c"
#include "common/races/zombies.c"
#include <attributes/alliance.c>
#include <attributes/attributes.c>
#include <attributes/fleechance.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 "common/attributes/attributes.c"
#include "common/attributes/fleechance.c"
#include "common/attributes/follow.c"
#include "common/attributes/giveitem.c"
#include "common/attributes/gm.c"
#include "common/attributes/hate.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 <items/artrewards.c>
#include <items/demonseye.c>
#include <items/itemtypes.c>
#include <items/phoenixcompass.c>
#include <items/seed.c>
#include <items/weapons.c>
#include <items/xerewards.c>
#include "common/items/artrewards.c"
#include "common/items/demonseye.c"
#include "common/items/itemtypes.c"
#include "common/items/phoenixcompass.c"
#include "common/items/seed.c"
#include "common/items/weapons.c"
#include "common/items/xerewards.c"
#include <spells/alp.c>
#include <spells/buildingcurse.c>
#include <spells/combatspells.c>
#include <spells/regioncurse.c>
#include <spells/shipcurse.c>
#include <spells/spells.c>
#include <spells/unitcurse.c>
#include "common/spells/alp.c"
#include "common/spells/buildingcurse.c"
#include "common/spells/combatspells.c"
#include "common/spells/regioncurse.c"
#include "common/spells/shipcurse.c"
#include "common/spells/spells.c"
#include "common/spells/unitcurse.c"
#include "common/triggers/changefaction.c"
#include "common/triggers/changerace.c"
#include "common/triggers/clonedied.c"
#include "common/triggers/createcurse.c"
#include "common/triggers/createunit.c"
#include "common/triggers/gate.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"
#include <triggers/changefaction.c>
#include <triggers/changerace.c>
#include <triggers/clonedied.c>
#include <triggers/createcurse.c>
#include <triggers/createunit.c>
#include <triggers/gate.c>
#include <triggers/giveitem.c>
#include <triggers/killunit.c>
#include <triggers/removecurse.c>
#include <triggers/shock.c>
#include <triggers/timeout.c>
#include <triggers/triggers.c>
#include <triggers/unguard.c>
#include <triggers/unitmessage.c>

View File

@ -1,55 +1,55 @@
#include "common/settings.h"
#include "common/config.h"
#include <settings.h>
#include <platform.h>
#include "stdafx.h"
#include "common/kernel/alchemy.c"
#include "common/kernel/alliance.c"
#include "common/kernel/battle.c"
#include "common/kernel/binarystore.c"
#include "common/kernel/connection.c"
#include "common/kernel/build.c"
#include "common/kernel/building.c"
#include "common/kernel/calendar.c"
#include "common/kernel/command.c"
#include "common/kernel/curse.c"
#include "common/kernel/equipment.c"
#include "common/kernel/eressea.c"
#include "common/kernel/faction.c"
#include "common/kernel/group.c"
#include "common/kernel/item.c"
#include "common/kernel/karma.c"
#include "common/kernel/magic.c"
#include "common/kernel/message.c"
#include "common/kernel/move.c"
#include "common/kernel/names.c"
#include "common/kernel/order.c"
#include "common/kernel/pathfinder.c"
#include "common/kernel/plane.c"
#include "common/kernel/player.c"
#include "common/kernel/pool.c"
#include "common/kernel/race.c"
#include "common/kernel/region.c"
#include "common/kernel/reports.c"
#include "common/kernel/resources.c"
#include "common/kernel/save.c"
#include "common/kernel/ship.c"
#include "common/kernel/skill.c"
#include "common/kernel/spell.c"
#include "common/kernel/teleport.c"
#include "common/kernel/terrain.c"
#include "common/kernel/textstore.c"
#include "common/kernel/unit.c"
#include "common/kernel/xmlreader.c"
#include "common/kernel/sqlite.c"
#include <kernel/alchemy.c>
#include <kernel/alliance.c>
#include <kernel/battle.c>
#include <kernel/binarystore.c>
#include <kernel/connection.c>
#include <kernel/build.c>
#include <kernel/building.c>
#include <kernel/calendar.c>
#include <kernel/command.c>
#include <kernel/curse.c>
#include <kernel/equipment.c>
#include <kernel/eressea.c>
#include <kernel/faction.c>
#include <kernel/group.c>
#include <kernel/item.c>
#include <kernel/karma.c>
#include <kernel/magic.c>
#include <kernel/message.c>
#include <kernel/move.c>
#include <kernel/names.c>
#include <kernel/order.c>
#include <kernel/pathfinder.c>
#include <kernel/plane.c>
#include <kernel/player.c>
#include <kernel/pool.c>
#include <kernel/race.c>
#include <kernel/region.c>
#include <kernel/reports.c>
#include <kernel/resources.c>
#include <kernel/save.c>
#include <kernel/ship.c>
#include <kernel/skill.c>
#include <kernel/spell.c>
#include <kernel/teleport.c>
#include <kernel/terrain.c>
#include <kernel/textstore.c>
#include <kernel/unit.c>
#include <kernel/xmlreader.c>
#include <kernel/sqlite.c>
#include "common/modules/arena.c"
#include "common/modules/autoseed.c"
#include "common/modules/dungeon.c"
#include "common/modules/gmcmd.c"
#include "common/modules/infocmd.c"
#include "common/modules/museum.c"
#include "common/modules/score.c"
#include "common/modules/weather.c"
#include "common/modules/wormhole.c"
#include "common/modules/xecmd.c"
#include "common/modules/xmas.c"
#include <modules/arena.c>
#include <modules/autoseed.c>
#include <modules/dungeon.c>
#include <modules/gmcmd.c>
#include <modules/infocmd.c>
#include <modules/museum.c>
#include <modules/score.c>
#include <modules/weather.c>
#include <modules/wormhole.c>
#include <modules/xecmd.c>
#include <modules/xmas.c>

View File

@ -1,2 +1,2 @@
#include "common/settings.h"
#include "common/config.h"
#include <platform.h>

View File

@ -1,38 +1,40 @@
#include "common/settings.h"
#include "common/config.h"
#include <settings.h>
#include <platform.h>
#include "stdafx.h"
#include "common/iniparser/iniparser.c"
#include "common/util/attrib.c"
#include "common/util/argstack.c"
#include "common/util/base36.c"
#include "common/util/crmessage.c"
#include "common/util/cvector.c"
#include "common/util/dice.c"
#include "common/util/event.c"
#include "common/util/eventbus.c"
#include "common/util/filereader.c"
#include "common/util/functions.c"
#include "common/util/goodies.c"
#include "common/util/language.c"
#include "common/util/lists.c"
#include "common/util/log.c"
#include "common/util/message.c"
#include "common/util/mt19937ar.c"
#include "common/util/nrmessage.c"
#include "common/util/parser.c"
#include "common/util/rand.c"
#include "common/util/resolve.c"
#include "common/util/sql.c"
#include "common/util/translation.c"
#include "common/util/umlaut.c"
#include "common/util/unicode.c"
#include "common/util/xml.c"
#include <external/iniparser/iniparser.c>
#include <external/mt19937ar.c>
#include <util/console.c>
#include <util/attrib.c>
#include <util/argstack.c>
#include <util/base36.c>
#include <util/crmessage.c>
#include <util/cvector.c>
#include <util/dice.c>
#include <util/event.c>
#include <util/eventbus.c>
#include <util/filereader.c>
#include <util/functions.c>
#include <util/goodies.c>
#include <util/language.c>
#include <util/lists.c>
#include <util/log.c>
#include <util/message.c>
#include <util/nrmessage.c>
#include <util/parser.c>
#include <util/rand.c>
#include <util/resolve.c>
#include <util/sql.c>
#include <util/translation.c>
#include <util/umlaut.c>
#include <util/unicode.c>
#include <util/xml.c>
#ifndef HAVE_INLINE
#include "common/util/bsdstring.c"
#include <util/bsdstring.c>
#endif
#ifdef __GNUC__
#include "common/util/strncpy.c"
#include <util/strncpy.c>
#endif

View File

@ -8,7 +8,7 @@
*
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "editing.h"

View File

@ -84,73 +84,6 @@
Name="VCPostBuildEventTool"
/>
</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
Name="Release|Win32"
OutputDirectory="Release/gamecode"

View File

@ -1,4 +1,4 @@
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "archetype.h"

View File

@ -19,7 +19,7 @@
* permission from the authors.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "creation.h"
#include "monster.h"

View File

@ -7,7 +7,7 @@ This program may not be used, modified or distributed
without prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "creport.h"

View File

@ -21,7 +21,7 @@
#pragma region includes
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "economy.h"

View File

@ -10,7 +10,7 @@
without prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "give.h"

View File

@ -1,4 +1,4 @@
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "items.h"

View File

@ -21,7 +21,7 @@
#pragma region includes
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "laws.h"

View File

@ -19,7 +19,7 @@
* permission from the authors.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "luck.h"

View File

@ -10,7 +10,7 @@ This program may not be used, modified or distributed
without prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "market.h"

View File

@ -19,7 +19,7 @@
* permission from the authors.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "monster.h"

View File

@ -19,7 +19,7 @@
* permission from the authors.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "randenc.h"

View File

@ -14,7 +14,7 @@
#define ECHECK_VERSION "4.01"
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
/* modules includes */

View File

@ -11,7 +11,7 @@
* 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 "spy.h"

View File

@ -19,7 +19,7 @@
* permission from the authors.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "spy.h"

View File

@ -22,7 +22,7 @@
#define TEACH_ALL 1
#define TEACH_FRIENDS
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "study.h"

View File

@ -8,8 +8,8 @@
*
*/
/* wenn config.h nicht vor curses included wird, kompiliert es unter windows nicht */
#include <config.h>
/* wenn platform.h nicht vor curses included wird, kompiliert es unter windows nicht */
#include <platform.h>
#include <kernel/eressea.h>
#include "summary.h"

View File

@ -7,7 +7,7 @@ This program may not be used, modified or distributed
without prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "xmlreport.h"

View File

@ -8,16 +8,14 @@
*
*/
/* wenn config.h nicht vor curses included wird, kompiliert es unter windows nicht */
#include <config.h>
/* wenn platform.h nicht vor curses included wird, kompiliert es unter windows nicht */
#include <platform.h>
#include <curses.h>
#include <kernel/eressea.h>
#include "gmtool.h"
#include "gmtool_structs.h"
#include "editing.h"
#include "console.h"
#include "curses/listbox.h"
#include <modules/xmas.h>
#include <modules/gmcmd.h>
@ -59,6 +57,8 @@
#include <util/log.h>
#include <util/rng.h>
#include <util/base36.h>
#include <util/console.h>
#include <util/listbox.h>
#include <util/storage.h>
#include <libxml/encoding.h>

View File

@ -11,7 +11,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "artrewards.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "demonseye.h"

View File

@ -10,7 +10,7 @@
without prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "itemtypes.h"

View File

@ -11,7 +11,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "phoenixcompass.h"

View File

@ -10,7 +10,7 @@
without prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "seed.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "speedsail.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "weapons.h"

View File

@ -11,7 +11,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "xerewards.h"

View File

@ -84,73 +84,6 @@
Name="VCPostBuildEventTool"
/>
</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
Name="Release|Win32"
OutputDirectory="Release/kernel"

View File

@ -19,7 +19,7 @@
* permission from the authors.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "alchemy.h"

View File

@ -12,7 +12,7 @@ without prior permission by the authors of Eressea.
#pragma region includes
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "alliance.h"

View File

@ -14,7 +14,7 @@
#pragma region includes
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "battle.h"

View File

@ -6,7 +6,7 @@
This program may not be used, modified or distributed
without prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include "eressea.h"
#include "textstore.h"

View File

@ -18,7 +18,7 @@
* permission from the authors.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "build.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "building.h"

View File

@ -1,4 +1,4 @@
#include <config.h>
#include <platform.h>
#include "calendar.h"
#include <assert.h>

View File

@ -10,7 +10,7 @@
without prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "command.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "connection.h"

View File

@ -19,7 +19,7 @@
* permission from the authors.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "curse.h"

View File

@ -17,7 +17,7 @@
* This program may not be sold or used commercially without prior written
* permission from the authors.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "equipment.h"

View File

@ -18,7 +18,7 @@
* permission from the authors.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
/* attributes includes */

View File

@ -25,7 +25,7 @@
extern "C" {
#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"
/* experimental gameplay features (that don't affect the savefile) */

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "faction.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "group.h"

View File

@ -12,7 +12,7 @@
* prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "item.h"

View File

@ -12,7 +12,7 @@
*/
/* TODO: enum auf fst_ umstellen. Pointer auf Display-Routine */
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "karma.h"

View File

@ -18,7 +18,7 @@
* permission from the authors.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "magic.h"

View File

@ -18,7 +18,7 @@
* permission from the authors.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "message.h"

View File

@ -18,7 +18,7 @@
* permission from the authors.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "move.h"

View File

@ -19,7 +19,7 @@
* permission from the authors.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "names.h"

View File

@ -10,7 +10,7 @@
without prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "order.h"

View File

@ -19,7 +19,7 @@
* permission from the authors.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "pathfinder.h"

View File

@ -19,7 +19,7 @@
* permission from the authors.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "plane.h"

View File

@ -10,7 +10,7 @@
without prior permission by the authors of Eressea.
*/
#include <config.h>
#include <platform.h>
#include "player.h"
#include <util/goodies.h>

View File

@ -19,7 +19,7 @@
* permission from the authors.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "pool.h"

View File

@ -17,7 +17,7 @@
* This program may not be sold or used commercially without prior written
* permission from the authors.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "race.h"

View File

@ -19,7 +19,7 @@
* permission from the authors.
*/
#include <config.h>
#include <platform.h>
#include <kernel/eressea.h>
#include "region.h"

Some files were not shown because too many files have changed in this diff Show More