Commit Graph

21 Commits

Author SHA1 Message Date
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
cb0b8271e1 ItemInstance now also stores stat modifier data like ItemTemplate. 2020-06-07 14:55:39 +02:00
2d2629ba09 Converted the stat modifier related functions in ItemTemplate, and ItemInstance to the new style. Also ItemTemplateStatModifier is now a struct in ItemTemplate. 2020-06-07 00:50:24 +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
740f3e1c99 TextureLayers are now customizable. 2020-05-21 21:20:56 +02:00
2d5d4c0a97 Refactored/cleaned up ModelVisualEntry. 2020-05-21 15:40:59 +02:00
65450f5794 Reworked ModelVisual (now it only contains an array), and added a the new customizable enum values to ModelVisualEntry. 2020-05-20 22:13:29 +02:00
18f3095832 Removed the EntityGender enum. Now everything uses plain int model indexes. 2020-05-20 20:38:10 +02:00
fa33d5d57e Renamed ItemVisual to ModelVisual. 2020-05-19 21:09:00 +02:00
b1efeb662a EquipSlots are now customizable from the ProjectSettings. 2020-05-19 18:58:01 +02:00
b97bf3a767 Merged Stat into Entity. 2020-05-01 17:15:44 +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
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
ceb71f56d4 Added similar api to Items. And fix typo. 2020-02-26 17:24:11 +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
f1490c7543 Organized the data folder's classes into subfolders. 2020-02-03 13:01:17 +01:00