Commit Graph

55 Commits

Author SHA1 Message Date
378ebcff23 Update the copyright texts for 2021. 2021-04-19 10:13:51 +02:00
aa7e605d65 Fix compile for 4.0. 2021-02-06 11:44:14 +01:00
d063f8da28 Rename both ESS::get_instance, and ProfileManager::get_instance to <class>::get_singleton, to match Godot's standard. 2020-05-23 16:29:47 +02:00
7bbca9ae89 Centralized most of the 4.0 port code into a new header. 2020-05-22 20:48:08 +02:00
d20419621d Character, and Class levels are now customizable through ProjectSettings. 2020-05-19 02:19:23 +02:00
9fd0c23f5b Fix compile for 4.0. 2020-05-16 21:32:33 +02:00
e033d5a988 Clean ups to StatData. 2020-05-02 01:42:44 +02:00
b97bf3a767 Merged Stat into Entity. 2020-05-01 17:15:44 +02:00
65f0d3e7b3 Removed more things. 2020-04-30 15:32:02 +02:00
58b318b9f4 Stat simplification/rework - Part 1. Stats doesn't work yet! Removed StatModifier, and initial Stat api simplification/cleanup. 2020-04-30 14:17:18 +02:00
085890cd15 Clenaups to Stat. 2020-04-30 11:19:45 +02:00
cbac91ae1e Cleaned up StatDataEntry. 2020-04-30 00:17:01 +02:00
2c47f9f550 Standardized notification methods to have the "notification" prefix, instead of the "on", and changed the naming a bit. This makes them stand out inside the docs, and it's easier to get completions for them while using the api. 2020-04-28 20:47:34 +02:00
e3f110a962 Fix typo. 2020-04-26 11:53:48 +02:00
5901fc66d0 Handle invalid/old properties better. 2020-04-25 21:27:26 +02:00
366d2336d5 Updated StatData's properties to use human readable names. 2020-04-25 19:58:29 +02:00
04b8772a1d Removed the MainStat enum. 2020-04-25 19:48:25 +02:00
0f49ea2ea6 Complex level stat data is using the new system now aswell. 2020-04-25 19:48:09 +02:00
9ede69c7b4 Add destructor to simple level stat data. 2020-04-25 19:32:50 +02:00
aa5cec5071 SimpleLevelStatData now uses the new flexible stat system. 2020-04-25 19:24:05 +02:00
38de5a7c1a Fix error in binding. 2020-04-25 19:11:45 +02:00
b3442919de Customizable stats - part 2. Removed the StatId enum. (The main stat enum still nees to be removed.) 2020-04-25 16:50:53 +02:00
384c2530d0 Started implementing _get, _set, and _get_property_list for Entity, because the ability to save them into godot scenes would be really useful. 2020-04-24 23:43:37 +02:00
49db594f4a Stat and StatModifier are back to being References. I found a better way to go about serializing stats. (Most likely they'll be merged into Entity, this should simplify the background logic aswell, and make it less awkward.) 2020-04-23 18:48:49 +02:00
9f5248b297 Stat and StatModifier is also a resource now. Stats are not yet exposed as properties, as they need a bit of rework to work properly this way. 2020-04-23 12:13:56 +02:00
f29b01af8b Clang format. 2020-04-10 14:09:21 +02:00
9fa7c23462 Fix build for 4.0. (When 4.0 becomes stable I'll create a branch for it) 2020-04-09 12:32:05 +02:00
a2d4df0c89 Levels are now (properly) separated into class and character levels. 2020-02-19 12:17:10 +01:00
74eb8bcb2f Updated the license header for 2020, also added the license text to the top of the c++ files. Removed a now unneeded, unused file. 2020-01-31 19:34:47 +01:00
6f3744e2cb Ran clang format on every file, I got used to it working by default in Visual Studio and I forgot about it. 2020-01-09 04:27:19 +01:00
47da2d28b1 Added bindings for dispells into Spell, and Aura. Cleaned up Spell's scaling bindings. The AuraTypes enum can now be used as flags aswell. Unified has_global_cooldown like bindings. 2019-12-29 01:58:25 +01:00
5ea15ab1c9 Stat will be set dirty after deserialization now. 2019-10-25 21:58:29 +02:00
2053b9ee76 Small fixes and cleanup. 2019-10-16 14:55:14 +02:00
34140a6d2e Renamed Luck to Spirit. 2019-10-16 13:35:57 +02:00
9e976eaebf Small fixes. 2019-10-15 22:21:14 +02:00
18afb79b58 Added a max value parameter for the stat dependencies. 2019-10-15 21:58:40 +02:00
8ce7742d14 Implemented _from_dict in StatModifier. Stats seems to work properly now. 2019-10-15 20:38:51 +02:00
dcd8c65782 More work on stats. 2019-10-15 20:23:13 +02:00
5c4f0a1fe3 Stat refactor part2. 2019-10-15 18:34:19 +02:00
7224490a99 Stat refactoring part 1. 2019-10-15 14:57:59 +02:00
7629584851 Cleaned up Stat's constructors. 2019-10-04 22:55:09 +02:00
081750d4af Include guard fix. 2019-09-24 02:04:41 +02:00
f3a9a9e14a Added LevelStatData classes. 2019-09-16 03:13:52 +02:00
e0183a53c6 More from_dicts. 2019-09-14 20:44:50 +02:00
62b5df080a More work on entity serialization. 2019-09-13 15:21:07 +02:00
7756cf51ec Work on serialization. 2019-09-13 09:26:53 +02:00
f036bf449b Added Spell learning, and Skill support into Entity. And added an XP Rate stat. Also the levelup, and xp gain signals are now actually called. 2019-09-13 01:23:28 +02:00
cfb2373fd1 Added locked property to Stat. Also fixed a bunch of smaller errors. 2019-09-11 18:18:20 +02:00
3cce6b0ae8 -Talent is now inherited from Aura.
-Cleaned up the talent system specific classes.
-The ResourceManager now loads talents aswell.
-Cleaned up, and made the EntityResource system scriptable.
-Fixed the stat signals, the stat parameter was null every time. ("this" should've been wrapped in a Ref.)
2019-08-13 23:58:42 +02:00
895525a998 Work on fleshing out the inventory system. 2019-08-07 01:54:59 +02:00