Commit Graph

42 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
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
7bbca9ae89 Centralized most of the 4.0 port code into a new header. 2020-05-22 20:48:08 +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
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
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
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
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
1b8f94b818 Added description to EntityData and ENtityClassData. 2019-10-25 10:28:55 +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
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
bbb92b244d Renamed _stat_points_per_level to _spell_points_per_level in entity class data, and added free point counters for both spell points, and talent points into entity. 2019-10-06 18:51:16 +02:00
5afc9d4e08 Cleaned up the talent related functions in entity. 2019-10-06 16:47:03 +02:00
435b57337a Added an sspell_cast_success callback. Also the clientside version was finished up. 2019-09-28 17:36:02 +02:00
98e0126e19 Added EntityClassPlaystyleType enum, and removed CharacterWeaponDataTypes. 2019-09-25 12:00:11 +02:00
3d8010f028 Fix warning at startup. 2019-09-17 01:25:59 +02:00
0a00a12c32 Split EntityData into EntityClassData, and a new EntityData. 2019-09-17 00:04:37 +02:00