Commit Graph

543 Commits

Author SHA1 Message Date
Deukhoofd 88a8a28cc6
Pass item constructor flags by reference.
continuous-integration/drone/push Build is passing Details
2020-04-17 20:53:33 +02:00
Deukhoofd 317f616be2
Change EffectParameter string to ConstString, changed to Variant.
continuous-integration/drone/push Build is passing Details
2020-04-15 19:05:24 +02:00
Deukhoofd cb942c4e89
Rename C interface for getting last exception
continuous-integration/drone/push Build is passing Details
2020-04-14 15:43:30 +02:00
Deukhoofd e35f860b84
Don't link C libraries statically by default for Windows, as this isn't needed if another library has their own C libraries already has them statically linked.
continuous-integration/drone/push Build is passing Details
2020-04-12 10:54:47 +02:00
Deukhoofd 2e5d463e45
Throw clean exception when no volatile script is found when adding one.
continuous-integration/drone/push Build is passing Details
2020-04-11 00:22:08 +02:00
Deukhoofd 79c4d28c75
Use cache for conan files in between steps.
continuous-integration/drone/push Build is passing Details
2020-04-10 23:12:34 +02:00
Deukhoofd 04bf061115
Removed OnStatusMove hook, now just uses OnSecondaryEffect hook.
continuous-integration/drone/push Build is passing Details
2020-04-10 23:06:19 +02:00
Deukhoofd 5ac2b7b3c9
Turn SecondaryEffect class into pointer type, owned by AttackData.
continuous-integration/drone/push Build is passing Details
2020-04-10 22:17:48 +02:00
Deukhoofd beb50a60b0
Rework of EffectParameter storage, added float value.
continuous-integration/drone/push Build is passing Details
2020-04-10 21:05:44 +02:00
Deukhoofd a6ab69e043
Fixed EffectParameter memory leak.
continuous-integration/drone/push Build is passing Details
2020-04-10 20:15:05 +02:00
Deukhoofd d2320fde3c
Unit tests for EffectParameters.
continuous-integration/drone/push Build is failing Details
2020-04-10 20:09:15 +02:00
Deukhoofd e934e13950
Replace void* for script parameter with EffectParameter class.
continuous-integration/drone/push Build is passing Details
2020-04-10 17:54:45 +02:00
Deukhoofd 1537a5f316
Initialize script with move effect parameters.
continuous-integration/drone/push Build is passing Details
2020-04-10 17:18:19 +02:00
Deukhoofd 49e0f00237
Initialize CreateCreature with ConstString instead of std::string.
continuous-integration/drone/push Build is passing Details
2020-04-10 16:44:25 +02:00
Deukhoofd e89d2a9e0c
Adds secondary effect parameter system.
continuous-integration/drone/push Build is failing Details
2020-04-10 16:35:24 +02:00
Deukhoofd 141b8bbc5b
Remove force from conan alias upload in the hope of fixing it.
continuous-integration/drone/push Build is passing Details
2020-04-09 18:43:19 +02:00
Deukhoofd 7194d3f4f8
Remove issue for Windows build.
continuous-integration/drone/push Build is passing Details
2020-04-09 18:38:00 +02:00
Deukhoofd 88eda6ef94
Update to new version of Arbutils.
continuous-integration/drone/push Build is failing Details
2020-04-09 18:19:21 +02:00
Deukhoofd 70fc8d2d5f
Add C interface for ExecutingAttack.
continuous-integration/drone/push Build is passing Details
2020-04-06 17:05:32 +02:00
Deukhoofd 9ff5df1b70
Add C interface for secondary effect data.
continuous-integration/drone/push Build is passing Details
2020-04-06 12:53:49 +02:00
Deukhoofd 340520e0e3
Reworks attack scripts to handle effect chance and effect name through data files.
continuous-integration/drone/push Build is passing Details
2020-04-06 12:02:29 +02:00
Deukhoofd e2675d06fb
C interface for Battle Random.
continuous-integration/drone/push Build is passing Details
2020-04-04 18:24:59 +02:00
Deukhoofd 3dd5aeffd8
C interface for Battle Side.
continuous-integration/drone/push Build is passing Details
2020-04-04 17:03:06 +02:00
Deukhoofd 3429f1647c
Made C Interface for BattleLibrary constructor try.
continuous-integration/drone/push Build is passing Details
2020-04-04 13:42:06 +02:00
Deukhoofd 937071df59
Revert commited out battlelibrary changes.
continuous-integration/drone/push Build is passing Details
2020-04-04 13:40:14 +02:00
Deukhoofd 1e0d00d3b7
Revert "Use smart pointers for basic libraries."
continuous-integration/drone/push Build is passing Details
This reverts commit 214ff819
2020-04-04 13:37:06 +02:00
Deukhoofd 91bea44113
Added LearnedAttack C Interface.
continuous-integration/drone/push Build is passing Details
2020-04-04 13:36:13 +02:00
Deukhoofd aee5bcb088
Mark LearnableAttacks on SpeciesVariant as unique.
continuous-integration/drone/push Build is passing Details
2020-03-27 20:46:44 +01:00
Deukhoofd 214ff81992
Use smart pointers for basic libraries.
continuous-integration/drone/push Build is passing Details
2020-03-26 22:46:14 +01:00
Deukhoofd b5894ea8f2
Added C Interface for Script.
continuous-integration/drone/push Build is passing Details
2020-03-25 19:47:37 +01:00
Deukhoofd 7ce3e6940d
Rework for C Interfaces to handle exceptions a bit better.
continuous-integration/drone/push Build is passing Details
2020-03-25 19:09:17 +01:00
Deukhoofd 27288563cd
Replace most collections with Arbutils collections for more safety.
continuous-integration/drone/push Build is passing Details
2020-03-22 19:21:40 +01:00
Deukhoofd f190121e74
More Assertions to validate state correctness.
continuous-integration/drone/push Build is passing Details
2020-03-22 15:35:58 +01:00
Deukhoofd 475392f9b6
Fixed issue where base stats of a variant got corrupted.
continuous-integration/drone/push Build is passing Details
2020-03-22 15:25:38 +01:00
Deukhoofd 899e432271
Added lots of security using asserts.
continuous-integration/drone/push Build is failing Details
2020-03-22 13:42:26 +01:00
Deukhoofd 970ca8ddd5
Fixed replacementattack not being complete.
continuous-integration/drone/push Build is passing Details
2020-03-22 10:30:45 +01:00
Deukhoofd a7b87ab4f8
Merge Core library into Library, as with its utility functionality merged into Arbutils, it's becoming less and less useful.
continuous-integration/drone/push Build is failing Details
2020-03-22 10:11:53 +01:00
Deukhoofd 5672f2d2a7
Support for attack when other attacks can't be used in MiscLibrary.
continuous-integration/drone/push Build is failing Details
2020-03-12 11:15:00 +01:00
Deukhoofd 7435a2a678
Turnchoices C Interface.
continuous-integration/drone/push Build is passing Details
2020-03-11 12:22:13 +01:00
Deukhoofd 5a976e4031
Added display text event hook. 2020-03-09 17:43:36 +01:00
Deukhoofd 314b8997be
Added Faint event C Interface. 2020-03-09 16:30:36 +01:00
Deukhoofd 06336c64cd
Added canRevive parameter to Heal function, added Faint event. 2020-03-09 16:29:41 +01:00
Deukhoofd 3efd7a6974
Added C interface for EventData.
continuous-integration/drone/push Build is passing Details
2020-03-09 11:12:24 +01:00
Deukhoofd cc43e4fb8a
Just realised I didn't export the C interface for battle,
continuous-integration/drone/push Build is passing Details
2020-03-09 10:49:15 +01:00
Deukhoofd ce2fc320bd
Tweaks for Battle and ScriptSet, added Battle C interface.
continuous-integration/drone/push Build is passing Details
2020-03-09 10:16:57 +01:00
Deukhoofd 1afb13cfd1
Added C Interface for BattleParty.
continuous-integration/drone/push Build is passing Details
2020-03-08 15:19:19 +01:00
Deukhoofd bbe99da0f0
Fixes and tweaks for CreatureParty, added C Interface.
continuous-integration/drone/push Build is passing Details
2020-03-08 13:53:58 +01:00
Deukhoofd 1d18066bcc
Made Battle take battleparties as a pointer instead of value for external use.
continuous-integration/drone/push Build is passing Details
2020-03-07 11:00:48 +01:00
Deukhoofd e990c13109
Added Creature C Interface, misc fixes and changes for Creature.
continuous-integration/drone/push Build is passing Details
2020-03-05 11:25:41 +01:00
Deukhoofd 985c2720c5
Added MiscLibrary C Interface.
continuous-integration/drone/push Build is passing Details
2020-03-04 19:18:47 +01:00