Deukhoofd
88d55998d0
Change DamageSource enum to Arbutils Enum.
continuous-integration/drone/push Build is passing
Details
2020-04-19 12:59:25 +02:00
Deukhoofd
a200c7cde8
Make Battle fields protected instead of private.
continuous-integration/drone/push Build is passing
Details
2020-04-18 15:22:38 +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
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
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
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
214ff81992
Use smart pointers for basic libraries.
continuous-integration/drone/push Build is passing
Details
2020-03-26 22:46:14 +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
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
5a976e4031
Added display text event hook.
2020-03-09 17:43:36 +01:00
Deukhoofd
06336c64cd
Added canRevive parameter to Heal function, added Faint event.
2020-03-09 16:29:41 +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
0c1580ade6
Reworked retrieving talent, new method is cleaner and harder to misunderstand.
continuous-integration/drone/push Build was killed
Details
2020-03-02 13:59:49 +01:00
Deukhoofd
5a05a2f4d3
Add ConstString to several other places where context isn't changed much during runtime.
continuous-integration/drone/push Build is passing
Details
2020-02-28 19:23:24 +01:00
Deukhoofd
412e0a4d63
Implements ConstString in several core places in the library, improving performance.
continuous-integration/drone/push Build is passing
Details
2020-02-27 18:23:23 +01:00
Deukhoofd
5e6572aca5
Move several classes from Core to Arbutils.
continuous-integration/drone/push Build is failing
Details
2020-02-26 13:51:16 +01:00
Deukhoofd
3802587313
Added HasVolatileScript function to Creature and Battle.
continuous-integration/drone/push Build is failing
Details
2020-02-23 16:17:57 +01:00
Deukhoofd
5f891cd4ed
Added Remove Volatile functions for battle and creatures.
continuous-integration/drone/push Build is passing
Details
2020-02-23 11:11:47 +01:00
Deukhoofd
645ba95bbc
Performance improvements for battle and creature AddVolatileScript methods when passing a string as parameter.
...
continuous-integration/drone/push Build is passing
Details
Instead of loading a script, then passing it to the ScriptSet class and checking if it already exists before invoking stack, we now check whether the ScriptSet has that script. If one already exists we just invoke stack on it, if not we continue to the process of creating a new script instance.
2020-02-22 16:01:01 +01:00
Deukhoofd
142889ad8a
Add functions to add volatile scripts to Creature.cpp.
continuous-integration/drone/push Build is passing
Details
2020-02-22 15:53:51 +01:00
Deukhoofd
d4fd7282f5
Move ScriptCategory enum outside of class scope of ScriptResolver.
continuous-integration/drone/push Build is passing
Details
2020-02-20 13:05:15 +01:00
Deukhoofd
f22c23d593
Make ScriptMacro a header instead of source file.
continuous-integration/drone/push Build is passing
Details
2020-02-19 15:32:43 +01:00
Deukhoofd
5e29f50ea1
Mark SetHeldItem with item object as const ptr.
continuous-integration/drone/push Build is passing
Details
2020-02-17 17:24:55 +01:00
Deukhoofd
ce31309b2a
Functions to set Creature Held Item, and helper function to check whether Creature is holding a specific held item.
continuous-integration/drone/push Build is passing
Details
2020-02-17 17:16:28 +01:00
Deukhoofd
75bce0e329
Add virtual destructor to CreatureParty.
continuous-integration/drone/push Build is passing
Details
2020-02-17 15:52:59 +01:00
Deukhoofd
445f7eb3d5
Add virtual destructor to Battle.
2020-02-17 15:52:02 +01:00
Deukhoofd
da90c3d59e
Reset active scripts on Creature when battle is set.
continuous-integration/drone/push Build is passing
Details
2020-02-17 10:05:32 +01:00
Deukhoofd
17552c33ca
Only get active scripts from side if side exists.
continuous-integration/drone/push Build is passing
Details
2020-02-17 09:57:15 +01:00
Deukhoofd
65f054bfab
Added functions for battle to manipulate volatile scripts.
continuous-integration/drone/push Build is passing
Details
2020-02-16 17:44:41 +01:00
Deukhoofd
428483e73d
Make GetRandom in Battle class a pointer.
continuous-integration/drone/push Build is passing
Details
2020-02-16 17:24:33 +01:00
Deukhoofd
f3b5f9e8f9
Move reference to cpp file outside of header.
continuous-integration/drone/push Build is passing
Details
2020-02-16 16:31:06 +01:00
Deukhoofd
54e366fc1b
Implements BattleRandom class with support for Effect Chance, and script hooks to modify this.
continuous-integration/drone/push Build is passing
Details
2020-02-16 15:08:22 +01:00
Deukhoofd
579ee82f02
Pass ExecutingAttack for target as pointer instead of reference.
continuous-integration/drone/push Build is passing
Details
2020-02-16 12:02:17 +01:00
Deukhoofd
d6ea16b467
Implement basic library class that other libraries inherit from for performance.
continuous-integration/drone/push Build is passing
Details
2020-02-15 18:51:21 +01:00
Deukhoofd
8d4860f553
Support for Heal function for Creatures.
continuous-integration/drone/push Build is passing
Details
2020-02-13 14:48:09 +01:00
Deukhoofd
e45a36d78e
Move Script ownership to script holder, added OnRemove script hook.
continuous-integration/drone/push Build is passing
Details
2020-02-05 14:52:50 +01:00
Deukhoofd
c4d0a73df6
Remove display script hook functions, replace them with easy to use interface on Creature class.
continuous-integration/drone/push Build is passing
Details
2020-02-03 16:49:28 +01:00
Deukhoofd
c3b573c7da
Initialize Battle pointers with nullptr in Create class.
continuous-integration/drone/push Build is passing
Details
2020-02-02 14:39:57 +01:00
Deukhoofd
fc5826edb1
Check whether a battle has been set when calling Damage function.
continuous-integration/drone/push Build is passing
Details
2020-02-02 12:34:02 +01:00