Deukhoofd
779f0b08cf
Fixed CreatureException not saving error string.
2020-01-11 19:25:16 +01:00
Deukhoofd
c3877e0151
Make Script functions use pointers for out variables, instead of references.
2020-01-11 16:05:39 +01:00
Deukhoofd
836a201b2d
Add initialize function to script resolver, where it can access the battle library.
2020-01-11 11:35:59 +01:00
Deukhoofd
144d17d859
Fixed changing stat boost by negative actually increasing it.
2020-01-05 14:57:17 +01:00
Deukhoofd
fbfcc53a02
Furter fixes for changing stats.
2020-01-05 14:39:10 +01:00
Deukhoofd
f9494d4c38
Fix changing stat falling through enum and throwing exception.
2020-01-05 14:25:48 +01:00
Deukhoofd
568232c7a5
Split off initialization of Creature into new function that's not called in the constructor.
...
This has to do with specific implementations of stat calculator requiring an inherited type of the Creature class, and by calling it in the constructor casting to this inherited type will fail.
2020-01-05 13:43:47 +01:00
Deukhoofd
dd8d4d738d
Allow getting Static Library from BattleLibrary.
2020-01-02 19:33:10 +01:00
Deukhoofd
18236981ed
Fixed syntax error.
2020-01-02 18:43:16 +01:00
Deukhoofd
1a246f57e8
Make Creature class variables mostly protected instead of private.
2020-01-02 18:38:56 +01:00
Deukhoofd
b98b470f0d
Mark destructors of several libraries as virtual.
2020-01-02 17:48:14 +01:00
Deukhoofd
f0c3f84a29
Remove use of unused field
2020-01-02 16:19:32 +01:00
Deukhoofd
b3d07f5a0e
Removed unused field from CreateCreature.hpp
2020-01-02 16:18:46 +01:00
Deukhoofd
00582174fb
Don't actually build in Conan step, just re-use the build-release step.
2020-01-01 20:38:29 +01:00
Deukhoofd
ef372df117
Actually tell Conan to build.
2020-01-01 20:26:01 +01:00
Deukhoofd
6e498429f9
Don't keep path for Conan libraries, as we're now removing old folders in CI.
2020-01-01 15:53:27 +01:00
Deukhoofd
79d2f543fb
Further tweaks for Conan
2020-01-01 15:36:55 +01:00
Deukhoofd
5f336a7211
More changes and fixes for Conan.
2020-01-01 15:22:51 +01:00
Deukhoofd
6d18282152
Copy .dll files as well
2020-01-01 15:05:15 +01:00
Deukhoofd
34cb7ee4db
Fix Cmake issue when targeting Windows from Conan.
2020-01-01 14:48:20 +01:00
Deukhoofd
4bc8a047b3
Require os setting
2020-01-01 14:32:54 +01:00
Deukhoofd
4d118d97c0
Fixes for conanfile.py
2020-01-01 14:17:13 +01:00
Deukhoofd
65e839abe4
Log target OS for Conan.
2020-01-01 14:01:46 +01:00
Deukhoofd
9f6f2a22b9
More tweaks to get conan to handle Windows properly.
2020-01-01 13:42:36 +01:00
Deukhoofd
1facac87cb
Better handling of setting Windows flag in Conan.
2020-01-01 13:24:02 +01:00
Deukhoofd
ecb17a8bad
Allow setting for Windows build in Conan.
2020-01-01 13:02:00 +01:00
Deukhoofd
4d3dc28606
Allow most libraries to reserve capacity for their database.
2019-12-31 10:48:52 +01:00
Deukhoofd
db2eb0c3fa
Make DataLibrary destructor virtual.
2019-12-30 16:03:46 +01:00
Deukhoofd
d266700822
Keep path for .so files, as to prevent overwriting.
2019-12-28 14:58:09 +01:00
Deukhoofd
2310dc241a
Attempt weird issue with conan builds.
2019-12-28 14:13:26 +01:00
Deukhoofd
47a3c87ef5
Put conan package in different directory.
2019-12-28 13:00:37 +01:00
Deukhoofd
a4dc7b447b
Add several other Cmake warnings.
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
2019-12-27 13:50:12 +01:00
Deukhoofd
653e54a728
Use Clang for Conan packaging.
2019-12-27 12:58:26 +01:00
Deukhoofd
243b3a768c
Remove unused fields in CreateCreature class
2019-12-27 12:36:32 +01:00
Deukhoofd
ae4d8f5e12
Removes some variables that are better handled in implementations.
2019-12-27 12:19:38 +01:00
Deukhoofd
72c51c6513
Remove coverage handling from CMake.
2019-12-27 10:51:02 +01:00
Deukhoofd
cba3f77d97
Make conan package Shared instead of Static
2019-12-26 15:25:32 +01:00
Deukhoofd
fea4476391
fix cpp_info.libs in conan file.
2019-12-26 14:17:10 +01:00
Deukhoofd
9e0d8d76fb
Change GenericTemplates.cpp to GenericTemplates.hpp, as to include it in header files.
2019-12-26 12:27:54 +01:00
Deukhoofd
aeb8632f51
Ensure .hpp files are packages with conan instead of .h files.
2019-12-26 11:30:16 +01:00
Deukhoofd
8e53ffb53d
Implements functions for getting display species and variant.
2019-12-21 14:32:45 +01:00
Deukhoofd
fbc4973e28
Don't name package name explicitly for conan.
2019-12-19 17:06:40 +01:00
Deukhoofd
f11707208e
Rework conan config for better handling.
2019-12-19 16:49:47 +01:00
Deukhoofd
f725d89ebc
Change version usage for conan
2019-12-19 16:09:02 +01:00
Deukhoofd
9b198e67a7
Include git commit in conan version
2019-12-19 15:48:35 +01:00
Deukhoofd
f975722cd4
Fixes for CI
2019-12-19 15:21:14 +01:00
Deukhoofd
11bcc8efd5
Fixes for CI
2019-12-19 14:58:37 +01:00
Deukhoofd
57702ba23d
Initial work on Conan packaging.
2019-12-19 14:22:44 +01:00