This website requires JavaScript.
4e79571e49
Fixed StaticC flag not statically linking to the correct libraries.
Deukhoofd
2020-05-02 16:11:41 +02:00
8e5dd2fca5
Rework of cmake file.
Deukhoofd
2020-05-02 15:55:31 +02:00
27fb623a43
Try linking everything statically in Windows build
Deukhoofd
2020-05-02 14:29:49 +02:00
8b30078411
Remove explicit option of shared or static in Windows build.
Deukhoofd
2020-05-02 14:24:39 +02:00
0eaf8852a1
Attempt to use static Arbutils for Windows build.
Deukhoofd
2020-05-02 14:20:20 +02:00
09ec643cf9
Fixes for Creature C Interface construct method having C++ classes.
Deukhoofd
2020-05-02 14:14:29 +02:00
ed0171c911
Style fixes
Deukhoofd
2020-04-28 16:36:03 +02:00
afe8472065
Add style check build step.
Deukhoofd
2020-04-28 16:29:57 +02:00
94d9d4f3d2
Performance improvement for running turns by reducing the number of lookups for the hitdata.
Deukhoofd
2020-04-25 20:20:30 +02:00
f602ea9358
Fixed Windows build issue.
Deukhoofd
2020-04-25 20:13:46 +02:00
7fd3687564
Cleanup of ExecutingAttack, removing TargetData, and reducing the number of allocations needed.
Deukhoofd
2020-04-25 20:09:20 +02:00
8eb22ad68d
Pass HitData as reference to damage calculation library, to prevent multiple lookup.
Deukhoofd
2020-04-25 16:51:10 +02:00
864a9d933d
Inlined get stats from Creature. These are frequently called one line methods.
Deukhoofd
2020-04-25 16:15:27 +02:00
0e874346bb
Pass ExecutingAttack values by reference instead of pointer.
Deukhoofd
2020-04-25 16:04:17 +02:00
734d056449
Performance improvement for collecting scripts, by reserving size in ScriptSource.
Deukhoofd
2020-04-25 11:33:25 +02:00
3b1c0e84e1
Fixed random value getter from BaseLibrary being broken.
Deukhoofd
2020-04-25 11:08:04 +02:00
1eb751538d
Updated to latest Arbutils.
Deukhoofd
2020-04-25 10:41:15 +02:00
df37558ec0
Fix for random value from library not working.
Deukhoofd
2020-04-24 18:43:18 +02:00
3ad21fecc2
Performance improvements for getting random value from libraries.
Deukhoofd
2020-04-24 18:24:51 +02:00
dd668f2b1c
Cleanup of ScriptAggregator class.
Deukhoofd
2020-04-23 23:23:58 +02:00
3a11bba913
Rework ScriptAggregator so it only needs to be created once, and can then be reset.
Deukhoofd
2020-04-23 19:57:45 +02:00
742d0c772c
Handling for tie breaking
Deukhoofd
2020-04-22 23:09:54 +02:00
1709617e10
Remove tie breaking by randomness. This caused issues with sorting.
Deukhoofd
2020-04-22 23:03:16 +02:00
97fa37ea7d
Implements clamped statistics for stat boost.
Deukhoofd
2020-04-22 21:48:00 +02:00
75baf19ebd
Cleanup
Deukhoofd
2020-04-22 21:20:07 +02:00
d2cf26e950
Fixed issue where attack with 1 use remaining couldn't be used.
Deukhoofd
2020-04-22 15:03:09 +02:00
ddbf4c23b8
Fix for compilation issue when using NO_ASSERT.
Deukhoofd
2020-04-22 12:54:11 +02:00
331767789c
Tweaks and fixes for AttackData name.
Deukhoofd
2020-04-21 15:48:21 +02:00
83f427368e
Pass LearnedAttack list to creature by reference.
Deukhoofd
2020-04-21 14:44:57 +02:00
bf6f77d904
Pass Random of GetRandomAttack by reference.
Deukhoofd
2020-04-21 12:43:08 +02:00
eff755a901
Rework of GetRandomAttack
Deukhoofd
2020-04-21 12:41:26 +02:00
a54459cc57
Fixes for effect.
Deukhoofd
2020-04-21 12:31:53 +02:00
0260f3688e
Revert "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."
Deukhoofd
2020-04-21 10:22:17 +02:00
78a42deb90
Use nullptr as non existing effect.
Deukhoofd
2020-04-19 19:49:04 +02:00
5146a70d8b
Fixed naming error.
Deukhoofd
2020-04-19 19:15:50 +02:00
a580649224
Ensure AddLevelAttack adds to distinctMoves
Deukhoofd
2020-04-19 19:11:48 +02:00
680f949df8
Return nullptr from LearnableAttacks when trying to retrieve from empty.
Deukhoofd
2020-04-19 18:50:32 +02:00
b286d1726d
Fix get random value from baselibrary returning key instead of value.
Deukhoofd
2020-04-19 18:22:27 +02:00
aeac49d892
Made GetRandomAttack const.
Deukhoofd
2020-04-19 17:51:36 +02:00
ad9cbf0670
Implements GetRandomAttack method on LearnableAttacks.
Deukhoofd
2020-04-19 17:42:32 +02:00
c6ce5fe8a7
Add function to BaseLibrary class to retrieve random value.
Deukhoofd
2020-04-19 17:01:33 +02:00
3dcefebee7
Add ChangeEffectiveness script hook.
Deukhoofd
2020-04-19 13:07:28 +02:00
88d55998d0
Change DamageSource enum to Arbutils Enum.
Deukhoofd
2020-04-19 12:59:25 +02:00
a200c7cde8
Make Battle fields protected instead of private.
Deukhoofd
2020-04-18 15:22:25 +02:00
88a8a28cc6
Pass item constructor flags by reference.
Deukhoofd
2020-04-17 20:53:33 +02:00
317f616be2
Change EffectParameter string to ConstString, changed to Variant.
Deukhoofd
2020-04-15 19:05:24 +02:00
cb942c4e89
Rename C interface for getting last exception
Deukhoofd
2020-04-14 15:43:30 +02:00
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.
Deukhoofd
2020-04-12 10:54:47 +02:00
2e5d463e45
Throw clean exception when no volatile script is found when adding one.
Deukhoofd
2020-04-11 00:22:08 +02:00
79c4d28c75
Use cache for conan files in between steps.
Deukhoofd
2020-04-10 23:12:34 +02:00
04bf061115
Removed OnStatusMove hook, now just uses OnSecondaryEffect hook.
Deukhoofd
2020-04-10 23:06:19 +02:00
5ac2b7b3c9
Turn SecondaryEffect class into pointer type, owned by AttackData.
Deukhoofd
2020-04-10 22:17:48 +02:00
beb50a60b0
Rework of EffectParameter storage, added float value.
Deukhoofd
2020-04-10 21:05:44 +02:00
a6ab69e043
Fixed EffectParameter memory leak.
Deukhoofd
2020-04-10 20:15:05 +02:00
d2320fde3c
Unit tests for EffectParameters.
Deukhoofd
2020-04-10 20:09:15 +02:00
e934e13950
Replace void* for script parameter with EffectParameter class.
Deukhoofd
2020-04-10 17:54:45 +02:00
1537a5f316
Initialize script with move effect parameters.
Deukhoofd
2020-04-10 17:18:19 +02:00
49e0f00237
Initialize CreateCreature with ConstString instead of std::string.
Deukhoofd
2020-04-10 16:44:25 +02:00
e89d2a9e0c
Adds secondary effect parameter system.
Deukhoofd
2020-04-10 16:35:24 +02:00
141b8bbc5b
Remove force from conan alias upload in the hope of fixing it.
Deukhoofd
2020-04-09 18:43:19 +02:00
7194d3f4f8
Remove issue for Windows build.
Deukhoofd
2020-04-09 18:38:00 +02:00
88eda6ef94
Update to new version of Arbutils.
Deukhoofd
2020-04-09 18:19:21 +02:00
70fc8d2d5f
Add C interface for ExecutingAttack.
Deukhoofd
2020-04-06 17:05:32 +02:00
9ff5df1b70
Add C interface for secondary effect data.
Deukhoofd
2020-04-06 12:53:49 +02:00
340520e0e3
Reworks attack scripts to handle effect chance and effect name through data files.
Deukhoofd
2020-04-06 12:02:29 +02:00
e2675d06fb
C interface for Battle Random.
Deukhoofd
2020-04-04 18:24:59 +02:00
3dd5aeffd8
C interface for Battle Side.
Deukhoofd
2020-04-04 17:03:06 +02:00
3429f1647c
Made C Interface for BattleLibrary constructor try.
Deukhoofd
2020-04-04 13:42:06 +02:00
937071df59
Revert commited out battlelibrary changes.
Deukhoofd
2020-04-04 13:40:14 +02:00
1e0d00d3b7
Revert "Use smart pointers for basic libraries."
Deukhoofd
2020-04-04 13:37:06 +02:00
91bea44113
Added LearnedAttack C Interface.
Deukhoofd
2020-04-04 13:36:13 +02:00
aee5bcb088
Mark LearnableAttacks on SpeciesVariant as unique.
Deukhoofd
2020-03-27 20:46:44 +01:00
214ff81992
Use smart pointers for basic libraries.
Deukhoofd
2020-03-26 22:46:14 +01:00
b5894ea8f2
Added C Interface for Script.
Deukhoofd
2020-03-25 19:47:37 +01:00
7ce3e6940d
Rework for C Interfaces to handle exceptions a bit better.
Deukhoofd
2020-03-25 19:07:36 +01:00
27288563cd
Replace most collections with Arbutils collections for more safety.
Deukhoofd
2020-03-22 19:21:40 +01:00
f190121e74
More Assertions to validate state correctness.
Deukhoofd
2020-03-22 15:35:58 +01:00
475392f9b6
Fixed issue where base stats of a variant got corrupted.
Deukhoofd
2020-03-22 15:25:38 +01:00
899e432271
Added lots of security using asserts.
Deukhoofd
2020-03-22 13:42:26 +01:00
970ca8ddd5
Fixed replacementattack not being complete.
Deukhoofd
2020-03-22 10:30:45 +01:00
a7b87ab4f8
Merge Core library into Library, as with its utility functionality merged into Arbutils, it's becoming less and less useful.
Deukhoofd
2020-03-22 10:11:53 +01:00
5672f2d2a7
Support for attack when other attacks can't be used in MiscLibrary.
Deukhoofd
2020-03-12 11:15:00 +01:00
7435a2a678
Turnchoices C Interface.
Deukhoofd
2020-03-11 12:22:13 +01:00
5a976e4031
Added display text event hook.
Deukhoofd
2020-03-09 17:43:36 +01:00
314b8997be
Added Faint event C Interface.
Deukhoofd
2020-03-09 16:30:36 +01:00
06336c64cd
Added canRevive parameter to Heal function, added Faint event.
Deukhoofd
2020-03-09 16:29:41 +01:00
3efd7a6974
Added C interface for EventData.
Deukhoofd
2020-03-09 11:12:24 +01:00
cc43e4fb8a
Just realised I didn't export the C interface for battle,
Deukhoofd
2020-03-09 10:49:15 +01:00
ce2fc320bd
Tweaks for Battle and ScriptSet, added Battle C interface.
Deukhoofd
2020-03-09 10:16:57 +01:00
1afb13cfd1
Added C Interface for BattleParty.
Deukhoofd
2020-03-08 15:19:19 +01:00
bbe99da0f0
Fixes and tweaks for CreatureParty, added C Interface.
Deukhoofd
2020-03-08 13:53:58 +01:00
1d18066bcc
Made Battle take battleparties as a pointer instead of value for external use.
Deukhoofd
2020-03-07 11:00:48 +01:00
e990c13109
Added Creature C Interface, misc fixes and changes for Creature.
Deukhoofd
2020-03-05 11:25:41 +01:00
985c2720c5
Added MiscLibrary C Interface.
Deukhoofd
2020-03-04 19:18:47 +01:00
da79d51ad2
Added ScriptResolver C Interface.
Deukhoofd
2020-03-04 18:58:05 +01:00
569a12ec82
Added ExperienceLibrary C Interface.
Deukhoofd
2020-03-04 18:53:32 +01:00
679133ef4f
Added DamageLibrary C Interface.
Deukhoofd
2020-03-04 18:50:16 +01:00
e7d3c6afd4
Changed DamageLibrary to use appropriate integer types, instead of 'int'.
Deukhoofd
2020-03-04 18:28:14 +01:00
7f197b05a3
C interface for Battle Stat Calculator.
Deukhoofd
2020-03-04 18:11:08 +01:00
ea8afcd0b3
C interface for BattleLibrary.
Deukhoofd
2020-03-04 17:04:44 +01:00