Commit Graph

380 Commits

Author SHA1 Message Date
12276aa334 Work on fixing compile. 2023-01-09 01:15:48 +01:00
f02da517d5 Fix indents. 2023-01-08 17:27:35 +01:00
aa0618ced2 Updated the SET_RPC_* macros for godot4 in Entity.h. 2023-01-08 17:22:44 +01:00
01b512e263 Removed ISSERVER and ISCLIENT macros. 2023-01-08 17:09:52 +01:00
32ff660dc0 Updated the RPC macros in Entity to godot 4. 2023-01-08 17:05:36 +01:00
d827bd370e Comment out all GDVIRTUAL_BINDs in the module temporarily. 2023-01-08 16:48:01 +01:00
951ae259e2 Update vrpc's syntax in Entity. 2023-01-08 16:36:47 +01:00
Your Name
ee46263958 removed version 3 checks + renamed incorrectly identified replacement for BIND_VMETHOD 2022-08-31 17:27:50 -04:00
Your Name
924a18db6f Updating functions BIND_VMETHOD to D_METHOD plus some other tweaks 2022-08-29 21:45:48 -04:00
Your Name
32907bc4ec converting everything with regex 2022-08-29 14:42:15 -04:00
3536f01bac Revert "Added additional build time arguments ess_entity_base_class and ess_entity_base_class_include. It does not work too well, it is going to be reverted, but I want to save the code in case it's needed later."
This reverts commit c26a47273b.
2022-02-21 01:36:40 +01:00
c26a47273b Added additional build time arguments ess_entity_base_class and ess_entity_base_class_include. It does not work too well, it is going to be reverted, but I want to save the code in case it's needed later. 2022-02-21 01:36:34 +01:00
3767068096 Update the copyright headers to 2022. 2022-01-12 21:44:26 +01:00
e14ba1e368 Merged Spell with Aura. I kept the method of applying auras the same for now, eventually spell will do it automatically. 2022-01-12 15:53:35 +01:00
ebcff5ab03 Prefixed most methods in Aura with aura_ in preparation with merging Auras into Spells. 2022-01-12 10:51:38 +01:00
cc9dc30b83 Check whether we are on a server before calling rpc() / vrpc() in the macros. 2021-08-31 00:38:53 +02:00
332687dda9 Set network owner in Entity::setup, even on the client. 2021-08-31 00:26:29 +02:00
1033dd5572 Don't save/load entity controller in to and from dict. 2021-08-31 00:09:07 +02:00
d5ae97494d Set setc_xp and setc_entity_controller to rpc remote. 2021-08-30 23:58:38 +02:00
59e1b00ce0 Don't set Entity name in setc_guid(). 2021-08-30 21:40:01 +02:00
708f5d05ec Don't set s_entity_controller in enter_tree. 2021-08-30 21:25:01 +02:00
376818cbc8 Don't set node name in Entity's setup. Name should be set before adding it into the tree. 2021-08-30 21:16:03 +02:00
f7808baee3 Added a node_name property to EntityCreateInfo. If it's set to something Entity's node name will be set to it. Also entity name will only get set if it's set in EntityCreateInfo. 2021-08-30 20:50:31 +02:00
71dc15650a Reworked how c_is_controlled works. Now Entities just sync sentity_controller to the client and getc_is_controlled just determines from the available data whether the Entity is controlled on that particular client. 2021-08-30 20:14:37 +02:00
6083fd0908 Only ORPC in sets_entity_controller when the Entity is in a tree, and also ORPC the same value over when it gets into the scene tree. 2021-08-29 21:26:54 +02:00
42b994717d Improved ORPC. 2021-08-29 21:24:30 +02:00
0f709b5455 Fix relation in return statements. Added vendor interact range check to the serverside vendor methods. Did not add it for spell learning, that will have to be reworked. 2021-08-05 22:57:51 +02:00
6490663c97 Added helpers for easy checking the target's range for interaction. 2021-08-05 22:33:23 +02:00
378ebcff23 Update the copyright texts for 2021. 2021-04-19 10:13:51 +02:00
3bbe113897 Don't crash if stat_data is not set. 2021-02-21 00:00:19 +01:00
aa7e605d65 Fix compile for 4.0. 2021-02-06 11:44:14 +01:00
52cd322c88 Added SpeciesInstance to EntityData. 2020-10-19 12:20:12 +02:00
20811bb740 removed the entity_controller property from EntityData. 2020-10-19 11:53:57 +02:00
83a688f9dc Removed get_entity_type from EntityData, Entity now uses the one from EntitySpeciesData. 2020-10-19 11:48:00 +02:00
ee099a0f0e Moved StatData from EntityData to EntityClassData. 2020-10-18 23:15:09 +02:00
fe16d4573f Moved vendor item data, spell train data, item container data, and craft recipes from EntityData to EntityClassData. 2020-10-18 18:04:15 +02:00
a90d4f997a Removed AIFormation property from EntityData. 2020-10-18 16:20:24 +02:00
743dca09ec Removed the inherits property from EntityData (wasn't exposed to gdscript). 2020-10-18 15:55:14 +02:00
e992462683 Fix compile for 4.0. 2020-10-06 23:15:49 +02:00
aaf6ea68d2 Now the character's equipment visuals will be applied after setting it's skeleton. Also fix an argument. 2020-09-15 16:57:12 +02:00
a957c94436 Fix equipment deserialization. 2020-09-15 15:19:45 +02:00
bbe9df3ad6 Implemented buying from and selling to a vendor. 2020-09-15 01:15:53 +02:00
0a1e08f541 Implement level and money handling in _spell_learns. 2020-09-13 00:01:30 +02:00
57d80dafff Entities now create their own actionbar profiles from the default on the first access. 2020-09-12 23:00:18 +02:00
749c0a5c2f Removed onc_open_loot_winow_request, onc_open_container_winow_request, and onc_open_vendor_winow_request signals from Entity, onc_open_winow_request with a window_id parameter took their place. 2020-09-10 12:35:06 +02:00
2c7a982a28 Added a body changed signal, and a vmethod to Entity. 2020-07-29 15:21:29 +02:00
e45d109d7f Implemented modifier support for EntityResources. 2020-07-29 14:36:45 +02:00
7b6097d95c Fix compile for 4.0. 2020-07-29 00:02:27 +02:00
e0d00e3eb8 Properly decrement free talent points when learning a talent. Also removed a duplicate ERR_FAIL_COND. 2020-07-25 23:29:19 +02:00
f6f125b92c sdeal_damage_to shouldn't check if the entity that dealt damage died. Also fix signal. 2020-07-16 15:57:36 +02:00