Deukhoofd
|
d4fd7282f5
|
Move ScriptCategory enum outside of class scope of ScriptResolver.
continuous-integration/drone/push Build is passing
Details
|
2020-02-20 13:05:15 +01:00 |
Deukhoofd
|
f22c23d593
|
Make ScriptMacro a header instead of source file.
continuous-integration/drone/push Build is passing
Details
|
2020-02-19 15:32:43 +01:00 |
Deukhoofd
|
b886f0aebf
|
Add Damage library script hooks.
continuous-integration/drone/push Build is passing
Details
|
2020-02-19 10:12:36 +01:00 |
Deukhoofd
|
5e29f50ea1
|
Mark SetHeldItem with item object as const ptr.
continuous-integration/drone/push Build is passing
Details
|
2020-02-17 17:24:55 +01:00 |
Deukhoofd
|
ce31309b2a
|
Functions to set Creature Held Item, and helper function to check whether Creature is holding a specific held item.
continuous-integration/drone/push Build is passing
Details
|
2020-02-17 17:16:28 +01:00 |
Deukhoofd
|
75bce0e329
|
Add virtual destructor to CreatureParty.
continuous-integration/drone/push Build is passing
Details
|
2020-02-17 15:52:59 +01:00 |
Deukhoofd
|
445f7eb3d5
|
Add virtual destructor to Battle.
|
2020-02-17 15:52:02 +01:00 |
Deukhoofd
|
da90c3d59e
|
Reset active scripts on Creature when battle is set.
continuous-integration/drone/push Build is passing
Details
|
2020-02-17 10:05:32 +01:00 |
Deukhoofd
|
17552c33ca
|
Only get active scripts from side if side exists.
continuous-integration/drone/push Build is passing
Details
|
2020-02-17 09:57:15 +01:00 |
Deukhoofd
|
65f054bfab
|
Added functions for battle to manipulate volatile scripts.
continuous-integration/drone/push Build is passing
Details
|
2020-02-16 17:44:41 +01:00 |
Deukhoofd
|
428483e73d
|
Make GetRandom in Battle class a pointer.
continuous-integration/drone/push Build is passing
Details
|
2020-02-16 17:24:33 +01:00 |
Deukhoofd
|
f3b5f9e8f9
|
Move reference to cpp file outside of header.
continuous-integration/drone/push Build is passing
Details
|
2020-02-16 16:31:06 +01:00 |
Deukhoofd
|
54e366fc1b
|
Implements BattleRandom class with support for Effect Chance, and script hooks to modify this.
continuous-integration/drone/push Build is passing
Details
|
2020-02-16 15:08:22 +01:00 |
Deukhoofd
|
579ee82f02
|
Pass ExecutingAttack for target as pointer instead of reference.
continuous-integration/drone/push Build is passing
Details
|
2020-02-16 12:02:17 +01:00 |
Deukhoofd
|
252be18630
|
Make growth rate library case insensitive, add exception if not found.
continuous-integration/drone/push Build is passing
Details
|
2020-02-16 10:07:01 +01:00 |
Deukhoofd
|
f37e27378e
|
Add methods for getting all talents and hidden talents from a species variant.
continuous-integration/drone/push Build is passing
Details
|
2020-02-16 09:17:09 +01:00 |
Deukhoofd
|
d609d5ca53
|
Mark CreatureSpecies GetVariantIterator as const.
continuous-integration/drone/push Build is passing
Details
|
2020-02-15 19:35:56 +01:00 |
Deukhoofd
|
629567a2a5
|
Fix BaseLibrary GetCount, add functions that use std string.
continuous-integration/drone/push Build is passing
Details
|
2020-02-15 19:14:10 +01:00 |
Deukhoofd
|
d6ea16b467
|
Implement basic library class that other libraries inherit from for performance.
continuous-integration/drone/push Build is passing
Details
|
2020-02-15 18:51:21 +01:00 |
Deukhoofd
|
a47f60cdf7
|
Implements iterator functions for libraries.
continuous-integration/drone/push Build is passing
Details
|
2020-02-15 18:15:31 +01:00 |
Deukhoofd
|
0b50d2bf43
|
Force newest build in drone to be Conan version
continuous-integration/drone/push Build is passing
Details
|
2020-02-15 17:34:48 +01:00 |
Deukhoofd
|
a6f91faba4
|
Fix variants lowercasing causing stack smashing error.
continuous-integration/drone/push Build is passing
Details
|
2020-02-13 18:45:41 +01:00 |
Deukhoofd
|
667821df28
|
Mark TryGetVariant as const.
continuous-integration/drone/push Build is passing
Details
|
2020-02-13 17:37:37 +01:00 |
Deukhoofd
|
2ea5f9f9bd
|
Make variant keys case insensitive, added helper functions for variants.
continuous-integration/drone/push Build is passing
Details
|
2020-02-13 17:16:07 +01:00 |
Deukhoofd
|
611198009b
|
Make Attack, Item and Species libraries be case insensitive.
continuous-integration/drone/push Build is passing
Details
|
2020-02-13 16:05:27 +01:00 |
Deukhoofd
|
8d4860f553
|
Support for Heal function for Creatures.
continuous-integration/drone/push Build is passing
Details
|
2020-02-13 14:48:09 +01:00 |
Deukhoofd
|
2dcb197191
|
Fix issue in tests where we compared with equality operator instead of strcmp.
continuous-integration/drone/push Build is passing
Details
|
2020-02-13 13:33:07 +01:00 |
Deukhoofd
|
02aa6f252e
|
Make Enum Helper parse functions constexpr, added Enum Helper Try Parse functions.
continuous-integration/drone/push Build is failing
Details
|
2020-02-13 13:19:59 +01:00 |
Deukhoofd
|
0ef909cf55
|
Use ENUM macro for ScriptCategory enum.
|
2020-02-13 12:53:48 +01:00 |
Deukhoofd
|
42050de18a
|
Use ENUM macro for Item Category enums.
continuous-integration/drone/push Build is passing
Details
|
2020-02-13 10:49:45 +01:00 |
Deukhoofd
|
1969f59a9c
|
Add vector dependency to Enum macro
continuous-integration/drone/push Build is passing
Details
|
2020-02-12 20:12:17 +01:00 |
Deukhoofd
|
f4449cc101
|
Tell Drone to use CLang.
continuous-integration/drone/push Build is failing
Details
|
2020-02-12 19:57:15 +01:00 |
Deukhoofd
|
2dea2e6cd0
|
Add newlines after MacroUtils to hopefully keep the build happy.
continuous-integration/drone/push Build is failing
Details
|
2020-02-12 19:53:42 +01:00 |
Deukhoofd
|
2732a904c4
|
Add easy to use macro to generate enum helper functions for parsing, stringifying and iteration.
continuous-integration/drone/push Build is failing
Details
|
2020-02-12 19:48:56 +01:00 |
Deukhoofd
|
a8944e2026
|
Fix AttackData constructor to use signed byte for priority instead of unsigned.
|
2020-02-12 10:11:25 +01:00 |
Deukhoofd
|
80708040a4
|
When setting variant of species with the same name of already existing variant, delete previous variant.
continuous-integration/drone/push Build is passing
Details
|
2020-02-09 12:04:59 +01:00 |
Deukhoofd
|
3f57051219
|
Made CreatureSpecies destructor virtual.
continuous-integration/drone/push Build is passing
Details
|
2020-02-09 10:47:18 +01:00 |
Deukhoofd
|
f973259bef
|
Force insertion when setting species variant, as to prevent memory leaks.
continuous-integration/drone/push Build is passing
Details
|
2020-02-08 20:16:47 +01:00 |
Deukhoofd
|
3303dfd82d
|
Move header files to CreatureLib subdirectory.
continuous-integration/drone/push Build is passing
Details
|
2020-02-08 19:04:04 +01:00 |
Deukhoofd
|
52d24922ff
|
Make type library work case insensitive.
continuous-integration/drone/push Build is passing
Details
|
2020-02-08 17:50:27 +01:00 |
Deukhoofd
|
925763752f
|
Add function to set variants for a species, and a function to get the count of species in a species library.
continuous-integration/drone/push Build is failing
Details
|
2020-02-08 14:52:45 +01:00 |
Deukhoofd
|
e45a36d78e
|
Move Script ownership to script holder, added OnRemove script hook.
continuous-integration/drone/push Build is passing
Details
|
2020-02-05 14:52:50 +01:00 |
Deukhoofd
|
cd7ddcf78e
|
Actually implement handling of StopBeforeAttack script hook
continuous-integration/drone/push Build is passing
Details
|
2020-02-03 19:11:44 +01:00 |
Deukhoofd
|
c6620021a7
|
Fix issues.
continuous-integration/drone/push Build is passing
Details
|
2020-02-03 18:32:03 +01:00 |
Deukhoofd
|
59f7d3aa4f
|
Make Script functions pass out parameters by pointer instead of reference.
continuous-integration/drone/push Build is failing
Details
|
2020-02-03 18:27:39 +01:00 |
Deukhoofd
|
c4d0a73df6
|
Remove display script hook functions, replace them with easy to use interface on Creature class.
continuous-integration/drone/push Build is passing
Details
|
2020-02-03 16:49:28 +01:00 |
Deukhoofd
|
07700008f7
|
Slight tweaks for CreatureException, add tests to see if what() works.
|
2020-02-03 13:05:46 +01:00 |
Deukhoofd
|
c3b573c7da
|
Initialize Battle pointers with nullptr in Create class.
continuous-integration/drone/push Build is passing
Details
|
2020-02-02 14:39:57 +01:00 |
Deukhoofd
|
fc5826edb1
|
Check whether a battle has been set when calling Damage function.
continuous-integration/drone/push Build is passing
Details
|
2020-02-02 12:34:02 +01:00 |
Deukhoofd
|
bb9b9609a6
|
Implements TryGet functions on several libraries.
continuous-integration/drone/push Build is passing
Details
|
2020-02-01 15:33:44 +01:00 |