mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Reorganized client source tree:
- client/widgets for reusable GUI elements - client/windows for independent windows - client/gui for base GUI classes which should remain internal
This commit is contained in:
parent
cec9161f8f
commit
647b9c683f
@ -8,13 +8,13 @@
|
|||||||
|
|
||||||
#include "../lib/filesystem/Filesystem.h"
|
#include "../lib/filesystem/Filesystem.h"
|
||||||
#include "CPreGame.h"
|
#include "CPreGame.h"
|
||||||
#include "CCastleInterface.h"
|
#include "windows/CCastleInterface.h"
|
||||||
#include "../lib/CConsoleHandler.h"
|
#include "../lib/CConsoleHandler.h"
|
||||||
#include "gui/CCursorHandler.h"
|
#include "gui/CCursorHandler.h"
|
||||||
#include "../lib/CGameState.h"
|
#include "../lib/CGameState.h"
|
||||||
#include "../CCallback.h"
|
#include "../CCallback.h"
|
||||||
#include "CPlayerInterface.h"
|
#include "CPlayerInterface.h"
|
||||||
#include "CAdvmapInterface.h"
|
#include "windows/CAdvmapInterface.h"
|
||||||
#include "../lib/CBuildingHandler.h"
|
#include "../lib/CBuildingHandler.h"
|
||||||
#include "CVideoHandler.h"
|
#include "CVideoHandler.h"
|
||||||
#include "../lib/CHeroHandler.h"
|
#include "../lib/CHeroHandler.h"
|
||||||
|
@ -14,39 +14,41 @@ set(client_SRCS
|
|||||||
battle/CBattleInterfaceClasses.cpp
|
battle/CBattleInterfaceClasses.cpp
|
||||||
battle/CCreatureAnimation.cpp
|
battle/CCreatureAnimation.cpp
|
||||||
|
|
||||||
gui/CArtifactHolder.cpp
|
gui/CCursorHandler.cpp
|
||||||
gui/CComponent.cpp
|
|
||||||
gui/CGarrisonInt.cpp
|
|
||||||
gui/CGuiHandler.cpp
|
gui/CGuiHandler.cpp
|
||||||
gui/CIntObject.cpp
|
gui/CIntObject.cpp
|
||||||
gui/CIntObjectClasses.cpp
|
|
||||||
gui/CTradeWindow.cpp
|
|
||||||
gui/Fonts.cpp
|
gui/Fonts.cpp
|
||||||
gui/Geometries.cpp
|
gui/Geometries.cpp
|
||||||
gui/MiscWidgets.cpp
|
|
||||||
gui/CCursorHandler.cpp
|
|
||||||
gui/SDL_Extensions.cpp
|
gui/SDL_Extensions.cpp
|
||||||
|
|
||||||
CPreGame.cpp
|
widgets/AdventureMapClasses.cpp
|
||||||
Client.cpp
|
widgets/CAnimation.cpp
|
||||||
CPlayerInterface.cpp
|
widgets/CArtifactHolder.cpp
|
||||||
CMT.cpp
|
widgets/CComponent.cpp
|
||||||
GUIClasses.cpp
|
widgets/CGarrisonInt.cpp
|
||||||
AdventureMapClasses.cpp
|
widgets/CIntObjectClasses.cpp
|
||||||
CAdvmapInterface.cpp
|
widgets/MiscWidgets.cpp
|
||||||
CAnimation.cpp
|
|
||||||
|
windows/CAdvmapInterface.cpp
|
||||||
|
windows/CCastleInterface.cpp
|
||||||
|
windows/CCreatureWindow.cpp
|
||||||
|
windows/CHeroWindow.cpp
|
||||||
|
windows/CKingdomInterface.cpp
|
||||||
|
windows/CQuestLog.cpp
|
||||||
|
windows/CSpellWindow.cpp
|
||||||
|
windows/CTradeWindow.cpp
|
||||||
|
windows/GUIClasses.cpp
|
||||||
|
|
||||||
CBitmapHandler.cpp
|
CBitmapHandler.cpp
|
||||||
CCastleInterface.cpp
|
|
||||||
CCreatureWindow.cpp
|
|
||||||
CDefHandler.cpp
|
CDefHandler.cpp
|
||||||
CGameInfo.cpp
|
CGameInfo.cpp
|
||||||
CHeroWindow.cpp
|
Client.cpp
|
||||||
CKingdomInterface.cpp
|
|
||||||
CMessage.cpp
|
CMessage.cpp
|
||||||
|
CMT.cpp
|
||||||
CMusicHandler.cpp
|
CMusicHandler.cpp
|
||||||
CSpellWindow.cpp
|
CPlayerInterface.cpp
|
||||||
|
CPreGame.cpp
|
||||||
CVideoHandler.cpp
|
CVideoHandler.cpp
|
||||||
CQuestLog.cpp
|
|
||||||
Graphics.cpp
|
Graphics.cpp
|
||||||
mapHandler.cpp
|
mapHandler.cpp
|
||||||
NetPacksClient.cpp
|
NetPacksClient.cpp
|
||||||
|
@ -13,16 +13,16 @@
|
|||||||
|
|
||||||
#include "SDL_ttf.h"
|
#include "SDL_ttf.h"
|
||||||
#include "CDefHandler.h"
|
#include "CDefHandler.h"
|
||||||
#include "CAnimation.h"
|
#include "widgets/CAnimation.h"
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
#include "gui/SDL_Extensions.h"
|
#include "gui/SDL_Extensions.h"
|
||||||
#include "../lib/CGeneralTextHandler.h"
|
#include "../lib/CGeneralTextHandler.h"
|
||||||
#include "Graphics.h"
|
#include "Graphics.h"
|
||||||
#include "GUIClasses.h"
|
#include "windows/GUIClasses.h"
|
||||||
#include "../lib/CConfigHandler.h"
|
#include "../lib/CConfigHandler.h"
|
||||||
#include "CBitmapHandler.h"
|
#include "CBitmapHandler.h"
|
||||||
#include "gui/CIntObjectClasses.h"
|
#include "widgets/CIntObjectClasses.h"
|
||||||
#include "gui/MiscWidgets.h"
|
#include "widgets/MiscWidgets.h"
|
||||||
|
|
||||||
const int BETWEEN_COMPS_ROWS = 10;
|
const int BETWEEN_COMPS_ROWS = 10;
|
||||||
const int BEFORE_COMPONENTS = 30;
|
const int BEFORE_COMPONENTS = 30;
|
||||||
|
@ -1,23 +1,23 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "CAdvmapInterface.h"
|
#include "windows/CAdvmapInterface.h"
|
||||||
#include "battle/CBattleInterface.h"
|
#include "battle/CBattleInterface.h"
|
||||||
#include "battle/CBattleInterfaceClasses.h"
|
#include "battle/CBattleInterfaceClasses.h"
|
||||||
#include "../CCallback.h"
|
#include "../CCallback.h"
|
||||||
#include "CCastleInterface.h"
|
#include "windows/CCastleInterface.h"
|
||||||
#include "gui/CCursorHandler.h"
|
#include "gui/CCursorHandler.h"
|
||||||
#include "CKingdomInterface.h"
|
#include "windows/CKingdomInterface.h"
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
#include "CHeroWindow.h"
|
#include "windows/CHeroWindow.h"
|
||||||
#include "CCreatureWindow.h"
|
#include "windows/CCreatureWindow.h"
|
||||||
#include "CQuestLog.h"
|
#include "windows/CQuestLog.h"
|
||||||
#include "CMessage.h"
|
#include "CMessage.h"
|
||||||
#include "CPlayerInterface.h"
|
#include "CPlayerInterface.h"
|
||||||
#include "gui/SDL_Extensions.h"
|
#include "gui/SDL_Extensions.h"
|
||||||
#include "gui/CTradeWindow.h"
|
#include "windows/CTradeWindow.h"
|
||||||
#include "../lib/CConfigHandler.h"
|
#include "../lib/CConfigHandler.h"
|
||||||
#include "battle/CCreatureAnimation.h"
|
#include "battle/CCreatureAnimation.h"
|
||||||
#include "Graphics.h"
|
#include "Graphics.h"
|
||||||
#include "GUIClasses.h"
|
#include "windows/GUIClasses.h"
|
||||||
#include "../lib/CArtHandler.h"
|
#include "../lib/CArtHandler.h"
|
||||||
#include "../lib/CGeneralTextHandler.h"
|
#include "../lib/CGeneralTextHandler.h"
|
||||||
#include "../lib/CHeroHandler.h"
|
#include "../lib/CHeroHandler.h"
|
||||||
@ -37,7 +37,7 @@
|
|||||||
#include "../lib/CGameState.h"
|
#include "../lib/CGameState.h"
|
||||||
#include "../lib/GameConstants.h"
|
#include "../lib/GameConstants.h"
|
||||||
#include "gui/CGuiHandler.h"
|
#include "gui/CGuiHandler.h"
|
||||||
#include "gui/MiscWidgets.h"
|
#include "widgets/MiscWidgets.h"
|
||||||
#include "../lib/UnlockGuard.h"
|
#include "../lib/UnlockGuard.h"
|
||||||
|
|
||||||
#ifdef min
|
#ifdef min
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#include "gui/SDL_Extensions.h"
|
#include "gui/SDL_Extensions.h"
|
||||||
#include "CGameInfo.h"
|
#include "CGameInfo.h"
|
||||||
#include "gui/CCursorHandler.h"
|
#include "gui/CCursorHandler.h"
|
||||||
#include "CAnimation.h"
|
#include "widgets/CAnimation.h"
|
||||||
#include "CDefHandler.h"
|
#include "CDefHandler.h"
|
||||||
#include "../lib/CGeneralTextHandler.h"
|
#include "../lib/CGeneralTextHandler.h"
|
||||||
#include "../lib/CTownHandler.h"
|
#include "../lib/CTownHandler.h"
|
||||||
@ -23,7 +23,7 @@
|
|||||||
#include "../lib/Connection.h"
|
#include "../lib/Connection.h"
|
||||||
#include "../lib/VCMIDirs.h"
|
#include "../lib/VCMIDirs.h"
|
||||||
#include "../lib/mapping/CMap.h"
|
#include "../lib/mapping/CMap.h"
|
||||||
#include "GUIClasses.h"
|
#include "windows/GUIClasses.h"
|
||||||
#include "CPlayerInterface.h"
|
#include "CPlayerInterface.h"
|
||||||
#include "../CCallback.h"
|
#include "../CCallback.h"
|
||||||
#include "CMessage.h"
|
#include "CMessage.h"
|
||||||
@ -38,8 +38,8 @@
|
|||||||
#include "../lib/CConfigHandler.h"
|
#include "../lib/CConfigHandler.h"
|
||||||
#include "../lib/GameConstants.h"
|
#include "../lib/GameConstants.h"
|
||||||
#include "gui/CGuiHandler.h"
|
#include "gui/CGuiHandler.h"
|
||||||
#include "gui/CIntObjectClasses.h"
|
#include "widgets/CIntObjectClasses.h"
|
||||||
#include "gui/MiscWidgets.h"
|
#include "widgets/MiscWidgets.h"
|
||||||
#include "../lib/mapping/CMapService.h"
|
#include "../lib/mapping/CMapService.h"
|
||||||
#include "../lib/mapping/CMap.h"
|
#include "../lib/mapping/CMap.h"
|
||||||
#include "../lib/CRandomGenerator.h"
|
#include "../lib/CRandomGenerator.h"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#include "../lib/FunctionList.h"
|
#include "../lib/FunctionList.h"
|
||||||
#include "../lib/mapping/CMapInfo.h"
|
#include "../lib/mapping/CMapInfo.h"
|
||||||
#include "../lib/rmg/CMapGenerator.h"
|
#include "../lib/rmg/CMapGenerator.h"
|
||||||
#include "gui/CIntObjectClasses.h"
|
#include "widgets/CIntObjectClasses.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CPreGame.h, part of VCMI engine
|
* CPreGame.h, part of VCMI engine
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#include "../lib/vcmi_endian.h"
|
#include "../lib/vcmi_endian.h"
|
||||||
#include "../lib/GameConstants.h"
|
#include "../lib/GameConstants.h"
|
||||||
#include "../lib/CStopWatch.h"
|
#include "../lib/CStopWatch.h"
|
||||||
#include "CAnimation.h"
|
#include "widgets/CAnimation.h"
|
||||||
#include "../lib/mapObjects/CObjectClassesHandler.h"
|
#include "../lib/mapObjects/CObjectClassesHandler.h"
|
||||||
|
|
||||||
using namespace boost::assign;
|
using namespace boost::assign;
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#include "../lib/CSoundBase.h"
|
#include "../lib/CSoundBase.h"
|
||||||
#include "../lib/StartInfo.h"
|
#include "../lib/StartInfo.h"
|
||||||
#include "mapHandler.h"
|
#include "mapHandler.h"
|
||||||
#include "GUIClasses.h"
|
#include "windows/GUIClasses.h"
|
||||||
#include "../lib/CConfigHandler.h"
|
#include "../lib/CConfigHandler.h"
|
||||||
#include "gui/SDL_Extensions.h"
|
#include "gui/SDL_Extensions.h"
|
||||||
#include "battle/CBattleInterface.h"
|
#include "battle/CBattleInterface.h"
|
||||||
@ -26,8 +26,8 @@
|
|||||||
#include "../lib/BattleState.h"
|
#include "../lib/BattleState.h"
|
||||||
#include "../lib/GameConstants.h"
|
#include "../lib/GameConstants.h"
|
||||||
#include "gui/CGuiHandler.h"
|
#include "gui/CGuiHandler.h"
|
||||||
#include "gui/MiscWidgets.h"
|
#include "widgets/MiscWidgets.h"
|
||||||
#include "AdventureMapClasses.h"
|
#include "widgets/AdventureMapClasses.h"
|
||||||
#include "CMT.h"
|
#include "CMT.h"
|
||||||
|
|
||||||
//macros to avoid code duplication - calls given method with given arguments if interface for specific player is present
|
//macros to avoid code duplication - calls given method with given arguments if interface for specific player is present
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../CAnimation.h"
|
#include "../widgets/CAnimation.h"
|
||||||
#include "../../lib/BattleHex.h"
|
#include "../../lib/BattleHex.h"
|
||||||
|
|
||||||
class CBattleInterface;
|
class CBattleInterface;
|
||||||
|
@ -1,40 +1,38 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "CBattleInterface.h"
|
#include "CBattleInterface.h"
|
||||||
|
|
||||||
#include "../CGameInfo.h"
|
|
||||||
#include "../gui/SDL_Extensions.h"
|
|
||||||
#include "../CAdvmapInterface.h"
|
|
||||||
#include "../CAnimation.h"
|
|
||||||
#include "../CBitmapHandler.h"
|
|
||||||
#include "../../lib/CHeroHandler.h"
|
|
||||||
# include "../CDefHandler.h"
|
|
||||||
#include "../../lib/CSpellHandler.h"
|
|
||||||
#include "../CMusicHandler.h"
|
|
||||||
#include "../CMessage.h"
|
|
||||||
#include "../../CCallback.h"
|
|
||||||
#include "../../lib/BattleState.h"
|
|
||||||
#include "../../lib/CGeneralTextHandler.h"
|
|
||||||
#include "CCreatureAnimation.h"
|
|
||||||
#include "../Graphics.h"
|
|
||||||
#include "../CSpellWindow.h"
|
|
||||||
#include "../../lib/CConfigHandler.h"
|
|
||||||
#include "../../lib/CondSh.h"
|
|
||||||
#include "../../lib/NetPacks.h"
|
|
||||||
#include "../CPlayerInterface.h"
|
|
||||||
#include "../CCreatureWindow.h"
|
|
||||||
#include "../CVideoHandler.h"
|
|
||||||
#include "../../lib/CTownHandler.h"
|
|
||||||
#include "../../lib/mapping/CMap.h"
|
|
||||||
#include "../../lib/CRandomGenerator.h"
|
|
||||||
|
|
||||||
#include "CBattleAnimations.h"
|
#include "CBattleAnimations.h"
|
||||||
#include "CBattleInterfaceClasses.h"
|
#include "CBattleInterfaceClasses.h"
|
||||||
|
#include "CCreatureAnimation.h"
|
||||||
|
|
||||||
|
#include "../CBitmapHandler.h"
|
||||||
|
#include "../CDefHandler.h"
|
||||||
|
#include "../CGameInfo.h"
|
||||||
|
#include "../CMessage.h"
|
||||||
|
#include "../CMT.h"
|
||||||
|
#include "../CMusicHandler.h"
|
||||||
|
#include "../CPlayerInterface.h"
|
||||||
|
#include "../CVideoHandler.h"
|
||||||
|
#include "../Graphics.h"
|
||||||
#include "../gui/CCursorHandler.h"
|
#include "../gui/CCursorHandler.h"
|
||||||
#include "../gui/CGuiHandler.h"
|
#include "../gui/CGuiHandler.h"
|
||||||
#include "../CMT.h"
|
#include "../gui/SDL_Extensions.h"
|
||||||
|
#include "../widgets/CAnimation.h"
|
||||||
|
#include "../windows/CAdvmapInterface.h"
|
||||||
|
#include "../windows/CCreatureWindow.h"
|
||||||
|
#include "../windows/CSpellWindow.h"
|
||||||
|
|
||||||
|
#include "../../CCallback.h"
|
||||||
|
#include "../../lib/BattleState.h"
|
||||||
|
#include "../../lib/CConfigHandler.h"
|
||||||
|
#include "../../lib/CGeneralTextHandler.h"
|
||||||
|
#include "../../lib/CHeroHandler.h"
|
||||||
|
#include "../../lib/CondSh.h"
|
||||||
|
#include "../../lib/CRandomGenerator.h"
|
||||||
|
#include "../../lib/CSpellHandler.h"
|
||||||
|
#include "../../lib/CTownHandler.h"
|
||||||
|
#include "../../lib/mapping/CMap.h"
|
||||||
|
#include "../../lib/NetPacks.h"
|
||||||
#include "../../lib/UnlockGuard.h"
|
#include "../../lib/UnlockGuard.h"
|
||||||
|
|
||||||
using namespace boost::assign;
|
using namespace boost::assign;
|
||||||
|
@ -3,8 +3,10 @@
|
|||||||
|
|
||||||
#include "../../lib/CCreatureSet.h"
|
#include "../../lib/CCreatureSet.h"
|
||||||
#include "../../lib/ConstTransitivePtr.h" //may be reundant
|
#include "../../lib/ConstTransitivePtr.h" //may be reundant
|
||||||
#include "../CAnimation.h"
|
|
||||||
#include "../../lib/GameConstants.h"
|
#include "../../lib/GameConstants.h"
|
||||||
|
|
||||||
|
#include "../widgets/CAnimation.h"
|
||||||
|
|
||||||
#include "CBattleAnimations.h"
|
#include "CBattleAnimations.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1,29 +1,31 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "CBattleInterfaceClasses.h"
|
#include "CBattleInterfaceClasses.h"
|
||||||
|
|
||||||
#include "../gui/SDL_Extensions.h"
|
|
||||||
#include "CBattleInterface.h"
|
#include "CBattleInterface.h"
|
||||||
#include "../CGameInfo.h"
|
|
||||||
#include "../CDefHandler.h"
|
|
||||||
#include "../gui/CCursorHandler.h"
|
|
||||||
#include "../CPlayerInterface.h"
|
|
||||||
#include "../../CCallback.h"
|
|
||||||
#include "../CSpellWindow.h"
|
|
||||||
#include "../Graphics.h"
|
|
||||||
#include "../../lib/CConfigHandler.h"
|
|
||||||
#include "../gui/CGuiHandler.h"
|
|
||||||
#include "../gui/CIntObjectClasses.h"
|
|
||||||
#include "../../lib/CGeneralTextHandler.h"
|
|
||||||
#include "../../lib/NetPacks.h"
|
|
||||||
#include "../../lib/CCreatureHandler.h"
|
|
||||||
#include "../../lib/BattleState.h"
|
|
||||||
#include "../../lib/StartInfo.h"
|
|
||||||
#include "../CMusicHandler.h"
|
|
||||||
#include "../CVideoHandler.h"
|
|
||||||
#include "../../lib/CTownHandler.h"
|
|
||||||
#include "../CBitmapHandler.h"
|
#include "../CBitmapHandler.h"
|
||||||
#include "../CCreatureWindow.h"
|
#include "../CDefHandler.h"
|
||||||
|
#include "../CGameInfo.h"
|
||||||
#include "../CMessage.h"
|
#include "../CMessage.h"
|
||||||
|
#include "../CMusicHandler.h"
|
||||||
|
#include "../CPlayerInterface.h"
|
||||||
|
#include "../CVideoHandler.h"
|
||||||
|
#include "../Graphics.h"
|
||||||
|
#include "../gui/CCursorHandler.h"
|
||||||
|
#include "../gui/CGuiHandler.h"
|
||||||
|
#include "../gui/SDL_Extensions.h"
|
||||||
|
#include "../widgets/CIntObjectClasses.h"
|
||||||
|
#include "../windows/CCreatureWindow.h"
|
||||||
|
#include "../windows/CSpellWindow.h"
|
||||||
|
|
||||||
|
#include "../../CCallback.h"
|
||||||
|
#include "../../lib/BattleState.h"
|
||||||
|
#include "../../lib/CConfigHandler.h"
|
||||||
|
#include "../../lib/CCreatureHandler.h"
|
||||||
|
#include "../../lib/CGeneralTextHandler.h"
|
||||||
|
#include "../../lib/CTownHandler.h"
|
||||||
|
#include "../../lib/NetPacks.h"
|
||||||
|
#include "../../lib/StartInfo.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CBattleInterfaceClasses.cpp, part of VCMI engine
|
* CBattleInterfaceClasses.cpp, part of VCMI engine
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "CCreatureAnimation.h"
|
#include "CCreatureAnimation.h"
|
||||||
|
|
||||||
|
#include "../../lib/vcmi_endian.h"
|
||||||
#include "../../lib/CConfigHandler.h"
|
#include "../../lib/CConfigHandler.h"
|
||||||
#include "../../lib/CCreatureHandler.h"
|
#include "../../lib/CCreatureHandler.h"
|
||||||
#include "../../lib/vcmi_endian.h"
|
|
||||||
#include "../gui/SDL_Extensions.h"
|
|
||||||
#include "../gui/SDL_Pixels.h"
|
|
||||||
|
|
||||||
#include "../../lib/filesystem/Filesystem.h"
|
#include "../../lib/filesystem/Filesystem.h"
|
||||||
#include "../../lib/filesystem/CBinaryReader.h"
|
#include "../../lib/filesystem/CBinaryReader.h"
|
||||||
#include "../../lib/filesystem/CMemoryStream.h"
|
#include "../../lib/filesystem/CMemoryStream.h"
|
||||||
|
|
||||||
|
#include "../gui/SDL_Extensions.h"
|
||||||
|
#include "../gui/SDL_Pixels.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CCreatureAnimation.cpp, part of VCMI engine
|
* CCreatureAnimation.cpp, part of VCMI engine
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../../lib/FunctionList.h"
|
#include "../../lib/FunctionList.h"
|
||||||
#include "../CAnimation.h"
|
#include "../widgets/CAnimation.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CCreatureAnimation.h, part of VCMI engine
|
* CCreatureAnimation.h, part of VCMI engine
|
||||||
|
@ -2,10 +2,12 @@
|
|||||||
#include "CCursorHandler.h"
|
#include "CCursorHandler.h"
|
||||||
|
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
|
|
||||||
#include "SDL_Extensions.h"
|
#include "SDL_Extensions.h"
|
||||||
#include "../CAnimation.h"
|
|
||||||
#include "CGuiHandler.h"
|
#include "CGuiHandler.h"
|
||||||
|
|
||||||
#include "../CMT.h"
|
#include "../CMT.h"
|
||||||
|
#include "../widgets/CAnimation.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CCursorHandler.cpp, part of VCMI engine
|
* CCursorHandler.cpp, part of VCMI engine
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "CGuiHandler.h"
|
#include "CGuiHandler.h"
|
||||||
|
|
||||||
|
|
||||||
#include "CIntObject.h"
|
#include "CIntObject.h"
|
||||||
#include "../CGameInfo.h"
|
|
||||||
#include "CCursorHandler.h"
|
#include "CCursorHandler.h"
|
||||||
|
|
||||||
|
#include "../CGameInfo.h"
|
||||||
#include "../../lib/CThreadHelper.h"
|
#include "../../lib/CThreadHelper.h"
|
||||||
#include "../../lib/CConfigHandler.h"
|
#include "../../lib/CConfigHandler.h"
|
||||||
#include "../CMT.h"
|
#include "../CMT.h"
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "CIntObject.h"
|
#include "CIntObject.h"
|
||||||
|
|
||||||
#include "CGuiHandler.h"
|
#include "CGuiHandler.h"
|
||||||
#include "SDL_Extensions.h"
|
#include "SDL_Extensions.h"
|
||||||
#include "../CMessage.h"
|
#include "../CMessage.h"
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
#include "SDL_Extensions.h"
|
#include "SDL_Extensions.h"
|
||||||
#include "SDL_Pixels.h"
|
#include "SDL_Pixels.h"
|
||||||
|
|
||||||
#include <SDL_ttf.h>
|
|
||||||
#include "../CGameInfo.h"
|
#include "../CGameInfo.h"
|
||||||
#include "../CMessage.h"
|
#include "../CMessage.h"
|
||||||
#include "../CDefHandler.h"
|
#include "../CDefHandler.h"
|
||||||
|
@ -1,33 +1,37 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "AdventureMapClasses.h"
|
#include "AdventureMapClasses.h"
|
||||||
|
|
||||||
#include "../CCallback.h"
|
|
||||||
#include "../lib/JsonNode.h"
|
|
||||||
#include "../lib/filesystem/Filesystem.h"
|
|
||||||
#include "../lib/mapping/CMap.h"
|
|
||||||
#include "../lib/CModHandler.h"
|
|
||||||
#include "../lib/mapObjects/CGHeroInstance.h"
|
|
||||||
#include "../lib/CGameState.h"
|
|
||||||
#include "../lib/CGeneralTextHandler.h"
|
|
||||||
#include "../lib/CTownHandler.h"
|
|
||||||
#include "../lib/NetPacksBase.h"
|
|
||||||
#include "../lib/CHeroHandler.h"
|
|
||||||
#include "../lib/StringConstants.h"
|
|
||||||
#include "CAdvmapInterface.h"
|
|
||||||
#include "CAnimation.h"
|
#include "CAnimation.h"
|
||||||
#include "CGameInfo.h"
|
#include "MiscWidgets.h"
|
||||||
#include "CPlayerInterface.h"
|
|
||||||
#include "CMusicHandler.h"
|
#include "../CGameInfo.h"
|
||||||
#include "Graphics.h"
|
#include "../CMusicHandler.h"
|
||||||
#include "GUIClasses.h"
|
#include "../CPlayerInterface.h"
|
||||||
#include "StartInfo.h"
|
#include "../CPreGame.h"
|
||||||
#include "CPreGame.h"
|
#include "../Graphics.h"
|
||||||
#include "gui/CGuiHandler.h"
|
|
||||||
#include "gui/SDL_Pixels.h"
|
#include "../gui/CGuiHandler.h"
|
||||||
#include "gui/MiscWidgets.h"
|
#include "../gui/SDL_Pixels.h"
|
||||||
#include "battle/CBattleInterface.h"
|
|
||||||
#include "battle/CBattleInterfaceClasses.h"
|
#include "../windows/CAdvmapInterface.h"
|
||||||
#include "gui/MiscWidgets.h"
|
#include "../windows/GUIClasses.h"
|
||||||
|
|
||||||
|
#include "../battle/CBattleInterfaceClasses.h"
|
||||||
|
#include "../battle/CBattleInterface.h"
|
||||||
|
|
||||||
|
#include "../../CCallback.h"
|
||||||
|
#include "../../lib/StartInfo.h"
|
||||||
|
#include "../../lib/CGameState.h"
|
||||||
|
#include "../../lib/CGeneralTextHandler.h"
|
||||||
|
#include "../../lib/CHeroHandler.h"
|
||||||
|
#include "../../lib/CModHandler.h"
|
||||||
|
#include "../../lib/CTownHandler.h"
|
||||||
|
#include "../../lib/filesystem/Filesystem.h"
|
||||||
|
#include "../../lib/JsonNode.h"
|
||||||
|
#include "../../lib/mapObjects/CGHeroInstance.h"
|
||||||
|
#include "../../lib/mapping/CMap.h"
|
||||||
|
#include "../../lib/NetPacksBase.h"
|
||||||
|
#include "../../lib/StringConstants.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAdventureMapClasses.h, part of VCMI engine
|
* CAdventureMapClasses.h, part of VCMI engine
|
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "gui/CIntObjectClasses.h"
|
#include "CIntObjectClasses.h"
|
||||||
|
|
||||||
class CArmedInstance;
|
class CArmedInstance;
|
||||||
class CShowableAnim;
|
class CShowableAnim;
|
@ -1,17 +1,18 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
|
#include "CAnimation.h"
|
||||||
|
|
||||||
#include <SDL_image.h>
|
#include <SDL_image.h>
|
||||||
|
|
||||||
|
#include "../CBitmapHandler.h"
|
||||||
|
#include "../Graphics.h"
|
||||||
|
#include "../gui/SDL_Extensions.h"
|
||||||
|
#include "../gui/SDL_Pixels.h"
|
||||||
|
|
||||||
#include "../lib/filesystem/Filesystem.h"
|
#include "../lib/filesystem/Filesystem.h"
|
||||||
#include "../lib/filesystem/ISimpleResourceLoader.h"
|
#include "../lib/filesystem/ISimpleResourceLoader.h"
|
||||||
#include "../lib/JsonNode.h"
|
#include "../lib/JsonNode.h"
|
||||||
#include "../lib/CRandomGenerator.h"
|
#include "../lib/CRandomGenerator.h"
|
||||||
|
|
||||||
#include "CBitmapHandler.h"
|
|
||||||
#include "Graphics.h"
|
|
||||||
#include "CAnimation.h"
|
|
||||||
#include "gui/SDL_Extensions.h"
|
|
||||||
#include "gui/SDL_Pixels.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAnimation.cpp, part of VCMI engine
|
* CAnimation.cpp, part of VCMI engine
|
||||||
*
|
*
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../lib/vcmi_endian.h"
|
#include "../../lib/vcmi_endian.h"
|
||||||
#include "gui/CIntObject.h"
|
#include "../gui/CIntObject.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CAnimation.h, part of VCMI engine
|
* CAnimation.h, part of VCMI engine
|
@ -1,15 +1,15 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "CArtifactHolder.h"
|
#include "CArtifactHolder.h"
|
||||||
|
|
||||||
#include "CGuiHandler.h"
|
#include "../gui/CGuiHandler.h"
|
||||||
#include "CCursorHandler.h"
|
#include "../gui/CCursorHandler.h"
|
||||||
|
|
||||||
#include "../CAnimation.h"
|
#include "CAnimation.h"
|
||||||
#include "../CHeroWindow.h"
|
#include "../windows/CHeroWindow.h"
|
||||||
#include "../CSpellWindow.h"
|
#include "../windows/CSpellWindow.h"
|
||||||
|
#include "../windows/GUIClasses.h"
|
||||||
#include "../CPlayerInterface.h"
|
#include "../CPlayerInterface.h"
|
||||||
#include "../CGameInfo.h"
|
#include "../CGameInfo.h"
|
||||||
#include "../GUIClasses.h" // FIXME: kill this include
|
|
||||||
|
|
||||||
#include "../../CCallback.h"
|
#include "../../CCallback.h"
|
||||||
|
|
@ -1,8 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "CComponent.h"
|
#include "CComponent.h"
|
||||||
#include "gui/CIntObject.h"
|
#include "../gui/CIntObject.h"
|
||||||
#include "../lib/NetPacksBase.h"
|
#include "../../lib/NetPacksBase.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CArtifactHolder.h, part of VCMI engine
|
* CArtifactHolder.h, part of VCMI engine
|
@ -1,13 +1,13 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "CComponent.h"
|
#include "CComponent.h"
|
||||||
|
|
||||||
#include "CGuiHandler.h"
|
#include "../gui/CGuiHandler.h"
|
||||||
#include "CCursorHandler.h"
|
#include "../gui/CCursorHandler.h"
|
||||||
|
|
||||||
#include "../CAnimation.h"
|
#include "CAnimation.h"
|
||||||
#include "../CMessage.h"
|
#include "../CMessage.h"
|
||||||
#include "../CGameInfo.h"
|
#include "../CGameInfo.h"
|
||||||
#include "../CAdvmapInterface.h"
|
#include "../windows/CAdvmapInterface.h"
|
||||||
|
|
||||||
#include "../../lib/CArtHandler.h"
|
#include "../../lib/CArtHandler.h"
|
||||||
#include "../../lib/CTownHandler.h"
|
#include "../../lib/CTownHandler.h"
|
@ -1,8 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../../lib/NetPacksBase.h"
|
#include "../../lib/NetPacksBase.h"
|
||||||
#include "gui/CIntObject.h"
|
#include "CIntObjectClasses.h"
|
||||||
#include "gui/CIntObjectClasses.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CComponent.h, part of VCMI engine
|
* CComponent.h, part of VCMI engine
|
@ -1,13 +1,13 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "CGarrisonInt.h"
|
#include "CGarrisonInt.h"
|
||||||
|
|
||||||
#include "CGuiHandler.h"
|
#include "../gui/CGuiHandler.h"
|
||||||
|
|
||||||
#include "../CAnimation.h"
|
#include "CAnimation.h"
|
||||||
#include "../CCreatureWindow.h"
|
|
||||||
#include "../CGameInfo.h"
|
#include "../CGameInfo.h"
|
||||||
#include "../CPlayerInterface.h"
|
#include "../CPlayerInterface.h"
|
||||||
#include "../GUIClasses.h"
|
#include "../windows/CCreatureWindow.h"
|
||||||
|
#include "../windows/GUIClasses.h"
|
||||||
|
|
||||||
#include "../../CCallback.h"
|
#include "../../CCallback.h"
|
||||||
|
|
@ -1,6 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "CIntObject.h"
|
|
||||||
#include "CIntObjectClasses.h"
|
#include "CIntObjectClasses.h"
|
||||||
|
|
||||||
/*
|
/*
|
@ -1,23 +1,24 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "CIntObjectClasses.h"
|
#include "CIntObjectClasses.h"
|
||||||
|
|
||||||
#include "SDL_Pixels.h"
|
#include "CAnimation.h"
|
||||||
#include "SDL_Extensions.h"
|
|
||||||
#include "CGuiHandler.h"
|
|
||||||
#include "CCursorHandler.h"
|
|
||||||
#include "MiscWidgets.h"
|
#include "MiscWidgets.h"
|
||||||
|
|
||||||
|
#include "../gui/SDL_Pixels.h"
|
||||||
|
#include "../gui/SDL_Extensions.h"
|
||||||
|
#include "../gui/CGuiHandler.h"
|
||||||
|
#include "../gui/CCursorHandler.h"
|
||||||
|
|
||||||
#include "../battle/CBattleInterface.h"
|
#include "../battle/CBattleInterface.h"
|
||||||
#include "../battle/CBattleInterfaceClasses.h"
|
#include "../battle/CBattleInterfaceClasses.h"
|
||||||
|
|
||||||
#include "../CBitmapHandler.h"
|
#include "../CBitmapHandler.h"
|
||||||
#include "../Graphics.h"
|
#include "../Graphics.h"
|
||||||
#include "../CAnimation.h"
|
|
||||||
#include "../CGameInfo.h"
|
#include "../CGameInfo.h"
|
||||||
#include "../CPlayerInterface.h"
|
#include "../CPlayerInterface.h"
|
||||||
#include "../CMessage.h"
|
#include "../CMessage.h"
|
||||||
#include "../CMusicHandler.h"
|
#include "../CMusicHandler.h"
|
||||||
#include "../CAdvmapInterface.h"
|
#include "../windows/CAdvmapInterface.h"
|
||||||
|
|
||||||
#include "../../CCallback.h"
|
#include "../../CCallback.h"
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "CIntObject.h"
|
#include "../gui/CIntObject.h"
|
||||||
#include "SDL_Extensions.h"
|
#include "../gui/SDL_Extensions.h"
|
||||||
#include "../../lib/FunctionList.h"
|
#include "../../lib/FunctionList.h"
|
||||||
|
|
||||||
struct SDL_Surface;
|
struct SDL_Surface;
|
@ -1,15 +1,15 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "MiscWidgets.h"
|
#include "MiscWidgets.h"
|
||||||
|
|
||||||
#include "CGuiHandler.h"
|
#include "../gui/CGuiHandler.h"
|
||||||
#include "CCursorHandler.h"
|
#include "../gui/CCursorHandler.h"
|
||||||
|
|
||||||
#include "../CBitmapHandler.h"
|
#include "../CBitmapHandler.h"
|
||||||
#include "../CPlayerInterface.h"
|
#include "../CPlayerInterface.h"
|
||||||
#include "../CMessage.h"
|
#include "../CMessage.h"
|
||||||
#include "../CGameInfo.h"
|
#include "../CGameInfo.h"
|
||||||
#include "../CAdvmapInterface.h"
|
#include "../windows/CAdvmapInterface.h"
|
||||||
#include "../CCastleInterface.h"
|
#include "../windows/CCastleInterface.h"
|
||||||
|
|
||||||
#include "../../CCallback.h"
|
#include "../../CCallback.h"
|
||||||
|
|
@ -1,39 +1,43 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "CAdvmapInterface.h"
|
#include "CAdvmapInterface.h"
|
||||||
|
|
||||||
#include "../CCallback.h"
|
|
||||||
#include "CCastleInterface.h"
|
#include "CCastleInterface.h"
|
||||||
#include "gui/CCursorHandler.h"
|
|
||||||
#include "CGameInfo.h"
|
|
||||||
#include "CHeroWindow.h"
|
#include "CHeroWindow.h"
|
||||||
#include "CKingdomInterface.h"
|
#include "CKingdomInterface.h"
|
||||||
#include "CMessage.h"
|
|
||||||
#include "CPlayerInterface.h"
|
|
||||||
#include "gui/SDL_Extensions.h"
|
|
||||||
#include "CBitmapHandler.h"
|
|
||||||
#include "../lib/CConfigHandler.h"
|
|
||||||
#include "CSpellWindow.h"
|
#include "CSpellWindow.h"
|
||||||
#include "Graphics.h"
|
|
||||||
#include "GUIClasses.h"
|
#include "GUIClasses.h"
|
||||||
#include "CDefHandler.h"
|
#include "CTradeWindow.h"
|
||||||
#include "../lib/CGeneralTextHandler.h"
|
|
||||||
#include "../lib/CHeroHandler.h"
|
#include "../CBitmapHandler.h"
|
||||||
#include "../lib/mapObjects/CGHeroInstance.h"
|
#include "../CDefHandler.h"
|
||||||
#include "../lib/CTownHandler.h"
|
#include "../CGameInfo.h"
|
||||||
#include "../lib/mapping/CMap.h"
|
#include "../CMessage.h"
|
||||||
#include "../lib/JsonNode.h"
|
#include "../CMusicHandler.h"
|
||||||
#include "mapHandler.h"
|
#include "../CPlayerInterface.h"
|
||||||
#include "CPreGame.h"
|
#include "../CPreGame.h"
|
||||||
#include "../lib/VCMI_Lib.h"
|
#include "../Graphics.h"
|
||||||
#include "../lib/CSpellHandler.h"
|
#include "../mapHandler.h"
|
||||||
#include "../lib/CSoundBase.h"
|
|
||||||
#include "../lib/CGameState.h"
|
#include "../gui/CCursorHandler.h"
|
||||||
#include "CMusicHandler.h"
|
#include "../gui/CGuiHandler.h"
|
||||||
#include "gui/CGuiHandler.h"
|
#include "../gui/SDL_Extensions.h"
|
||||||
#include "gui/CIntObjectClasses.h"
|
#include "../widgets/CIntObjectClasses.h"
|
||||||
#include "gui/CTradeWindow.h"
|
#include "../widgets/MiscWidgets.h"
|
||||||
#include "gui/MiscWidgets.h"
|
|
||||||
#include "../lib/UnlockGuard.h"
|
#include "../../CCallback.h"
|
||||||
|
|
||||||
|
#include "../../lib/CConfigHandler.h"
|
||||||
|
#include "../../lib/CGameState.h"
|
||||||
|
#include "../../lib/CGeneralTextHandler.h"
|
||||||
|
#include "../../lib/CHeroHandler.h"
|
||||||
|
#include "../../lib/CSoundBase.h"
|
||||||
|
#include "../../lib/CSpellHandler.h"
|
||||||
|
#include "../../lib/CTownHandler.h"
|
||||||
|
#include "../../lib/JsonNode.h"
|
||||||
|
#include "../../lib/mapObjects/CGHeroInstance.h"
|
||||||
|
#include "../../lib/mapping/CMap.h"
|
||||||
|
#include "../../lib/UnlockGuard.h"
|
||||||
|
#include "../../lib/VCMI_Lib.h"
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma warning (disable : 4355)
|
#pragma warning (disable : 4355)
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "gui/CIntObject.h"
|
#include "../gui/CIntObject.h"
|
||||||
#include "AdventureMapClasses.h"
|
#include "../widgets/AdventureMapClasses.h"
|
||||||
|
|
||||||
class CDefHandler;
|
class CDefHandler;
|
||||||
class CCallback;
|
class CCallback;
|
@ -1,33 +1,36 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "CCastleInterface.h"
|
#include "CCastleInterface.h"
|
||||||
|
|
||||||
#include "../CCallback.h"
|
|
||||||
#include "../lib/CArtHandler.h"
|
|
||||||
#include "../lib/CBuildingHandler.h"
|
|
||||||
#include "../lib/CCreatureHandler.h"
|
|
||||||
#include "../lib/CGeneralTextHandler.h"
|
|
||||||
#include "../lib/CModHandler.h"
|
|
||||||
#include "../lib/mapObjects/CGHeroInstance.h"
|
|
||||||
#include "../lib/CSpellHandler.h"
|
|
||||||
#include "../lib/CTownHandler.h"
|
|
||||||
#include "CAdvmapInterface.h"
|
#include "CAdvmapInterface.h"
|
||||||
#include "CAnimation.h"
|
|
||||||
#include "CBitmapHandler.h"
|
|
||||||
#include "CDefHandler.h"
|
|
||||||
#include "CGameInfo.h"
|
|
||||||
#include "CHeroWindow.h"
|
#include "CHeroWindow.h"
|
||||||
#include "CMessage.h"
|
#include "CTradeWindow.h"
|
||||||
#include "CMusicHandler.h"
|
|
||||||
#include "CPlayerInterface.h"
|
|
||||||
#include "Graphics.h"
|
|
||||||
#include "gui/SDL_Extensions.h"
|
|
||||||
#include "../lib/GameConstants.h"
|
|
||||||
#include "gui/CGuiHandler.h"
|
|
||||||
#include "gui/CIntObjectClasses.h"
|
|
||||||
#include "gui/CTradeWindow.h"
|
|
||||||
#include "gui/MiscWidgets.h"
|
|
||||||
#include "GUIClasses.h"
|
#include "GUIClasses.h"
|
||||||
|
|
||||||
|
#include "../CBitmapHandler.h"
|
||||||
|
#include "../CDefHandler.h"
|
||||||
|
#include "../CGameInfo.h"
|
||||||
|
#include "../CMessage.h"
|
||||||
|
#include "../CMusicHandler.h"
|
||||||
|
#include "../CPlayerInterface.h"
|
||||||
|
#include "../Graphics.h"
|
||||||
|
|
||||||
|
#include "../gui/CGuiHandler.h"
|
||||||
|
#include "../gui/SDL_Extensions.h"
|
||||||
|
#include "../widgets/CAnimation.h"
|
||||||
|
#include "../widgets/CIntObjectClasses.h"
|
||||||
|
#include "../widgets/MiscWidgets.h"
|
||||||
|
|
||||||
|
#include "../../CCallback.h"
|
||||||
|
#include "../../lib/CArtHandler.h"
|
||||||
|
#include "../../lib/CBuildingHandler.h"
|
||||||
|
#include "../../lib/CCreatureHandler.h"
|
||||||
|
#include "../../lib/CGeneralTextHandler.h"
|
||||||
|
#include "../../lib/CModHandler.h"
|
||||||
|
#include "../../lib/CSpellHandler.h"
|
||||||
|
#include "../../lib/CTownHandler.h"
|
||||||
|
#include "../../lib/GameConstants.h"
|
||||||
|
#include "../../lib/mapObjects/CGHeroInstance.h"
|
||||||
|
|
||||||
using namespace boost::assign;
|
using namespace boost::assign;
|
||||||
|
|
||||||
/*
|
/*
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "CAnimation.h"
|
#include "../widgets/CAnimation.h"
|
||||||
#include "gui/CGarrisonInt.h"
|
#include "../widgets/CGarrisonInt.h"
|
||||||
|
|
||||||
class CAdventureMapButton;
|
class CAdventureMapButton;
|
||||||
class CBuilding;
|
class CBuilding;
|
@ -1,32 +1,30 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "CCreatureWindow.h"
|
#include "CCreatureWindow.h"
|
||||||
|
|
||||||
#include "../lib/CCreatureSet.h"
|
#include "../CBitmapHandler.h"
|
||||||
#include "CGameInfo.h"
|
#include "../CDefHandler.h"
|
||||||
#include "../lib/CGeneralTextHandler.h"
|
#include "../CGameInfo.h"
|
||||||
#include "../lib/BattleState.h"
|
#include "../CPlayerInterface.h"
|
||||||
#include "../CCallback.h"
|
#include "../Graphics.h"
|
||||||
|
|
||||||
#include <SDL.h>
|
#include "../gui/SDL_Extensions.h"
|
||||||
#include "gui/SDL_Extensions.h"
|
#include "../gui/CGuiHandler.h"
|
||||||
#include "CBitmapHandler.h"
|
|
||||||
#include "CDefHandler.h"
|
|
||||||
#include "Graphics.h"
|
|
||||||
#include "CPlayerInterface.h"
|
|
||||||
#include "../lib/CConfigHandler.h"
|
|
||||||
#include "CAnimation.h"
|
|
||||||
|
|
||||||
#include "../lib/CGameState.h"
|
#include "../widgets/CAnimation.h"
|
||||||
#include "../lib/BattleState.h"
|
#include "../widgets/CIntObjectClasses.h"
|
||||||
#include "../lib/CSpellHandler.h"
|
#include "../widgets/MiscWidgets.h"
|
||||||
#include "../lib/CArtHandler.h"
|
|
||||||
#include "../lib/NetPacksBase.h" //ArtifactLocation
|
|
||||||
#include "../lib/CModHandler.h"
|
|
||||||
#include "../lib/IBonusTypeHandler.h"
|
|
||||||
|
|
||||||
#include "gui/CGuiHandler.h"
|
#include "../../CCallback.h"
|
||||||
#include "gui/CIntObjectClasses.h"
|
#include "../../lib/BattleState.h"
|
||||||
#include "gui/MiscWidgets.h"
|
#include "../../lib/CArtHandler.h"
|
||||||
|
#include "../../lib/CConfigHandler.h"
|
||||||
|
#include "../../lib/CCreatureSet.h"
|
||||||
|
#include "../../lib/CGameState.h"
|
||||||
|
#include "../../lib/CGeneralTextHandler.h"
|
||||||
|
#include "../../lib/CModHandler.h"
|
||||||
|
#include "../../lib/CSpellHandler.h"
|
||||||
|
#include "../../lib/IBonusTypeHandler.h"
|
||||||
|
#include "../../lib/NetPacksBase.h"
|
||||||
|
|
||||||
using namespace CSDL_Ext;
|
using namespace CSDL_Ext;
|
||||||
|
|
@ -1,8 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "gui/CIntObject.h"
|
#include "../../lib/HeroBonus.h"
|
||||||
#include "../lib/HeroBonus.h"
|
#include "../gui/CIntObject.h"
|
||||||
#include "gui/CArtifactHolder.h"
|
#include "../widgets/CArtifactHolder.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CCreatureWindow.h, part of VCMI engine
|
* CCreatureWindow.h, part of VCMI engine
|
@ -1,36 +1,35 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
|
|
||||||
#include "CAnimation.h"
|
|
||||||
#include "CAdvmapInterface.h"
|
|
||||||
#include "../CCallback.h"
|
|
||||||
#include "CGameInfo.h"
|
|
||||||
#include "CHeroWindow.h"
|
#include "CHeroWindow.h"
|
||||||
#include "CMessage.h"
|
|
||||||
#include "CKingdomInterface.h"
|
#include "CAdvmapInterface.h"
|
||||||
#include "CCreatureWindow.h"
|
#include "CCreatureWindow.h"
|
||||||
#include "SDL.h"
|
#include "CKingdomInterface.h"
|
||||||
#include "gui/SDL_Extensions.h"
|
|
||||||
#include "CBitmapHandler.h"
|
|
||||||
#include "Graphics.h"
|
|
||||||
#include "CSpellWindow.h"
|
#include "CSpellWindow.h"
|
||||||
#include "../lib/CConfigHandler.h"
|
#include "GUIClasses.h"
|
||||||
#include "CPlayerInterface.h"
|
|
||||||
|
#include "../CBitmapHandler.h"
|
||||||
|
#include "../CDefHandler.h"
|
||||||
|
#include "../CGameInfo.h"
|
||||||
|
#include "../CMessage.h"
|
||||||
|
#include "../CMT.h"
|
||||||
|
#include "../CPlayerInterface.h"
|
||||||
|
#include "../Graphics.h"
|
||||||
|
|
||||||
|
#include "../gui/SDL_Extensions.h"
|
||||||
|
#include "../gui/CGuiHandler.h"
|
||||||
|
#include "../widgets/CAnimation.h"
|
||||||
|
#include "../widgets/CIntObjectClasses.h"
|
||||||
|
#include "../widgets/MiscWidgets.h"
|
||||||
|
|
||||||
|
#include "../../CCallback.h"
|
||||||
|
|
||||||
#include "../lib/CArtHandler.h"
|
#include "../lib/CArtHandler.h"
|
||||||
#include "CDefHandler.h"
|
#include "../lib/CConfigHandler.h"
|
||||||
#include "../lib/CGeneralTextHandler.h"
|
#include "../lib/CGeneralTextHandler.h"
|
||||||
#include "../lib/CHeroHandler.h"
|
#include "../lib/CHeroHandler.h"
|
||||||
#include "../lib/mapObjects/CGHeroInstance.h"
|
#include "../lib/mapObjects/CGHeroInstance.h"
|
||||||
#include "../lib/NetPacksBase.h"
|
#include "../lib/NetPacksBase.h"
|
||||||
|
|
||||||
#include "gui/CGuiHandler.h"
|
|
||||||
#include "gui/CIntObjectClasses.h"
|
|
||||||
#include "gui/MiscWidgets.h"
|
|
||||||
#include "GUIClasses.h"
|
|
||||||
#include "CMT.h"
|
|
||||||
|
|
||||||
#undef min
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CHeroWindow.cpp, part of VCMI engine
|
* CHeroWindow.cpp, part of VCMI engine
|
||||||
*
|
*
|
@ -1,9 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../lib/HeroBonus.h"
|
#include "../../lib/HeroBonus.h"
|
||||||
#include "gui/CIntObjectClasses.h"
|
#include "../widgets/CIntObjectClasses.h"
|
||||||
#include "gui/CArtifactHolder.h"
|
#include "../widgets/CArtifactHolder.h"
|
||||||
#include "gui/CGarrisonInt.h"
|
#include "../widgets/CGarrisonInt.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CHeroWindow.h, part of VCMI engine
|
* CHeroWindow.h, part of VCMI engine
|
@ -1,23 +1,26 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "CKingdomInterface.h"
|
#include "CKingdomInterface.h"
|
||||||
|
|
||||||
#include "../CCallback.h"
|
#include "CAdvmapInterface.h"
|
||||||
#include "../lib/CCreatureHandler.h" //creatures name for objects list
|
#include "CCastleInterface.h"
|
||||||
#include "../lib/CGeneralTextHandler.h"
|
|
||||||
#include "../lib/CModHandler.h" //for buildings per turn
|
#include "../CGameInfo.h"
|
||||||
#include "../lib/mapObjects/CGHeroInstance.h"
|
#include "../CMT.h"
|
||||||
#include "../lib/CHeroHandler.h" // only for calculating required xp? worth it?
|
#include "../CPlayerInterface.h"
|
||||||
#include "../lib/CTownHandler.h"
|
#include "../gui/CGuiHandler.h"
|
||||||
#include "CAnimation.h" //CAnimImage
|
#include "../widgets/CAnimation.h"
|
||||||
#include "CAdvmapInterface.h" //CResDataBar
|
#include "../widgets/CIntObjectClasses.h"
|
||||||
#include "CCastleInterface.h" //various town-specific classes
|
#include "../widgets/MiscWidgets.h"
|
||||||
#include "../lib/CConfigHandler.h"
|
|
||||||
#include "CGameInfo.h"
|
#include "../../CCallback.h"
|
||||||
#include "CPlayerInterface.h" //LOCPLINT
|
|
||||||
#include "gui/CGuiHandler.h"
|
#include "../../lib/CConfigHandler.h"
|
||||||
#include "gui/CIntObjectClasses.h"
|
#include "../../lib/CCreatureHandler.h"
|
||||||
#include "gui/MiscWidgets.h"
|
#include "../../lib/CGeneralTextHandler.h"
|
||||||
#include "CMT.h"
|
#include "../../lib/CHeroHandler.h"
|
||||||
|
#include "../../lib/CModHandler.h"
|
||||||
|
#include "../../lib/CTownHandler.h"
|
||||||
|
#include "../../lib/mapObjects/CGHeroInstance.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CKingdomInterface.cpp, part of VCMI engine
|
* CKingdomInterface.cpp, part of VCMI engine
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "gui/CArtifactHolder.h"
|
#include "../widgets/CArtifactHolder.h"
|
||||||
#include "gui/CGarrisonInt.h"
|
#include "../widgets/CGarrisonInt.h"
|
||||||
|
|
||||||
class CAdventureMapButton;
|
class CAdventureMapButton;
|
||||||
class CAnimImage;
|
class CAnimImage;
|
@ -1,24 +1,24 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "CQuestLog.h"
|
#include "CQuestLog.h"
|
||||||
|
|
||||||
#include "CGameInfo.h"
|
|
||||||
#include "../lib/CGeneralTextHandler.h"
|
|
||||||
#include "../CCallback.h"
|
|
||||||
|
|
||||||
#include "CBitmapHandler.h"
|
|
||||||
#include "CDefHandler.h"
|
|
||||||
#include "Graphics.h"
|
|
||||||
#include "CPlayerInterface.h"
|
|
||||||
#include "CAdvmapInterface.h"
|
#include "CAdvmapInterface.h"
|
||||||
|
|
||||||
#include "../lib/CGameState.h"
|
#include "../CBitmapHandler.h"
|
||||||
#include "../lib/CArtHandler.h"
|
#include "../CDefHandler.h"
|
||||||
#include "../lib/NetPacksBase.h"
|
#include "../CGameInfo.h"
|
||||||
#include "../lib/CConfigHandler.h"
|
#include "../CPlayerInterface.h"
|
||||||
|
#include "../Graphics.h"
|
||||||
|
|
||||||
#include "gui/CGuiHandler.h"
|
#include "../gui/CGuiHandler.h"
|
||||||
#include "gui/CIntObjectClasses.h"
|
#include "../gui/SDL_Extensions.h"
|
||||||
#include "gui/SDL_Extensions.h"
|
#include "../widgets/CIntObjectClasses.h"
|
||||||
|
|
||||||
|
#include "../../CCallback.h"
|
||||||
|
#include "../../lib/CArtHandler.h"
|
||||||
|
#include "../../lib/CConfigHandler.h"
|
||||||
|
#include "../../lib/CGameState.h"
|
||||||
|
#include "../../lib/CGeneralTextHandler.h"
|
||||||
|
#include "../../lib/NetPacksBase.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CQuestLog.cpp, part of VCMI engine
|
* CQuestLog.cpp, part of VCMI engine
|
@ -1,12 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "gui/CIntObjectClasses.h"
|
#include "../widgets/CIntObjectClasses.h"
|
||||||
#include "CAnimation.h"
|
#include "../widgets/CAnimation.h"
|
||||||
#include "AdventureMapClasses.h"
|
#include "../widgets/AdventureMapClasses.h"
|
||||||
//#include "CAdvmapInterface.h"
|
|
||||||
//
|
|
||||||
|
|
||||||
//#include "../lib/CGameState.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CQuestLog.h, part of VCMI engine
|
* CQuestLog.h, part of VCMI engine
|
@ -1,28 +1,32 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "CSpellWindow.h"
|
#include "CSpellWindow.h"
|
||||||
|
|
||||||
#include "Graphics.h"
|
|
||||||
#include "CDefHandler.h"
|
|
||||||
#include "../lib/CConfigHandler.h"
|
|
||||||
#include "../lib/CSpellHandler.h"
|
|
||||||
#include "../lib/CGeneralTextHandler.h"
|
|
||||||
#include "CVideoHandler.h"
|
|
||||||
#include "CAdvmapInterface.h"
|
#include "CAdvmapInterface.h"
|
||||||
#include "battle/CBattleInterface.h"
|
|
||||||
#include "CGameInfo.h"
|
|
||||||
#include "gui/SDL_Extensions.h"
|
|
||||||
#include "CMessage.h"
|
|
||||||
#include "CPlayerInterface.h"
|
|
||||||
#include "../CCallback.h"
|
|
||||||
#include "CBitmapHandler.h"
|
|
||||||
#include "../lib/CHeroHandler.h"
|
|
||||||
#include "../lib/BattleState.h"
|
|
||||||
#include "../lib/GameConstants.h"
|
|
||||||
#include "gui/CGuiHandler.h"
|
|
||||||
#include "gui/MiscWidgets.h"
|
|
||||||
#include "CMT.h"
|
|
||||||
#include "GUIClasses.h"
|
#include "GUIClasses.h"
|
||||||
|
|
||||||
|
#include "../CBitmapHandler.h"
|
||||||
|
#include "../CDefHandler.h"
|
||||||
|
#include "../CGameInfo.h"
|
||||||
|
#include "../CMessage.h"
|
||||||
|
#include "../CMT.h"
|
||||||
|
#include "../CPlayerInterface.h"
|
||||||
|
#include "../CVideoHandler.h"
|
||||||
|
#include "../Graphics.h"
|
||||||
|
|
||||||
|
#include "../battle/CBattleInterface.h"
|
||||||
|
#include "../gui/CGuiHandler.h"
|
||||||
|
#include "../gui/SDL_Extensions.h"
|
||||||
|
#include "../widgets/MiscWidgets.h"
|
||||||
|
|
||||||
|
#include "../../CCallback.h"
|
||||||
|
|
||||||
|
#include "../../lib/BattleState.h"
|
||||||
|
#include "../../lib/CConfigHandler.h"
|
||||||
|
#include "../../lib/CGeneralTextHandler.h"
|
||||||
|
#include "../../lib/CHeroHandler.h"
|
||||||
|
#include "../../lib/CSpellHandler.h"
|
||||||
|
#include "../../lib/GameConstants.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CSpellWindow.cpp, part of VCMI engine
|
* CSpellWindow.cpp, part of VCMI engine
|
||||||
*
|
*
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "gui/CIntObject.h"
|
#include "../gui/CIntObject.h"
|
||||||
#include "gui/CIntObjectClasses.h"
|
#include "../widgets/CIntObjectClasses.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CSpellWindow.h, part of VCMI engine
|
* CSpellWindow.h, part of VCMI engine
|
@ -1,11 +1,12 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "CTradeWindow.h"
|
#include "CTradeWindow.h"
|
||||||
|
|
||||||
#include "CGuiHandler.h"
|
#include "CAdvmapInterface.h"
|
||||||
#include "CAnimation.h"
|
|
||||||
#include "CCursorHandler.h"
|
#include "../gui/CGuiHandler.h"
|
||||||
|
#include "../gui/CCursorHandler.h"
|
||||||
|
#include "../widgets/CAnimation.h"
|
||||||
|
|
||||||
#include "../CAdvmapInterface.h"
|
|
||||||
#include "../CGameInfo.h"
|
#include "../CGameInfo.h"
|
||||||
#include "../CPlayerInterface.h"
|
#include "../CPlayerInterface.h"
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "CIntObjectClasses.h"
|
#include "../widgets/CIntObjectClasses.h"
|
||||||
#include "CArtifactHolder.h"
|
#include "../widgets/CArtifactHolder.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CTradeWindow.h, part of VCMI engine
|
* CTradeWindow.h, part of VCMI engine
|
@ -1,49 +1,54 @@
|
|||||||
#include "StdInc.h"
|
#include "StdInc.h"
|
||||||
#include "GUIClasses.h"
|
#include "GUIClasses.h"
|
||||||
#include "gui/SDL_Extensions.h"
|
|
||||||
|
|
||||||
#include "CAdvmapInterface.h"
|
#include "CAdvmapInterface.h"
|
||||||
#include "CBitmapHandler.h"
|
|
||||||
#include "CDefHandler.h"
|
|
||||||
#include "battle/CBattleInterface.h"
|
|
||||||
#include "battle/CBattleInterfaceClasses.h"
|
|
||||||
#include "../CCallback.h"
|
|
||||||
#include "CCastleInterface.h"
|
#include "CCastleInterface.h"
|
||||||
#include "CCreatureWindow.h"
|
#include "CCreatureWindow.h"
|
||||||
#include "gui/CCursorHandler.h"
|
|
||||||
#include "CGameInfo.h"
|
|
||||||
#include "CHeroWindow.h"
|
#include "CHeroWindow.h"
|
||||||
#include "CMessage.h"
|
#include "CSpellWindow.h"
|
||||||
#include "../lib/CConfigHandler.h"
|
|
||||||
#include "battle/CCreatureAnimation.h"
|
#include "../CBitmapHandler.h"
|
||||||
#include "CPlayerInterface.h"
|
#include "../CDefHandler.h"
|
||||||
#include "Graphics.h"
|
#include "../CGameInfo.h"
|
||||||
#include "CAnimation.h"
|
#include "../CMessage.h"
|
||||||
|
#include "../CMusicHandler.h"
|
||||||
|
#include "../CPlayerInterface.h"
|
||||||
|
#include "../CPreGame.h"
|
||||||
|
#include "../CVideoHandler.h"
|
||||||
|
#include "../Graphics.h"
|
||||||
|
#include "../mapHandler.h"
|
||||||
|
|
||||||
|
#include "../battle/CBattleInterfaceClasses.h"
|
||||||
|
#include "../battle/CBattleInterface.h"
|
||||||
|
#include "../battle/CCreatureAnimation.h"
|
||||||
|
|
||||||
|
#include "../gui/CGuiHandler.h"
|
||||||
|
#include "../gui/SDL_Extensions.h"
|
||||||
|
#include "../gui/CCursorHandler.h"
|
||||||
|
|
||||||
|
#include "../widgets/CAnimation.h"
|
||||||
|
#include "../widgets/MiscWidgets.h"
|
||||||
|
|
||||||
|
#include "../../CCallback.h"
|
||||||
|
|
||||||
|
#include "../lib/BattleState.h"
|
||||||
#include "../lib/CArtHandler.h"
|
#include "../lib/CArtHandler.h"
|
||||||
#include "../lib/CBuildingHandler.h"
|
#include "../lib/CBuildingHandler.h"
|
||||||
|
#include "../lib/CConfigHandler.h"
|
||||||
|
#include "../lib/CCreatureHandler.h"
|
||||||
|
#include "../lib/CGameState.h"
|
||||||
#include "../lib/CGeneralTextHandler.h"
|
#include "../lib/CGeneralTextHandler.h"
|
||||||
#include "../lib/CHeroHandler.h"
|
#include "../lib/CHeroHandler.h"
|
||||||
#include "../lib/CModHandler.h"
|
#include "../lib/CModHandler.h"
|
||||||
#include "../lib/CSpellHandler.h"
|
|
||||||
#include "../lib/CTownHandler.h"
|
|
||||||
#include "../lib/CondSh.h"
|
#include "../lib/CondSh.h"
|
||||||
#include "../lib/mapping/CMap.h"
|
#include "../lib/CSpellHandler.h"
|
||||||
#include "mapHandler.h"
|
|
||||||
#include "../lib/CStopWatch.h"
|
#include "../lib/CStopWatch.h"
|
||||||
#include "../lib/NetPacksBase.h"
|
#include "../lib/CTownHandler.h"
|
||||||
#include "CSpellWindow.h"
|
|
||||||
#include "CHeroWindow.h"
|
|
||||||
#include "CVideoHandler.h"
|
|
||||||
#include "../lib/StartInfo.h"
|
|
||||||
#include "CPreGame.h"
|
|
||||||
#include "../lib/HeroBonus.h"
|
|
||||||
#include "../lib/CCreatureHandler.h"
|
|
||||||
#include "CMusicHandler.h"
|
|
||||||
#include "../lib/BattleState.h"
|
|
||||||
#include "../lib/CGameState.h"
|
|
||||||
#include "../lib/GameConstants.h"
|
#include "../lib/GameConstants.h"
|
||||||
#include "gui/CGuiHandler.h"
|
#include "../lib/HeroBonus.h"
|
||||||
#include "gui/MiscWidgets.h"
|
#include "../lib/mapping/CMap.h"
|
||||||
|
#include "../lib/NetPacksBase.h"
|
||||||
|
#include "../lib/StartInfo.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* GUIClasses.cpp, part of VCMI engine
|
* GUIClasses.cpp, part of VCMI engine
|
@ -3,9 +3,9 @@
|
|||||||
#include "../lib/GameConstants.h"
|
#include "../lib/GameConstants.h"
|
||||||
#include "../lib/ResourceSet.h"
|
#include "../lib/ResourceSet.h"
|
||||||
#include "../lib/CConfigHandler.h"
|
#include "../lib/CConfigHandler.h"
|
||||||
#include "gui/CArtifactHolder.h"
|
#include "../widgets/CArtifactHolder.h"
|
||||||
#include "gui/CGarrisonInt.h"
|
#include "../widgets/CGarrisonInt.h"
|
||||||
#include "CAnimation.h"
|
#include "../widgets/CAnimation.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* GUIClasses.h, part of VCMI engine
|
* GUIClasses.h, part of VCMI engine
|
Loading…
Reference in New Issue
Block a user