Commit Graph

102 Commits

Author SHA1 Message Date
Deukhoofd 62583ecb17
Make Creature use smart pointers.
continuous-integration/drone/push Build is passing Details
2020-06-02 16:20:47 +02:00
Deukhoofd 1ef50fd3a6
Use unique pointers in scriptset.
continuous-integration/drone/push Build is passing Details
2020-06-02 15:03:31 +02:00
Deukhoofd e8650e2a03
Fixed build error.
continuous-integration/drone/push Build is passing Details
2020-06-02 14:02:32 +02:00
Deukhoofd e4b9550efa
Make all individual scripts smart pointers.
continuous-integration/drone/push Build is failing Details
2020-06-02 13:43:44 +02:00
Deukhoofd f898698f49
Use smart pointers for BattleSide.
continuous-integration/drone/push Build is failing Details
2020-06-02 13:06:24 +02:00
Deukhoofd 18203138d1
Use algorithm for IsResponsibleForIndex check.
continuous-integration/drone/push Build is failing Details
2020-06-02 12:14:49 +02:00
Deukhoofd 69f6a89c0d
Make CreatureParty use smart pointers.
continuous-integration/drone/push Build is passing Details
2020-05-31 19:04:40 +02:00
Deukhoofd 01f6e59cb6
Make battle class fields all smart pointers.
continuous-integration/drone/push Build is passing Details
2020-05-31 19:01:45 +02:00
Deukhoofd 29cb4eac37
Make ChoiceQueue use smart pointers.
continuous-integration/drone/push Build is passing Details
2020-05-31 18:00:39 +02:00
Deukhoofd ff181204ae
Make LearnedAttack of Creature a smart pointer.
continuous-integration/drone/push Build is passing Details
2020-05-31 17:26:39 +02:00
Deukhoofd 25f65eb47b
Update to newer Arbutils version.
continuous-integration/drone/push Build is passing Details
2020-05-26 18:31:06 +02:00
Deukhoofd d746b3ecce
Make staticlib in battle library an unique ptr.
continuous-integration/drone/push Build is passing Details
2020-05-26 16:38:55 +02:00
Deukhoofd 16b67b0d54
Make most of the battle library use unique_ptr.
continuous-integration/drone/push Build is passing Details
2020-05-26 15:11:04 +02:00
Deukhoofd 8418c814b4
Make SpeciesVariants smart pointers.
continuous-integration/drone/push Build was killed Details
2020-05-26 14:35:18 +02:00
Deukhoofd 36208da2fb
Remove shared_ptr, instead use borrowed_ptr to more accurately depict ownership of the objects in the BaseLibraries.
continuous-integration/drone/push Build is passing Details
2020-05-26 14:13:30 +02:00
Deukhoofd d82792e27a
Make BaseLibraries use shared_ptr.
continuous-integration/drone/push Build is passing Details
2020-05-24 20:57:22 +02:00
Deukhoofd c056ddc6b3
Adds getter for parties to battle.
continuous-integration/drone/push Build is passing Details
2020-05-24 12:57:12 +02:00
Deukhoofd 2e860192c7
Support for blocking a creature from gaining experience, don't give experience when a creature is fainted.
continuous-integration/drone/push Build is passing Details
2020-05-20 15:18:27 +02:00
Deukhoofd 6c40f4291d
Fixed C Interface for DamageLibrary returning floats instead of expected bytes.
continuous-integration/drone/push Build is passing Details
2020-05-20 15:02:53 +02:00
Deukhoofd 09ec643cf9
Fixes for Creature C Interface construct method having C++ classes.
continuous-integration/drone/push Build is failing Details
2020-05-02 14:14:29 +02:00
Deukhoofd 7fd3687564
Cleanup of ExecutingAttack, removing TargetData, and reducing the number of allocations needed.
continuous-integration/drone/push Build is failing Details
2020-04-25 20:09:20 +02:00
Deukhoofd 8eb22ad68d
Pass HitData as reference to damage calculation library, to prevent multiple lookup.
continuous-integration/drone/push Build is passing Details
2020-04-25 16:51:10 +02:00
Deukhoofd 0e874346bb
Pass ExecutingAttack values by reference instead of pointer.
continuous-integration/drone/push Build is passing Details
2020-04-25 16:04:17 +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 70fc8d2d5f
Add C interface for ExecutingAttack.
continuous-integration/drone/push Build is passing Details
2020-04-06 17:05:32 +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 91bea44113
Added LearnedAttack C Interface.
continuous-integration/drone/push Build is passing Details
2020-04-04 13:36:13 +02: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 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 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
Deukhoofd da79d51ad2
Added ScriptResolver C Interface. 2020-03-04 18:58:05 +01:00
Deukhoofd 569a12ec82
Added ExperienceLibrary C Interface. 2020-03-04 18:53:32 +01:00
Deukhoofd 679133ef4f
Added DamageLibrary C Interface.
continuous-integration/drone/push Build is passing Details
2020-03-04 18:50:16 +01:00
Deukhoofd 7f197b05a3
C interface for Battle Stat Calculator. 2020-03-04 18:11:08 +01:00
Deukhoofd ea8afcd0b3
C interface for BattleLibrary.
continuous-integration/drone/push Build is passing Details
2020-03-04 17:04:44 +01:00