Commit Graph

29 Commits

Author SHA1 Message Date
Deukhoofd e642f374b9
Update to latest Arbutils.
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-12-13 12:15:40 +01:00
Deukhoofd 5c39694f19
Overhaul memory model to new Arbutils memory.
continuous-integration/drone/push Build is failing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-12-12 12:22:48 +01:00
Deukhoofd f50f76e993
Move priority scripthook to more sensible place in turn flow.
continuous-integration/drone/push Build is passing Details
2020-06-20 19:51:34 +02:00
Deukhoofd b3366f7b58
Script hook for changing priority.
continuous-integration/drone/push Build is passing Details
2020-06-20 19:44:41 +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 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 a7069a5960
Ensure Attack script is deleted when not taken by ExecutingAttack.
continuous-integration/drone/push Build is passing Details
2020-05-29 20:05:05 +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 aba56d2fdd
Make Attack secondary effect a unique_ptr.
continuous-integration/drone/push Build is passing Details
2020-05-26 14:41:43 +02:00
Deukhoofd 734d056449
Performance improvement for collecting scripts, by reserving size in ScriptSource.
continuous-integration/drone/push Build is passing Details
2020-04-25 11:33:25 +02:00
Deukhoofd dd668f2b1c
Cleanup of ScriptAggregator class.
continuous-integration/drone/push Build is passing Details
2020-04-23 23:23:58 +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 1537a5f316
Initialize script with move effect parameters.
continuous-integration/drone/push Build is passing Details
2020-04-10 17:18:19 +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 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 899e432271
Added lots of security using asserts.
continuous-integration/drone/push Build is failing Details
2020-03-22 13:42:26 +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 6f32d1245b
Implemented and fixed all code required to run at least a single turn.
continuous-integration/drone/push Build is passing Details
2019-12-05 12:56:41 +01:00
Deukhoofd 5d6ac316eb
Renamed Target class to CreatureIndex 2019-12-05 09:53:48 +01:00
Deukhoofd a8730d983f
Used ClangFormat style guide I'm happy with.
continuous-integration/drone/push Build is passing Details
2019-11-28 12:55:22 +01:00
Deukhoofd aa356d74d7
Set data for executing attacks.
continuous-integration/drone/push Build is passing Details
2019-11-24 11:06:51 +01:00
Deukhoofd d8332f9e40 Another rework for scripthooks, for better performance.
continuous-integration/drone/push Build is passing Details
This new version caches pointers to the pointers to scripts, so that we can build the data once and then simply iterate over it whenever we want to run a hook.
2019-11-10 17:08:42 +01:00
Deukhoofd 3488784409 Furter rework on script hooks, simplifying required logic. 2019-11-10 14:32:05 +01:00
Deukhoofd fc675efdf5
More work on basic turn layout.
continuous-integration/drone/push Build is passing Details
2019-11-02 13:57:43 +01:00
Deukhoofd 42c1623985
Fully handle turn ordering
continuous-integration/drone/push Build is passing Details
2019-10-31 12:31:31 +01:00
Deukhoofd 972af35ecf
Initial support for ordering choices and getting them ready for execution.
continuous-integration/drone/push Build is passing Details
2019-10-31 12:02:23 +01:00
Deukhoofd 99315174a8
Initial support for setting battle choices.
continuous-integration/drone/push Build is failing Details
2019-10-29 11:19:25 +01:00