Commit Graph

1843 Commits

Author SHA1 Message Date
c0805afa6c Rework the vertex light 3d module to actually be 3d. 2024-03-27 16:02:08 +01:00
b2b13bfb80 Copy the vertex lights 2d module over to the 3d version. 2024-03-27 12:26:20 +01:00
0ee99269a6 Added an icon for VertexLight2DEnvironment. 2024-03-27 11:52:43 +01:00
ab1f78ec21 Added docs for VertexLight2D and VertexLight2DEnvironment. 2024-03-27 09:11:46 +01:00
2007ef0f90 Added missing z_index parameter to VertexLights2DServer::sample_light(). 2024-03-27 09:04:59 +01:00
7f5b9650d9 Docs for the VertexLights2DServer. 2024-03-27 08:58:40 +01:00
a58eba6277 Re-extracted class docs. 2024-03-27 08:06:09 +01:00
34603315e4 Don't emit changed signal for disabled lights. 2024-03-27 08:04:16 +01:00
76c5252239 Emit changed notification when moving VertexLights. 2024-03-27 08:00:55 +01:00
a593fdff63 Fix VertexLights2DServer's changed notification setup. 2024-03-27 07:55:04 +01:00
59a4fcfc70 Allow setting abase color per map for vertex light 2ds. Also added VertexLight2DEnvironment Node so it can be changed easily using the SceneTree. 2024-03-26 16:29:02 +01:00
b353267679 Use blending for now with vertex lights in Layered Tile Maps. 2024-03-26 14:10:41 +01:00
af243a1111 Fix issues with vertex lights. 2024-03-26 14:10:14 +01:00
6e8073bbb6 Initialize layer_range properly. 2024-03-26 14:09:31 +01:00
f3d4f20344 Fix small issues with VertexLight2D. 2024-03-26 14:09:16 +01:00
6762e597e6 Properly initialize the quadrant size of maps. 2024-03-26 13:24:46 +01:00
fa68cf6872 Set up vertex lights 2d support for Layered Tile Maps. 2024-03-26 13:07:57 +01:00
645eba011b Small tweak. 2024-03-26 12:14:45 +01:00
862ab3c5ca Added a map changed signal to the VertexLights2DServer. 2024-03-26 12:11:00 +01:00
d2ed14cf26 Implemented vertex light 2d sampling. 2024-03-26 06:47:28 +01:00
42171f1fa2 Added attenuation and range properties to vertex light 2ds. 2024-03-25 21:55:27 +01:00
d08718051d Fix windows build. 2024-03-25 08:10:36 +01:00
8a567fdfa5 Added an icon for VertexLight2D. 2024-03-24 22:19:18 +01:00
3fc75ad15f Set up VertexLight2D maps. 2024-03-24 22:14:26 +01:00
02fe45b08a Added enabled property for VertexLight2Ds. 2024-03-24 22:05:00 +01:00
9df448113d Set up transform notification for VertexLight2D. 2024-03-24 21:55:18 +01:00
9ce6ebc1b5 Also set VErtexLight Properties in the server. 2024-03-24 21:50:34 +01:00
1bc9424bc8 Initialize color to white. 2024-03-24 21:46:54 +01:00
26ca3d7235 Added VertexLight2D Node. 2024-03-24 21:45:06 +01:00
e6fcd72b66 Renamed VertexLights2D to VertexLights2DServer. 2024-03-24 21:19:33 +01:00
66a2d798b3 Implemented api and data storage for the VertexLights2D singleton. 2024-03-24 20:57:35 +01:00
e3c63958d7 VertexLights2D singleton better data setup. 2024-03-24 18:02:13 +01:00
fb032a2f20 VertexLights2D Singleton initial setup. 2024-03-24 17:11:10 +01:00
0d23e04aff Disabled the new module. It still needs more thinking. 2024-03-24 12:19:09 +01:00
fb90408570 Added VertexLightData3D class. 2024-03-20 20:27:56 +01:00
8375f17c42 Created a new VertexLights3D module. 2024-03-20 17:54:39 +01:00
f270c67ca1 Improved Light setup in PropInstance. 2024-03-18 09:12:02 +01:00
a52a68afb7 Added more properties to PropDataLight and other light helper classes. 2024-03-18 08:38:27 +01:00
e63a88836c Added Material and merger support for PropDataMergeGroup. 2024-03-17 23:45:53 +01:00
5ae8d147f0 Added Material support for PropDataProp. 2024-03-17 23:42:39 +01:00
f3745546c1 Re-extracted class docs. 2024-03-17 22:48:15 +01:00
018f59305e Added a new PropDataMergeGroup Node for props. 2024-03-17 22:48:05 +01:00
5e4b6182f1 Enable and fix LayeredTileMap2DNavigationGeometryParser2D. 2024-03-17 14:39:34 +01:00
d395657ee1 Now CharacterSkeleton2D inherits from YSort. It disables sorting by default, so the default behaviour won't change. 2024-03-17 14:15:52 +01:00
5b18493589 Small tweaks. 2024-03-17 14:06:44 +01:00
db7f5c8bec Don't free the editor's UndoRedo. 2024-03-17 10:40:34 +01:00
d088565d3f Fix typo. 2024-03-17 10:35:40 +01:00
9a6e66b711 Fix the name of the rao_noise property. 2024-03-17 08:27:58 +01:00
4f072898a6 Added missing icons. 2024-03-13 17:18:28 +01:00
24dba4063e Added missing icon. 2024-03-13 16:50:11 +01:00
e34e374e38 Fix the positioning of the help text in LayeredTileSetAtlasSourceEditor. 2024-03-13 08:35:26 +01:00
7f48c0055a Fix positioning of the Center View buttons in the GenericTilePolygonEditor. 2024-03-13 08:27:32 +01:00
ab43d163ba Fix positioning of the Center View buttons. 2024-03-13 08:23:59 +01:00
7b72d180a5 Fix popup menu position. 2024-03-13 07:35:13 +01:00
2f87cf8230 Remove test print. 2024-03-13 07:07:20 +01:00
502f13a3f6 Fixed alternative tiles add icon sizing. 2024-03-13 07:06:14 +01:00
29ab4bf2c8 Use control instead of metakey as intended in the layered tilemap editors. 2024-03-12 23:26:04 +01:00
7789b60b2b Fix painting LayeredTileMap peering bits. 2024-03-12 23:21:43 +01:00
053b283c47 Reworked RendetingServer's canvas_item_add_texture_rect_animation's last parameter. Now instead of bool randomize_start_time it's real start_time. This should make it more versatile. 2024-03-12 17:52:12 +01:00
be686f5db4 Update the tiles properly when a rao setting changes. 2024-03-12 06:07:44 +01:00
16699e7b5f Implemented RAO for LayeredTileMaps. 2024-03-12 00:51:00 +01:00
ea3317d12e Make use of the new randomize_start_time parameter of RenderingServer::canvas_item_add_texture_rect_animation() in LayeredTileMap. 2024-03-11 20:53:45 +01:00
8cc6506c27 Reimplement animations for LayeredTileMaps. 2024-03-11 18:21:31 +01:00
d38e9256b6 Fix position of popups in LayeredTileSetAtlasSourceEditor. 2024-03-11 15:40:43 +01:00
fd5ed33a7b Set up EditorInspectors for LayeredTileMaps properly. 2024-03-11 15:35:32 +01:00
93d90fb69d Fix LayeredTileSetAtlasSourceEditor's dropdown property selector. 2024-03-11 14:13:09 +01:00
850b5b03ef Fix the sizing of LayeredTileSourceInspectorPlugin's show_id_edit_dialog. 2024-03-11 13:24:19 +01:00
ee7140fe51 Bind method. 2024-03-11 13:18:33 +01:00
5435987237 Fix the sizing of the LayeredTileSetScenesCollectionSourceEditor. 2024-03-11 13:16:22 +01:00
fb99db4585 Re-extracted class docs. 2024-03-10 10:36:13 +01:00
0e32e11ea1 Small LayeredTileMap doc fixes. 2024-03-10 10:34:27 +01:00
b376573e8a Fix arguments of the _use_tile_data_runtime_update() vmethod. 2024-03-10 10:34:14 +01:00
f54b3c8a45 Updates to the LayeredTileMap modules's docs. 2024-03-10 10:29:38 +01:00
b3a5b516f7 Proper docs for WebServerSimple. 2024-03-10 10:24:16 +01:00
6f81a15fc0 Various doc fixes. 2024-03-10 10:10:02 +01:00
3f4cc73caa Updated docs for FileCache. 2024-03-10 10:09:19 +01:00
74c46ccfda Fix uninitialized variable. 2024-03-10 10:04:23 +01:00
aaf744aad0 Improve multipart filename handling a bit. 2024-03-10 09:32:01 +01:00
75e8f68a24 Use String::length(), even though in this case size() works too. 2024-03-10 09:16:43 +01:00
27d97cf766 Added optional force parameter to WebServerRequest::move_file(). Also various fixes and improvements to the new upload temp file system. 2024-03-10 09:07:13 +01:00
6addb02bbb Added new wwwroot_get_simplified_abs_path() helper to FileCache. Also improved the other path helper methods. 2024-03-10 08:21:24 +01:00
b96205f05f Use the sotred path when cleanin up temp files. 2024-03-10 07:07:38 +01:00
2f950e87d6 Only count request size when not writing to a file. 2024-03-10 07:05:25 +01:00
a993a5460c Make sure temp files directory exists when starting WebServerSimple. 2024-03-10 07:01:05 +01:00
f86c6440fb - Now WebServerSimple can also use temporary files for uploads.
- Added move_file() and is_file_moved()  helper methods to WebServerRequest.
- get_file_length() in WebServerRequest now returns uint64_t.
- Removed parse_files() from WebServerRequest. It's doesn't work well with how the http protocol works.
2024-03-09 23:39:33 +01:00
432478cb70 Fix index error. 2024-03-09 16:42:24 +01:00
3be690da76 Properly lock image. 2024-03-09 16:40:10 +01:00
c67d45375b Fix LayeredTileMapPattern::get_used_cells(). 2024-03-09 16:27:43 +01:00
fe901f22bd Fix tile selection indicator graphic. 2024-03-09 11:21:59 +01:00
de33138e87 Fix creating polygons in GenericTilePolygonEditor. 2024-03-09 10:33:18 +01:00
5359053613 Fix expand in GenericTilePolygonEditor. 2024-03-09 08:35:49 +01:00
bfaf5a6b75 Don't free the Editor's UndoRedo. 2024-03-09 08:17:36 +01:00
87be638698 Lock and unlock images in LayeredTileSetAtlasSource::_create_padded_image_texture. 2024-03-09 08:13:52 +01:00
068c83f71d Keep source flags when creating padded texture. 2024-03-09 08:11:08 +01:00
bfbe04e78c Fix method name. 2024-03-09 08:03:18 +01:00
3c79d3fd50 Bind method. 2024-03-09 08:00:37 +01:00
6ee714aab7 Updated all drop_data_fw method signatures. 2024-03-09 07:25:02 +01:00
626998dc26 Fixed panning in the LayeredTileMap editor. 2024-03-09 06:56:11 +01:00
3c6f55cf3f Added the center view icon from godot4. 2024-03-09 06:42:50 +01:00
dbcb0ac6d9 Fix binding a method twice. 2024-03-08 10:59:25 +01:00
5356c1a7ea Fix typo. 2024-03-08 07:04:29 +01:00
9116814193 ItemLists does not support negative indexing. 2024-03-08 07:01:04 +01:00
a94f302003 Call the proper method. 2024-03-07 23:33:19 +01:00
66dcbb02b0 Fix calling method from signal. 2024-03-07 23:27:50 +01:00
7dc0eda074 Added missing icon. 2024-03-07 23:22:26 +01:00
f4d728b08e Use better popup() method. 2024-03-07 23:20:20 +01:00
ce1200e5ea Add missing icons for the layered tile map editor. 2024-03-07 23:15:46 +01:00
2702aa5d65 Fix theme changed notifications for the layered tile map's editor. 2024-03-07 22:56:23 +01:00
564469a118 Add missing GDClass macro. 2024-03-07 22:55:46 +01:00
ffb4c9eef7 Use clip tabs. 2024-03-07 21:58:09 +01:00
12a6e10ddd Fixed errors on startup. 2024-03-07 21:38:08 +01:00
f78dd78dc3 Fix inconsistent overrides. 2024-03-07 19:15:06 +01:00
9d639d5136 Enable the layered tile maps module as now it compiles. It still needs some work before it's actually usable though. 2024-03-07 19:00:47 +01:00
adea98943c Fixed compile when layered tile maps are enabled. 2024-03-07 18:57:18 +01:00
2e45ffc5ea Work on fixing compile when layered tile maps are enabled. 2024-03-07 07:00:43 +01:00
3d791b4d4a Work on fixing compile when layered tile maps are enabled. 2024-03-06 23:27:39 +01:00
64999ea8fb Work on fixing compile when layered tile maps are enabled. 2024-03-06 20:36:58 +01:00
ea110ae724 Work on fixing compile when layered tile maps are enabled. 2024-03-06 01:11:54 +01:00
4abb1a23e9 Work on layered tile maps. 2024-03-04 22:15:59 +01:00
840a804a5c Work on layered tile maps. 2024-03-03 14:32:30 +01:00
0f07cedf57 Work on layered tile maps. 2024-03-03 12:59:36 +01:00
2783a9d58a Work on layered tile maps. 2024-03-03 11:46:07 +01:00
275a9124de Work on layered tile maps. 2024-03-03 09:39:24 +01:00
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