1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-14 02:33:51 +02:00
vcmi/test/Test.cbp
AlexVinS 0b70baa95e Spells configuration version 2 (effect-based)
* Indirect spell effects loading
* Json serializer improvements
* spell->canBeCastAt do not allow useless cast for any spell
* Added proxy caster class for spell-created obstacles
* Handle damage from spell-created obstacles inside mechanics
* Experimental GameState integration/regression tests
* Ignore mod settings and load only "vcmi" mod when running tests
* fixed https://bugs.vcmi.eu/view.php?id=2765 (with tests)
* Huge improvements of BattleAI regarding spell casts
* AI can cast almost any combat spell except TELEPORT, SACRIFICE and obstacle placement spells.
* Possible fix for https://bugs.vcmi.eu/view.php?id=1811
* CStack factored out to several classes
* [Battle] Allowed RETURN_AFTER_STRIKE effect on server side to be optional
* [Battle] Allowed BattleAction have multiple destinations
* [Spells] Converted limit|immunity to target condition
* [Spells] Use partial configuration reload for backward compatibility handling
* [Tests] Started tests for CUnitState
* Partial fixes of fire shield effect
* [Battle] Do HP calculations in 64 bits
* [BattleAI] Use threading for spell cast evaluation
* [BattleAI] Made AI be able to evaluate modified turn order (on hypothetical battle state)
* Implemented https://bugs.vcmi.eu/view.php?id=2811
* plug rare freeze when hypnotized unit shots vertically
* Correctly apply ONLY_MELEE_FIGHT / ONLY_DISTANCE_FIGHT for unit damage, attack & defense
* [BattleAI] Try to not waste a cast if battle is actually won already
* Extended JsonSerializeFormat API
* fixed https://bugs.vcmi.eu/view.php?id=2847
* Any unit effect can be now chained (not only damage like Chain Lightning)
** only damage effect for now actually uses "chainFactor"
* Possible quick fix for https://bugs.vcmi.eu/view.php?id=2860
2018-02-08 11:37:21 +03:00

144 lines
5.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="Test" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug-win32">
<Option platforms="Windows;" />
<Option output="../Test" prefix_auto="1" extension_auto="1" />
<Option working_dir="../." />
<Option object_output="obj/Debug/x86/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-Og" />
<Add option="-Wextra" />
<Add option="-g" />
<Add directory="mock" />
</Compiler>
<Linker>
<Add directory="$(#boost.lib32)" />
</Linker>
</Target>
<Target title="Debug-win64">
<Option platforms="Windows;" />
<Option output="../Test" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/x64/" />
<Option type="1" />
<Option compiler="gnu_gcc_compiler_x64" />
<Compiler>
<Add option="-Og" />
<Add option="-Wextra" />
<Add option="-g" />
<Add directory="mock" />
</Compiler>
<Linker>
<Add directory="$(#boost.lib64)" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-fexceptions" />
<Add option="-Wpointer-arith" />
<Add option="-Wno-switch" />
<Add option="-Wno-sign-compare" />
<Add option="-Wno-unused-parameter" />
<Add option="-Wno-overloaded-virtual" />
<Add option="-Wno-unused-local-typedefs" />
<Add option="-D_WIN32_WINNT=0x0501" />
<Add option="-D_WIN32" />
<Add option="-DBOOST_THREAD_USE_LIB" />
<Add option="-DBOOST_SYSTEM_NO_DEPRECATED" />
<Add option="-DVCMI_NO_EXTRA_VERSION" />
<Add directory="$(#zlib.include)" />
<Add directory="$(#boost.include)" />
<Add directory="googletest/googlemock/include" />
<Add directory="googletest/googletest/include" />
<Add directory="../include" />
<Add directory="googletest/googletest" />
<Add directory="googletest/googlemock" />
</Compiler>
<Linker>
<Add option="-lVCMI_lib" />
<Add option="-lboost_filesystem$(#boost.libsuffix)" />
<Add option="-lboost_system$(#boost.libsuffix)" />
<Add directory="../" />
</Linker>
<Unit filename="CMakeLists.txt" />
<Unit filename="CMemoryBufferTest.cpp" />
<Unit filename="CVcmiTestConfig.cpp" />
<Unit filename="CVcmiTestConfig.h" />
<Unit filename="StdInc.cpp">
<Option compile="0" />
<Option link="0" />
<Option weight="0" />
</Unit>
<Unit filename="StdInc.h">
<Option compile="1" />
<Option weight="0" />
</Unit>
<Unit filename="battle/BattleHexTest.cpp" />
<Unit filename="battle/CBattleInfoCallbackTest.cpp" />
<Unit filename="battle/CHealthTest.cpp" />
<Unit filename="battle/CUnitStateMagicTest.cpp" />
<Unit filename="battle/CUnitStateTest.cpp" />
<Unit filename="battle/battle_UnitTest.cpp" />
<Unit filename="game/CGameStateTest.cpp" />
<Unit filename="googletest/googlemock/src/gmock-all.cc" />
<Unit filename="googletest/googletest/src/gtest-all.cc" />
<Unit filename="main.cpp" />
<Unit filename="map/CMapEditManagerTest.cpp" />
<Unit filename="map/CMapFormatTest.cpp" />
<Unit filename="map/MapComparer.cpp" />
<Unit filename="map/MapComparer.h" />
<Unit filename="mock/mock_BonusBearer.cpp" />
<Unit filename="mock/mock_BonusBearer.h" />
<Unit filename="mock/mock_IGameCallback.cpp" />
<Unit filename="mock/mock_IGameCallback.h" />
<Unit filename="mock/mock_MapService.cpp" />
<Unit filename="mock/mock_MapService.h" />
<Unit filename="mock/mock_UnitEnvironment.h" />
<Unit filename="mock/mock_UnitInfo.h" />
<Unit filename="mock/mock_battle_IBattleState.h" />
<Unit filename="mock/mock_battle_Unit.h" />
<Unit filename="mock/mock_spells_Mechanics.h" />
<Unit filename="mock/mock_spells_Problem.h" />
<Unit filename="mock/mock_spells_Spell.h" />
<Unit filename="mock/mock_vstd_RNG.h" />
<Unit filename="spells/TargetConditionTest.cpp" />
<Unit filename="spells/effects/CatapultTest.cpp" />
<Unit filename="spells/effects/CloneTest.cpp" />
<Unit filename="spells/effects/DamageTest.cpp" />
<Unit filename="spells/effects/DispelTest.cpp" />
<Unit filename="spells/effects/EffectFixture.cpp" />
<Unit filename="spells/effects/EffectFixture.h" />
<Unit filename="spells/effects/HealTest.cpp" />
<Unit filename="spells/effects/SacrificeTest.cpp" />
<Unit filename="spells/effects/SummonTest.cpp" />
<Unit filename="spells/effects/TeleportTest.cpp" />
<Unit filename="spells/effects/TimedTest.cpp" />
<Unit filename="spells/targetConditions/AbsoluteLevelConditionTest.cpp" />
<Unit filename="spells/targetConditions/AbsoluteSpellConditionTest.cpp" />
<Unit filename="spells/targetConditions/BonusConditionTest.cpp" />
<Unit filename="spells/targetConditions/CreatureConditionTest.cpp" />
<Unit filename="spells/targetConditions/ElementalConditionTest.cpp" />
<Unit filename="spells/targetConditions/HealthValueConditionTest.cpp" />
<Unit filename="spells/targetConditions/ImmunityNegationConditionTest.cpp" />
<Unit filename="spells/targetConditions/NormalLevelConditionTest.cpp" />
<Unit filename="spells/targetConditions/NormalSpellConditionTest.cpp" />
<Unit filename="spells/targetConditions/ReceptiveFeatureConditionTest.cpp" />
<Unit filename="spells/targetConditions/SpellEffectConditionTest.cpp" />
<Unit filename="spells/targetConditions/TargetConditionItemFixture.cpp" />
<Unit filename="spells/targetConditions/TargetConditionItemFixture.h" />
<Extensions>
<code_completion />
<envvars />
<debugger />
</Extensions>
</Project>
</CodeBlocks_project_file>