-
23efc9b6ed
Fixes bug in scriptset where lookup would no longer point to valid script after removing one preceding it.
master
Deukhoofd
2022-06-05 12:39:29 +0200
-
b0e2e9935a
Adds more templated functions for getting stats
Deukhoofd
2022-05-28 12:31:29 +0200
-
df1fd007f1
Adds templated functions for getting stats
Deukhoofd
2022-05-28 12:09:11 +0200
-
24871b6b65
Make Creature::GetAttacks const
Deukhoofd
2022-05-28 11:59:18 +0200
-
5c005f31fe
Fixes build
Deukhoofd
2022-05-28 11:29:33 +0200
-
6f0e664e74
Adds support for removing volatile script by its hash, checking if Creature has attack by hash.
Deukhoofd
2022-05-28 11:24:16 +0200
-
c208394d18
Revert "Adds support for changing talent by its hash, adds support for loading scripts by their name hash."
Deukhoofd
2022-05-28 11:07:19 +0200
-
e3c997af31
Adds support for changing talent by its hash, adds support for loading scripts by their name hash.
Deukhoofd
2022-05-28 11:00:31 +0200
-
782e9b90a8
Change types on Creature to List instead of vector
Deukhoofd
2022-05-26 12:49:47 +0200
-
e1c5460db4
Fix missing header after stdlib update
Deukhoofd
2022-05-26 10:07:18 +0200
-
c559e60104
Adds lto as link flag to mold
Deukhoofd
2022-05-18 18:18:55 +0200
-
e355b45fa5
Sign build
Deukhoofd
2022-05-18 17:41:33 +0200
-
129a448267
Use mold as linker for clang, if available
Deukhoofd
2022-05-18 17:22:57 +0200
-
efb3bf19ec
Removes Valgrind step for now, as it does not support clang 14
Deukhoofd
2022-05-16 19:10:04 +0200
-
e6f38cfb26
Rework several libraries to use new StringViewDictionary
Deukhoofd
2022-05-16 17:21:39 +0200
-
dcf6b20e65
Check if the user is usable when we set the choice
Deukhoofd
2022-05-15 11:24:21 +0200
-
f13b78e297
LoadItemScript should return a borrowed ptr
Deukhoofd
2022-05-15 10:00:25 +0200
-
727aab37d7
Fixes several potential leaks
Deukhoofd
2022-05-14 17:36:38 +0200
-
a4471ec5b1
Fixes for Arbutils changes
Deukhoofd
2022-05-14 16:26:30 +0200
-
de6d39376f
Rework script handling to use smart pointers properly
Deukhoofd
2022-05-14 16:07:32 +0200
-
0117cb9d64
Use smart ArbUt pointers for returning scripts.
Deukhoofd
2022-05-14 15:09:58 +0200
-
cd50b2c2e8
Fixed nullptr dereference in ItemUse
Deukhoofd
2022-05-14 14:56:00 +0200
-
a8c80a3c66
Adds C Interface for Item choice
Deukhoofd
2022-04-23 18:26:46 +0200
-
0e7b9ae1fd
Set up parallelism for drone build
Deukhoofd
2022-04-10 13:02:15 +0200
-
88dd285642
Fixes pedantic problem
Deukhoofd
2022-04-02 13:04:08 +0200
-
842d708996
Enable pedantic errors
Deukhoofd
2022-04-02 12:33:26 +0200
-
4bb353e75b
Make ClearBattleData virtual
Deukhoofd
2022-03-26 12:12:10 +0100
-
24f18c775d
Rework for BattleSide to use std::vector<bool> to deal with some edge cases
Deukhoofd
2022-03-26 11:44:40 +0100
-
acf6612eba
Being a bit too careless today, fixes dumb oversight
Deukhoofd
2022-03-26 11:38:40 +0100
-
aa48557416
Fixes syntax error
Deukhoofd
2022-03-26 11:37:39 +0100
-
5dff6d735f
Adds BattleRandom methods for unsigned 32 bit numbers
Deukhoofd
2022-03-26 11:36:13 +0100
-
4f77d30a7d
Adds getter for checking if a slot is unfillable
Deukhoofd
2022-03-26 11:32:55 +0100
-
bc1f78c8bd
More sanitizer fixes
Deukhoofd
2022-03-25 19:21:02 +0100
-
38a26888be
Fixes declaration of Battle::GetHistory
Deukhoofd
2022-03-23 18:48:39 +0100
-
de818c9fd6
Improve readability of BattleScript.hpp
Deukhoofd
2022-03-23 18:38:43 +0100
-
eccf2c9121
Add nullability to large parts of the codebase
Deukhoofd
2022-03-23 18:30:35 +0100
-
beb2e44a0b
Further work on replacing integer definitions, make missing sanitizer only a warning instead of an error
Deukhoofd
2022-03-23 14:19:07 +0100
-
46bf10c719
Remove debug thing to deprecate old integer format, it was just there for rewriting purposes
Deukhoofd
2022-03-23 13:59:29 +0100
-
3cc19de61f
Update to latest Arbutils, use new integer defines
Deukhoofd
2022-03-23 13:56:45 +0100
-
52127f6555
Further fixes for CI
Deukhoofd
2022-03-22 18:23:12 +0100
-
ffda0d0abe
Fixes CI
Deukhoofd
2022-03-22 18:16:42 +0100
-
0acc1a2c8e
Add option for address sanitizer in tests, fixes valgrind in drone
Deukhoofd
2022-03-22 18:16:00 +0100
-
47cc77f0e5
Add support for AddressSanitizer to unit tests
Deukhoofd
2022-03-22 12:30:10 +0100
-
6e9844b343
Allow changing creature types
Deukhoofd
2022-03-12 12:37:26 +0100
-
a015a3fc62
Adds parameter to change stat boost to determine whether its selfinflicted
Deukhoofd
2022-03-12 11:34:00 +0100
-
a99e3e2d6c
Fixes GCC build
Deukhoofd
2022-03-12 10:33:16 +0100
-
d9dda8433e
Update doctest
Deukhoofd
2022-03-11 11:07:25 +0100
-
8f45ea905a
Fixes memory leak
Deukhoofd
2022-02-26 17:33:53 +0100
-
b003e13f2c
Fixes talent exception when changing to a variant with fewer talents
Deukhoofd
2022-02-26 16:59:04 +0100
-
851cb11f11
Usde libdw instead of bfd
Deukhoofd
2022-02-26 15:22:11 +0100
-
5fce541ffb
Adds script hook to change choice speed when determining turn order
Deukhoofd
2022-02-19 16:11:25 +0100
-
c078d91b0d
Adds functionality for held items
Deukhoofd
2022-02-19 12:19:03 +0100
-
c40f063683
Initial work on item use handling
Deukhoofd
2022-02-13 13:40:33 +0100
-
173c6c9926
Adds pointer to battle library in on initialize function
Deukhoofd
2022-02-12 17:19:07 +0100
-
179b94a677
Adds hook to completely prevent stat boost change
Deukhoofd
2022-02-12 15:43:15 +0100
-
34f1e43269
Adds Script Hook to change stat boost changes
Deukhoofd
2022-02-12 15:05:42 +0100
-
6da591dd92
linker fixes
Deukhoofd
2022-02-12 14:00:50 +0100
-
2a8126e151
Change cmake option TESTS --> CREATURELIB_TESTS
Deukhoofd
2022-02-05 15:52:03 +0100
-
712be48e06
Always create include link for Arbutils
Deukhoofd
2022-02-05 14:45:10 +0100
-
48b11f8179
Handle dependencies through CPM
Deukhoofd
2022-02-05 13:59:15 +0100
-
1c51edb2b9
Adds C Interface for Talent + TalentLibrary
Deukhoofd
2021-11-27 10:37:12 +0100
-
9cb2a27007
Adds parameters to OnDamage to show the health change.
Deukhoofd
2021-11-21 14:13:31 +0100
-
0912483ba8
Adds OnDamage script hook.
Deukhoofd
2021-11-21 14:02:00 +0100
-
40d6e8a389
Adds support for changing variant by variant name.
Deukhoofd
2021-11-21 13:44:48 +0100
-
9270dcca8c
Adds OnFaintingOpponent script hook.
Deukhoofd
2021-11-21 13:29:41 +0100
-
70ac3813cf
Cleanup of script hooks to reduce clang warnings.
Deukhoofd
2021-11-21 13:29:29 +0100
-
f1d706b356
Update to new THROW macro.
Deukhoofd
2021-11-21 12:39:07 +0100
-
54eddba913
Changed my mind about some parameter naming to be clearer.
Deukhoofd
2021-11-21 10:47:16 +0100
-
44dbb5601f
Adds hook to prevent critical hits.
Deukhoofd
2021-11-21 10:46:02 +0100
-
f811fc0654
Adds OnIncomingHit script hook.
Deukhoofd
2021-11-19 18:01:58 +0100
-
aaadbfb4f2
Adds OnSwitchIn hook.
Deukhoofd
2021-11-19 15:36:48 +0100
-
a78b2e54a4
Fixes potential overflow in script suppression.
Deukhoofd
2021-11-19 14:09:16 +0100
-
9ede453587
Support for suppressing a script, so that it temporarily does not function.
Deukhoofd
2021-11-19 14:07:27 +0100
-
53c27d35b6
Trigger OnRemove on Creature when it faints.
Deukhoofd
2021-11-19 13:52:18 +0100
-
364bac7de7
Trigger OnRemove on a Creatures scripts when it gets switched out.
Deukhoofd
2021-11-19 13:49:19 +0100
-
a570e90f67
Adds GetLastUsedAttackOnTarget helper to BattleHistory
Deukhoofd
2021-11-19 13:08:34 +0100
-
a89d79f8bc
Adds DamageSource::Misc.
Deukhoofd
2021-11-19 12:51:51 +0100
-
c27b87b01a
Fixes build.
Deukhoofd
2021-11-19 12:21:46 +0100
-
c6d814e886
Adds DamageSource to OnFaint script hook.
Deukhoofd
2021-11-19 12:15:38 +0100
-
2ea928e67b
Adds OnFaint script hook.
Deukhoofd
2021-11-19 12:12:46 +0100
-
59313e6da8
Breaking change: rework of talents.
Deukhoofd
2021-11-15 12:04:45 +0100
-
33d384c464
Support for failing an AttackTurnChoice.
Deukhoofd
2021-11-12 12:54:05 +0100
-
1a3b7fe50a
Fixes build.
Deukhoofd
2021-10-30 17:54:37 +0200
-
2bd73bd4ef
Reset weight/height when variant changes, when a creature is moved out of the battle.
Deukhoofd
2021-10-30 17:50:26 +0200
-
a12972472b
Adds Creature specific weight and height, which can be modified dynamically during battles.
Deukhoofd
2021-10-30 17:07:13 +0200
-
2e2abfe122
Reference Arbutils/Enum in ScriptCategory.hpp
Deukhoofd
2021-10-30 14:31:43 +0200
-
e1d8348b2f
Fixes project being completely dirty every build requiring constant full rebuilds and slowing down tooling.
Deukhoofd
2021-10-30 14:24:38 +0200
-
d55b40f3d0
Adds newline for GCC.
Deukhoofd
2021-10-29 23:55:41 +0200
-
cb6725ab5e
Adds support for script owner to clone command.
Deukhoofd
2021-10-29 21:55:49 +0200
-
be7a5fe6bd
More work on setting owner of a script.
Deukhoofd
2021-10-29 21:40:10 +0200
-
949fc67831
Add support for saving and getting the owner of a script in script.
Deukhoofd
2021-10-29 21:31:01 +0200
-
5fd8abb3a8
Reworks ScriptSources so we can get individual scripts on a source. Fixed OnEndTurn making no sense.
Deukhoofd
2021-10-29 19:31:08 +0200
-
316ac12a01
Adds script hook for overriding incoming damage.
Deukhoofd
2021-10-29 18:24:46 +0200
-
0b9028ea97
Fixes BattleSide AddVolatile using the wrong script category.
Deukhoofd
2021-10-29 18:12:35 +0200
-
b4ef1ea98e
Adds getter for Battle on BattleSide.
Deukhoofd
2021-10-28 15:01:31 +0200
-
19375c2f87
Adds functions to add, remove, and get volatile scripts from a BattleSide.
Deukhoofd
2021-10-28 14:49:24 +0200
-
47c3429295
Adds optional optimization to history helper functions to limit the max amount of turns searched through.
Deukhoofd
2021-10-24 11:10:30 +0200
-
7354c835e6
Fixes memory leak.
Deukhoofd
2021-10-23 18:38:12 +0200
-
51897e42da
Make HistoryHolder a pointer instead of value.
Deukhoofd
2021-10-23 17:17:34 +0200
-
ff67ab9e00
Adds helper function to get last damage event on a creature.
Deukhoofd
2021-10-23 17:08:54 +0200