Deukhoofd
3e81784f6f
Fix memory leaks in unit tests.
continuous-integration/drone/push Build is passing
Details
2019-11-17 10:42:09 +01:00
Deukhoofd
3a2c9f4c61
Adds tests for ScriptSets
continuous-integration/drone/push Build is failing
Details
2019-11-17 10:27:18 +01:00
Deukhoofd
fd16152121
Make scriptset return scripts in order of insertion, unit tests for ScriptSource
2019-11-12 18:38:09 +01:00
Deukhoofd
cdd1ac992f
Fix build on Linux.
continuous-integration/drone/push Build is passing
Details
2019-11-11 20:04:59 +01:00
Deukhoofd
859cd02478
Tests for script aggregator.
continuous-integration/drone/push Build is failing
Details
2019-11-10 19:55:01 +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
e1a8d80863
Add default implementation for OnBeforeTurn script hook.
continuous-integration/drone/push Build is passing
Details
2019-11-10 14:45:07 +01:00
Deukhoofd
df3905fa49
Give Creature a virtual destructor.
continuous-integration/drone/push Build is failing
Details
2019-11-10 14:37:06 +01:00
Deukhoofd
2a98f051c9
Give ExecutingAttack a virtual destructor.
continuous-integration/drone/push Build is failing
Details
2019-11-10 14:33:26 +01:00
Deukhoofd
3488784409
Furter rework on script hooks, simplifying required logic.
2019-11-10 14:32:05 +01:00
Deukhoofd
f72fd5f905
Make ExecutingAttack be a pointer, as we probably want to keep it around after it has finished executing.
continuous-integration/drone/push Build is failing
Details
2019-11-09 13:18:45 +01:00
Deukhoofd
96d1b6251f
Implements OnSecondaryEffect script hook
2019-11-09 13:09:39 +01:00
Deukhoofd
aca3359c98
Fixed compile error in OnAfterHits script hook.
2019-11-09 12:57:12 +01:00
Deukhoofd
658672a246
More handling of script hooks.
2019-11-09 12:55:48 +01:00
Deukhoofd
ee14efe22e
Implemented better script handling.
2019-11-09 12:15:45 +01:00
Deukhoofd
c3bfbb569e
Initial setup for script hooks (likely to be revamped)
continuous-integration/drone/push Build is passing
Details
2019-11-08 18:45:43 +01:00
Deukhoofd
19e1308f93
Improve performance for setting choices.
2019-11-06 18:08:21 +01:00
Deukhoofd
beac87f981
Reset choices on side when executing turn.
2019-11-06 18:06:48 +01:00
Deukhoofd
5fc2bf564a
Support turn queue return prematurely when a creature is recalled, and the ability to resume it later.
2019-11-06 18:04:00 +01:00
Deukhoofd
f184572837
Add virtual destructor to the CriticalLibrary
continuous-integration/drone/push Build is passing
Details
2019-11-05 18:26:27 +01:00
Deukhoofd
2ecc5cfccd
Implements critical calculation, fixes some library pointers being unset, causing segfaults.
continuous-integration/drone/push Build is failing
Details
2019-11-05 17:42:45 +01:00
Deukhoofd
b290f16a15
Give DamageLibrary an implementation for its destructor.
continuous-integration/drone/push Build is failing
Details
2019-11-05 17:27:54 +01:00
Deukhoofd
efa994c88d
Fixes dependency issue, lack of virtual destructor for DamageLibrary
continuous-integration/drone/push Build is failing
Details
2019-11-05 16:20:47 +01:00
Deukhoofd
549ba4c1c2
Fixed memory leak when deleting library.
continuous-integration/drone/push Build is failing
Details
2019-11-05 14:32:30 +01:00
Deukhoofd
1848d7b617
Implementation of damage calculation.
continuous-integration/drone/push Build was killed
Details
2019-11-05 14:31:54 +01:00
Deukhoofd
db2a577a85
Further implementation of types.
2019-11-05 08:06:12 +01:00
Deukhoofd
168e14d394
Implement basic type library.
continuous-integration/drone/push Build is passing
Details
2019-11-04 17:58:26 +01:00
Deukhoofd
b4e08049ce
Handle executing moves.
continuous-integration/drone/push Build is passing
Details
2019-11-03 13:47:50 +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
d7fee13002
Fix memory leak in unit tests
continuous-integration/drone/push Build is passing
Details
2019-10-31 13:33:32 +01:00
Deukhoofd
163752a8ea
Fix memory leak in attack library
2019-10-31 13:30:22 +01:00
Deukhoofd
65f814b006
Implemented better exceptions
continuous-integration/drone/push Build is failing
Details
2019-10-31 13:26:56 +01:00
Deukhoofd
ffba5fb24c
Basic layout for turn execution
2019-10-31 13:13:36 +01:00
Deukhoofd
7da87956cf
Priority tests
continuous-integration/drone/push Build is failing
Details
2019-10-31 13:03:41 +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
af611070c5
Fixed syntax error
continuous-integration/drone/push Build is passing
Details
2019-10-29 11:30:52 +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
Deukhoofd
3938500595
Pass settings by reference instead of value.
continuous-integration/drone/push Build is passing
Details
2019-10-25 20:14:24 +02:00
Deukhoofd
7d6de3557c
Support learning moves with CreateCreature class
continuous-integration/drone/push Build is passing
Details
2019-10-25 20:08:25 +02:00
Deukhoofd
9588236183
Remove creature classes from Library lib, merged with Battling lib.
continuous-integration/drone/push Build is passing
Details
2019-10-24 13:37:55 +02:00
Deukhoofd
bb8978314f
Support for learnable moves
continuous-integration/drone/push Build is passing
Details
2019-10-24 11:04:19 +02:00
Deukhoofd
cfb7663d78
Fix build by adding get functions for otherwise inaccessible fields.
continuous-integration/drone/push Build is passing
Details
2019-10-23 19:21:21 +02:00
Deukhoofd
cdaa056810
Initial support for learned moves
continuous-integration/drone/push Build is failing
Details
2019-10-23 18:57:50 +02:00
Deukhoofd
1e4f422117
Add changing level API to BattleCreature
2019-10-23 18:51:36 +02:00
Deukhoofd
cd21e6c685
Implement stat boosting
2019-10-23 18:41:45 +02:00
Deukhoofd
3e9d030dc4
Automatically recalculate boosted stat after recalculating flat stat
2019-10-23 18:28:58 +02:00
Deukhoofd
65cf190367
Split off battle creature stats into boosted and non-boosted
2019-10-23 18:27:31 +02:00
Deukhoofd
bc7c42c50d
Fix Windows build
2019-10-23 18:13:37 +02:00
Deukhoofd
d580d81163
Initial work on battling
continuous-integration/drone/push Build is failing
Details
2019-10-17 14:33:25 +02:00