-
779f0b08cf
Fixed CreatureException not saving error string.
Deukhoofd
2020-01-11 19:25:16 +0100
-
c3877e0151
Make Script functions use pointers for out variables, instead of references.
Deukhoofd
2020-01-11 16:05:39 +0100
-
836a201b2d
Add initialize function to script resolver, where it can access the battle library.
Deukhoofd
2020-01-11 11:35:59 +0100
-
144d17d859
Fixed changing stat boost by negative actually increasing it.
Deukhoofd
2020-01-05 14:57:17 +0100
-
fbfcc53a02
Furter fixes for changing stats.
Deukhoofd
2020-01-05 14:39:10 +0100
-
f9494d4c38
Fix changing stat falling through enum and throwing exception.
Deukhoofd
2020-01-05 14:25:48 +0100
-
568232c7a5
Split off initialization of Creature into new function that's not called in the constructor.
Deukhoofd
2020-01-05 13:43:47 +0100
-
dd8d4d738d
Allow getting Static Library from BattleLibrary.
Deukhoofd
2020-01-02 19:33:10 +0100
-
18236981ed
Fixed syntax error.
Deukhoofd
2020-01-02 18:43:16 +0100
-
1a246f57e8
Make Creature class variables mostly protected instead of private.
Deukhoofd
2020-01-02 18:38:56 +0100
-
b98b470f0d
Mark destructors of several libraries as virtual.
Deukhoofd
2020-01-02 17:48:14 +0100
-
f0c3f84a29
Remove use of unused field
Deukhoofd
2020-01-02 16:19:32 +0100
-
b3d07f5a0e
Removed unused field from CreateCreature.hpp
Deukhoofd
2020-01-02 16:18:46 +0100
-
00582174fb
Don't actually build in Conan step, just re-use the build-release step.
Deukhoofd
2020-01-01 20:38:29 +0100
-
ef372df117
Actually tell Conan to build.
Deukhoofd
2020-01-01 20:26:01 +0100
-
6e498429f9
Don't keep path for Conan libraries, as we're now removing old folders in CI.
Deukhoofd
2020-01-01 15:53:27 +0100
-
79d2f543fb
Further tweaks for Conan
Deukhoofd
2020-01-01 15:36:55 +0100
-
5f336a7211
More changes and fixes for Conan.
Deukhoofd
2020-01-01 15:22:51 +0100
-
6d18282152
Copy .dll files as well
Deukhoofd
2020-01-01 15:05:15 +0100
-
34cb7ee4db
Fix Cmake issue when targeting Windows from Conan.
Deukhoofd
2020-01-01 14:48:20 +0100
-
4bc8a047b3
Require os setting
Deukhoofd
2020-01-01 14:32:54 +0100
-
4d118d97c0
Fixes for conanfile.py
Deukhoofd
2020-01-01 14:17:13 +0100
-
65e839abe4
Log target OS for Conan.
Deukhoofd
2020-01-01 14:01:46 +0100
-
9f6f2a22b9
More tweaks to get conan to handle Windows properly.
Deukhoofd
2020-01-01 13:42:36 +0100
-
1facac87cb
Better handling of setting Windows flag in Conan.
Deukhoofd
2020-01-01 13:24:02 +0100
-
ecb17a8bad
Allow setting for Windows build in Conan.
Deukhoofd
2020-01-01 13:02:00 +0100
-
4d3dc28606
Allow most libraries to reserve capacity for their database.
Deukhoofd
2019-12-31 10:48:52 +0100
-
db2eb0c3fa
Make DataLibrary destructor virtual.
Deukhoofd
2019-12-30 16:03:46 +0100
-
d266700822
Keep path for .so files, as to prevent overwriting.
Deukhoofd
2019-12-28 14:58:09 +0100
-
2310dc241a
Attempt weird issue with conan builds.
Deukhoofd
2019-12-28 14:13:26 +0100
-
47a3c87ef5
Put conan package in different directory.
Deukhoofd
2019-12-28 13:00:37 +0100
-
a4dc7b447b
Add several other Cmake warnings.
Deukhoofd
2019-12-28 12:31:58 +0100
-
4c9f5b12fa
Add warning when using Windows config.
Deukhoofd
2019-12-28 12:16:12 +0100
-
fa81bd59d6
Dont include test executable when called from Conan
Deukhoofd
2019-12-27 13:50:12 +0100
-
653e54a728
Use Clang for Conan packaging.
Deukhoofd
2019-12-27 12:58:26 +0100
-
243b3a768c
Remove unused fields in CreateCreature class
Deukhoofd
2019-12-27 12:36:32 +0100
-
ae4d8f5e12
Removes some variables that are better handled in implementations.
Deukhoofd
2019-12-27 12:19:38 +0100
-
72c51c6513
Remove coverage handling from CMake.
Deukhoofd
2019-12-27 10:51:02 +0100
-
cba3f77d97
Make conan package Shared instead of Static
Deukhoofd
2019-12-26 15:25:32 +0100
-
fea4476391
fix cpp_info.libs in conan file.
Deukhoofd
2019-12-26 14:17:10 +0100
-
9e0d8d76fb
Change GenericTemplates.cpp to GenericTemplates.hpp, as to include it in header files.
Deukhoofd
2019-12-26 12:27:54 +0100
-
aeb8632f51
Ensure .hpp files are packages with conan instead of .h files.
Deukhoofd
2019-12-26 11:30:16 +0100
-
8e53ffb53d
Implements functions for getting display species and variant.
Deukhoofd
2019-12-21 14:32:45 +0100
-
fbc4973e28
Don't name package name explicitly for conan.
Deukhoofd
2019-12-19 17:06:20 +0100
-
f11707208e
Rework conan config for better handling.
Deukhoofd
2019-12-19 16:49:47 +0100
-
f725d89ebc
Change version usage for conan
Deukhoofd
2019-12-19 16:09:02 +0100
-
9b198e67a7
Include git commit in conan version
Deukhoofd
2019-12-19 15:48:35 +0100
-
f975722cd4
Fixes for CI
Deukhoofd
2019-12-19 15:21:14 +0100
-
11bcc8efd5
Fixes for CI
Deukhoofd
2019-12-19 14:58:37 +0100
-
57702ba23d
Initial work on Conan packaging.
Deukhoofd
2019-12-19 14:22:44 +0100
-
573ff56bb6
Implements support for test coverage.
Deukhoofd
2019-12-19 11:40:59 +0100
-
db002c784f
Resolve memory issue with Event Hooks.
Deukhoofd
2019-12-15 12:27:56 +0100
-
410487c86b
Initial support for Event Hooks.
Deukhoofd
2019-12-15 12:24:08 +0100
-
6ba708ad12
Implements running from battle.
Deukhoofd
2019-12-15 11:52:10 +0100
-
0fad615050
Make LookupGrowthRate use unsigned integers instead of signed ones, to resolve Windows error.
Deukhoofd
2019-12-14 14:09:07 +0100
-
f5a71ca807
Fixed memory leak in growth rate library.
Deukhoofd
2019-12-14 13:42:34 +0100
-
649de39571
Implements experience gain on opponent faint.
Deukhoofd
2019-12-14 13:28:23 +0100
-
3baed93597
Implements marking opponents as seen.
Deukhoofd
2019-12-14 12:40:50 +0100
-
c25d7b865e
Implements creature switching as turn choice.
Deukhoofd
2019-12-14 12:15:30 +0100
-
2ee181bca7
Fixed _onBattleField field of Creature leading to cascading errors on release configuration.
Deukhoofd
2019-12-12 11:14:50 +0100
-
dc9296194e
Fixed battle ending after any faint.
Deukhoofd
2019-12-07 22:52:43 +0100
-
f5aa168f1b
Also set warnings to errors for Windows build, fix one of those warnings.
Deukhoofd
2019-12-07 22:15:50 +0100
-
ef28f9cd52
Ensure static linking for Windows builds.
Deukhoofd
2019-12-07 22:12:29 +0100
-
7c642f7df5
Fixes for damage calculations always using a base power of 0.
Deukhoofd
2019-12-07 22:09:06 +0100
-
262279bd2c
Support for ending battles when only one side has creatures that are available for battle.
Deukhoofd
2019-12-07 21:56:29 +0100
-
0483e635ea
Reworks test suite, tweaks to Cmake config for Windows.
Deukhoofd
2019-12-07 13:45:44 +0100
-
8897f2282f
Put the check for slots filled behind the check whether all choices are set.
Deukhoofd
2019-12-07 12:49:18 +0100
-
57f16bc420
Better handling of filling empty slots.
Deukhoofd
2019-12-07 12:13:12 +0100
-
345af31464
Update Catch2 to latest version.
Deukhoofd
2019-12-05 13:52:46 +0100
-
6f32d1245b
Implemented and fixed all code required to run at least a single turn.
Deukhoofd
2019-12-05 12:56:41 +0100
-
5d6ac316eb
Renamed Target class to CreatureIndex
Deukhoofd
2019-12-05 09:53:48 +0100
-
a8730d983f
Used ClangFormat style guide I'm happy with.
Deukhoofd
2019-11-28 12:55:22 +0100
-
3b685ae782
Added layout for CreatureParty
Deukhoofd
2019-11-28 12:16:03 +0100
-
aa356d74d7
Set data for executing attacks.
Deukhoofd
2019-11-24 11:06:51 +0100
-
583bde3768
Adds more script hooks
Deukhoofd
2019-11-24 10:34:42 +0100
-
f6415fba27
Added more script hooks
Deukhoofd
2019-11-23 11:53:00 +0100
-
49bd4813f6
Initialize Creature talent script when battle library is set, allow talent overriding
Deukhoofd
2019-11-18 18:41:55 +0100
-
4d796204f8
Implements functionality for loading scripts.
Deukhoofd
2019-11-18 08:29:17 +0100
-
86f8a1e37b
Adds talent script to Creature class
Deukhoofd
2019-11-17 11:25:52 +0100
-
5e71c59f77
Implements tests for randomness distributions.
Deukhoofd
2019-11-17 11:05:31 +0100
-
3e81784f6f
Fix memory leaks in unit tests.
Deukhoofd
2019-11-17 10:42:09 +0100
-
3a2c9f4c61
Adds tests for ScriptSets
Deukhoofd
2019-11-17 10:27:18 +0100
-
fd16152121
Make scriptset return scripts in order of insertion, unit tests for ScriptSource
Deukhoofd
2019-11-12 18:38:09 +0100
-
cdd1ac992f
Fix build on Linux.
Deukhoofd
2019-11-11 20:04:59 +0100
-
859cd02478
Tests for script aggregator.
Deukhoofd
2019-11-10 19:55:01 +0100
-
d8332f9e40
Another rework for scripthooks, for better performance.
Deukhoofd
2019-11-10 17:08:42 +0100
-
e1a8d80863
Add default implementation for OnBeforeTurn script hook.
Deukhoofd
2019-11-10 14:45:07 +0100
-
df3905fa49
Give Creature a virtual destructor.
Deukhoofd
2019-11-10 14:37:06 +0100
-
2a98f051c9
Give ExecutingAttack a virtual destructor.
Deukhoofd
2019-11-10 14:33:26 +0100
-
3488784409
Furter rework on script hooks, simplifying required logic.
Deukhoofd
2019-11-10 14:32:05 +0100
-
f72fd5f905
Make ExecutingAttack be a pointer, as we probably want to keep it around after it has finished executing.
Deukhoofd
2019-11-09 13:18:45 +0100
-
96d1b6251f
Implements OnSecondaryEffect script hook
Deukhoofd
2019-11-09 13:09:39 +0100
-
aca3359c98
Fixed compile error in OnAfterHits script hook.
Deukhoofd
2019-11-09 12:57:12 +0100
-
658672a246
More handling of script hooks.
Deukhoofd
2019-11-09 12:55:48 +0100
-
ee14efe22e
Implemented better script handling.
Deukhoofd
2019-11-09 12:15:45 +0100
-
c3bfbb569e
Initial setup for script hooks (likely to be revamped)
Deukhoofd
2019-11-08 18:45:43 +0100
-
19e1308f93
Improve performance for setting choices.
Deukhoofd
2019-11-06 18:08:21 +0100
-
beac87f981
Reset choices on side when executing turn.
Deukhoofd
2019-11-06 18:06:48 +0100
-
5fc2bf564a
Support turn queue return prematurely when a creature is recalled, and the ability to resume it later.
Deukhoofd
2019-11-06 18:04:00 +0100
-
f184572837
Add virtual destructor to the CriticalLibrary
Deukhoofd
2019-11-05 18:26:27 +0100