Commit Graph

151 Commits

Author SHA1 Message Date
089c854c9e Now resource paths are used instead of ids for save files. (They are converted back on load - ids are better for networking) This makes remapping resource ids possible, which makes creating modules (and later mods into zips or pcks) simple. 2020-04-19 17:15:36 +02:00
4935de4c5f Rename the EntityDataManager singleton to just simply ESS. 2020-04-14 16:55:21 +02:00
3cb26816d2 Moved the data out from EntityDataManager into a new ESSResourceDB class (Resource). The DataManager now stores an instance of this new resource instead. 2020-04-14 16:46:24 +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
5a7ae51778 Added SpellFollowProjectile3D class. (just a skeleton for now). Renamed the delay_* parameters form yesterday to projectile_*. 2020-04-07 13:10:42 +02:00
bfd7bdcf42 Removed WorldSpell. Added a few properties into Spell that will replace it. 2020-04-07 02:10:10 +02:00
4dce51d019 Implemented EntityResources. 2020-03-11 16:08:07 +01:00
f3073c48e6 Added a few methods for spell heals. 2020-03-10 15:32:16 +01:00
0bf97e57da Now the default value for the spell scaling variable in spells, and auras (just added it) is a project setting. 2020-03-10 13:24:14 +01:00
3e10779dbc Updated old style getters/setters to use the new style. E.g. sget_ -> gets_. 2020-02-26 21:20:54 +01:00
a3dda3035f Fix compile. 2020-02-26 21:15:36 +01:00
2486590bd3 LootDataBase should be a lot more usable from now. 2020-02-26 21:05:39 +01:00
ceb71f56d4 Added similar api to Items. And fix typo. 2020-02-26 17:24:11 +01:00
a040f946fc Added the same api to Auras. 2020-02-26 16:57:17 +01:00
58e62da501 Spell's get_description can now replace some words with value of it's properties. e.g. "%%cast_cast_time " (not the whitespace at the end) will be replaced to the value stored in cast_cast_time. This value can scaled with class level like %#cast_cast_time, and with character level like %$cast_cast_time. Also made get_description overrideabe from scripts. And bound text_translation_key. 2020-02-26 16:49:52 +01:00
89c558d1ba Started working on proper spell tooltip description support, and translation. 2020-02-26 13:05:57 +01:00
581127cde5 Now entity also stores the class level, and class xp. Added separate class and character xp properties to EntityCreateInfo aswell. Standardized the remaining methods in XPData. 2020-02-20 12:18:55 +01:00
a2d4df0c89 Levels are now (properly) separated into class and character levels. 2020-02-19 12:17:10 +01:00
e16c021ac8 Added bindings for item use support, and marked quite a few methods/arguments as const. 2020-02-19 09:11:36 +01:00
aee1e1f8cf Added SpeciesInstance, it can store an entity's look setup (like hair index etc.). Also added SpeciesData loading/storing into EntityDataManager. 2020-02-03 16:13:42 +01:00
fceecac17c Moved the atlases folder into data aswell. 2020-02-03 13:03:33 +01:00
f1490c7543 Organized the data folder's classes into subfolders. 2020-02-03 13:01:17 +01:00
5ea00de13e Ported a few of Entity's virtual methods from BrokenSeals. Started reworking spawning, and Entity initialization. Moved the singletons into a new singletons folder, and renamed the profile_manager folder to profiles. 2020-02-03 11:56:52 +01:00
29a26d9774 Fix duplicate binding. 2020-02-01 02:39:53 +01:00
7976706157 Ported the spell and aura script from BrokenSeals. Also small work on WorldSpell. 2020-02-01 02:37: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
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
6b2c97df9a Fix a few small issues with spell's bindings. 2020-01-06 14:29:13 +01:00
4a166becf4 Started porting code from Broken Seals. 2020-01-02 00:14:29 +01:00
52fb82506a Fix 2 typos. 2019-12-29 16:38:25 +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
1c96daba5f Proper doc setup. 2019-12-25 14:08:01 +01:00
e9a7a92fb2 Moved MeshDataResource to it's own module. This module will now detect it's presence. 2019-12-20 16:13:33 +01:00
897c051982 Cleaned up spell's Projectile, and aoe binds. 2019-12-13 09:37:12 +01:00
251f9e6e2a Added a son_physics_process callback to spells, spell scripts can register for it in entities. 2019-12-12 16:44:43 +01:00
7f3b1eecdd Merged SpellProjectile and WorldEffect into a new WorldSpell class. 2019-12-09 21:23:57 +01:00
fcf23281e8 Small fixes. Improved the usability of XPData. 2019-12-02 19:14:40 +01:00
905da5161e Moved the EntityDataManager into a new autoloads subfolder. 2019-12-01 22:56:53 +01:00
e57c0ef30e Moved in-world spell related classes into a different folder. 2019-12-01 21:21:51 +01:00
8c11a22209 Added EntitySkillData. 2019-12-01 18:00:09 +01:00
abb564acdc Resources should work in multiplayer now, also work on bindings. 2019-12-01 00:24:38 +01:00
992d0672f9 Fixed sending item count changes to the client. Also added the stack_size_changed signal to ItemInstance. 2019-11-29 10:16:59 +01:00
7a0e861c7d Fix compile. 2019-11-11 21:41:28 +01:00
79a82810b5 Fixed serializing caster's path as ".". 2019-11-11 00:46:31 +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
d2c29095bb Added gender enum, and added it to ItemVisualEntry. 2019-11-03 22:39:19 +01:00
81d5e867ab Fix bindings. 2019-11-01 23:40:54 +01:00
0bdf6652a6 Better/Different AuraGroup implementation. 2019-11-01 22:07:56 +01:00