374 lines
12 KiB
Plaintext
374 lines
12 KiB
Plaintext
# Add more folders to ship with the application, here
|
|
TARGET = wagic
|
|
TEMPLATE = app
|
|
|
|
#!macx:CONFIG += precompile_header
|
|
unix|macx:QMAKE_CXXFLAGS += -Wno-unused-parameter
|
|
unix:!*macx*:QMAKE_CXXFLAGS += -Wno-unused-but-set-parameter
|
|
unix:!*macx*:QMAKE_CXXFLAGS += -Wno-unused-but-set-variable
|
|
unix|*macx*:QMAKE_CXXFLAGS += -Wno-unused-value
|
|
unix:!*macx*:QMAKE_CXXFLAGS += -Wno-unused-local-typedefs
|
|
unix:!*macx*:!maemo5:!symbian:QMAKE_CXXFLAGS += -Werror
|
|
|
|
windows:DEFINES += _CRT_SECURE_NO_WARNINGS
|
|
unix|macx:DEFINES += LINUX
|
|
CONFIG(debug, debug|release) {
|
|
DEFINES += _DEBUG
|
|
}
|
|
|
|
DEFINES += NETWORK_SUPPORT
|
|
DEFINES += TIXML_USE_STL
|
|
|
|
windows:INCLUDEPATH += ../../JGE/Dependencies/include
|
|
windows{
|
|
*-g++* {
|
|
DEFINES += LINUX
|
|
INCLUDEPATH += /usr/i686-w64-mingw32/sys-root/mingw/include/Qt
|
|
# INCLUDEPATH += /usr/i686-w64-mingw32/sys-root/mingw/include/c++
|
|
LIBS += -L/usr/i686-w64-mingw32/sys-root/mingw/lib
|
|
LIBS += -lwsock32
|
|
DEFINES += FORCE_GL2
|
|
}
|
|
*-msvc* {
|
|
INCLUDEPATH += extra
|
|
DEFINES += WIN32
|
|
}
|
|
}
|
|
macx:INCLUDEPATH += /opt/include
|
|
INCLUDEPATH += ../../JGE/include
|
|
INCLUDEPATH += ../../JGE/src/zipFS
|
|
INCLUDEPATH += ../../Boost
|
|
INCLUDEPATH += include
|
|
|
|
unix:!symbian:LIBS += -lz
|
|
win32:LIBS += ../../JGE/Dependencies/lib/fmodvc.lib
|
|
win32:LIBS += ../../JGE/Dependencies/lib/zlibd.lib
|
|
PRECOMPILED_HEADER = include/PrecompiledHeader.h
|
|
|
|
#DEFINES += TRACK_OBJECT_USAGE
|
|
#DEFINES += AI_CHANGE_TESTING
|
|
#DEFINES += ACTION_LOGGING_TESTING
|
|
|
|
SOURCES += \
|
|
src/AbilityParser.cpp\
|
|
src/ActionElement.cpp\
|
|
src/ActionLayer.cpp\
|
|
src/ActionStack.cpp\
|
|
src/AIHints.cpp\
|
|
src/AIMomirPlayer.cpp\
|
|
src/AIPlayer.cpp\
|
|
src/AIPlayerBaka.cpp\
|
|
src/AIStats.cpp\
|
|
src/AllAbilities.cpp\
|
|
src/CardDescriptor.cpp\
|
|
src/CardDisplay.cpp\
|
|
src/CardGui.cpp\
|
|
src/CardPrimitive.cpp\
|
|
src/CardSelector.cpp\
|
|
src/CarouselDeckView.cpp\
|
|
src/Closest.cpp\
|
|
src/Counters.cpp\
|
|
src/Credits.cpp\
|
|
src/Damage.cpp\
|
|
src/DamagerDamaged.cpp\
|
|
src/DeckDataWrapper.cpp\
|
|
src/DeckEditorMenu.cpp\
|
|
src/DeckManager.cpp\
|
|
src/DeckMenu.cpp\
|
|
src/DeckMenuItem.cpp\
|
|
src/DeckMetaData.cpp\
|
|
src/DeckStats.cpp\
|
|
src/DeckView.cpp\
|
|
src/DuelLayers.cpp\
|
|
src/Effects.cpp\
|
|
src/ExtraCost.cpp\
|
|
src/GameApp.cpp\
|
|
src/GameLauncher.cpp\
|
|
src/GameObserver.cpp\
|
|
src/GameOptions.cpp\
|
|
src/GameStateAwards.cpp\
|
|
src/GameState.cpp\
|
|
src/GameStateDeckViewer.cpp\
|
|
src/GameStateDuel.cpp\
|
|
src/GameStateMenu.cpp\
|
|
src/GameStateOptions.cpp\
|
|
src/GameStateShop.cpp\
|
|
src/GameStateStory.cpp\
|
|
src/GameStateTransitions.cpp\
|
|
src/GridDeckView.cpp\
|
|
src/GuiAvatars.cpp\
|
|
src/GuiBackground.cpp\
|
|
src/GuiCardsController.cpp\
|
|
src/GuiCombat.cpp\
|
|
src/GuiFrame.cpp\
|
|
src/GuiHand.cpp\
|
|
src/GuiLayers.cpp\
|
|
src/GuiMana.cpp\
|
|
src/GuiPhaseBar.cpp\
|
|
src/GuiPlay.cpp\
|
|
src/GuiStatic.cpp\
|
|
src/IconButton.cpp\
|
|
src/InteractiveButton.cpp\
|
|
src/ManaCost.cpp\
|
|
src/ManaCostHybrid.cpp\
|
|
src/MenuItem.cpp\
|
|
src/ModRules.cpp\
|
|
src/MTGAbility.cpp\
|
|
src/MTGCard.cpp\
|
|
src/MTGCardInstance.cpp\
|
|
src/MTGDeck.cpp\
|
|
src/MTGDefinitions.cpp\
|
|
src/MTGGamePhase.cpp\
|
|
src/MTGGameZones.cpp\
|
|
src/MTGPack.cpp\
|
|
src/MTGRules.cpp\
|
|
src/ObjectAnalytics.cpp\
|
|
src/OptionItem.cpp\
|
|
src/PhaseRing.cpp\
|
|
src/Player.cpp\
|
|
src/PlayerData.cpp\
|
|
src/PlayGuiObject.cpp\
|
|
src/PlayGuiObjectController.cpp\
|
|
src/PlayRestrictions.cpp\
|
|
src/Pos.cpp\
|
|
src/PriceList.cpp\
|
|
src/ReplacementEffects.cpp\
|
|
src/Rules.cpp\
|
|
src/SimpleButton.cpp\
|
|
src/SimpleMenu.cpp\
|
|
src/SimpleMenuItem.cpp\
|
|
src/SimplePad.cpp\
|
|
src/SimplePopup.cpp\
|
|
src/StoryFlow.cpp\
|
|
src/Subtypes.cpp\
|
|
src/StyleManager.cpp\
|
|
src/TargetChooser.cpp\
|
|
src/TargetsList.cpp\
|
|
src/Tasks.cpp\
|
|
src/TextScroller.cpp\
|
|
src/ThisDescriptor.cpp\
|
|
src/Token.cpp\
|
|
src/Translate.cpp\
|
|
src/TranslateKeys.cpp\
|
|
src/Trash.cpp\
|
|
src/utils.cpp\
|
|
src/WCachedResource.cpp\
|
|
src/WDataSrc.cpp\
|
|
src/WEvent.cpp\
|
|
src/WFilter.cpp\
|
|
src/WFont.cpp\
|
|
src/WGui.cpp\
|
|
src/WResourceManager.cpp \
|
|
src/AIPlayerBakaB.cpp \
|
|
src/TestSuiteAI.cpp
|
|
|
|
HEADERS += \
|
|
include/CarouselDeckView.h\
|
|
include/DeckView.h\
|
|
include/Easing.h\
|
|
include/GridDeckView.h\
|
|
include/CacheEngine.h\
|
|
include/AllAbilities.h\
|
|
include/AbilityParser.h\
|
|
include/PrecompiledHeader.h\
|
|
include/WResource_Fwd.h\
|
|
include/PlayRestrictions.h\
|
|
include/ModRules.h\
|
|
include/AIHints.h\
|
|
include/AIPlayerBaka.h\
|
|
include/AIPlayerBakaB.h\
|
|
include/DeckEditorMenu.h\
|
|
include/WResourceManagerImpl.h\
|
|
include/DeckMenu.h\
|
|
include/DeckMenuItem.h\
|
|
include/ExtraCost.h\
|
|
include/ManaCost.h\
|
|
include/SimpleMenuItem.h\
|
|
include/GameApp.h\
|
|
include/ManaCostHybrid.h\
|
|
include/SimplePad.h\
|
|
include/ActionElement.h\
|
|
include/GameObserver.h\
|
|
include/MenuItem.h\
|
|
include/StoryFlow.h\
|
|
include/ActionLayer.h\
|
|
include/GameOptions.h\
|
|
include/MTGAbility.h\
|
|
include/Subtypes.h\
|
|
include/ActionStack.h\
|
|
include/GameStateAwards.h\
|
|
include/MTGCard.h\
|
|
include/AIMomirPlayer.h\
|
|
include/GameStateDeckViewer.h\
|
|
include/MTGCardInstance.h\
|
|
include/Targetable.h\
|
|
include/AIPlayer.h\
|
|
include/GameStateDuel.h\
|
|
include/MTGDeck.h\
|
|
include/TargetChooser.h\
|
|
include/AIStats.h\
|
|
include/GameState.h\
|
|
include/MTGDefinitions.h\
|
|
include/TargetsList.h\
|
|
include/AllAbilities.h\
|
|
include/GameStateMenu.h\
|
|
include/MTGGamePhase.h\
|
|
include/Tasks.h\
|
|
include/CardDescriptor.h\
|
|
include/GameStateOptions.h\
|
|
include/MTGGameZones.h\
|
|
include/TestSuiteAI.h\
|
|
include/CardDisplay.h\
|
|
include/GameStateShop.h\
|
|
include/MTGPack.h\
|
|
include/TextScroller.h\
|
|
include/GameStateStory.h\
|
|
include/MTGRules.h\
|
|
include/ThisDescriptor.h\
|
|
include/CardGui.h\
|
|
include/GameStateTransitions.h\
|
|
include/IconButton.h\
|
|
include/OptionItem.h\
|
|
include/Token.h\
|
|
include/CardPrimitive.h\
|
|
include/GuiAvatars.h\
|
|
include/Translate.h\
|
|
include/CardSelector.h\
|
|
include/GuiBackground.h\
|
|
include/PhaseRing.h\
|
|
include/TranslateKeys.h\
|
|
include/config.h\
|
|
include/GuiCardsController.h\
|
|
include/PlayerData.h\
|
|
include/Trash.h\
|
|
include/Counters.h\
|
|
include/GuiCombat.h\
|
|
include/Player.h\
|
|
include/utils.h\
|
|
include/Credits.h\
|
|
include/GuiFrame.h\
|
|
include/PlayGuiObjectController.h\
|
|
include/WCachedResource.h\
|
|
include/Damage.h\
|
|
include/GuiHand.h\
|
|
include/PlayGuiObject.h\
|
|
include/WDataSrc.h\
|
|
include/DamagerDamaged.h\
|
|
include/GuiLayers.h\
|
|
include/Pos.h\
|
|
include/WEvent.h\
|
|
include/DeckDataWrapper.h\
|
|
include/GuiMana.h\
|
|
include/PriceList.h\
|
|
include/WFilter.h\
|
|
include/DeckMetaData.h\
|
|
include/GuiPhaseBar.h\
|
|
include/ReplacementEffects.h\
|
|
include/WGui.h\
|
|
include/DeckStats.h\
|
|
include/GuiPlay.h\
|
|
include/Rules.h\
|
|
include/WResourceManager.h\
|
|
include/DuelLayers.h\
|
|
include/GuiStatic.h\
|
|
include/Effects.h\
|
|
include/StyleManager.h\
|
|
include/WFont.h\
|
|
include/DeckManager.h\
|
|
include/SimplePopup.h\
|
|
include/SimpleMenu.h\
|
|
include/SimpleButton.h\
|
|
include/InteractiveButton.h\
|
|
include/ObjectAnalytics.h
|
|
|
|
# JGE, could probably be moved outside
|
|
SOURCES += \
|
|
../../JGE/src/Encoding.cpp\
|
|
../../JGE/src/JAnimator.cpp\
|
|
../../JGE/src/JApp.cpp\
|
|
../../JGE/src/JDistortionMesh.cpp\
|
|
../../JGE/src/JFileSystem.cpp\
|
|
../../JGE/src/JGameObject.cpp\
|
|
../../JGE/src/JGE.cpp\
|
|
../../JGE/src/JGui.cpp\
|
|
../../JGE/src/JLogger.cpp\
|
|
../../JGE/src/JLBFont.cpp\
|
|
../../JGE/src/JOBJModel.cpp\
|
|
../../JGE/src/JParticle.cpp\
|
|
../../JGE/src/JParticleEffect.cpp\
|
|
../../JGE/src/JParticleEmitter.cpp\
|
|
../../JGE/src/JParticleSystem.cpp\
|
|
../../JGE/src/JResourceManager.cpp\
|
|
../../JGE/src/JSpline.cpp\
|
|
../../JGE/src/JNetwork.cpp\
|
|
../../JGE/src/pc/JSocket.cpp\
|
|
../../JGE/src/pc/JSfx.cpp\
|
|
../../JGE/src/JSprite.cpp\
|
|
../../JGE/src/Vector2D.cpp\
|
|
../../JGE/src/tinyxml/tinystr.cpp\
|
|
../../JGE/src/tinyxml/tinyxml.cpp\
|
|
../../JGE/src/tinyxml/tinyxmlerror.cpp\
|
|
../../JGE/src/tinyxml/tinyxmlparser.cpp\
|
|
../../JGE/src/hge/hgecolor.cpp\
|
|
../../JGE/src/hge/hgedistort.cpp\
|
|
../../JGE/src/hge/hgefont.cpp\
|
|
../../JGE/src/hge/hgeparticle.cpp\
|
|
../../JGE/src/hge/hgerect.cpp\
|
|
../../JGE/src/hge/hgevector.cpp\
|
|
../../JGE/src/zipFS/zfsystem.cpp\
|
|
../../JGE/src/zipFS/ziphdr.cpp\
|
|
../../JGE/src/zipFS/zstream.cpp
|
|
|
|
HEADERS += \
|
|
../../JGE/include/Threading.h\
|
|
../../JGE/include/decoder_prx.h\
|
|
../../JGE/include/DebugRoutines.h\
|
|
../../JGE/include/Encoding.h\
|
|
../../JGE/include/JAnimator.h\
|
|
../../JGE/include/JApp.h\
|
|
../../JGE/include/JAssert.h\
|
|
../../JGE/include/JCooleyesMP3.h\
|
|
../../JGE/include/JDistortionMesh.h\
|
|
../../JGE/include/JFileSystem.h\
|
|
../../JGE/include/JGameLauncher.h\
|
|
../../JGE/include/JGameObject.h\
|
|
../../JGE/include/JGE.h\
|
|
../../JGE/include/JGui.h\
|
|
../../JGE/include/JLBFont.h\
|
|
../../JGE/include/JLogger.h\
|
|
../../JGE/include/JMD2Model.h\
|
|
../../JGE/include/JMP3.h\
|
|
../../JGE/include/JNetwork.h\
|
|
../../JGE/include/JOBJModel.h\
|
|
../../JGE/include/JParticleEffect.h\
|
|
../../JGE/include/JParticleEmitter.h\
|
|
../../JGE/include/JParticle.h\
|
|
../../JGE/include/JParticleSystem.h\
|
|
../../JGE/include/JRenderer.h\
|
|
../../JGE/include/JResourceManager.h\
|
|
../../JGE/include/JSocket.h\
|
|
../../JGE/include/JSoundSystem.h\
|
|
../../JGE/include/JSpline.h\
|
|
../../JGE/include/JSprite.h\
|
|
../../JGE/include/JTypes.h\
|
|
../../JGE/include/Vector2D.h\
|
|
../../JGE/include/Vector3D.h\
|
|
../../JGE/include/vram.h\
|
|
../../JGE/include/hge/hgecolor.h\
|
|
../../JGE/include/hge/hgedistort.h\
|
|
../../JGE/include/hge/hgefont.h\
|
|
../../JGE/include/hge/hgeparticle.h\
|
|
../../JGE/include/hge/hgerect.h\
|
|
../../JGE/include/hge/hgevector.h\
|
|
../../JGE/src/unzip/unzip.h\
|
|
../../JGE/src/unzip/ioapi.h\
|
|
../../JGE/src/zipFS/zstream_zlib.h\
|
|
../../JGE/src/zipFS/zfsystem.h\
|
|
../../JGE/src/zipFS/zstream.h\
|
|
../../JGE/src/zipFS/ziphdr.h\
|
|
../../JGE/src/zipFS/stdafx.h\
|
|
../../JGE/src/zipFS/fileio.h\
|
|
../../JGE/src/tinyxml/tinystr.h\
|
|
../../JGE/src/tinyxml/tinyxml.h\
|
|
../../JGE/include/vram.h
|