Commit Graph

73 Commits

Author SHA1 Message Date
d3951436bd Removed a few forgotten debug lines. 2020-06-20 15:44:55 +02:00
94e9a2c02e Removed EntityResourceData. Now EntityResources just get duplicated. 2020-06-20 15:26:21 +02:00
e94aa02506 Removed the notifications from EntityData. And made Entity call into the AI's notifications instead. 2020-06-14 16:23:37 +02:00
a1a4a9c7d2 Temporarily added back start_casting into EntityClassData. 2020-06-13 23:17:03 +02:00
b4a6153d13 Updated the remaining vmethod signatures. 2020-06-13 22:21:23 +02:00
1b461657d2 Removed the event handlers from EntityClassData as the AI's design have changed since I set it up like this. 2020-06-13 22:03:33 +02:00
fb3a5cde04 Removed the Cooldown and the CategoryCooldown classes. Entity now stores these with a small internal struct. The notifications are not all perfect, but I'm going to rework them a bit in the next few commits, and they will be fixed then. 2020-06-13 21:51:28 +02:00
10bae15bdb SpellCastInfo, EntitySkill, EntityResource, EntityDataContainer, and ItemInstance are now Resources, so Godot will be able to serialize them with Entity. 2020-06-13 18:33:51 +02:00
8ed462ece2 Also reworked how AuraStatAttributes are stored. 2020-06-06 16:55:14 +02:00
95c7b29f1f Added 2 const qualifiers. 2020-06-05 14:33:48 +02:00
fdf0163f47 Removed TalentRowData, and reworked CharacterSpec so it's not needed. 2020-06-05 14:03:11 +02: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
69c6af4882 Removed the EntityTypes enum. 2020-05-20 11:51:05 +02:00
b1efeb662a EquipSlots are now customizable from the ProjectSettings. 2020-05-19 18:58:01 +02:00
94d2ddf73b Moved StatData into EntityData from EntityClassData. 2020-04-29 18:12:09 +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
86aaf2eaf5 More renames. 2020-04-28 16:17:54 +02:00
c28fbd155b Same treatment to entity_resource related methods. 2020-04-28 13:10:57 +02:00
62d3928ced Equpiment-related methods now start with the equip keyword. 2020-04-28 12:31:03 +02:00
06283f3768 Same api cleanup to the clientside versions of the methods. 2020-04-28 03:09:26 +02:00
d110b3368f Moved cast, damage, heal and aura related serverside events into combined events to work similarly as notifications in Node. This makes creating events like these possible from scripts. (The rest will be converted aswell.) 2020-04-27 21:30:59 +02:00
46950b6378 Removed PlayerResourceType getter from EntityClassData as it is not needed anymore. 2020-04-27 17:16:53 +02:00
b2d4be96ea Added is_playable property to EntityData. 2020-04-13 22:04:14 +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
33bebb19b9 Added spell_train_data property to EntityData. Also fixed up and improved a few other bindings. 2020-03-20 19:20:56 +01:00
4dce51d019 Implemented EntityResources. 2020-03-11 16:08:07 +01:00
a2d4df0c89 Levels are now (properly) separated into class and character levels. 2020-02-19 12:17:10 +01:00
f1490c7543 Organized the data folder's classes into subfolders. 2020-02-03 13:01:17 +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
c072f69e2a Added quite a few const, and reference qualifiers. 2020-01-31 18:06:43 +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
e0d733eb54 Fix android compile. 2019-12-02 21:40:53 +01:00
6a954f3381 Fix typo, and respect the should_process flag. 2019-12-01 01:16:28 +01:00
fe6b3224c8 Refactored how entity resources are set up. 2019-11-30 19:26:12 +01:00
6bd6ad4623 Removed the old ai aswell. 2019-11-27 11:14:47 +01:00
675aeaeba2 Reworked the UtilityAI implementation into something that I think will actually be good, and useful. Also intial work on pet support. 2019-11-27 10:54:56 +01:00
d89871f1b4 now the text_name properties use resource's resource_name property to store data. 2019-11-09 17:49:05 +01:00
90e7e0064d Work on AI. 2019-10-31 01:35:29 +01:00
f07afba4ff Added EntitySpeciesData to EntityData. Also bound equipment_data. 2019-10-25 10:38:32 +02:00
1b8f94b818 Added description to EntityData and ENtityClassData. 2019-10-25 10:28:55 +02:00
70cb694a12 Removed the temp properties. 2019-10-19 12:49:01 +02:00
056f9e0358 More bindings cleanup. 2019-10-19 12:47:30 +02:00
f0aca4afa4 Removed the temporary bindings. 2019-10-19 12:20:59 +02:00
48470111f3 Standardized resource name and description properties. I left the original properties for now, so upgrading is possible. 2019-10-19 12:12:09 +02:00
d490fa6b61 Added should_deny_equip. 2019-10-13 22:48:25 +02:00
3f586d46d2 Fixed some deserialization <-> setup related issues. 2019-10-13 20:05:03 +02:00
b578d928bd Added equip hooks. And added a non-existent signal. 2019-10-13 13:12:27 +02:00
88d9093996 Various levelling, and serialization related fixes, and improvements. 2019-10-10 00:46:12 +02:00