Commit Graph

398 Commits

Author SHA1 Message Date
da2a116426 Convert saving learned spells and recipes to use paths aswell. 2020-04-19 18:42:11 +02:00
178c2bf921 Fix typo. 2020-04-19 18:22:11 +02:00
457514cb39 Also update ESDragAndDrop to use resource paths. 2020-04-19 18:22:05 +02:00
5e2e58a07c Added a few const qualifiers. 2020-04-19 17:50:19 +02:00
db04b24273 ActionBarButtonEntry now also uses StringNames of resource paths instead of ints. 2020-04-19 17:47:14 +02:00
fa8f38fa5d Class profile now also uses resource paths instead of ids. 2020-04-19 17:41:42 +02:00
1893598fc3 Fix typo. 2020-04-19 17:32:51 +02:00
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
246f8178eb Added hashmaps to ESSResoruceDB to easilz convert between ids and resource paths. 2020-04-19 12:26:27 +02:00
67395b3d35 Separated the data storage out from ESSResourceDBFolders into a new ESSResourceDBMap class. 2020-04-18 22:47:20 +02:00
875189d3d8 Fix a few profile defaults. 2020-04-18 21:25:22 +02:00
b5ed3b16c8 Improvements to the EssResourceDB's api, also add a missing bind to the ESS singleton. 2020-04-18 20:33:55 +02:00
6c9bea09bc Added a new class ESSEntitySpawner. It is a resource. This will make setting up entity spawning a lot less painful. Also the module will be able to contain a few built in solutions. An instance is available from the ESS singleton (can be set, or loaded/automatically loaded). Also fixed a few smaller issues with saving/loading. 2020-04-18 14:31:36 +02:00
5b14bf40bd Add missing classes to config.py. Also sync classref to the current source. 2020-04-18 02:33:42 +02:00
0f823f4206 Split ESSResourceDB into 2 classes and a base class. 2020-04-15 00:24:12 +02:00
5537bbe713 Fix build on master. 2020-04-14 17:46:35 +02:00
d5fa8c67bf Add the new resource db to config.py, and sync classrefs. 2020-04-14 16:57:34 +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
d8ea28e221 Started reworking EntityDataManager's API, to make resource loading easily scriptable. 2020-04-14 14:15:38 +02:00
9f0f532259 Centralized the actual resource loading code. 2020-04-14 00:26:27 +02:00
7dff7e87f1 Removed separate mob data storage from EntityDataManager. 2020-04-13 23:11:53 +02:00
b2d4be96ea Added is_playable property to EntityData. 2020-04-13 22:04:14 +02:00
12b47f822d Added an editor plugin to be able to add a few tools into the tools menu. Disabled for now/. 2020-04-13 19:15:07 +02:00
cc4c5edc91 Removed sphinx based docs, as a better readme.md should be enough. 2020-04-10 15:56:38 +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
ed7bb5afa1 Fix typo. 2020-04-08 03:26:28 +02:00
896340bf8a Work on the readme. 2020-04-08 03:24:48 +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
dc0c6d224b Fix uninitialized variable. 2020-04-03 09:40:30 +02:00
9a30b44991 Sync classref with the current source. 2020-04-03 09:39:36 +02:00
b5bd583e8e merge_mesh_array is now able to handle bones. 2020-03-30 23:16:20 +02:00
963268666f Added the mesh vertex merging/uv baking methods from Voxelman into CharacterSkeleton3D. 2020-03-30 20:43:55 +02:00
0bc1369626 Fix emitting a signal in PlayerProfile. 2020-03-24 17:42:45 +01:00
931ef93219 Tiny improvements to the class xmls. 2020-03-22 17:13:45 +01:00
e272dca8f8 Update the class list in config.py, and sync classref to the current source. 2020-03-22 01:09:10 +01:00
9bb8e979b3 Added an another window constant. 2020-03-20 22:54:20 +01: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
7c4e23ed8b fix automatic save in ProfileManager. 2020-03-20 14:41:13 +01:00
38738dc2f8 Added setting to allow spell and recipe learning into ClassProfiles. Also small fixes. 2020-03-20 03:29:36 +01:00
9493be41fb Added PlayerProfile, and now ProfileManager has clientside, and serverside variables. 2020-03-19 20:29:36 +01:00
affacaea58 Added change notifications to ProfileManager, and it's data classes. Also added option "automatic save" for the ProfileManager (still needs some work). 2020-03-18 03:04:50 +01:00
9cc99bbc27 Added a few setting to EntityDataManager for levelling. 2020-03-17 22:35:29 +01:00
3367f3bc96 Fix missing break. 2020-03-15 19:33:31 +01:00
bff7b220c4 Fix uninitialized variable. 2020-03-12 13:48:11 +01:00
b66de0a894 Removed the UnitFrame class, as it was only a placeholder class. 2020-03-11 16:36:23 +01:00
4dce51d019 Implemented EntityResources. 2020-03-11 16:08:07 +01:00
3686150a44 Rename max property in EntityResource, as it is a gdscript method. Also renamed the current property, for consistency. 2020-03-10 16:03:23 +01:00