-
6bffea953d
Implements extern growthrate that uses function pointers.
Deukhoofd
2020-03-04 15:00:57 +0100
-
81e173ec1a
C Interface for Lookup GrowthRate.
Deukhoofd
2020-03-04 09:11:32 +0100
-
33de8424be
Tweaks and fixes for Item, added C interface.
Deukhoofd
2020-03-03 19:37:21 +0100
-
461da76f59
Tweaks and fixes for AttackData, added C interface.
Deukhoofd
2020-03-02 15:38:18 +0100
-
81ae0e8454
Make Attack name a ConstString.
Deukhoofd
2020-03-02 15:29:42 +0100
-
3bca3c0673
Reworked LearnedAttacks class, added C interface.
Deukhoofd
2020-03-02 15:23:08 +0100
-
60cbc80549
C interface for SpeciesVariant.
Deukhoofd
2020-03-02 14:01:56 +0100
-
0c1580ade6
Reworked retrieving talent, new method is cleaner and harder to misunderstand.
Deukhoofd
2020-03-02 13:59:49 +0100
-
bfc049a97c
Fixed wrong __uint8 being used.
Deukhoofd
2020-03-01 10:19:36 +0100
-
19316644fc
Very initial work on SpeciesVariant C Interface, slight cleanup of other C Interfaces.
Deukhoofd
2020-02-29 17:21:36 +0100
-
5f341ffbb7
Use hash as key for Species variants, added C interface for Species.
Deukhoofd
2020-02-29 17:00:29 +0100
-
f95c625971
C interfaces for GrowthRateLibrary and TypeLibrary/
Deukhoofd
2020-02-29 16:06:47 +0100
-
70ad3eb838
Tweaks and fixes for TypeLibrary
Deukhoofd
2020-02-29 16:06:36 +0100
-
671077259e
Make typelibrary be based around the hash value instead of conststring value.
Deukhoofd
2020-02-29 15:54:02 +0100
-
4341efb54c
Support ConstString in TypeLibrary.
Deukhoofd
2020-02-29 15:41:43 +0100
-
4866edebab
Make GrowthRate library be key based on uint32, instead of on the ConstString, to save memory.
Deukhoofd
2020-02-29 15:07:05 +0100
-
b7b54c04e8
Add the baselibrary classes to the C Interface.
Deukhoofd
2020-02-29 14:52:15 +0100
-
0a109e37bc
Initial work on creating C interface.
Deukhoofd
2020-02-29 14:09:03 +0100
-
5a05a2f4d3
Add ConstString to several other places where context isn't changed much during runtime.
Deukhoofd
2020-02-28 19:23:24 +0100
-
469fcfe280
Make item name ConstString.
Deukhoofd
2020-02-27 18:30:30 +0100
-
412e0a4d63
Implements ConstString in several core places in the library, improving performance.
Deukhoofd
2020-02-27 18:23:23 +0100
-
1d3a8da99e
Change Conan url.
Deukhoofd
2020-02-27 12:55:32 +0100
-
6efb7c55e8
Dont include everything statically for Windows build.
Deukhoofd
2020-02-27 11:44:43 +0100
-
04009bbb34
Fixes for Windows build.
Deukhoofd
2020-02-27 11:21:23 +0100
-
894a644f50
Fixes for .drone file.
Deukhoofd
2020-02-26 14:10:02 +0100
-
8b0486e353
Add conan remote for each build.
Deukhoofd
2020-02-26 13:56:56 +0100
-
5e6572aca5
Move several classes from Core to Arbutils.
Deukhoofd
2020-02-26 13:51:16 +0100
-
428b318baf
Mark ScriptSet.Has as const.
Deukhoofd
2020-02-23 16:20:11 +0100
-
3802587313
Added HasVolatileScript function to Creature and Battle.
Deukhoofd
2020-02-23 16:17:57 +0100
-
4728be18b2
Fixed conan alias.
Deukhoofd
2020-02-23 13:48:14 +0100
-
cf7c6291df
Rename conan package.
Deukhoofd
2020-02-23 13:39:35 +0100
-
56f5bbf174
Rename conan package.
Deukhoofd
2020-02-23 13:30:30 +0100
-
d5eae8580f
Add latest alias to conan package.
Deukhoofd
2020-02-23 13:08:50 +0100
-
a606fbbc7b
Make basic Script class abstract, require implementation of GetName function.
Deukhoofd
2020-02-23 12:58:13 +0100
-
5f891cd4ed
Added Remove Volatile functions for battle and creatures.
Deukhoofd
2020-02-23 11:11:47 +0100
-
645ba95bbc
Performance improvements for battle and creature AddVolatileScript methods when passing a string as parameter.
Deukhoofd
2020-02-22 16:01:01 +0100
-
142889ad8a
Add functions to add volatile scripts to Creature.cpp.
Deukhoofd
2020-02-22 15:53:51 +0100
-
32584ac406
Fixed Windows build.
Deukhoofd
2020-02-22 15:11:18 +0100
-
be6b2778a5
Make CreatureException inherit from runtime_error.
Deukhoofd
2020-02-22 15:07:16 +0100
-
442d6cd5b1
Added Helper function to ChoiceQueue to move a specific creature's choice up next.
Deukhoofd
2020-02-22 14:16:38 +0100
-
d4fd7282f5
Move ScriptCategory enum outside of class scope of ScriptResolver.
Deukhoofd
2020-02-20 13:05:15 +0100
-
f22c23d593
Make ScriptMacro a header instead of source file.
Deukhoofd
2020-02-19 15:32:43 +0100
-
b886f0aebf
Add Damage library script hooks.
Deukhoofd
2020-02-19 10:12:36 +0100
-
5e29f50ea1
Mark SetHeldItem with item object as const ptr.
Deukhoofd
2020-02-17 17:24:55 +0100
-
ce31309b2a
Functions to set Creature Held Item, and helper function to check whether Creature is holding a specific held item.
Deukhoofd
2020-02-17 17:16:28 +0100
-
75bce0e329
Add virtual destructor to CreatureParty.
Deukhoofd
2020-02-17 15:52:59 +0100
-
445f7eb3d5
Add virtual destructor to Battle.
Deukhoofd
2020-02-17 15:52:02 +0100
-
da90c3d59e
Reset active scripts on Creature when battle is set.
Deukhoofd
2020-02-17 10:05:32 +0100
-
17552c33ca
Only get active scripts from side if side exists.
Deukhoofd
2020-02-17 09:57:15 +0100
-
65f054bfab
Added functions for battle to manipulate volatile scripts.
Deukhoofd
2020-02-16 17:44:41 +0100
-
428483e73d
Make GetRandom in Battle class a pointer.
Deukhoofd
2020-02-16 17:24:33 +0100
-
f3b5f9e8f9
Move reference to cpp file outside of header.
Deukhoofd
2020-02-16 16:31:06 +0100
-
54e366fc1b
Implements BattleRandom class with support for Effect Chance, and script hooks to modify this.
Deukhoofd
2020-02-16 15:08:22 +0100
-
579ee82f02
Pass ExecutingAttack for target as pointer instead of reference.
Deukhoofd
2020-02-16 12:02:17 +0100
-
252be18630
Make growth rate library case insensitive, add exception if not found.
Deukhoofd
2020-02-16 10:07:01 +0100
-
f37e27378e
Add methods for getting all talents and hidden talents from a species variant.
Deukhoofd
2020-02-16 09:17:09 +0100
-
d609d5ca53
Mark CreatureSpecies GetVariantIterator as const.
Deukhoofd
2020-02-15 19:35:56 +0100
-
629567a2a5
Fix BaseLibrary GetCount, add functions that use std string.
Deukhoofd
2020-02-15 19:14:10 +0100
-
d6ea16b467
Implement basic library class that other libraries inherit from for performance.
Deukhoofd
2020-02-15 18:51:21 +0100
-
a47f60cdf7
Implements iterator functions for libraries.
Deukhoofd
2020-02-15 18:15:31 +0100
-
0b50d2bf43
Force newest build in drone to be Conan version
Deukhoofd
2020-02-15 17:34:48 +0100
-
a6f91faba4
Fix variants lowercasing causing stack smashing error.
Deukhoofd
2020-02-13 18:45:41 +0100
-
667821df28
Mark TryGetVariant as const.
Deukhoofd
2020-02-13 17:37:37 +0100
-
2ea5f9f9bd
Make variant keys case insensitive, added helper functions for variants.
Deukhoofd
2020-02-13 17:16:07 +0100
-
611198009b
Make Attack, Item and Species libraries be case insensitive.
Deukhoofd
2020-02-13 16:05:27 +0100
-
8d4860f553
Support for Heal function for Creatures.
Deukhoofd
2020-02-13 14:48:09 +0100
-
2dcb197191
Fix issue in tests where we compared with equality operator instead of strcmp.
Deukhoofd
2020-02-13 13:33:07 +0100
-
02aa6f252e
Make Enum Helper parse functions constexpr, added Enum Helper Try Parse functions.
Deukhoofd
2020-02-13 13:19:59 +0100
-
0ef909cf55
Use ENUM macro for ScriptCategory enum.
Deukhoofd
2020-02-13 12:53:48 +0100
-
42050de18a
Use ENUM macro for Item Category enums.
Deukhoofd
2020-02-13 10:49:45 +0100
-
1969f59a9c
Add vector dependency to Enum macro
Deukhoofd
2020-02-12 20:12:17 +0100
-
f4449cc101
Tell Drone to use CLang.
Deukhoofd
2020-02-12 19:57:15 +0100
-
2dea2e6cd0
Add newlines after MacroUtils to hopefully keep the build happy.
Deukhoofd
2020-02-12 19:53:42 +0100
-
2732a904c4
Add easy to use macro to generate enum helper functions for parsing, stringifying and iteration.
Deukhoofd
2020-02-12 19:48:56 +0100
-
a8944e2026
Fix AttackData constructor to use signed byte for priority instead of unsigned.
Deukhoofd
2020-02-12 10:11:25 +0100
-
80708040a4
When setting variant of species with the same name of already existing variant, delete previous variant.
Deukhoofd
2020-02-09 12:04:59 +0100
-
3f57051219
Made CreatureSpecies destructor virtual.
Deukhoofd
2020-02-09 10:47:18 +0100
-
f973259bef
Force insertion when setting species variant, as to prevent memory leaks.
Deukhoofd
2020-02-08 20:16:47 +0100
-
3303dfd82d
Move header files to CreatureLib subdirectory.
Deukhoofd
2020-02-08 19:04:04 +0100
-
52d24922ff
Make type library work case insensitive.
Deukhoofd
2020-02-08 17:50:27 +0100
-
925763752f
Add function to set variants for a species, and a function to get the count of species in a species library.
Deukhoofd
2020-02-08 14:52:45 +0100
-
e45a36d78e
Move Script ownership to script holder, added OnRemove script hook.
Deukhoofd
2020-02-05 14:52:50 +0100
-
cd7ddcf78e
Actually implement handling of StopBeforeAttack script hook
Deukhoofd
2020-02-03 19:11:44 +0100
-
c6620021a7
Fix issues.
Deukhoofd
2020-02-03 18:32:03 +0100
-
59f7d3aa4f
Make Script functions pass out parameters by pointer instead of reference.
Deukhoofd
2020-02-03 18:27:39 +0100
-
c4d0a73df6
Remove display script hook functions, replace them with easy to use interface on Creature class.
Deukhoofd
2020-02-03 16:49:28 +0100
-
07700008f7
Slight tweaks for CreatureException, add tests to see if what() works.
Deukhoofd
2020-02-03 13:05:46 +0100
-
c3b573c7da
Initialize Battle pointers with nullptr in Create class.
Deukhoofd
2020-02-02 14:39:57 +0100
-
fc5826edb1
Check whether a battle has been set when calling Damage function.
Deukhoofd
2020-02-02 12:34:02 +0100
-
bb9b9609a6
Implements TryGet functions on several libraries.
Deukhoofd
2020-02-01 15:33:44 +0100
-
dba271681d
Change LibrarySettings to be a pointer instead of value, to allow for overriding in implementations.
Deukhoofd
2020-02-01 13:30:51 +0100
-
7e0a1ec033
Make SpeciesVariant virtual
Deukhoofd
2020-01-26 13:11:50 +0100
-
23c4e89c2d
Removed unused function from ExecutingAttack
Deukhoofd
2020-01-26 13:10:45 +0100
-
faaafb5e1d
Make AttackData polymorphic
Deukhoofd
2020-01-25 13:09:09 +0100
-
1256d7d2e3
Add virtual modifiers to LearnedAttack.hpp
Deukhoofd
2020-01-25 12:37:05 +0100
-
15523a18a5
Return item name by reference instead of value.
Deukhoofd
2020-01-19 13:00:08 +0100
-
cc46cd46a7
Commit TurnHandler from earlier revert.
Deukhoofd
2020-01-18 13:44:02 +0100
-
d66bcee979
Change AttackData type to byte instead of string.
Deukhoofd
2020-01-18 13:41:01 +0100
-
e3bbc369fc
Revert "Make Script functions use pointers for out variables, instead of references."
Deukhoofd
2020-01-18 13:38:47 +0100
-
b02577554f
Remove GetProperty macro, as it wasn't that intuitive, and caused issues later.
Deukhoofd
2020-01-12 17:04:42 +0100