Commit Graph

70 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 842d708996
Enable pedantic errors
continuous-integration/drone/push Build is failing Details
2022-04-02 12:33:26 +02:00
Deukhoofd 3cc19de61f
Update to latest Arbutils, use new integer defines 2022-03-23 13:56:45 +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 1c51edb2b9
Adds C Interface for Talent + TalentLibrary
continuous-integration/drone/push Build is passing Details
2021-11-27 10:37:12 +01:00
Deukhoofd 59313e6da8
Breaking change: rework of talents.
continuous-integration/drone/push Build is passing Details
2021-11-15 12:04:58 +01:00
Deukhoofd 26c36f8ece
Adds effect field to Items.
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2021-03-07 11:56:07 +01:00
Deukhoofd 7aa31a838d
Several fixes for attack effects not triggering.
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2021-01-22 13:38:05 +01:00
Deukhoofd 65cf7c52d9
Fixes CInterface for BaseLibrary returning wrong value.
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-12-22 16:11:11 +01:00
Deukhoofd 29d6632472
Makes TryGetVariant use an std::optional
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-12-12 14:12:50 +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 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 fcdc58176f
Support for getting Creature by ID.
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-08-22 13:24:08 +02:00
Deukhoofd 46ccf8e7bf
Style fix.
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-08-20 13:39:16 +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 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 2c4c0f2277
Rework LearnableAttacks to use ArbUt::BorrowedPtr
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-08-11 19:09:58 +02:00
Deukhoofd 7ac63839b8
Fixes and improvements for LearnableAttacks,
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-08-11 18:53:01 +02:00
Deukhoofd f3d22f7ba9
Support getting distinct level attacks from LearnableAttacks.
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-08-11 17:25:04 +02:00
Deukhoofd 2ca4f53b0c
Support for adding flags to CreatureSpecies and CreatureVariant.
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-08-10 17:46:09 +02:00
Deukhoofd 3a75a40671
Support getting an item from BaseLibrary by index, for iterating purposes.
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-08-10 17:01:21 +02:00
Deukhoofd fb56d0920d
Add C Interface for Variants count.
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-08-08 19:08:24 +02:00
Deukhoofd 15100f3cd5
Add functionality to retrieve a variants list.
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-08-08 18:56:00 +02:00
Deukhoofd 4ffc8ba01f
Support for getting type names from TypeLibrary.
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-08-08 12:54:28 +02:00
Deukhoofd a4c4cad59b
Merge the two different libs together into the same library.
continuous-integration/drone/push Build is passing Details
2020-07-31 10:51:03 +02:00
Deukhoofd 29013bb6ac
Fix issue with having two different libraries sharing the same CreatureLib Exception C Interface.
continuous-integration/drone/push Build is passing Details
2020-07-30 20:06:23 +02:00
Deukhoofd 75810b9d0c
Implements C Interface for SpeciesVariant.GetRandomTalent
continuous-integration/drone/push Build is passing Details
2020-07-18 12:20:47 +02:00
Deukhoofd 4fe0c70635
Implements C Interface for Species.GetRandomGender
continuous-integration/drone/push Build is passing Details
2020-07-17 14:43:04 +02:00
Deukhoofd 367ed7fcbb
Cleanup CMake file. 2020-07-17 13:12:21 +02:00
Deukhoofd 2225d32432
Cleanup of C Interface, remove use of operator->, as it will throw when null.
continuous-integration/drone/push Build is passing Details
2020-07-07 15:43:31 +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 f55ae5a809
Syntax fixes.
continuous-integration/drone/push Build is passing Details
2020-06-20 18:53:10 +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 25f65eb47b
Update to newer Arbutils version.
continuous-integration/drone/push Build is passing Details
2020-05-26 18:31:06 +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
Deukhoofd 5cd5059e42
Adds C Interface for destructor of different growthrates.
continuous-integration/drone/push Build is passing Details
2020-05-06 11:36:56 +02:00
Deukhoofd 3a9e55aae5
C interface to add species variant.
continuous-integration/drone/push Build is passing Details
2020-05-04 20:40:45 +02:00
Deukhoofd 293386ac0d
Implements EffectParameter C Interface
continuous-integration/drone/push Build is passing Details
2020-05-02 21:46:16 +02:00
Deukhoofd 40e80d8100
Fixes GetTalent C Interface for SpeciesVariant being broken 2020-05-02 21:46:06 +02:00
Deukhoofd 91ba93462b
Fixed issues with C Interface
continuous-integration/drone/push Build is passing Details
2020-05-02 20:03:18 +02:00
Deukhoofd 2821eec263
Fixed SpeciesVariant C Interface requiring byte for base speed instead of short.
continuous-integration/drone/push Build is passing Details
2020-05-02 17:16:16 +02:00
Deukhoofd 5146a70d8b
Fixed naming error.
continuous-integration/drone/push Build is passing Details
2020-04-19 19:15:50 +02:00
Deukhoofd 5ac2b7b3c9
Turn SecondaryEffect class into pointer type, owned by AttackData.
continuous-integration/drone/push Build is passing Details
2020-04-10 22:17:48 +02:00
Deukhoofd e934e13950
Replace void* for script parameter with EffectParameter class.
continuous-integration/drone/push Build is passing Details
2020-04-10 17:54:45 +02:00
Deukhoofd e89d2a9e0c
Adds secondary effect parameter system.
continuous-integration/drone/push Build is failing Details
2020-04-10 16:35:24 +02:00
Deukhoofd 70fc8d2d5f
Add C interface for ExecutingAttack.
continuous-integration/drone/push Build is passing Details
2020-04-06 17:05:32 +02:00
Deukhoofd 9ff5df1b70
Add C interface for secondary effect data.
continuous-integration/drone/push Build is passing Details
2020-04-06 12:53:49 +02:00