Deukhoofd
|
a12972472b
|
Adds Creature specific weight and height, which can be modified dynamically during battles.
continuous-integration/drone/push Build is passing
Details
|
2021-10-30 17:07:13 +02:00 |
Deukhoofd
|
cb6725ab5e
|
Adds support for script owner to clone command.
continuous-integration/drone/push Build is failing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-10-29 21:55:49 +02:00 |
Deukhoofd
|
be7a5fe6bd
|
More work on setting owner of a script.
continuous-integration/drone/push Build is failing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-10-29 21:40:10 +02:00 |
Deukhoofd
|
5fd8abb3a8
|
Reworks ScriptSources so we can get individual scripts on a source. Fixed OnEndTurn making no sense.
continuous-integration/drone/push Build is failing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-10-29 19:31:08 +02:00 |
Deukhoofd
|
20b53833c4
|
Cleans up HistoryHolder to be a lot less complicated (although possibly a bit slower), adds DamageHistory.
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-10-23 16:57:58 +02:00 |
Deukhoofd
|
ce30077a5d
|
Change Creature::Nickname to be an optional.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-09-19 11:40:18 +02:00 |
Deukhoofd
|
152ac7e407
|
Don't throw an exception when teaching an attack when we don't have the max amount of attacks yet.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-08-29 17:16:36 +02:00 |
Deukhoofd
|
512a39e158
|
Deal with Creatures being deleted before a battle they're part of.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-08-28 19:05:52 +02:00 |
Deukhoofd
|
08120d5433
|
Adds status handling functions
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-07-09 15:33:30 +02:00 |
Deukhoofd
|
762915b1f7
|
Add new Creature::IsUsable function, which replaces IsFainted functionality in several places.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-06-19 12:33:31 +02:00 |
Deukhoofd
|
188e88ab80
|
Store CreatureIndex on Creature, includes helper function to get a creatures party from a battle.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-05-08 11:53:32 +02:00 |
Deukhoofd
|
305eb5efb2
|
Cleanup for Creature class battle data.
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-05-08 11:26:35 +02:00 |
Deukhoofd
|
2b1a1792bf
|
Make Clone functions const.
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-04-11 16:01:18 +02:00 |
Deukhoofd
|
84a14cff2b
|
Support for cloning battles for AI purposes.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-04-11 15:20:50 +02:00 |
Deukhoofd
|
1ddbfd2357
|
Fixes for ScriptSet throwing when adding a not yet found volatile script.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-03-27 20:20:49 +01:00 |
Deukhoofd
|
bfe83ef271
|
When adding volatile script, return the script object.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-03-27 16:36:20 +01:00 |
Deukhoofd
|
5178d5dcc0
|
Renamed Script --> BattleScript, some cleanup on it.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-03-07 10:26:41 +01:00 |
Deukhoofd
|
abccc23851
|
Trigger event when stat boost changes.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-01-16 21:16:47 +01:00 |
Deukhoofd
|
987f60ee85
|
Clear scripts from creature when a battle is cleared from it.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-01-15 16:31:47 +01:00 |
Deukhoofd
|
66b95a6e4d
|
Reset seen opponents on ClearBattle.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2021-01-15 15:46:48 +01:00 |
Deukhoofd
|
a284641b5a
|
Fixes invalid pointers to a battle dangling when a battle is removed.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2020-12-28 13:40:39 +01:00 |
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
|
4367d1f5cf
|
Make HeldItem OptionalBorrowedPtr.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2020-12-12 13:40:30 +01:00 |
Deukhoofd
|
185ec40ba5
|
Use std::optional for BaseLibrary TryGet.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2020-12-12 12:42:28 +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
|
1dc3aafd33
|
Use vector instead of set for types.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2020-10-23 16:51:15 +02:00 |
Deukhoofd
|
53bfbd36c2
|
Use a precompiled header.
continuous-integration/drone/push Build is failing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2020-09-25 13:05:15 +02:00 |
Deukhoofd
|
b096fb9533
|
Dont set nickname to species internal name.
continuous-integration/drone/push Build is failing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2020-08-25 19:12:35 +02:00 |
Deukhoofd
|
39e1295013
|
Compile time option to change bit size of level.
continuous-integration/drone/push Build is failing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2020-08-19 20:11:00 +02:00 |
Deukhoofd
|
98dacbccde
|
Use Arbutils exception Macros, instead of own ones.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2020-08-17 12:18:01 +02:00 |
Deukhoofd
|
64b08d4ff0
|
Cleaned up Events, added events on species and variant changes.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2020-08-14 13:52:22 +02:00 |
Deukhoofd
|
c484c376c3
|
When changing species, account for gender changes.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2020-08-13 12:23:49 +02:00 |
Deukhoofd
|
bb35248174
|
Support changing species for a creature.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2020-08-13 10:38:56 +02:00 |
Deukhoofd
|
9c6d149ad9
|
Support for adding and replacing attacks.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2020-08-12 17:51:06 +02:00 |
Deukhoofd
|
4ef24dd122
|
Helper method to restore all attack uses on a Creature.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2020-08-08 11:32:25 +02:00 |
Deukhoofd
|
5aa04a4b15
|
Add TurnStart, TurnEnd and ExperienceGain event triggers.
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
|
2020-08-07 11:02:37 +02:00 |
Deukhoofd
|
d55a9e8494
|
Add more assertions to prevent segfaults.
continuous-integration/drone/push Build is passing
Details
|
2020-08-02 09:52:11 +02:00 |
Deukhoofd
|
670abd7229
|
Fixed Segfault when overriding talent.
continuous-integration/drone/push Build is passing
Details
|
2020-08-01 10:27:46 +02:00 |
Deukhoofd
|
0eaae43444
|
Reworked event hook to a system with pre-allocated memory, owned by the battle. This deals with cleaning up event data memory.
continuous-integration/drone/push Build is passing
Details
|
2020-07-31 16:19:39 +02:00 |
Deukhoofd
|
36f1e5beeb
|
Further work on better exceptions.
continuous-integration/drone/push Build is passing
Details
|
2020-07-26 17:41:11 +02:00 |
Deukhoofd
|
be82abeece
|
Change nickname to string from string_view.
continuous-integration/drone/push Build is passing
Details
|
2020-07-19 12:15:14 +02:00 |
Deukhoofd
|
772619db0f
|
Changed LoadScript to StringView.
continuous-integration/drone/push Build is failing
Details
|
2020-06-26 18:23:40 +02:00 |
Deukhoofd
|
48639eeee5
|
Update to new Arbutils
continuous-integration/drone/push Build is passing
Details
|
2020-06-26 17:08:23 +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
|
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
|
7262ae9e8b
|
Make ExecutingAttack use smart pointers.
|
2020-06-02 18:02:37 +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
|
e4b9550efa
|
Make all individual scripts smart pointers.
continuous-integration/drone/push Build is failing
Details
|
2020-06-02 13:43:44 +02:00 |