Commit Graph

48 Commits

Author SHA1 Message Date
347168197c File copyright header updates pt6. 2023-12-17 23:21:54 +01:00
5088d32fa0 Removed my old copyright headers. 2023-12-17 22:59:50 +01:00
88e9ad04f2 Moved back the servers and resources from core. 2023-12-10 23:11:07 +01:00
63c895747a Moved Curve and Gradient to core. 2023-12-10 20:23:51 +01:00
9df5649c1b Moved CanvasItem, Control, Node2D and Spatial under scene/main. 2023-12-10 15:50:54 +01:00
e56d6fa906 Added code to load old resource properties where applicable, to help converting resources to the new fixed apis. These will be removed after the next release. 2023-06-17 02:20:24 +02:00
b1de21dd58 Renamed get_stat, and set_stat in Entity. It's just a smell c++ side helper method, they aren't bound. Should not require any changes like the rest. 2023-06-16 23:26:49 +02:00
a0b908874d Fix Entity's api's inconsistencies pt 4.
In projects mass replacing the following words will update everything.

gets_is_pet -> pet_gets_is
getc_is_pet -> pet_getc_is

gets_original_entity_controller -> original_entity_controller_gets
sets_original_entity_controller -> original_entity_controller_sets
gets_entity_controller -> entity_controller_gets
sets_entity_controller -> entity_controller_sets
getc_entity_controller -> entity_controller_getc
setc_entity_controller -> entity_controller_setc
gets_ai -> ai_gets
sets_ai -> ai_sets

free_spell_points_gets -> spell_points_gets_free
free_spell_points_sets -> spell_points_sets_free
free_spell_points_getc -> spell_points_getc_free
free_spell_points_setc -> spell_points_setc_free
2023-06-16 18:24:14 +02:00
3fdb671b51 Fix Entity's api's inconsistencies pt 3.
In projects mass replacing the following words will update everything.

gets_free_class_talent_points -> class_talent_points_gets_free
sets_free_class_talent_points -> class_talent_points_sets_free
getc_free_class_talent_points -> class_talent_points_getc_free
setc_free_class_talent_points -> class_talent_points_setc_free
gets_free_character_talent_points -> character_talent_points_gets_free
sets_free_character_talent_points -> character_talent_points_sets_free
getc_free_character_talent_points -> character_talent_points_getc_free
setc_free_character_talent_points -> character_talent_points_setc_free

gets_bag -> bag_gets
sets_bag -> bag_sets
getc_bag -> bag_getc
setc_bag -> bag_setc
2023-06-16 17:53:23 +02:00
05b11e9458 Fix Entity's api's inconsistencies pt 2.
In projects mass replacing the following words will update everything.

sets_ai_state -> ai_state_sets
ai_state_sets_stored -> ai_state_stored_sets
ssend_stat -> stat_ssend
creceive_stat -> stat_creceive
getc_state -> state_getc
setc_state -> state_setc
gets_state -> state_gets
sets_state -> state_sets
adds_state_ref -> state_ref_adds
removes_state_ref -> state_ref_removes
gets_free_spell_points -> free_spell_points_gets
sets_free_spell_points -> free_spell_points_sets
getc_free_spell_points -> free_spell_points_getc
setc_free_spell_points -> free_spell_points_setc
gets_target -> target_gets
sets_target -> target_sets
getc_target -> target_getc
setc_target -> target_setc
2023-06-16 16:57:56 +02:00
2b516b260a Fix Entity's api's inconsistencies pt 1. Also fixed, and bound a property.
In projects mass replacing the following words (in the order given) will update everything.

get_character_skeleton_path -> character_skeleton_path_get
set_character_skeleton_path -> character_skeleton_path_set
get_character_skeleton -> character_skeleton_get
set_character_skeleton -> character_skeleton_set
gets_entity_data -> entity_data_gets
sets_entity_data -> entity_data_sets
getc_entity_data -> entity_data_getc
setc_entity_data -> entity_data_setc
entity_data_gets_id -> entity_data_id_gets
entity_data_sets_id -> entity_data_id_sets
entity_data_getc_id -> entity_data_id_getc
entity_data_setc_id -> entity_data_id_setc
entity_data_gets_path -> entity_data_path_gets
entity_data_sets_path -> entity_data_sets_path
gets_ai_state -> ai_state_gets
ai_state_gets_stored -> ai_state_stored_gets
2023-06-16 16:41:34 +02:00
f058c87868 Backported from godot4: Rework Navigation Avoidance
Rework Navigation Avoidance.
- smix8
a6ac305f96
2023-06-10 20:58:49 +02:00
de9da3151f Fix property types. Auras have been merged into Spells a while ago. 2023-06-02 12:10:20 +02:00
d093365b00 Fix some property names being the same as getters / setters. 2023-06-01 15:42:32 +02:00
dbc5b1df35 Fixed disrepancies between a few getter and setters. 2023-06-01 13:06:24 +02:00
8f9274a589 Fix virtual method names in Entity. 2023-05-31 22:31:46 +02:00
0cbe3b29f6 Make body_instance in Entity virtual. 2023-02-24 19:20:51 +01:00
79995d2868 Fix typo. 2023-02-24 19:10:08 +01:00
806a083cc9 Proper bind parameters for body_instance. 2023-02-24 19:09:44 +01:00
b6e6d3226f Make body related methods in entity have body as their prefix. 2023-02-24 19:09:00 +01:00
2e960fd00e Add braces around one liner if-s in Entity. 2023-02-24 18:58:46 +01:00
b240df7df6 Updated more copyright headers for 2023. 2022-12-31 21:07:05 +01:00
213f393293 Fix typos with codespell. 2022-12-22 19:51:25 +01:00
9d0c889583 Added a few small networking related helper methods to Node. Made the rpc macros in Entity use them. 2022-08-19 00:36:24 +02:00
1dc5d84196 Moved visibility rpcs (vrpc) from Entity to Node. Also added an unreliable variant. 2022-08-19 00:04:38 +02:00
220b2db443 Moved String and related classes under a string folder in core. 2022-08-17 14:19:55 +02:00
dc9cc716c7 Moved Object related classes under core/object. 2022-08-17 13:45:14 +02:00
9555ee56b9 Moved Variant related classes under a variant folder in core. 2022-08-17 13:17:12 +02:00
388b88678e Moved container related classes in core under a new containers directory. 2022-08-17 12:53:49 +02:00
e71e3ed897 Now Vector4, Vector4i, Projection, PoolVector4Array, PoolVector4iArray, are built in variant types. Also reordered the Variant's Type enum, renamed _RID in it to RID, fixed a few smaller issues and removed some very old compat code. 2022-08-16 21:55:56 +02:00
249dd4d661 Updated property hints for variant arrays. 2022-07-30 21:58:40 +02:00
e55f856fa2 Fixed more potential issues found by the tool. 2022-03-19 18:44:49 +01:00
0a5ed34bb7 Fixed lots of crashes found by godot's regression test tool throwing improper parameters at methods. 2022-03-19 13:52:08 +01:00
4d7df62b8e Clang format all files. 2022-03-18 19:00:13 +01:00
4050779e1f Removed the CONNECT and DISCONNECT macros. 2022-03-18 10:32:50 +01:00
029467ab2c More include and macro cleanups. 2022-03-18 04:10:09 +01:00
48805f5f8f Removed now unnecessary version.h includes. 2022-03-18 03:56:41 +01:00
1f0652741c More version check cleanups. 2022-03-18 03:46:14 +01:00
dc34206f3a Cleaned up more version checks. 2022-03-18 03:08:46 +01:00
24c8c121a5 Check if aura is valid in AuraData's _to_dict. 2022-03-18 02:22:23 +01:00
1f4f9c761e Version include cleanups to ESS. 2022-03-18 00:38:45 +01:00
1bc3c2594c Same change to classes under modules. 2022-03-17 22:33:22 +01:00
30a413ca78 Format Entity.cpp. 2022-03-17 22:04:02 +01:00
95ce2f224f Null check the ESS singleton in Entity's update()/. 2022-03-17 21:49:14 +01:00
31e29ebd71 Check it the ESS singleton is null in LevelStatData's constructor. 2022-03-17 11:16:56 +01:00
e2b43374d0 Fix a crash when running tests. 2022-03-16 18:33:44 +01:00
e85cef1745 Run godot's formatting script. 2022-03-16 09:02:48 +01:00
49f8e8c398 Added godot with all my currently used engine modules. 2022-03-15 13:29:32 +01:00