20 Commits

Author SHA1 Message Date
f6415fba27
Added more script hooks
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-23 11:53:00 +01:00
d8332f9e40 Another rework for scripthooks, for better performance.
All checks were successful
continuous-integration/drone/push Build is passing
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
3488784409 Furter rework on script hooks, simplifying required logic. 2019-11-10 14:32:05 +01:00
f72fd5f905 Make ExecutingAttack be a pointer, as we probably want to keep it around after it has finished executing.
Some checks failed
continuous-integration/drone/push Build is failing
2019-11-09 13:18:45 +01:00
96d1b6251f Implements OnSecondaryEffect script hook 2019-11-09 13:09:39 +01:00
aca3359c98 Fixed compile error in OnAfterHits script hook. 2019-11-09 12:57:12 +01:00
658672a246 More handling of script hooks. 2019-11-09 12:55:48 +01:00
ee14efe22e Implemented better script handling. 2019-11-09 12:15:45 +01:00
c3bfbb569e Initial setup for script hooks (likely to be revamped)
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-08 18:45:43 +01:00
beac87f981 Reset choices on side when executing turn. 2019-11-06 18:06:48 +01:00
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
2ecc5cfccd Implements critical calculation, fixes some library pointers being unset, causing segfaults.
Some checks failed
continuous-integration/drone/push Build is failing
2019-11-05 17:42:45 +01:00
1848d7b617 Implementation of damage calculation.
Some checks reported errors
continuous-integration/drone/push Build was killed
2019-11-05 14:31:54 +01:00
db2a577a85 Further implementation of types. 2019-11-05 08:06:12 +01:00
b4e08049ce
Handle executing moves.
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-03 13:47:50 +01:00
fc675efdf5
More work on basic turn layout.
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-02 13:57:43 +01:00
65f814b006
Implemented better exceptions
Some checks failed
continuous-integration/drone/push Build is failing
2019-10-31 13:26:56 +01:00
ffba5fb24c
Basic layout for turn execution 2019-10-31 13:13:36 +01:00
42c1623985
Fully handle turn ordering
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-31 12:31:31 +01:00
972af35ecf
Initial support for ordering choices and getting them ready for execution.
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-31 12:02:23 +01:00