Commit Graph

723 Commits

Author SHA1 Message Date
Deukhoofd e6f38cfb26
Rework several libraries to use new StringViewDictionary
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is failing Details
2022-05-16 17:21:39 +02:00
Deukhoofd dcf6b20e65
Check if the user is usable when we set the choice
continuous-integration/drone/push Build is passing Details
2022-05-15 11:24:21 +02:00
Deukhoofd f13b78e297
LoadItemScript should return a borrowed ptr
continuous-integration/drone/push Build is passing Details
2022-05-15 10:00:25 +02:00
Deukhoofd 727aab37d7
Fixes several potential leaks
continuous-integration/drone/push Build is passing Details
2022-05-14 17:36:38 +02:00
Deukhoofd a4471ec5b1
Fixes for Arbutils changes
continuous-integration/drone/push Build is passing Details
2022-05-14 16:26:30 +02:00
Deukhoofd de6d39376f
Rework script handling to use smart pointers properly
continuous-integration/drone/push Build is failing Details
2022-05-14 16:07:32 +02:00
Deukhoofd 0117cb9d64
Use smart ArbUt pointers for returning scripts.
continuous-integration/drone/push Build is passing Details
2022-05-14 15:09:58 +02:00
Deukhoofd cd50b2c2e8
Fixed nullptr dereference in ItemUse 2022-05-14 14:56:00 +02:00
Deukhoofd a8c80a3c66
Adds C Interface for Item choice
continuous-integration/drone/push Build is passing Details
2022-04-23 18:26:46 +02:00
Deukhoofd 0e7b9ae1fd
Set up parallelism for drone build
continuous-integration/drone/push Build is passing Details
2022-04-10 13:02:15 +02:00
Deukhoofd 88dd285642
Fixes pedantic problem
continuous-integration/drone/push Build is passing Details
2022-04-02 13:04:08 +02:00
Deukhoofd 842d708996
Enable pedantic errors
continuous-integration/drone/push Build is failing Details
2022-04-02 12:33:26 +02:00
Deukhoofd 4bb353e75b
Make ClearBattleData virtual
continuous-integration/drone/push Build is passing Details
2022-03-26 12:12:10 +01:00
Deukhoofd 24f18c775d
Rework for BattleSide to use std::vector<bool> to deal with some edge cases
continuous-integration/drone/push Build is passing Details
2022-03-26 11:44:40 +01:00
Deukhoofd acf6612eba
Being a bit too careless today, fixes dumb oversight
continuous-integration/drone/push Build is failing Details
2022-03-26 11:38:40 +01:00
Deukhoofd aa48557416
Fixes syntax error
continuous-integration/drone/push Build is failing Details
2022-03-26 11:37:39 +01:00
Deukhoofd 5dff6d735f
Adds BattleRandom methods for unsigned 32 bit numbers
continuous-integration/drone/push Build is failing Details
2022-03-26 11:36:13 +01:00
Deukhoofd 4f77d30a7d
Adds getter for checking if a slot is unfillable
continuous-integration/drone/push Build is failing Details
2022-03-26 11:32:55 +01:00
Deukhoofd bc1f78c8bd
More sanitizer fixes
continuous-integration/drone/push Build is passing Details
2022-03-25 19:21:02 +01:00
Deukhoofd 38a26888be
Fixes declaration of Battle::GetHistory
continuous-integration/drone/push Build is passing Details
2022-03-23 18:48:39 +01:00
Deukhoofd de818c9fd6
Improve readability of BattleScript.hpp
continuous-integration/drone/push Build is passing Details
2022-03-23 18:38:43 +01:00
Deukhoofd eccf2c9121
Add nullability to large parts of the codebase
continuous-integration/drone/push Build is passing Details
2022-03-23 18:30:35 +01:00
Deukhoofd beb2e44a0b
Further work on replacing integer definitions, make missing sanitizer only a warning instead of an error
continuous-integration/drone/push Build is passing Details
2022-03-23 14:19:07 +01:00
Deukhoofd 46bf10c719
Remove debug thing to deprecate old integer format, it was just there for rewriting purposes
continuous-integration/drone/push Build is failing Details
2022-03-23 13:59:29 +01:00
Deukhoofd 3cc19de61f
Update to latest Arbutils, use new integer defines 2022-03-23 13:56:45 +01:00
Deukhoofd 52127f6555
Further fixes for CI
continuous-integration/drone/push Build is passing Details
2022-03-22 18:23:12 +01:00
Deukhoofd ffda0d0abe
Fixes CI
continuous-integration/drone/push Build is failing Details
2022-03-22 18:16:42 +01:00
Deukhoofd 0acc1a2c8e
Add option for address sanitizer in tests, fixes valgrind in drone
continuous-integration/drone/push Build encountered an error Details
2022-03-22 18:16:00 +01:00
Deukhoofd 47cc77f0e5
Add support for AddressSanitizer to unit tests
continuous-integration/drone/push Build is failing Details
2022-03-22 12:30:10 +01:00
Deukhoofd 6e9844b343
Allow changing creature types
continuous-integration/drone/push Build is passing Details
2022-03-12 12:37:26 +01:00
Deukhoofd a015a3fc62
Adds parameter to change stat boost to determine whether its selfinflicted
continuous-integration/drone/push Build is passing Details
2022-03-12 11:34:00 +01:00
Deukhoofd a99e3e2d6c
Fixes GCC build
continuous-integration/drone/push Build is passing Details
2022-03-12 10:33:16 +01:00
Deukhoofd d9dda8433e
Update doctest
continuous-integration/drone/push Build is failing Details
2022-03-11 11:07:25 +01:00
Deukhoofd 8f45ea905a
Fixes memory leak
continuous-integration/drone/push Build is failing Details
2022-02-26 17:33:53 +01:00
Deukhoofd b003e13f2c
Fixes talent exception when changing to a variant with fewer talents
continuous-integration/drone/push Build is failing Details
2022-02-26 16:59:04 +01:00
Deukhoofd 851cb11f11
Usde libdw instead of bfd
continuous-integration/drone/push Build is failing Details
2022-02-26 15:22:11 +01:00
Deukhoofd 5fce541ffb
Adds script hook to change choice speed when determining turn order
continuous-integration/drone/push Build is passing Details
2022-02-19 16:11:25 +01:00
Deukhoofd c078d91b0d
Adds functionality for held items
continuous-integration/drone/push Build is passing Details
2022-02-19 12:19:03 +01:00
Deukhoofd c40f063683
Initial work on item use handling
continuous-integration/drone/push Build is passing Details
2022-02-13 13:40:33 +01:00
Deukhoofd 173c6c9926
Adds pointer to battle library in on initialize function
continuous-integration/drone/push Build is passing Details
2022-02-12 17:19:07 +01:00
Deukhoofd 179b94a677
Adds hook to completely prevent stat boost change
continuous-integration/drone/push Build is passing Details
2022-02-12 15:43:15 +01:00
Deukhoofd 34f1e43269
Adds Script Hook to change stat boost changes
continuous-integration/drone/push Build is passing Details
2022-02-12 15:05:42 +01:00
Deukhoofd 6da591dd92
linker fixes
continuous-integration/drone/push Build is passing Details
2022-02-12 14:00:50 +01:00
Deukhoofd 2a8126e151
Change cmake option TESTS --> CREATURELIB_TESTS
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details
2022-02-05 15:52:03 +01:00
Deukhoofd 712be48e06
Always create include link for Arbutils
continuous-integration/drone/push Build is passing Details
2022-02-05 14:45:10 +01:00
Deukhoofd 48b11f8179
Handle dependencies through CPM
continuous-integration/drone/push Build is passing Details
2022-02-05 13:59:15 +01:00
Deukhoofd 1c51edb2b9
Adds C Interface for Talent + TalentLibrary
continuous-integration/drone/push Build is passing Details
2021-11-27 10:37:12 +01:00
Deukhoofd 9cb2a27007
Adds parameters to OnDamage to show the health change.
continuous-integration/drone/push Build is passing Details
2021-11-21 14:13:31 +01:00
Deukhoofd 0912483ba8
Adds OnDamage script hook.
continuous-integration/drone/push Build is passing Details
2021-11-21 14:02:00 +01:00
Deukhoofd 40d6e8a389
Adds support for changing variant by variant name.
continuous-integration/drone/push Build is passing Details
2021-11-21 13:44:48 +01:00