Commit Graph

21 Commits

Author SHA1 Message Date
38d6181469 Now health and speed are automatically allocated in Entity, the resource management methods have been adjusted to ignore them (they can be removed, and or replaced deliberately though). 2020-04-29 01:05:31 +02:00
bebab39f34 Added a simple Speed and Health resource. 2020-04-28 23:54:23 +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
9e64163f61 Fix crash by hiding a property that shouldn't have been visible from the editor. 2020-04-26 12:08:16 +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
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
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
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
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
68df038731 Added text strings to EntityResourceData. 2019-12-02 00:42:21 +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
b3cb5b2def Added EntityResourceDatas to the DataManager, also more refactorings. 2019-11-30 21:46:11 +01:00
ea06b2346b Added EntityResourceCostData, also more refactorings. 2019-11-30 21:04:35 +01:00
fe6b3224c8 Refactored how entity resources are set up. 2019-11-30 19:26:12 +01:00
dc5d1515e2 Moved entity resource to a subfolder. 2019-11-30 18:15:19 +01:00