Commit Graph

654 Commits

Author SHA1 Message Date
0e44e4be51 Comment out more GDVIRTUAL_BINDs. 2023-01-08 16:43:44 +01:00
d9a0632dab Update to HashMap's insert method. 2023-01-08 16:42:20 +01:00
3a38f87bd1 Comment out non-working GDVIRTUAL_BINDs. 2023-01-08 16:38:57 +01:00
951ae259e2 Update vrpc's syntax in Entity. 2023-01-08 16:36:47 +01:00
f6958acd6c Updated register_types.h and cpp to the current godot 4 style. 2023-01-08 15:55:06 +01:00
0115582dbb
Merge pull request #2 from El13B/godot4
Godot latests renames and the likes
2023-01-08 11:57:44 +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
fd8c1af154 Get the dimensions from the texture instead of the image in texture_get_uv_rect of the material cache. This fixes the uv mapping for the character on the web backend. 2022-02-16 20:50:01 +01:00
01f261afea Use godot 3.x instead of 3.2 in the compile instructions. 2022-02-13 19:46:34 +01:00
1ad9216633 Fix link. 2022-02-13 19:45:39 +01:00
f1a4ea211c Fix an another link. 2022-02-13 19:40:39 +01:00
5cbe8e7b41 Update link paths. 2022-02-13 19:35:34 +01:00
a56b72f81c Remove outdated line, as now it's possible to query mesh data even in gles2. (It has been for a while, but forgot about this line.) 2022-02-13 19:31:28 +01:00
820fa417b6 Styling fix. 2022-02-13 19:24:06 +01:00
620961d694 Add a godot version support section to the readme to elaborate on what is supported a bit more. Also removed the previous outdated line. 2022-02-13 19:23:30 +01:00
3c334566ff Fix an another copyright header. 2022-01-12 21:54:38 +01:00
3767068096 Update the copyright headers to 2022. 2022-01-12 21:44:26 +01:00
5cf0c25fd7 Re-extracted the docs. 2022-01-12 21:42:19 +01:00
e2083bb9c4 Updated the spell and aura sections of the docs. 2022-01-12 21:17:32 +01:00
0ac987d06d Updated _handle_effect in Spell to use the new style. 2022-01-12 18:07:07 +01:00
ac18bda70f Added permanent option for auras. Also added is_aura helper check. 2022-01-12 17:54:01 +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
5ac0fb6604 Removed the temporary properties. 2022-01-12 14:17:10 +01:00
dff6d7b866 Renamed aura apply related getters and setters in Spell. They still return Auras for now though. Also kept a set of the old properties for easy resource upgrade for a commit. 2022-01-12 14:00:12 +01:00
24db319b5f Fix aura text group, and added one for aura_teaches. 2022-01-12 12:00:15 +01:00
6c0ee18eac Fix _validate_property in Aura. 2022-01-12 11:50:15 +01:00
d0cd45b4f0 Fix aura_damage_min's property. 2022-01-12 11:31:32 +01:00
84450a2889 Also prefix aura visual. 2022-01-12 11:24:52 +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
cfba9403cb Fix compile when the mesh data resource module is present and props module is not. 2021-09-21 12:23:42 +02: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
3ed59d11ec Removed unneeded property hint. 2021-08-30 00:08:14 +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
32ec479b78 Bind initial_setup_default for MaterialCache. 2021-08-25 23:41:30 +02:00
7a7be7a638 Added material cache support. 2021-08-25 23:32:02 +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