Commit Graph

1287 Commits

Author SHA1 Message Date
6d8e5773cc Small fix. 2023-01-13 23:19:29 +01:00
087e57abc7 Fix vmethod binds. 2023-01-13 23:07:52 +01:00
56296172cc Cleaned up the core steering ai classes. 2023-01-13 23:01:38 +01:00
7afddb9fc3 Make include guard style consistent with the rest of the engine in the new module. 2023-01-13 22:04:30 +01:00
7792c4f423 Cleaned up GSAIUtils, and registered it as a singleton. 2023-01-13 21:59:21 +01:00
402e8ff689 Cang formatted everything in the new module. 2023-01-13 21:35:07 +01:00
0d2aa86bc3 Fixed file names in the new module. 2023-01-13 21:29:17 +01:00
694d9a7333 Rename the folcers in the new module. 2023-01-13 21:15:03 +01:00
9fed52de03 Added a new steering_ai module.
It's a modified verion of https://github.com/GDQuest/godot-steering-ai-framework which I converted to c++ using thr converter srcipt.
It still needs to be cleaned.
2023-01-13 21:13:57 +01:00
5b2fc25338 Added missing binds in FileCache. 2023-01-04 00:40:28 +01:00
238bc63087 Added a new WebServerRequestScriptable class, so different web server request implementations can be created using scripts when needed. 2023-01-03 21:27:36 +01:00
0c3b684da7 Small tweak. 2022-12-31 22:00:37 +01:00
e1d7706198 Added COPYRIGHT.txt to the wfc module. 2022-12-31 22:00:32 +01:00
61f343d58b Added COPYRIGHT.txt to the web module. 2022-12-31 21:57:06 +01:00
e7f74ad154 Added COPYRIGHT.txt to the texture_packer module. 2022-12-31 21:51:05 +01:00
6d0c94bb6d Fix typo. 2022-12-31 21:50:45 +01:00
0ef41c62af Added COPYRIGHT.txt for the paint module. 2022-12-31 21:38:08 +01:00
64c98a607c Added COPYRIGHT.txt for the mesh utils module. 2022-12-31 21:27:55 +01:00
b240df7df6 Updated more copyright headers for 2023. 2022-12-31 21:07:05 +01:00
30f41745fd Added COPYRIGHT.txt to the material_maker module. 2022-12-31 20:27:16 +01:00
0a1dd974fc Cleaned up the material maker module's readme. 2022-12-31 20:26:46 +01:00
b843fcc498 Removed the mat_maker_gd (gdscript) addon from th material maker module. (I forgot about it.) 2022-12-31 20:23:26 +01:00
76802a25b2 Added COPYRIGHT.txt for the http_server_simple module. 2022-12-31 20:19:10 +01:00
c181bf3d86 Cleaned up licenses in the fastnoise module. 2022-12-31 20:09:45 +01:00
caba177763 Added copyright.txt for the sqlite module. 2022-12-31 20:01:52 +01:00
08e502462a Removed database_postgres and database_mysql modules. (They were hard disabled.) 2022-12-31 19:40:46 +01:00
b46ab0f4a7 Updated copyright headers to 2023. 2022-12-31 19:34:43 +01:00
51e09f5b9f COPYRIGHT.txt for the lz4 module. 2022-12-31 18:12:37 +01:00
1541a04d17 Added docs for the TableBuilder. 2022-12-27 21:43:11 +01:00
3ae8a852a7 Added docs for the QueryBuilder. 2022-12-27 18:20:15 +01:00
db534a3da6 Use String.empty() instead of comparing a string to "", in the QueryBuilder. 2022-12-27 18:20:01 +01:00
093ee3e592 Re-extracted class docs. 2022-12-27 14:52:04 +01:00
dacee1ae4f Added initialized signal and helper method to the DataBaseManager. It can be used to let automally allocated classes (singletons, main scene classes) in heavily database driven applications know when it's safe to use the db. 2022-12-24 11:45:13 +01:00
b83c4f7ff8 Added a simple page rendering customization api for UserWebPages. 2022-12-22 21:31:14 +01:00
213f393293 Fix typos with codespell. 2022-12-22 19:51:25 +01:00
cc7d77f3e1 Re-extracted class docs. 2022-12-22 19:28:17 +01:00
1a4a526f97 Ported: miniupnpc: Update to version 2.2.3
Library code and public headers are now properly separated, we can fix include paths
to remove the redundant subfolder.
- akien-mga
912cd43418
2022-12-22 17:05:27 +01:00
711d08be2b Ported "Fix Script editor completion doesn't suggest members of a script for type hints"
ray90514 - 7afbd5904e
For CScript.
2022-12-22 16:45:10 +01:00
bad1d64314 Fix compile and small cleanups after the backports. 2022-12-22 15:24:53 +01:00
ray90514
2693ad37f7 Fix Script editor completion doesn't suggest members of a script for type hints 2022-12-22 14:48:51 +01:00
smix8
9225e78f68 Fix Navigation agent callback wild pointer crash
Fixes crash in sanitizer builds when callback agent or object are already freed.

(cherry picked from commit 194c1c44e0a20faa4463e3a41bb12cf93a71fc03)
2022-12-22 14:12:00 +01:00
df6186524a Ensure a '/' in between the host, and the url in WebServerRequest::get_url_site(). 2022-12-21 15:12:53 +01:00
ea009ff869 Use String.length() instead of String.size() in WebServerRequest::setup_url_stack(). 2022-12-21 15:12:12 +01:00
38a36b3c70 Added get request parameter support for WebServerRequest. 2022-12-21 14:52:11 +01:00
cb409757c3 Use String length() instead of size() in QueryBuilder, also guard against overindexing. 2022-12-20 23:54:50 +01:00
3d63a84be9 Make sure escape is used in SQLite3QueryBuilder wherever it's expected. 2022-12-20 17:35:24 +01:00
a50fc20607 Fix missing default parameter. 2022-12-19 14:44:21 +01:00
144d519258 Id should be valid only over 1 in UserManagerDB. 2022-12-18 18:42:09 +01:00
6fdcd0e7c0 Set sqlite to serialized mode. 2022-12-18 18:41:11 +01:00
a19be9b170 Small cleanups. 2022-12-18 17:00:11 +01:00
7eed422442 Also added tag() and ctag() helpers to the c++ side HTMLBuilder, and smaller cleanups. 2022-12-18 16:53:23 +01:00
f9ef920ec5 Added new tag() and ctag() universal tag helpers to the HTMLBuilder binder class. 2022-12-18 16:48:19 +01:00
99dd7022a5 Added signals for user actions into the user web nodes. 2022-12-18 16:05:23 +01:00
a67a36289b Removed old unneeded c++ files. 2022-12-18 16:04:47 +01:00
47ac5e2668 Added a null check to HTTPSessionManagerDB, and small cleanups. 2022-12-18 14:59:40 +01:00
b8b51e7525 Use error macros in HTTPSessionManager and HTTPSessionManagerDB. 2022-12-18 14:28:38 +01:00
225e3ff79c Update the migration methods in HTTPSessionManagerDB. 2022-12-18 14:24:50 +01:00
db51b273a7 Set up inheritance and virtuals for HTTPSessionManagerDB and HTTPSessionManager. 2022-12-18 14:22:21 +01:00
9aced75966 Added HTTPSessionManagerDB using the disabled code in HTTPSessionManager, and cleaned up it's logic. 2022-12-18 14:03:07 +01:00
e61c80db0c Fix logic. 2022-12-18 13:17:58 +01:00
247676656f Fix potential infinite recursion. 2022-12-18 13:17:28 +01:00
56fb104e14 Update logic in UserManagerDB, as the default user id is -1 now. 2022-12-18 13:16:58 +01:00
70b8c7c047 Fix connecting a signal to a non existent method in UserManagerDB. 2022-12-18 11:56:16 +01:00
7c1f9f4c58 Remove unimplemented methods. 2022-12-18 11:54:45 +01:00
Rémi Verschelde
75bda24214 SCons: Fix MSVC warning LNK4042 about dupe objects in regex
(cherry picked from commit 3fd9452a8ccd2c261ae7757a9b1fed1b6ada1c73)
2022-12-12 12:14:05 +01:00
Hugo Locurcio
e7f328d8d9 Document print_stack() and get_stack() requiring a debugger connection
(cherry picked from commit 530e31d4a38a6129c0b7ac7cbd9928788ed28e4b)
2022-12-12 12:11:56 +01:00
Ithamar R. Adema
1e1858ae15 Add 16-bits TGA support
(cherry picked from commit 200f6ac0894982b31c59acc11cd5f8d4f8971219)
2022-12-11 19:10:03 +01:00
Mark Riedesel
309d6ea5bc Add buffer size check to Image.load_tga_from_buffer(). Fixes #67985
(cherry picked from commit 5cb07486db6fc53cc5a13e3451dd451e987f39d7)
2022-11-30 19:22:42 +01:00
Haoyu Qiu
6126ddab8e Backport navigation crash fixes
Co-Authored-By: Sean <sean@geekotron.net>
2022-11-30 14:41:16 +01:00
311b5d446b Ported "[3.x] Fix wrong owner for editor plugin created nodes in instanced scene" for the skeleton editor aswell. 2022-11-30 14:33:08 +01:00
e0d09a2633 Clear using the color (0, 0, 0, 0), instead of (1, 1, 1, 0) in the paint module. 2022-11-28 15:02:02 +01:00
900605e2c9 Added a button that adds PaintCanvas to the PaintProjectToolsPropertyInspector. 2022-11-20 23:54:58 +01:00
13c45b16fa Add PaintProject Node instead of PaintCanvas when using the SceneTreeDock's root node button as intended. 2022-11-20 23:40:42 +01:00
41f130d9fd Re-extracted the class docs. 2022-11-20 23:27:04 +01:00
73a1c176b4 List all classes in the paint modules's config. 2022-11-20 23:26:31 +01:00
9dda076070 Moved the PaintEditorPlugin under the editor folder in the paint module. 2022-11-20 23:18:31 +01:00
6c0008a912 Added custom Paint, Web, and Mesh (MDI) nodes to the SceneTreeDock. 2022-11-20 23:16:20 +01:00
b823759397 Now PaintVisualGrid and PaintCanvasBackground inherits from PaintNode. 2022-11-20 21:42:04 +01:00
c0da82ab92 Also removed PaintSelectionBox. 2022-11-20 21:38:55 +01:00
1d7ad33407 Renamed on_paint_node_selected to set_paint_node in PaintCustomPropertyInspectors. 2022-11-20 21:23:00 +01:00
8c98ec9883 Removed now unneeded images from the paint module. 2022-11-20 21:19:53 +01:00
ff1dbced6d Removed PaintCanvasOutline and PaintColorGrid aswell. 2022-11-20 21:17:41 +01:00
5c9aa754d7 Removed most of the deprecated classes from the paint module. 2022-11-20 21:11:40 +01:00
0539b70aee Ported the PaintInspectorPlugin. 2022-11-20 21:01:54 +01:00
7a9ed010d1 Added a new pixel resize tool to PaintToolsPropertyInspector. 2022-11-20 20:49:30 +01:00
07299fdbf6 Removed the button properties from PaintProject. 2022-11-20 20:07:31 +01:00
1354b15817 Added Add Paint Visual Grid and Add Paint Canvas Background buttons to the PaintProjectToolsPropertyInspector. 2022-11-20 20:06:10 +01:00
eea5cf4e20 Added set colors as default button to PaintProjectToolsPropertyInspector. 2022-11-20 20:00:24 +01:00
98ac4b9265 Implemented export and export as tools for the PaintProjectToolsPropertyInspector. 2022-11-20 19:49:45 +01:00
b2cbd6e759 Cleanups to PaintToolsPropertyInspector. 2022-11-20 19:49:21 +01:00
73dc6be1da Added export and import tool to the PaintToolsPropertyInspector. 2022-11-20 18:57:11 +01:00
fede24767d New icon for the pastecut tool in PaintToolsPropertyInspector. 2022-11-20 17:40:27 +01:00
9fcf3b8532 PaintEditorPlugin now won't send input events to the active PaintNode, if CanvasItemEditor's currently selcted tool isn't TOOL_SELECT. 2022-11-20 16:04:39 +01:00
5514c64c86 Removed unneeded ScrollContainer form PaintProjectToolsPropertyInspector. 2022-11-20 15:59:38 +01:00
6ad8f67551 Fix warning. 2022-11-20 02:55:12 +01:00
fcdce8336c Cleaned up my original prototype render_paint_node implementation. Now it's fast. 2022-11-20 02:44:27 +01:00
240bfa8ed5 Rewrote render_paint_node now it works without leaving pixels out, but it is an extermely inefficient implementation. It will be reworked soon. 2022-11-20 02:35:02 +01:00
e5fd8cd2b5 Added the ability for PaintNode rendering to skip evaluating certain PaintNode's childrens. 2022-11-19 23:19:41 +01:00
9141997c87 Changed the prefix of the image saving related helpers from save to render. 2022-11-19 23:12:06 +01:00
fb4aa87663 Initial image rendering implementation for PaintNodes. 2022-11-19 23:06:56 +01:00
4eec1ffcb4 Implemented serialization for PaintCanvas image data. 2022-11-19 20:43:40 +01:00
4f06946cf5 Centralize LZ4 usage. 2022-11-19 19:51:29 +01:00
7328a5126a Added a new lz4 module. 2022-11-19 19:39:50 +01:00
f1bda28b11 Cleaned up PaintNode resize notifications. Also now PaintCanvas allocates and resizes it's internal images properly. 2022-11-19 19:26:19 +01:00
629ec81669 Added a new PaintProjectToolsPropertyInspector class. 2022-11-19 15:41:52 +01:00
be9493a25a Structural setup for saving images for PaintProjects. 2022-11-19 13:45:14 +01:00
cebc26f3ce Also handle NOTIFICATION_PAINT_NODE_RESIZED in PaintVisualGrid and PaintCanvasBackground. Note that they won't yet get that notification. 2022-11-19 13:21:05 +01:00
50cf64b7f1 Added a few notifications to PaintNodes. 2022-11-19 13:17:30 +01:00
9f8f6cb3b4 Now PaintCanvasBackground and PaintVisualGrid will automatically size themselves to a parent PaintNode if they can. 2022-11-19 13:16:54 +01:00
17842720a5 Added helper methods to PaintProject for creating PaintCanvasBackground and PaintVisualGrid. 2022-11-19 12:22:10 +01:00
71a455687d Cleaned up PaintVisualGrid. 2022-11-19 02:31:39 +01:00
d7ccaff144 More cleanups to PaintCanvasBackground. 2022-11-19 02:31:02 +01:00
5c38af1d1a Reworked PaintCanvasBackground. Now it draws it's pattern using canvas draw commands. 2022-11-19 02:20:52 +01:00
5a78997c83 Now PaintNodes can draw their outlines. 2022-11-19 01:23:33 +01:00
af1018bae6 Don't update the preview when the mouse is not over a PaintCanvas. 2022-11-19 00:21:15 +01:00
dc4ded8bd8 Now the undo and redo buttons in PaintToolsPropertyInspector actually work. 2022-11-18 23:50:05 +01:00
120e59baba Ported the logic to PaintCanvas from the experimental project. 2022-11-18 23:47:37 +01:00
4060eeccc7 Now _forward_canvas_gui_input() in PaintNode is a virtual, as it should have been. 2022-11-18 23:47:05 +01:00
8e766ee8ab Added undo and redo buttons to the PaintToolsPropertyInspector. It won't work for now. 2022-11-18 22:25:24 +01:00
65cf1c60d9 PaintProjectPropertyInspector now updates if the preset or the current color changes in PaintProject. 2022-11-18 12:26:36 +01:00
12193b03f4 Added a slider for the brush size property into PaintToolsPropertyInspector. 2022-11-18 01:09:25 +01:00
8c8dc051cb Added brush prefabs to PaintToolsPropertyInspector. 2022-11-18 00:33:27 +01:00
884fae4847 PaintProjectPropertyInspector now uses and manages the presets in PaintProjects. 2022-11-17 23:56:19 +01:00
2485665f89 Added more helper methods to PaintProject. 2022-11-17 23:55:36 +01:00
a3bedba43a Now PaintProject can store color presets. They also support defaults. 2022-11-17 23:32:09 +01:00
62a7fda32e Added a button for the currently selected color into PaintProjectPropertyInspector. Also logic cleanpus. 2022-11-17 23:05:27 +01:00
e53868f60f Added a new PaintProjectPropertyInspector class. 2022-11-17 17:46:03 +01:00
6ddd0c1fa3 Fix non-tools builds. 2022-11-17 12:07:02 +01:00
526800fcf9 Added a new PaintToolsPropertyInspector. 2022-11-17 11:56:03 +01:00
b49ea8c5ef PaintColorGrid now has 5 columns. 2022-11-17 11:55:39 +01:00
8fc5633933 Added TOOL_ prefix to the Tools enum's values in PaintCanvas. 2022-11-17 11:55:25 +01:00
33c70f7a86 Removed PaintSidebar and renamed PaintSidebarModules to PaintCustomPropertyInspector. 2022-11-17 10:05:05 +01:00
b9f0429f8c Renamed sidebar_modules folder to property_inspectors in the paint module. 2022-11-17 09:55:37 +01:00
01f078e016 Created icons for the new paint nodes. 2022-11-17 00:56:04 +01:00
ef3110d4d1 Disabled the paint sidebar, as I found a better way of handling this using custom property inspectors. 2022-11-16 23:48:45 +01:00
25968b2803 Fix bindings. 2022-11-16 21:55:12 +01:00
761e381d0e Store the previous tool in Paintcanvas. 2022-11-16 17:23:17 +01:00
f439b421c5 Added some signals to PaintCanvas. 2022-11-16 17:09:21 +01:00
a2f02d669c Added a current_tool property for PaintCanvas. 2022-11-16 15:52:29 +01:00
338fc04a75 Added the Tools enum from PaintWindow to PaintCanvas. 2022-11-16 15:40:40 +01:00
fff7d1f152 Added brush_prefab and brush_size properties to PaintCanvas. 2022-11-16 15:38:09 +01:00
c683e675e1 Now PaintNodes can handle input events coming from the editor plugin. 2022-11-16 15:25:27 +01:00
afa0e83f78 Added getters for the images and textures of the PaintCanvas. 2022-11-16 13:31:51 +01:00
94da7051d4 Also add null check. 2022-11-16 13:29:06 +01:00
1f2e2c1d45 Fix crash in PaintCanvas. 2022-11-16 13:28:19 +01:00
ab3e6f0014 Added methods to access PaintUtilities from PaintNodes, so no registered singletons will be required. 2022-11-16 00:26:33 +01:00
9c2d0599ea Bound the get_paint_project helper. 2022-11-15 23:58:43 +01:00
bf15088dc7 Added a configuration warning to PaintNodes if they are not a child of a PaintProject. 2022-11-15 23:57:44 +01:00
7fa6ff6433 Not the _on_paint_node_selected virtual will properly get called in PaintSidebarModule. 2022-11-15 23:44:57 +01:00
bfd80993f2 Now PaintColorGrid sets the active project's color. 2022-11-15 23:12:39 +01:00
4a93e21660 Added get_paint_project helper method to PaintNode. 2022-11-15 23:11:55 +01:00
4851144a55 Added current_color property to PaintProject. 2022-11-15 23:11:38 +01:00
d55653d916 Notes. 2022-11-15 22:46:08 +01:00
73e7d7f8ce The PaintColorGrid now contains a ScrollContainer. 2022-11-15 22:24:00 +01:00
ff701c35ad Now the paint plugin handles paint nodes. 2022-11-15 22:11:49 +01:00
e044b007f6 PaintColorGrid now inherits from PaintSidebarModule. It is also added to the new sidebar by the paint plugin. 2022-11-15 21:59:04 +01:00
abe142b090 Hide the sidebar in make_visible. 2022-11-15 18:17:15 +01:00
5baff6410f Now PaintEditorPlugin creates the paint sidebar. 2022-11-15 18:16:32 +01:00
229677acf5 Added a new PaintSidebar and PaintSidebarModule classes to the paint module. 2022-11-15 17:58:00 +01:00
0963538827 Added the new PaintEditorPlugin as an engine global. 2022-11-15 17:33:09 +01:00
14c503a41b Added a new paint editor plugin, and renamed the old temporarily. 2022-11-15 16:53:37 +01:00
94b5ac9267 Added resize method to PaintCanvas. 2022-11-15 16:41:57 +01:00
9eaa2bd56f Fix warning on gcc. 2022-11-15 14:44:50 +01:00
4155ef7ff3 Commit changes that were left out. 2022-11-15 14:41:59 +01:00
6852b3afa1 Added updated version of the methods in Action. 2022-11-15 14:34:25 +01:00
c0bbd6edf7 Added a new PaintProject class. 2022-11-15 13:17:37 +01:00
26511bb83b Added the required api to PaintCanvas. 2022-11-15 13:13:37 +01:00
71f70117a0 Also add the new classes to config.py. 2022-11-15 12:35:44 +01:00
772195a9c3 Added PaintCanvas to the build, and registered it. 2022-11-15 12:34:29 +01:00
7b5071fc73 Created updated versions for the deprecated helpers in PaintAction, and bound them. 2022-11-15 12:32:31 +01:00
1fac355760 Renamed the paint canvas getters/setters in PaintAction, and bound them. 2022-11-15 12:26:50 +01:00
9da781e8b8 Renamed 2 deprecated methods in PaintAction, and removed virtual from sym point helper methods. 2022-11-15 12:22:32 +01:00
a5c5201aa8 Added new overridable virtual api to PaintActions for commiting changes. 2022-11-15 12:15:32 +01:00
c2e8a32c90 Renamed do and undo methods in PaintAction. 2022-11-15 11:49:03 +01:00
b05babe4b2 Also added a new PaintCanvas. 2022-11-14 23:32:12 +01:00
1c0c3c4393 Added PaintNode. 2022-11-14 23:27:26 +01:00
b574d44dd7 Also register PaintCanvasBackground to the ClassDB, and fix crash on exit with it. 2022-11-14 23:08:37 +01:00
74a7615168 Added a PaintIcons header to the paint module to reduce code duplication, and to fix compile on the platforms where it failed. 2022-11-14 22:38:52 +01:00
a7afeb93e3 Register the paint module's ui helper classes. 2022-11-14 18:27:21 +01:00
1cf7b38074 Small rework for the PaintCanvasBackground. 2022-11-14 18:27:03 +01:00
334b4ae3f8 Renamed PaintCanvas to PaintCanvasOld. 2022-11-14 17:46:37 +01:00
dbeb522d8b Renamed the icons folder to paint_icons in the paint module. 2022-11-14 17:35:19 +01:00
9f2996c770 Reorganized the paint module. 2022-11-14 17:31:45 +01:00
e63a346cd3 Bound some getter / setter methods in the paint module. 2022-11-14 17:11:38 +01:00
Haoyu Qiu
eacf797faf Clarify offset parameter behavior in RegEx methods 2022-11-13 00:48:46 +01:00
smix8
fd5bb2f0fd Fix Editor crash when MeshLibrary gets replaced while used in an open GridMap scene 2022-11-13 00:23:55 +01:00
53f486237e Fix voxelman's editor setting. 2022-10-11 22:09:09 +02:00
54643bc1fc Re-extracted class docs. 2022-10-09 12:43:55 +02:00
10437e2f01 Add missing doc classes setup. 2022-10-09 12:41:45 +02:00
ee015b7a2e Added doc classes to the tile_map module. 2022-10-09 12:16:11 +02:00
0de5f4ec86 Added RTileMap and RTileSet compatibility classes. 2022-10-09 11:52:25 +02:00
5123cf9837 Also renamed the rtile_map module itself to tile_map. 2022-10-09 11:50:46 +02:00
c6f998b2a6 Also update the include guards. 2022-10-09 11:47:55 +02:00
2159409dcc Moved TileMap and TileSet's docs to their module. 2022-10-09 11:47:03 +02:00
d0d2a709e8 Renamed RTileMap ro TileMap and RTileSet to TileSet, as it does not need to be able to live alongside Godot's TileMap anymore. 2022-10-09 11:45:57 +02:00
575a19eafb Added back GridMap support for the NavigationMeshGenerator. 2022-10-09 00:01:13 +02:00
932bebcdba Added back RTileSet export aswell. 2022-10-08 23:55:49 +02:00
51acd0c9d6 Fix setting all EDITOR_DEFs for the gridmap editor. 2022-10-08 23:41:54 +02:00
7f78bdf7fe Now MeshLibraryEditorPlugin registers itself to the export as menu. 2022-10-08 23:36:36 +02:00
d8f00dc1b4 Fix the mesh library editor plugin, and cleanups. 2022-10-08 20:57:38 +02:00