Commit Graph

1770 Commits

Author SHA1 Message Date
75a41eaf34 Work on layered tile maps. 2024-03-02 23:19:59 +01:00
d5caeed2b6 Work on fixing compile when layered tile maps are enabled. 2024-03-02 19:29:43 +01:00
c27d8cb19a Notes. 2024-03-02 14:56:37 +01:00
b59530099e Work on fixing compile when layered tile maps are enabled. 2024-03-02 14:30:29 +01:00
160374e539 Work on fixing compile when layered tile maps are enabled. 2024-03-02 11:03:29 +01:00
13d0ac8d5d Work on fixing compile when layered tile maps are enabled. 2024-03-02 09:13:07 +01:00
82fe33fdcb Fix register methods. 2024-03-02 08:32:55 +01:00
12d159858b Fix include guard. 2024-03-02 08:32:22 +01:00
29adf0b0da Properly set up register_types.cpp for layered tile maps. 2024-03-02 08:30:22 +01:00
33e9818d92 Added the icons for layered tile map from godot 4. 2024-03-02 08:25:16 +01:00
ac27c37a57 Layered tile map build script setup. 2024-03-02 08:17:20 +01:00
962f1cb188 Mass replaced some types in the layered tile map module. 2024-03-02 08:11:38 +01:00
2b85fcdbb5 Backported ViewPanner from Godot4. It also got bindings, now inherited from Resource, and is registered in the ClassDB. 2024-03-01 22:39:19 +01:00
cf7b59b6c8 Fix small formatting inconsistencies. 2024-03-01 16:25:19 +01:00
5f6121b719 Include cleanups. 2024-03-01 16:07:31 +01:00
715008c433 Added 2 missing files. 2024-03-01 16:07:24 +01:00
ea5845c3cd Update class names in the layered tilemap module. 2024-03-01 15:36:53 +01:00
cbcc125e25 Layered tilemap include guard update. 2024-03-01 12:49:01 +01:00
6a6d3acd96 Clang format everything. 2024-03-01 11:56:19 +01:00
51fdb562be Pandemonium style header guards. 2024-03-01 11:47:11 +01:00
b50acd2c89 Renamed files in the new module. 2024-03-01 11:46:13 +01:00
fb8ea11c03 Also added layered tilemap docs. 2024-03-01 10:43:35 +01:00
caa9099915 Small cleanup. 2024-03-01 10:43:19 +01:00
eec9c78867 Added godot 4's tilemap as a new layered tilemap module. 2024-03-01 10:38:08 +01:00
81717d4505 Small cleanup. 2024-03-01 10:29:48 +01:00
df4379d766 Added a parameter to HTMLTemplate::process_template_expression_variable() to be able to control when to emit errors if a variable is not set. Now this is used when checking for the first argument for the q template method variants. 2024-02-26 21:58:35 +01:00
aa854f049a Updated the docs form HTMLTemplate. 2024-02-26 21:33:40 +01:00
aef18dd4f1 Fix 2 off-by-one errors. 2024-02-26 21:31:17 +01:00
6ea807be26 Added a q variant from all template methods. These use their first argument to decide whether to print anything or not. 2024-02-26 21:27:20 +01:00
af2ef6476e Document the new methods, also expression substitution. 2024-02-26 19:03:39 +01:00
984465ee0c Finished HTMLTemplate's template substitution implementation. 2024-02-26 18:16:25 +01:00
72c764f74c Also process the last variable in HTMLTemplate::process_template_expression(). 2024-02-26 13:22:54 +01:00
b0a72e933d HTMLTemplate::process_template_expression() initial implementation. 2024-02-26 13:11:31 +01:00
0d2fceecf0 Fix errors in HTMLTemplate::render_template. 2024-02-26 12:02:04 +01:00
d3535ef0ca Strip the expression string before passing it to process_template_expression(). 2024-02-26 11:56:30 +01:00
81c8e4aa75 Removed WebServerRequest parameter from get_and_render_template() in HTMLTemplate. 2024-02-26 11:56:01 +01:00
2fe82c604c Fix binds in HTMLTemplate. 2024-02-26 11:52:13 +01:00
af492fc79e HTMLTemplate template processing part 1. 2024-02-26 11:36:13 +01:00
a6eb8377a6 Use String's length() instead of size(). 2024-02-26 11:33:06 +01:00
89f9faa0e2 Added docs for the new classes. (Except for variable substitution rules, as those are not yet done.) 2024-02-25 23:37:46 +01:00
5cee31117c Fix class link in the docs for SMTPClient. 2024-02-25 23:36:25 +01:00
4a23a17670 Also use PROPERTY_HINT_BUTTON in UserManagerStatic instead of a bool. 2024-02-25 22:40:07 +01:00
bf15aa0f87 Don't create empty keys. 2024-02-25 22:34:48 +01:00
0e9a926365 Fixed a few smaller typos. 2024-02-25 22:33:17 +01:00
66e0daf383 Created a built in editor using PROPERTY_HINT_BUTTON-s from HTMLTemplates. 2024-02-25 22:11:17 +01:00
8c06dce33f Now PROPERTY_HINT_BUTTON adds the property's name as the called method's first parameter. 2024-02-25 22:09:25 +01:00
c6c864a683 Hide template_overrides and template_defaults property from the inspector in HTMLTemplate. 2024-02-25 20:43:38 +01:00
ce638a69c1 Now HTMLTemplateDataEditorPlugin will only handle HTMLTemplateDatas, if they are on disk. 2024-02-25 19:25:58 +01:00
35e328576a Set up docs for the new classes. 2024-02-25 19:17:06 +01:00
87920a4ed7 Initial HTMLTemplate class setup. 2024-02-25 19:15:34 +01:00
5c9996fd58 Added an editor plugin for HTMLTemplateData. Double clicking one in the editor will open the underlying file on the text editor tab (if enabled). 2024-02-25 17:26:28 +01:00
83facbff3b Fix issues with HTMLTemplateData loading and serialization. 2024-02-25 16:33:53 +01:00
08864f0a25 Added an importer for HTMLTemplateData. 2024-02-25 16:23:36 +01:00
eca4475f2d Implemented HTMLTemplateData. 2024-02-25 15:55:42 +01:00
fb005f970e Added HTMLTemplate and HTMLTemplateData classes. 2024-02-25 14:54:50 +01:00
0edc5438dd Re-extracted class docs. 2024-02-25 10:26:26 +01:00
7da17bca02 Added more defines for platform specific configs. 2024-02-17 20:55:27 +01:00
08711274c7 Fix custom module paths for the editor builds. 2024-02-17 16:41:51 +01:00
b8c81b5449 Small tweaks to HTTPServerSimple, mostly related to ssl handling. 2024-02-16 23:06:39 +01:00
2400b14bb9 Fix FileCache for files in .pck-s. 2024-02-16 22:12:17 +01:00
3da74f0703 Added get_global_class_name method to Script. Now GDScriptParser uses this first to determine global class names, instead of parsing the script file again. 2024-02-13 20:09:46 +01:00
c3c6d64a50 Portred: Add MergeGroup node to simplify merging Meshes at runtime.
- lawnjelly
8b79135538
2024-02-08 21:00:07 +01:00
af518b2d3b Ported parts of: [3.x] Add Selected Collision Group in TileSet Editor
Also moves the TileSet Script property down to its own category.
- Mickeon
211c707e67
2024-02-08 18:11:25 +01:00
Danil Alexeev
0c92de12c1 GDScript: Fix get_method_list for custom functions 2024-02-08 14:50:56 +01:00
Danil Alexeev
a70e3ce4b3 GDScript: Prevent native class shadowing 2024-02-08 13:23:04 +01:00
e9f7ef263f Fix build on windows. 2024-01-11 01:31:54 +01:00
b08959ab59 Fixed issues with the SMTPClient and EMail. 2024-01-11 01:24:16 +01:00
40e20146f6 Also use the queue in SMTPClient when not threading. 2024-01-11 00:39:52 +01:00
4a35fb9b44 Docs for the new classes. 2024-01-11 00:32:10 +01:00
2f44da6c00 Bind missing enum constants. 2024-01-11 00:05:42 +01:00
db36151c18 Re-extracted class docs. 2024-01-11 00:03:31 +01:00
92f1ab9e3e Fixed property. 2024-01-11 00:02:57 +01:00
8541890a78 Ported SMTPClient. 2024-01-11 00:02:48 +01:00
fb4fe82c63 Ported EMail. 2024-01-10 22:01:42 +01:00
f6c504534a Set up a new smtp module. It will be based on https://github.com/Relintai/gdMail . 2024-01-10 20:15:05 +01:00
b324675489 Removed the old SMTPClient class docs. 2024-01-10 20:12:36 +01:00
8e5ffcc9f1 Removed SMTPClient as the original code's license is unknown. 2024-01-10 19:37:39 +01:00
20ec9e2043 Fixed generating urls in BrowsableFolderServeWebPage. 2024-01-02 10:56:10 +01:00
2effb794fd Fixed typo. 2024-01-02 10:55:42 +01:00
70d3d54386 Also added the new helper method to the gdnative api. 2023-12-27 13:48:01 +01:00
3f2149212a Fixed error. 2023-12-25 21:11:09 +01:00
4d966d877f Fixed warning. 2023-12-25 21:06:39 +01:00
08f7789e40 Now SceneSynchronizerDebugger can properly create it's debugger.py file. 2023-12-25 20:48:32 +01:00
f37f74d7f9 Fixed warning. 2023-12-25 20:48:01 +01:00
f927e2db73 Ran the clang format script. 2023-12-25 20:27:28 +01:00
2f53a26f36 Re-extracted class docs. 2023-12-25 20:20:30 +01:00
5059f6b2d2 Fixed warning. 2023-12-25 20:18:01 +01:00
2ae29884cb Merged in the backwards utilities. 2023-12-25 20:12:56 +01:00
e44c46d7a9 Fixed include paths, compile errors and some code style. 2023-12-25 20:00:07 +01:00
d8eec349a5 Updated register_types.h 2023-12-25 19:41:37 +01:00
b6648f707e Added missing classes to config.py. 2023-12-25 19:38:05 +01:00
eb63a4d682 Updated NetworkSynchronizer from https://github.com/GameNetworking/network_synchronizer/tree/godot-3.x . f12fee66a7e3eb2013d6c5437837770455105b91 (Merge commit: cc3c7d244adea8b25822f43963618fd2dbf18ec8) 2023-12-25 19:27:07 +01:00
1f291939e9 Now PagedArticleWebPage won't add the summary page to the list of pages you can switch to. 2023-12-24 20:33:18 +01:00
d4d4a737fb Fix build when the jsonrpc module is disabled. 2023-12-24 00:02:22 +01:00
db08e3c8b9 Re-extracted class docs. 2023-12-23 00:54:40 +01:00
094b1fe752 Bind the send_mail method. 2023-12-23 00:53:42 +01:00
2bd9eb6468 Implemented SMTPClient based on https://github.com/Relintai/smtp_node . 2023-12-23 00:50:09 +01:00
85d60b67e8 Created SMTPClient class. 2023-12-22 20:29:15 +01:00
be379405d2 Added a button to the TilesetEditor to easily select the TilesetEditorContext when needed. 2023-12-22 20:15:33 +01:00
f9cbc81492 Renamed RTilesetEditorContext to TilesetEditorContext. 2023-12-22 20:10:02 +01:00
0d6f38b317 Re-extracted class docs. 2023-12-22 19:49:04 +01:00
cd34883d79 Completely removed the cached path api from FileCache. 2023-12-22 19:37:23 +01:00
ca9249b5cf Started reworking filecache to have an immediate file path mode. Non-immediate mode will be removed in next commit, saving the work in case it's needed later. 2023-12-22 19:29:48 +01:00
978e49a289 Implemented range requests for the HTTPServerSimple. It does work in fiefox, however wget seems to choke on it. This will be fixed later. 2023-12-22 15:37:04 +01:00
a781853b2b Added a way to get all available marameter keys to WebServerRequest. 2023-12-22 13:14:17 +01:00
e5719c991b Store incoming http request parameters properly. 2023-12-22 13:02:17 +01:00
df2859b9d0 Added a way to unregister connections and get out their raw connection data from the http server. 2023-12-22 12:38:38 +01:00
cf76e6debf Fix the doc descriptions where they got lost due to adding StringName to Variants. Also fixed smaller issues where I ran into them. 2023-12-21 00:48:25 +01:00
kleonc
ae3b43f6ca Improve TileMap editor visible names and tooltips 2023-12-20 23:03:33 +01:00
Rémi Verschelde
d8968ccef9 GDNative: Fix Linux arm64 warning about ignored sysv_abi attribute
Fixes #41160.
2023-12-20 23:02:11 +01:00
Rémi Verschelde
1c70f86950 Fix various GCC 13 warnings
Fixes occurrences of `-Wtype-limits`, `-Wmaybe-uninitialized`,
`-Wduplicated-branches`.
2023-12-20 22:57:54 +01:00
6b6536ffe8 Also backported the previous change for cscript. 2023-12-20 22:49:11 +01:00
Jason Knight
929ad6b766 Far faster and more efficient method of checking if an identifer refers an autoload. 2023-12-20 22:45:03 +01:00
BlueCube3310
7633bb4d89 Fix grayscale dds loading 2023-12-20 22:41:09 +01:00
15bac2d514 Fix syntax error. 2023-12-18 00:46:28 +01:00
5133ef182d File copyright header updates pt10. 2023-12-18 00:31:04 +01:00
98912a89e8 File copyright header updates pt9. 2023-12-18 00:25:33 +01:00
429575fab6 File copyright header updates pt8. 2023-12-18 00:18:53 +01:00
ae854d4e55 File copyright header updates pt7. 2023-12-18 00:02:58 +01:00
3afe20bdc7 More old copyright header cleanups. 2023-12-17 23:24:10 +01:00
347168197c File copyright header updates pt6. 2023-12-17 23:21:54 +01:00
443140a9e8 File copyright header updates pt5. 2023-12-17 23:07:28 +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
11945d7f1d Split material.h. 2023-12-10 21:26:28 +01:00
63c895747a Moved Curve and Gradient to core. 2023-12-10 20:23:51 +01:00
e32155717c Moved 2d shapes to core. 2023-12-10 20:03:16 +01:00
9d2309bfe1 Moved shapes to core. 2023-12-10 19:58:44 +01:00
053f083e17 Moved the Physics 2d server to core. 2023-12-10 19:42:57 +01:00
dbcc6e33da Moved the physics server to core. 2023-12-10 19:36:00 +01:00
238bf1b331 Moved the RenderingServer to core. 2023-12-10 19:04:24 +01:00
049440aaf1 Moved BitMap to core. 2023-12-10 18:07:25 +01:00
3902cf1924 Moved ScneeStringNames and PropertyUtils into scene/main. 2023-12-10 18:01:51 +01:00
191e9e152e Added quote_style argument to get_argument_options(). 2023-12-10 16:02:08 +01:00
9df5649c1b Moved CanvasItem, Control, Node2D and Spatial under scene/main. 2023-12-10 15:50:54 +01:00
763f662263 Moved meshes to a new subfolder. 2023-12-10 15:22:09 +01:00
deccaed2cc Moved materials into a new subfolder. 2023-12-10 14:59:22 +01:00
4cbc387c53 Moved the navigation relatred resources into subfolders. 2023-12-10 14:23:24 +01:00
2cc42b045a Moved shapes under a new shapes folder. 2023-12-10 14:10:10 +01:00
e50ab7fa84 Moved 2d shapes under a new shapes_2d folder. 2023-12-10 13:55:20 +01:00
de91cf5873 Mark NativeScripts as having delayed metadata. 2023-10-24 00:40:54 +02:00
3b8f836a41 Re-extracted class docs. 2023-10-20 15:06:38 +02:00
1ff5cdf911 Fix positioning the colliders from PropDataStaticBody in TerrainPropJob and VoxelPropJob. 2023-10-14 08:10:06 +02:00
9142600d70 Implemented PropDataStaticBody handling for TerrainPropJob and VoxelPropJob. 2023-10-13 21:00:25 +02:00
6ff8ae122c Codestyle fixes. 2023-10-13 20:59:57 +02:00
3f8ca3136e Codestyle fixes. 2023-10-13 20:41:22 +02:00
0fa7faf43a Added support for PropDataStaticBody in PropInstance and PropInstanceMerger. 2023-10-13 20:35:10 +02:00
2aa3fbf381 Codestyle. 2023-10-13 20:27:08 +02:00
c5ec0b8a33 Codestyle. 2023-10-13 20:26:59 +02:00
ac39ffb96b Fix typo. 2023-10-13 19:36:17 +02:00
73bdeb40c6 Don't process CollisionShapes recursively in PropDataCollisionObject, as they only work as a direct child. 2023-10-13 19:28:56 +02:00
da2daebbb8 Fixed processing collision shapes in PropDataCollisionObject. 2023-10-13 19:27:40 +02:00
f7ecfb412a Initial StaticBody support for the prop system. 2023-10-13 15:58:42 +02:00
93a2081a58 Re-extracted class docs. 2023-10-12 01:59:32 +02:00
2cd304097a Fix JSONRPC's class docs. 2023-10-12 01:58:43 +02:00
b4692f1763 Port4ed from godot: Add binary MO translation file support. Add brotli decoder and WOFF2 support.
Use smaller .mo files instead of .po, if gettext is available.
Convert editor fonts to .woff2 format.
- bruvzg
fd2fba7c2c
2023-10-02 21:12:03 +02:00
13f981c684 Initialize variable. 2023-10-02 19:38:51 +02:00
d4b82d2724 Added setting to enable / disable gdscript's language server. 2023-10-02 19:37:38 +02:00
84768b8f0c GDScript LSP compile fix pt2. 2023-10-02 19:22:04 +02:00
f10681e2be GDScript LSP compile fix pt1. 2023-10-02 19:06:13 +02:00
01d1d1aa24 Fix compiling the jsonrpc module. 2023-10-02 18:51:44 +02:00
96702b39c8 Added back the jsonrpc module. 2023-10-02 18:38:39 +02:00
4047443e5d Added back the language server for gdscript. 2023-10-02 18:32:24 +02:00
88e7cc8776 Fix compile errors. 2023-10-02 17:11:37 +02:00
lawnjelly
994ae99f62 Physics Interpolation - automatic resets for Camera2D and TileMap.
Extra reset required for Camera2D. TileMaps require resetting by quadrant.
2023-10-02 16:50:50 +02:00
4faeb67438 Implemented getting users using their email from the UserDB. 2023-09-22 16:33:21 +02:00
56ae9e3734 Fix typos. 2023-09-22 16:21:37 +02:00
70db9caf20 Re-extracted class docs. Also fixed smaller issues. 2023-09-10 08:42:24 +02:00
e31c09d1f4 Small fixes to the docs. 2023-09-10 08:26:35 +02:00
ccb6074ca9 Backported the editor constrol changes for the new shortcut system from godot4. 2023-09-07 13:41:05 +02:00
bd9abfc160 Fix clang format warnings. 2023-09-07 12:00:31 +02:00
9a2bf73280 Backported _shortcut_input() virtual from godot4. 2023-09-07 09:56:16 +02:00
4fe2f00133 The CScript module is now disabled by default. It will get re-enabled once it gets finished. 2023-09-06 21:52:30 +02:00
7fab5e4c25 Implemented a literal syntax for NodePaths in GDScript I decided on using godot4's (^). The doc already said it's '@' but that was wrong. 2023-09-06 20:45:01 +02:00
56b812f22f Fix build. 2023-09-06 09:47:06 +02:00
b506468b53 Revert "Backport implement loading DDS textures at run-time"
This reverts commit 4b76c7e89c.

Apparently it can cause issues.
2023-09-06 09:13:08 +02:00
0a9c9ca15e Ported godot pr: [3.x] Allow exporting custom resources from/to any scripting language (GDScript, VisualScript, C#, NativeScript, PluginScript)
- willnationsdev
https://github.com/godotengine/godot/pull/44879
Using the rebased version from 02d1f70ee5 by Atlinx
2023-09-06 01:45:29 +02:00
5331ac9b85 MeshLibrary's SceneConverter will also processes the navigation layers for the items. 2023-09-05 12:25:26 +02:00
dfb5323cc1 Backported from godot4: Change GridMap navigation_layers to be per mesh_library item
Changes GridMap navigation_layers from a single bitmask for the entire GridMap to a bitmask for each item used in the mesh_library with a baked navmesh.
- smix8
61f33e205c
2023-09-05 12:23:09 +02:00
c055e8aeed Use get_navigation_map() in GridMap. 2023-09-05 12:08:25 +02:00
176a0e129c Fix querying paths. 2023-09-05 11:57:53 +02:00
8880722565 Removed cell height getters and setters from the Navigation2DServer. 2023-09-05 11:57:34 +02:00
268c27458a TileMaps now support navigation map overrides. 2023-09-05 10:46:22 +02:00
43c11fcdf5 Backported from godot4: Fix typo and ensure backwards compatibility for changed property names
Changes to the name of the `navmesh` and `navpoly` properties on
`NavigationRegion` caused navigation data to be lost on load.
This PR creates uses `_set`/`_get` to handle compatibility with the
older names on load, preserving the data.
Also fixes a typo on `get_vertices_per_polygon` in `NavigationMesh`,
and renames the property to remove the `polygon_` prefix which doesn't
match the setter/getter.
- DarkKilauea, akien-mga
0572346985
2023-09-05 09:13:54 +02:00
73c1f1f673 Fix logic in NavMap::sync(). 2023-09-04 22:00:26 +02:00
a222159442 Backported from godot4: Add NavigationServer API to enable regions and links
Adds NavigationServer API to enable regions and links.
- smix8
69fad39cf5
2023-09-04 20:22:28 +02:00
b37e0e6a4e Backported from godot4: Update navigation obstacle API
Updates navigation obstacle API.
- smix8
c1fc331b88
2023-09-04 19:55:32 +02:00
aeb4d3fbe2 Backported from godot4: Add agent pause mode to NavigationServer
Adds agent pause mode to NavigationServer.
- smix8
https://github.com/godotengine/godot/commit/ae9dd47d0c1c237d0733439862aa5ff651dcac2
2023-09-04 19:04:29 +02:00
2f036edcc5 Backported from godot4: Fix cell_height for navigation meshes
Fixes `cell_height` for navigation meshes.
- smix8
180a5cded1
2023-09-04 18:34:15 +02:00
dcd93ef8ba Backported from godot4: Fix NavMesh map_update_id returning 0 results in errors
- zorbathut
d0564f2466
2023-09-04 17:56:34 +02:00
e3f2ee62ca Backported from godot4: Fix pathfinding funnel adding unwanted point
Fixes pathfinding funnel adding unwanted point due to precision issues.
- smix8
c51e264446
2023-09-04 17:40:28 +02:00
8485b37515 Ported from godot4: Fix Navigation API abbreviations inconsistency
Schema for navigation to name user facing API with  "navigation" without abbreviation and e.g. NavigationServer internals with abbr "nav".
- smix8
34e7628f5f
2023-09-04 17:09:39 +02:00
ebfba6a379 Add back the missing lines to GridMap's class doc. 2023-09-04 16:47:08 +02:00
06efbe1882 Added separators to TerrainWorldEditor and VoxelWorldEditor's toolbars. 2023-09-03 13:43:58 +02:00
f30f2b37b8 Small tweak to the tooltip of the quick prop convert buttons. 2023-09-03 13:25:00 +02:00
62840e8517 Use an icon for the quick prop conversion buttons instead of text. 2023-09-03 13:15:23 +02:00
201d6aa8e7 Added a VSeparator to the To Prop editor buttons. 2023-09-03 13:09:56 +02:00
ee8716a7e6 Added a VSeparator to the NavigationPolygonEditor and the NavigationMeshEditor. 2023-09-03 12:44:55 +02:00
2b0a9700b8 Remove the text from the bakle and clear buttons in the editor for the NavigationMeshEditorPlugin and the NavigationPolygonEditorPlugin. 2023-09-03 12:04:53 +02:00
915014b6df Bake the NavigationMesh on the main thread in the editor. 2023-09-03 10:59:33 +02:00