Commit Graph

120 Commits

Author SHA1 Message Date
Deukhoofd 5f336a7211
More changes and fixes for Conan.
continuous-integration/drone/push Build is passing Details
2020-01-01 15:22:51 +01:00
Deukhoofd 6d18282152
Copy .dll files as well
continuous-integration/drone/push Build is passing Details
2020-01-01 15:05:15 +01:00
Deukhoofd 34cb7ee4db
Fix Cmake issue when targeting Windows from Conan.
continuous-integration/drone/push Build is passing Details
2020-01-01 14:48:20 +01:00
Deukhoofd 4bc8a047b3
Require os setting
continuous-integration/drone/push Build is passing Details
2020-01-01 14:32:54 +01:00
Deukhoofd 4d118d97c0
Fixes for conanfile.py
continuous-integration/drone/push Build is passing Details
2020-01-01 14:17:13 +01:00
Deukhoofd 65e839abe4
Log target OS for Conan.
continuous-integration/drone/push Build is passing Details
2020-01-01 14:01:46 +01:00
Deukhoofd 9f6f2a22b9
More tweaks to get conan to handle Windows properly.
continuous-integration/drone/push Build is passing Details
2020-01-01 13:42:36 +01:00
Deukhoofd 1facac87cb
Better handling of setting Windows flag in Conan.
continuous-integration/drone/push Build is passing Details
2020-01-01 13:24:02 +01:00
Deukhoofd ecb17a8bad
Allow setting for Windows build in Conan.
continuous-integration/drone/push Build is passing Details
2020-01-01 13:02:00 +01:00
Deukhoofd 4d3dc28606
Allow most libraries to reserve capacity for their database.
continuous-integration/drone/push Build is passing Details
2019-12-31 10:48:52 +01:00
Deukhoofd db2eb0c3fa
Make DataLibrary destructor virtual.
continuous-integration/drone/push Build is passing Details
2019-12-30 16:03:46 +01:00
Deukhoofd d266700822
Keep path for .so files, as to prevent overwriting.
continuous-integration/drone/push Build is passing Details
2019-12-28 14:58:09 +01:00
Deukhoofd 2310dc241a
Attempt weird issue with conan builds.
continuous-integration/drone/push Build is passing Details
2019-12-28 14:13:26 +01:00
Deukhoofd 47a3c87ef5
Put conan package in different directory.
continuous-integration/drone/push Build is passing Details
2019-12-28 13:00:37 +01:00
Deukhoofd a4dc7b447b
Add several other Cmake warnings.
continuous-integration/drone/push Build is passing Details
2019-12-28 12:31:58 +01:00
Deukhoofd 4c9f5b12fa
Add warning when using Windows config. 2019-12-28 12:16:12 +01:00
Deukhoofd fa81bd59d6
Dont include test executable when called from Conan
continuous-integration/drone/push Build is passing Details
2019-12-27 13:50:12 +01:00
Deukhoofd 653e54a728
Use Clang for Conan packaging.
continuous-integration/drone/push Build is passing Details
2019-12-27 12:58:26 +01:00
Deukhoofd 243b3a768c
Remove unused fields in CreateCreature class
continuous-integration/drone/push Build is passing Details
2019-12-27 12:36:32 +01:00
Deukhoofd ae4d8f5e12
Removes some variables that are better handled in implementations.
continuous-integration/drone/push Build is failing Details
2019-12-27 12:19:38 +01:00
Deukhoofd 72c51c6513
Remove coverage handling from CMake.
continuous-integration/drone/push Build is passing Details
2019-12-27 10:51:02 +01:00
Deukhoofd cba3f77d97
Make conan package Shared instead of Static
continuous-integration/drone/push Build is passing Details
2019-12-26 15:25:32 +01:00
Deukhoofd fea4476391
fix cpp_info.libs in conan file.
continuous-integration/drone/push Build is passing Details
2019-12-26 14:17:10 +01:00
Deukhoofd 9e0d8d76fb
Change GenericTemplates.cpp to GenericTemplates.hpp, as to include it in header files.
continuous-integration/drone/push Build is passing Details
2019-12-26 12:27:54 +01:00
Deukhoofd aeb8632f51
Ensure .hpp files are packages with conan instead of .h files.
continuous-integration/drone/push Build is passing Details
2019-12-26 11:30:16 +01:00
Deukhoofd 8e53ffb53d
Implements functions for getting display species and variant.
continuous-integration/drone/push Build is passing Details
2019-12-21 14:32:45 +01:00
Deukhoofd fbc4973e28
Don't name package name explicitly for conan.
continuous-integration/drone/push Build is passing Details
2019-12-19 17:06:40 +01:00
Deukhoofd f11707208e
Rework conan config for better handling.
continuous-integration/drone/push Build is failing Details
2019-12-19 16:49:47 +01:00
Deukhoofd f725d89ebc
Change version usage for conan
continuous-integration/drone/push Build is passing Details
2019-12-19 16:09:02 +01:00
Deukhoofd 9b198e67a7
Include git commit in conan version
continuous-integration/drone/push Build is failing Details
2019-12-19 15:48:35 +01:00
Deukhoofd f975722cd4
Fixes for CI
continuous-integration/drone/push Build is failing Details
2019-12-19 15:21:14 +01:00
Deukhoofd 11bcc8efd5
Fixes for CI
continuous-integration/drone/push Build is failing Details
2019-12-19 14:58:37 +01:00
Deukhoofd 57702ba23d
Initial work on Conan packaging.
continuous-integration/drone/push Build is failing Details
2019-12-19 14:22:44 +01:00
Deukhoofd 573ff56bb6
Implements support for test coverage.
continuous-integration/drone/push Build is passing Details
2019-12-19 11:40:59 +01:00
Deukhoofd db002c784f
Resolve memory issue with Event Hooks.
continuous-integration/drone/push Build is passing Details
2019-12-15 12:27:56 +01:00
Deukhoofd 410487c86b
Initial support for Event Hooks.
continuous-integration/drone/push Build is failing Details
2019-12-15 12:24:08 +01:00
Deukhoofd 6ba708ad12
Implements running from battle.
continuous-integration/drone/push Build is passing Details
2019-12-15 11:52:10 +01:00
Deukhoofd 0fad615050
Make LookupGrowthRate use unsigned integers instead of signed ones, to resolve Windows error.
continuous-integration/drone/push Build is passing Details
2019-12-14 14:09:07 +01:00
Deukhoofd f5a71ca807
Fixed memory leak in growth rate library.
continuous-integration/drone/push Build is failing Details
2019-12-14 13:42:34 +01:00
Deukhoofd 649de39571
Implements experience gain on opponent faint.
continuous-integration/drone/push Build is failing Details
2019-12-14 13:28:23 +01:00
Deukhoofd 3baed93597
Implements marking opponents as seen.
continuous-integration/drone/push Build is passing Details
2019-12-14 12:40:50 +01:00
Deukhoofd c25d7b865e
Implements creature switching as turn choice.
continuous-integration/drone/push Build is passing Details
2019-12-14 12:15:30 +01:00
Deukhoofd 2ee181bca7
Fixed _onBattleField field of Creature leading to cascading errors on release configuration.
continuous-integration/drone/push Build is passing Details
2019-12-12 11:14:50 +01:00
Deukhoofd dc9296194e
Fixed battle ending after any faint.
continuous-integration/drone/push Build is failing Details
2019-12-07 22:52:43 +01:00
Deukhoofd f5aa168f1b Also set warnings to errors for Windows build, fix one of those warnings.
continuous-integration/drone/push Build is passing Details
2019-12-07 22:15:50 +01:00
Deukhoofd ef28f9cd52 Ensure static linking for Windows builds. 2019-12-07 22:12:29 +01:00
Deukhoofd 7c642f7df5 Fixes for damage calculations always using a base power of 0. 2019-12-07 22:09:06 +01:00
Deukhoofd 262279bd2c Support for ending battles when only one side has creatures that are available for battle. 2019-12-07 21:56:29 +01:00
Deukhoofd 0483e635ea Reworks test suite, tweaks to Cmake config for Windows.
continuous-integration/drone/push Build is failing Details
2019-12-07 13:45:44 +01:00
Deukhoofd 8897f2282f Put the check for slots filled behind the check whether all choices are set.
This because this check can be more expensive, and should run as little times
as possible. In this case it should only run when all choices are set,
which should be in most cases once a turn.
2019-12-07 12:49:18 +01:00