Commit Graph

18 Commits

Author SHA1 Message Date
188e88ab80 Store CreatureIndex on Creature, includes helper function to get a creatures party from a battle.
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2021-05-08 11:53:32 +02:00
2b1a1792bf Make Clone functions const.
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2021-04-11 16:01:18 +02:00
84a14cff2b Support for cloning battles for AI purposes.
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2021-04-11 15:20:50 +02:00
5c39694f19 Overhaul memory model to new Arbutils memory.
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-12-12 12:22:48 +01:00
53bfbd36c2 Use a precompiled header.
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-09-25 13:05:15 +02:00
86ed173d30 Defensive programming for Party
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-08-24 20:37:22 +02:00
1807e720dd Support for packing party.
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-08-10 17:37:30 +02:00
a4bb8864a0 When creating a CreatureParty with a size, don't just reserve the space, but append nullptr as well.
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-26 16:08:41 +02:00
8f921ce89b Add support for swapping in and out of a party.
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-25 14:35:13 +02:00
69f6a89c0d Make CreatureParty use smart pointers.
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-31 19:04:40 +02:00
25f65eb47b Update to newer Arbutils version.
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-26 18:31:06 +02:00
7ce3e6940d Rework for C Interfaces to handle exceptions a bit better.
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-25 19:09:17 +01:00
27288563cd Replace most collections with Arbutils collections for more safety.
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-22 19:21:40 +01:00
bbe99da0f0 Fixes and tweaks for CreatureParty, added C Interface.
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-08 13:53:58 +01:00
75bce0e329 Add virtual destructor to CreatureParty.
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-17 15:52:59 +01:00
6f32d1245b Implemented and fixed all code required to run at least a single turn.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-05 12:56:41 +01:00
a8730d983f Used ClangFormat style guide I'm happy with.
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-28 12:55:22 +01:00
3b685ae782 Added layout for CreatureParty 2019-11-28 12:16:03 +01:00