Deukhoofd
|
14458ec30c
|
Bring Library class in line with style lines.
continuous-integration/drone/push Build is failing
Details
|
2020-06-20 18:50:55 +02:00 |
Deukhoofd
|
add77325a4
|
Several additional checks to ensure battle does not finish turn when ended.
continuous-integration/drone/push Build is passing
Details
|
2020-06-12 16:48:49 +02:00 |
Deukhoofd
|
fd1c6e9a0a
|
If no side is still alive, mark battle as inconclusive ended.
continuous-integration/drone/push Build is passing
Details
|
2020-06-12 16:25:21 +02:00 |
Deukhoofd
|
32bb641f75
|
Fixed issue with underflow in ScriptAggregator.
continuous-integration/drone/push Build is passing
Details
|
2020-06-12 15:49:37 +02:00 |
Deukhoofd
|
3358bf7378
|
Fixed comparing int32_t with uint32_t.
continuous-integration/drone/push Build is passing
Details
|
2020-06-10 14:46:45 +02:00 |
Deukhoofd
|
c8314d6018
|
Support for changing variants.
continuous-integration/drone/push Build is failing
Details
|
2020-06-10 14:39:20 +02:00 |
Deukhoofd
|
637649c993
|
Deal with talent indices that are out of bounds.
continuous-integration/drone/push Build is passing
Details
|
2020-06-10 12:29:38 +02:00 |
Deukhoofd
|
fccf339e76
|
Implements genderless mons.
continuous-integration/drone/push Build is passing
Details
|
2020-06-10 12:16:09 +02:00 |
Deukhoofd
|
fc74a7d4bd
|
Fixed broken test.
continuous-integration/drone/push Build is passing
Details
|
2020-06-05 18:10:58 +02:00 |
Deukhoofd
|
fddf2cabab
|
Rework ScriptIterator to jump to first value on reset.
continuous-integration/drone/push Build is failing
Details
|
2020-06-05 18:06:45 +02:00 |
Deukhoofd
|
9e7607338f
|
Moved Creature types to creature itself, instead of using the variant types.
continuous-integration/drone/push Build is passing
Details
|
2020-06-05 16:38:27 +02:00 |
Deukhoofd
|
3c5b3d5c03
|
Fixed potential reaching end of function.
continuous-integration/drone/push Build is passing
Details
|
2020-06-05 15:42:28 +02:00 |
Deukhoofd
|
66379bfa65
|
Initial support for handling multi target attacks.
continuous-integration/drone/push Build is failing
Details
|
2020-06-05 15:32:05 +02:00 |
Deukhoofd
|
f463ba8496
|
Simplify check whether mon is on battle field.
continuous-integration/drone/push Build is passing
Details
|
2020-06-05 14:35:23 +02:00 |
Deukhoofd
|
44de4a0799
|
Use std::algorithm for Battle::CreatureInField
continuous-integration/drone/push Build is passing
Details
|
2020-06-05 14:15:20 +02:00 |
Deukhoofd
|
57e8595bdf
|
Make ExecutingAttack creature list a raw C array, as this is a hot spot and could use some optimization.
continuous-integration/drone/push Build is passing
Details
|
2020-06-04 21:58:28 +02:00 |
Deukhoofd
|
657d646fda
|
Make the last couple classes use smart pointers.
continuous-integration/drone/push Build is passing
Details
|
2020-06-02 18:30:37 +02:00 |
Deukhoofd
|
7262ae9e8b
|
Make ExecutingAttack use smart pointers.
|
2020-06-02 18:02:37 +02:00 |
Deukhoofd
|
a5a613ba5c
|
Make CreateCreature use smart pointers.
|
2020-06-02 17:19:23 +02:00 |
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
|
23e2bc73bc
|
Style fixes.
continuous-integration/drone/push Build is passing
Details
|
2020-06-02 14:14:24 +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
|
dba1275813
|
Move ScriptIterator reset to get call instead of inside Macro.
continuous-integration/drone/push Build is failing
Details
|
2020-06-02 13:21:23 +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
|
49e8ff055d
|
Use smart pointer for BattleParty.
continuous-integration/drone/push Build is failing
Details
|
2020-06-02 12:16:26 +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
|
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
|
20be2815ce
|
Revert "Clean up choices if they can't be used."
continuous-integration/drone/push Build is passing
Details
This reverts commit 04cef8b6
|
2020-05-29 19:29:25 +02:00 |
Deukhoofd
|
04cef8b6e2
|
Clean up choices if they can't be used.
continuous-integration/drone/push Build is failing
Details
|
2020-05-29 19:25:46 +02:00 |
Deukhoofd
|
d51919c74f
|
Make ExecutingAttack a local variable while being used, to ensure it's always cleaned up.
continuous-integration/drone/push Build is passing
Details
|
2020-05-29 18:49:48 +02:00 |
Deukhoofd
|
a9740cb1eb
|
Fixed memory leak in ExecutingAttack.
continuous-integration/drone/push Build is passing
Details
|
2020-05-27 18:29:52 +02:00 |
Deukhoofd
|
fcc6f2214e
|
Make ExecutingAttack have raw pointer array HitData, instead of a List. This is a very hot segment of code, and removing surrounding abstractions can give us a decent amount of performance.
continuous-integration/drone/push Build is failing
Details
|
2020-05-27 18:26:09 +02:00 |
Deukhoofd
|
90e7a699bc
|
Remove const qualification of ScriptResolver.
continuous-integration/drone/push Build is passing
Details
|
2020-05-26 20:53:06 +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
|
0125215007
|
Style fixes
|
2020-05-26 16:35:01 +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
|
e46117ea06
|
Fixes DataLibrary not having correct const definitions.
continuous-integration/drone/push Build is passing
Details
|
2020-05-26 15:02:41 +02:00 |
Deukhoofd
|
ecf1c47a53
|
Make Growth Rate library use unique_ptr
|
2020-05-26 14:58:16 +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
|
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
|
b17c0648ff
|
Make DataLibrary use unique_ptr.
continuous-integration/drone/push Build is passing
Details
|
2020-05-24 19:01:47 +02:00 |