Commit Graph

126 Commits

Author SHA1 Message Date
2a753972f5 Fix compile for android. 2019-10-29 00:24:37 +01:00
1994e023b2 More work on networking. 2019-10-29 00:15:52 +01:00
2a6b080cf6 More work on multiplayer. 2019-10-28 21:48:50 +01:00
233d934876 Added functions to manipulate what the _s_sees vector. Also added a bind for vrpc. And smaller fixes/improvements. 2019-10-28 16:53:48 +01:00
8512378fd2 Improved the RPC macros. 2019-10-28 14:45:38 +01:00
30332f7e7d Test implementation for sending objects across the network. 2019-10-23 20:34:08 +02:00
b0ce9818c1 Renamed DataManager to EntityDataManager. Also moved it to the root of the project. 2019-10-19 13:21:21 +02:00
fdecd5b733 Removed some unneeded commented out code. 2019-10-15 20:23:51 +02:00
dcd8c65782 More work on stats. 2019-10-15 20:23:13 +02:00
5c4f0a1fe3 Stat refactor part2. 2019-10-15 18:34:19 +02:00
df8331e07f Now entities have an action bar profile aswell. Also fixed small deserialization issues. 2019-10-14 19:49:40 +02:00
d490fa6b61 Added should_deny_equip. 2019-10-13 22:48:25 +02:00
3f586d46d2 Fixed some deserialization <-> setup related issues. 2019-10-13 20:05:03 +02:00
65227db52c Cleanups, and more missing stuff. 2019-10-13 13:53:03 +02:00
698e418d16 Added in the missing equipment related functions. 2019-10-13 13:31:49 +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
66018908d5 Implemented bag serialization. 2019-10-09 14:37:23 +02:00
7d4b718acc removed the hyphen from s, and clevelup. 2019-10-08 00:30:16 +02:00
f6ee549d07 Added crafting related functions into the entity. 2019-10-07 16:31:43 +02:00
3fc6579aee Renamed CraftDataAttribute into CraftRecipe. Also added a few more crafting categories. 2019-10-07 15:25:36 +02:00
425bf1df2f Removed the stat helper member Refs from entity. 2019-10-07 00:34:12 +02:00
26ba90a9d3 implemented equipslots. 2019-10-07 00:29:05 +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
529f8935d6 Added seed to the player. 2019-10-06 00:25:12 +02:00
7c6cb26aba Implemented looting. 2019-10-02 13:23:04 +02:00
435b57337a Added an sspell_cast_success callback. Also the clientside version was finished up. 2019-09-28 17:36:02 +02:00
bcbc83596a Improved the targeting signals, and callbacks in entity. 2019-09-27 18:05:43 +02:00
3b1028ddf4 Added mouseover callbacks. 2019-09-25 12:59:21 +02:00
6074b75ec3 Property style cleanup, and added an entity name changed signal. 2019-09-17 15:35:03 +02:00
5e68f551a3 Cleaned up the talent-related functions in entity. 2019-09-17 14:06:41 +02:00
4aad057925 Added a few remaining things required for entity interactions. 2019-09-17 02:14:24 +02:00
18925ee236 Implemented Bags, and added a InteractionType enum. 2019-09-16 21:57:55 +02:00
7756cf51ec Work on serialization. 2019-09-13 09:26:53 +02:00
f036bf449b Added Spell learning, and Skill support into Entity. And added an XP Rate stat. Also the levelup, and xp gain signals are now actually called. 2019-09-13 01:23:28 +02:00
99be4306ce Added EntitySkill. 2019-09-13 00:23:39 +02:00
2c8becc27a Added xp and level based events. 2019-09-12 13:26:52 +02:00
7fbb0c4599 Fixed compile. 2019-09-11 17:24:22 +02:00
4afc637801 Added 3 data classes. 2019-09-11 15:06:30 +02:00
41d94978e6 Added the money field. 2019-09-11 13:06:04 +02:00
870a1f406c Added the basic interact methods to entity, and EntityData. 2019-09-11 12:54:51 +02:00
39a335e36c Added the new enums into EntityData as well. Also small bug and typo fixes. 2019-09-11 12:26:41 +02:00
50062d8ad4 Added properties from the new enums into entity. 2019-09-11 11:25:52 +02:00
008bf34a34 Added 2 more events. 2019-09-11 11:01:30 +02:00
ca2fe9a6c4 Renamed CharacterClass to EntityData. Also moved it around, with a few related classes. 2019-09-09 14:26:18 +02:00
06436b27f8 Moved the inventory system into Player. Also Added a new inventory class, and renamed everything in playyer to use that instead of bag. 2019-08-16 02:24:32 +02:00
3cce6b0ae8 -Talent is now inherited from Aura.
-Cleaned up the talent system specific classes.
-The ResourceManager now loads talents aswell.
-Cleaned up, and made the EntityResource system scriptable.
-Fixed the stat signals, the stat parameter was null every time. ("this" should've been wrapped in a Ref.)
2019-08-13 23:58:42 +02:00
895525a998 Work on fleshing out the inventory system. 2019-08-07 01:54:59 +02:00
38b155d4ad -Moved StatModifier from Stats to it's own file. Also updated i.
-Removed the old, now unneeded SpellCastData stuff from Entity.
-Small interface fixed to stat, also fixed applying and deapplying modifiers.
-Fixed AuraStatAttribute's bindings.
-Made the aura commands a little more intuitive.
-Added gcd callback bindings.
-Has Global Cooldonw in spell is now defaults to true.
-Small binding fixes.
2019-08-05 23:59:37 +02:00
c3828efe05 A lot of work, mostly on the entity bindings. Added a lot of callbacks, and fixed a few bugs. 2019-08-05 01:36:33 +02:00
4f3c21a0cf Added the aura callbacks into the CharacterClass, and Entity, so they can be scripted via GDScript. Entity calls everything as needed.
Also added death events, and callbacks.
2019-08-04 19:13:00 +02:00
3906bea408 Created the bindings for EntityEquipSet, and fixed compile. 2019-07-23 13:55:11 +02:00
f95ac68a9b renamed character.h and cpp to character_class.h and cpp. 2019-07-06 19:18:07 +02:00
f1194ab218 -Added rage, and energy stat.
-Added class resource support.
-Fixed bugs related to auras.
2019-06-22 23:28:36 +02:00
29b3ccb3b3 Fixed targeting. 2019-06-22 01:57:43 +02:00
90e86557c5 More work on networking. 2019-06-18 15:33:28 +02:00
29f4288a54 More networking work. 2019-06-18 02:32:39 +02:00
7cdad4b8eb Work on networking. 2019-06-17 00:07:38 +02:00
cee3c00f97 Added macros for the multiplayer. 2019-06-11 15:20:05 +02:00
ee5be20502 Moved a few more function declarations from entity's header to the cpp file. 2019-06-10 20:48:14 +02:00
9aaa5d1d5a -Renamed CharacterSkeletonBoneId to CharacterSkeletonPoints.
-Added rank to spells.
-Removed The Icon class, and the SpellManager.
-More cleanup.
-Removed more collection dynamic allocations.
2019-05-30 00:26:02 +02:00
d4ebbdc69c -Fixed crash in Aura, _setup_aura_data will now set up the time too, and Added more ERR checks.
-is_debuff is now just debuff.
-I realized that Godot Vectors, and Maps are made in a way, so that they don't need to be dynamically allocated. So none of the vectors, and maps are pointers anymore in Entity.
-PlayerTalent is a Reference now.
2019-05-29 17:27:36 +02:00
e9c30b870d Work on bindings. 2019-05-27 14:02:07 +02:00
34295f7a83 Added gcd, cooldowns, category cooldowns, and states to Entity. 2019-05-27 02:50:00 +02:00
565993fdb8 Better way to cast refs at load. 2019-05-07 15:05:55 +02:00
53227bb6fe -Started working on inventory-related classes, and added helper classes for cooldowns. 2019-05-06 18:07:07 +02:00
4c586d459f Added the heal pipeline. 2019-05-06 02:07:51 +02:00
14210ba66d -EntityCreateInfo is now a Reference.
-Bound the initialize method.
2019-05-04 23:20:22 +02:00
b485b4d114 -Moved EntityCreateInfo into it's own file.
-Also registered it.
2019-05-04 18:39:42 +02:00
e2bf5a5286 -Cleaned up Entity, Aura, and Spell.
-Bound most of the spell system related functions, so they are callable from gdscript.
2019-05-03 23:19:10 +02:00
3e89bc37c9 Added a new CharacterSkeleton class. 2019-05-01 02:49:06 +02:00
d8c40b6b04 Added aura added, and removed signals. 2019-04-28 12:26:14 +02:00
8f0815ce66 Added compile time switch to switch between 2d and 3d mode. 2019-04-22 10:25:41 +02:00
d46e7909f7 Added entities_2d compile-time switch. 2019-04-20 19:09:22 +02:00
032e6622f6 First Commit. 2019-04-20 14:02:55 +02:00