1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Trying to sort out project changes and compile issues.

This commit is contained in:
DjWarmonger 2014-06-23 19:58:19 +02:00
parent 901188e2e1
commit 79036484dd
23 changed files with 152 additions and 36 deletions

View File

@ -229,7 +229,6 @@
<ClInclude Include="CPlayerInterface.h" />
<ClInclude Include="CPreGame.h" />
<ClInclude Include="CQuestLog.h" />
<ClInclude Include="CSoundBase.h" />
<ClInclude Include="CSpellWindow.h" />
<ClInclude Include="CVideoHandler.h" />
<ClInclude Include="FontBase.h" />

View File

@ -78,7 +78,6 @@
<ClInclude Include="CMusicHandler.h" />
<ClInclude Include="CPlayerInterface.h" />
<ClInclude Include="CPreGame.h" />
<ClInclude Include="CSoundBase.h" />
<ClInclude Include="CSpellWindow.h" />
<ClInclude Include="CVideoHandler.h" />
<ClInclude Include="FontBase.h" />

View File

@ -135,8 +135,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='RD|Win32'">
<ClCompile>
<AdditionalOptions>/Oy- %(AdditionalOptions) /bigobj
/Zm150</AdditionalOptions>
<AdditionalOptions>/Oy- /bigobj /Zm150 </AdditionalOptions>
<PreprocessorDefinitions>VCMI_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PrecompiledHeaderFile>StdInc.h</PrecompiledHeaderFile>
<PrecompiledHeader>Use</PrecompiledHeader>
@ -177,13 +176,11 @@
<ClCompile Include="CConsoleHandler.cpp" />
<ClCompile Include="CCreatureHandler.cpp" />
<ClCompile Include="CCreatureSet.cpp" />
<ClCompile Include="CDefObjInfoHandler.cpp" />
<ClCompile Include="CGameInterface.cpp" />
<ClCompile Include="CGameState.cpp" />
<ClCompile Include="CGeneralTextHandler.cpp" />
<ClCompile Include="CHeroHandler.cpp" />
<ClCompile Include="CModHandler.cpp" />
<ClCompile Include="CObjectHandler.cpp" />
<ClCompile Include="CObstacleInstance.cpp" />
<ClCompile Include="Connection.cpp" />
<ClCompile Include="CSpellHandler.cpp" />
@ -204,6 +201,21 @@
<ClCompile Include="GameConstants.cpp" />
<ClCompile Include="JsonDetail.cpp" />
<ClCompile Include="LogicalExpression.cpp" />
<ClCompile Include="mapObjects\CArmedInstance.cpp" />
<ClCompile Include="mapObjects\CBank.cpp" />
<ClCompile Include="mapObjects\CGHeroInstance.cpp" />
<ClCompile Include="mapObjects\CGMarket.cpp" />
<ClCompile Include="mapObjects\CGPandoraBox.cpp" />
<ClCompile Include="mapObjects\CGTownInstance.cpp" />
<ClCompile Include="mapObjects\CObjectClassesHandler.cpp" />
<ClCompile Include="mapObjects\CObjectHandler.cpp" />
<ClCompile Include="mapObjects\CommonConstructors.cpp" />
<ClCompile Include="mapObjects\CQuest.cpp" />
<ClCompile Include="mapObjects\CRewardableConstructor.cpp" />
<ClCompile Include="mapObjects\CRewardableObject.cpp" />
<ClCompile Include="mapObjects\JsonRandom.cpp" />
<ClCompile Include="mapObjects\MiscObjects.cpp" />
<ClCompile Include="mapObjects\ObjectTemplate.cpp" />
<ClCompile Include="mapping\CCampaignHandler.cpp" />
<ClCompile Include="mapping\CMap.cpp" />
<ClCompile Include="mapping\CMapInfo.cpp" />
@ -259,13 +271,11 @@
<ClInclude Include="CConsoleHandler.h" />
<ClInclude Include="CCreatureHandler.h" />
<ClInclude Include="CCreatureSet.h" />
<ClInclude Include="CDefObjInfoHandler.h" />
<ClInclude Include="CGameInterface.h" />
<ClInclude Include="CGameState.h" />
<ClInclude Include="CGeneralTextHandler.h" />
<ClInclude Include="CHeroHandler.h" />
<ClInclude Include="CModHandler.h" />
<ClInclude Include="CObjectHandler.h" />
<ClInclude Include="CObstacleInstance.h" />
<ClInclude Include="CondSh.h" />
<ClInclude Include="Connection.h" />
@ -293,6 +303,22 @@
<ClInclude Include="IBonusTypeHandler.h" />
<ClInclude Include="JsonDetail.h" />
<ClInclude Include="LogicalExpression.h" />
<ClInclude Include="mapObjects\CArmedInstance.h" />
<ClInclude Include="mapObjects\CBank.h" />
<ClInclude Include="mapObjects\CGHeroInstance.h" />
<ClInclude Include="mapObjects\CGMarket.h" />
<ClInclude Include="mapObjects\CGPandoraBox.h" />
<ClInclude Include="mapObjects\CGTownInstance.h" />
<ClInclude Include="mapObjects\CObjectClassesHandler.h" />
<ClInclude Include="mapObjects\CObjectHandler.h" />
<ClInclude Include="mapObjects\CommonConstructors.h" />
<ClInclude Include="mapObjects\CQuest.h" />
<ClInclude Include="mapObjects\CRewardableConstructor.h" />
<ClInclude Include="mapObjects\CRewardableObject.h" />
<ClInclude Include="mapObjects\JsonRandom.h" />
<ClInclude Include="mapObjects\MapObjects.h" />
<ClInclude Include="mapObjects\MiscObjects.h" />
<ClInclude Include="mapObjects\ObjectTemplate.h" />
<ClInclude Include="mapping\CCampaignHandler.h" />
<ClInclude Include="mapping\CMap.h" />
<ClInclude Include="mapping\CMapInfo.h" />

View File

@ -23,6 +23,9 @@
<Filter Include="registerTypes">
<UniqueIdentifier>{927d9b6e-3dc5-4370-b603-1b9887095509}</UniqueIdentifier>
</Filter>
<Filter Include="mapObjects">
<UniqueIdentifier>{ee24c7f7-f4e2-4d35-b994-94a6e29ea92f}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="BattleAction.cpp" />
@ -30,10 +33,8 @@
<ClCompile Include="CArtHandler.cpp" />
<ClCompile Include="CBuildingHandler.cpp" />
<ClCompile Include="CCreatureHandler.cpp" />
<ClCompile Include="CDefObjInfoHandler.cpp" />
<ClCompile Include="CGeneralTextHandler.cpp" />
<ClCompile Include="CHeroHandler.cpp" />
<ClCompile Include="CObjectHandler.cpp" />
<ClCompile Include="CSpellHandler.cpp" />
<ClCompile Include="CTownHandler.cpp" />
<ClCompile Include="CCreatureSet.cpp" />
@ -157,6 +158,51 @@
</ClCompile>
<ClCompile Include="registerTypes\TypesMapObjects1.cpp" />
<ClCompile Include="registerTypes\TypesMapObjects2.cpp" />
<ClCompile Include="mapObjects\CArmedInstance.cpp">
<Filter>mapObjects</Filter>
</ClCompile>
<ClCompile Include="mapObjects\CBank.cpp">
<Filter>mapObjects</Filter>
</ClCompile>
<ClCompile Include="mapObjects\CGHeroInstance.cpp">
<Filter>mapObjects</Filter>
</ClCompile>
<ClCompile Include="mapObjects\CGMarket.cpp">
<Filter>mapObjects</Filter>
</ClCompile>
<ClCompile Include="mapObjects\CGPandoraBox.cpp">
<Filter>mapObjects</Filter>
</ClCompile>
<ClCompile Include="mapObjects\CGTownInstance.cpp">
<Filter>mapObjects</Filter>
</ClCompile>
<ClCompile Include="mapObjects\CObjectClassesHandler.cpp">
<Filter>mapObjects</Filter>
</ClCompile>
<ClCompile Include="mapObjects\CObjectHandler.cpp">
<Filter>mapObjects</Filter>
</ClCompile>
<ClCompile Include="mapObjects\CommonConstructors.cpp">
<Filter>mapObjects</Filter>
</ClCompile>
<ClCompile Include="mapObjects\CQuest.cpp">
<Filter>mapObjects</Filter>
</ClCompile>
<ClCompile Include="mapObjects\CRewardableConstructor.cpp">
<Filter>mapObjects</Filter>
</ClCompile>
<ClCompile Include="mapObjects\CRewardableObject.cpp">
<Filter>mapObjects</Filter>
</ClCompile>
<ClCompile Include="mapObjects\JsonRandom.cpp">
<Filter>mapObjects</Filter>
</ClCompile>
<ClCompile Include="mapObjects\MiscObjects.cpp">
<Filter>mapObjects</Filter>
</ClCompile>
<ClCompile Include="mapObjects\ObjectTemplate.cpp">
<Filter>mapObjects</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="CCreatureSet.h">
@ -201,18 +247,12 @@
<ClInclude Include="CCreatureHandler.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="CDefObjInfoHandler.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="CGeneralTextHandler.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="CHeroHandler.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="CObjectHandler.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="ConstTransitivePtr.h">
<Filter>Header Files</Filter>
</ClInclude>
@ -399,5 +439,53 @@
<ClInclude Include="rmg\float3.h">
<Filter>rmg</Filter>
</ClInclude>
<ClInclude Include="mapObjects\CArmedInstance.h">
<Filter>mapObjects</Filter>
</ClInclude>
<ClInclude Include="mapObjects\CBank.h">
<Filter>mapObjects</Filter>
</ClInclude>
<ClInclude Include="mapObjects\CGHeroInstance.h">
<Filter>mapObjects</Filter>
</ClInclude>
<ClInclude Include="mapObjects\CGMarket.h">
<Filter>mapObjects</Filter>
</ClInclude>
<ClInclude Include="mapObjects\CGPandoraBox.h">
<Filter>mapObjects</Filter>
</ClInclude>
<ClInclude Include="mapObjects\CGTownInstance.h">
<Filter>mapObjects</Filter>
</ClInclude>
<ClInclude Include="mapObjects\CObjectClassesHandler.h">
<Filter>mapObjects</Filter>
</ClInclude>
<ClInclude Include="mapObjects\CObjectHandler.h">
<Filter>mapObjects</Filter>
</ClInclude>
<ClInclude Include="mapObjects\CommonConstructors.h">
<Filter>mapObjects</Filter>
</ClInclude>
<ClInclude Include="mapObjects\CQuest.h">
<Filter>mapObjects</Filter>
</ClInclude>
<ClInclude Include="mapObjects\CRewardableConstructor.h">
<Filter>mapObjects</Filter>
</ClInclude>
<ClInclude Include="mapObjects\CRewardableObject.h">
<Filter>mapObjects</Filter>
</ClInclude>
<ClInclude Include="mapObjects\JsonRandom.h">
<Filter>mapObjects</Filter>
</ClInclude>
<ClInclude Include="mapObjects\MapObjects.h">
<Filter>mapObjects</Filter>
</ClInclude>
<ClInclude Include="mapObjects\MiscObjects.h">
<Filter>mapObjects</Filter>
</ClInclude>
<ClInclude Include="mapObjects\ObjectTemplate.h">
<Filter>mapObjects</Filter>
</ClInclude>
</ItemGroup>
</Project>

View File

@ -1,4 +1,4 @@
/*
/*
* CArmedInstance.cpp, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder

View File

@ -1,4 +1,4 @@
#pragma once
#pragma once
#include "CObjectHandler.h"
#include "../CCreatureSet.h"

View File

@ -1,4 +1,4 @@
/*
/*
* CBank.cpp, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder

View File

@ -1,4 +1,4 @@
#pragma once
#pragma once
#include "CObjectHandler.h"
#include "CArmedInstance.h"

View File

@ -1,4 +1,4 @@
/*
/*
* CGHeroInstance.cpp, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder

View File

@ -1,4 +1,4 @@
#pragma once
#pragma once
#include "CObjectHandler.h"
#include "CArmedInstance.h"

View File

@ -1,4 +1,4 @@
/*
/*
*
* CGMarket.cpp, part of VCMI engine
*

View File

@ -1,4 +1,4 @@
#pragma once
#pragma once
#include "CObjectHandler.h"

View File

@ -1,4 +1,4 @@
/*
/*
* CGPandoraBox.cpp, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder

View File

@ -1,4 +1,4 @@
#pragma once
#pragma once
#include "CObjectHandler.h"
#include "CArmedInstance.h"

View File

@ -1,4 +1,4 @@
/*
/*
* CGTownInstance.cpp, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder

View File

@ -1,4 +1,4 @@
#pragma once
#pragma once
#include "CObjectHandler.h"
#include "CGMarket.h" // For IMarket interface

View File

@ -1,9 +1,9 @@
#include "StdInc.h"
#include "StdInc.h"
#include "CObjectClassesHandler.h"
#include "../filesystem/Filesystem.h"
#include "../filesystem/CBinaryReader.h"
#include "../lib/VCMI_Lib.h"
#include "../VCMI_Lib.h"
#include "../GameConstants.h"
#include "../StringConstants.h"
#include "../CGeneralTextHandler.h"

View File

@ -1,4 +1,4 @@
#pragma once
#pragma once
#include "ObjectTemplate.h"
@ -93,7 +93,7 @@ public:
class CGObjectInstance;
class AObjectTypeHandler : public boost::noncopyable
class DLL_EXPORT AObjectTypeHandler : public boost::noncopyable
{
RandomMapInfo rmgInfo;

View File

@ -1,4 +1,4 @@
/*
/*
* CObjectHandler.cpp, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder

View File

@ -1,4 +1,4 @@
#pragma once
#pragma once
#include "ObjectTemplate.h"

View File

@ -3,7 +3,7 @@
#include "../filesystem/Filesystem.h"
#include "../filesystem/CBinaryReader.h"
#include "../lib/VCMI_Lib.h"
#include "../VCMI_Lib.h"
#include "../GameConstants.h"
#include "../StringConstants.h"
#include "../CGeneralTextHandler.h"

View File

@ -20,6 +20,9 @@
#include "../CSpellHandler.h" //for choosing random spells
#include "../mapObjects/CObjectClassesHandler.h"
//#include "../mapObjects/CGPandoraBox.h"
//#include "../mapObjects/CRewardableObject.h"
#include "../mapObjects/MapObjects.h"
class CMap;
class CMapEditManager;

View File

@ -2,7 +2,8 @@
#include "ERMInterpreter.h"
#include <cctype>
#include "../../lib/CObjectHandler.h"
#include "../../lib/mapObjects/CObjectHandler.h"
#include "../../lib/mapObjects/MapObjects.h"
#include "../../lib/CHeroHandler.h"
#include "../../lib/CCreatureHandler.h"
#include "../../lib/VCMIDirs.h"