Commit Graph

3605 Commits

Author SHA1 Message Date
7da17bca02 Added more defines for platform specific configs. 2024-02-17 20:55:27 +01:00
0fccc9f393 Added S3TC_NOT_SUPPORTED define to be used by platforms externally. 2024-02-17 19:07:14 +01:00
cdb3f03e61 Added optional GLES2_LOAD_EXT_NO_DLCFN_AVAILABLE define for the rasterizer storage. 2024-02-17 19:04:57 +01:00
1d22053020 Moved dlfcn.h include in RasterizerStorageGLES2 to it's proper place according to the comment above it. 2024-02-17 18:57:33 +01:00
08711274c7 Fix custom module paths for the editor builds. 2024-02-17 16:41:51 +01:00
4ed0f09f43 Turn custom module paths relative to the engine's directory when they reside inside the engine's folder. 2024-02-17 15:11:13 +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
8284ff56b8 Fix DirAccess::get_filesystem_abspath_for() for .pck files. 2024-02-16 22:11:54 +01:00
34ddcc3694 Fix build on MSVC. 2024-02-15 20:38:16 +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
e615073951 Bump version. 2024-02-09 22:35:50 +01:00
03b70b0a2b Updated the changelog file. 2024-02-09 09:25:09 +01:00
088049f177 Updated the sample module config file with the new modules. 2024-02-08 23:58:47 +01:00
5f91eb3e44 Set version to stable. 2024-02-08 23:49:30 +01:00
7ce8e97b13 Disabled the WindowServer for now. 2024-02-08 23:45:33 +01:00
2abfd57704 Fix error. 2024-02-08 22:44:02 +01:00
a5fcaa536f Fix errors during filtering Nodes in the editor. 2024-02-08 22:42:42 +01:00
f4118ae3fb Updated the last backported commit. 2024-02-08 22:11:42 +01:00
deec900b5e Ported: Update the logic used to start / stop the GL thread
Currently the GL thread is started / stopped when the activity is respectively resumed / paused. However, according to the `GLSurfaceView` documentation, this should be done instead when the activity is started / stopped, so this change updates the start / stop logic for the GL thread to match the documentation.
- m4gr3d
194452bf38
2024-02-08 22:10:48 +01:00
da41965485 Added back ResourceImporterOBJ from godot. 2024-02-08 21:52:13 +01:00
a5d8696021 Ported: Vertex cache optimizer
Optimizes indices to make good use of vertex cache on GPU.
- lawnjelly
0aa22b8f13
2024-02-08 21:35:01 +01:00
14d1c0ad66 Added a commit as a todo. 2024-02-08 21:17:14 +01:00
c3c6d64a50 Portred: Add MergeGroup node to simplify merging Meshes at runtime.
- lawnjelly
8b79135538
2024-02-08 21:00:07 +01:00
8b9b77dd60 Fix windows compile. 2024-02-08 20:36:43 +01:00
ae7409bf52 Ported: Fix signed distance field font rendering
This fix works in both GLES3 and GLES2.
The rendering formula in the shader was adjusted to further improve the
sharpness/antialiasing quality balance.
- lawnjelly and Calinou
bc607fb607
2024-02-08 19:11:34 +01:00
1a3f34dbf8 Mark skipped commit. 2024-02-08 18:51:50 +01:00
5d2a594843 Ported: Shadow volume culling and tighter shadow caster culling
Existing shadow caster culling using the BVH takes no account of the camera. This PR adds the highly encapsulated class VisualServerLightCuller which can cut down the casters in the shadow volume to only those which can cast shadows on the camera frustum.
This is used to:
* More accurately defer dirty updates to shadows when the shadow volume does not intersect the camera frustum.
* Tighter cull shadow casters to the view frustum.
Lights dirty state is now automatically managed:
* Continuous (tighter caster culling)
* Static (all casters are rendered)
- lawnjelly
8ca631a466
2024-02-08 18:40:44 +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
513fde6cd4 Updated year in version.py. 2024-02-08 17:49:22 +01:00
02e3210a60 Updated copyright info in pandemonium_res.rc. 2024-02-08 17:48:38 +01:00
37d2f96834 Fix more errors. 2024-02-08 17:43:26 +01:00
09ccc16b86 mbedtls: Update to upstream version 2.28.7 2024-02-08 17:41:31 +01:00
22a829a740 certs: Sync with Mozilla bundle as of Dec 13, 2023
bagder/ca-bundle@bef37a9
2024-02-08 17:38:20 +01:00
f63ed4be75 Sync controller mappings DB with SDL2 community repo
Synced with mdqinc/SDL_GameControllerDB@232c738
2024-02-08 17:37:12 +01:00
4836053b07 Fix build. 2024-02-08 17:30:15 +01:00
Hugo Locurcio
19be158d88 Fix build on X11 following 64-bit detection changes
This also ports over the cross-compilation logic to the `server`
platform, and allows Embree to be used in server tools builds on aarch64.
2024-02-08 15:23:22 +01:00
Mikael Klasson
6fa76aca7e Fix invalid Python escape sequences
(cherry picked from commit 4986d6d317e592db86603ae14a72fe0a96a3f538)
2024-02-08 15:20:50 +01:00
Rémi Verschelde
fae5c7f2f8 SCons: Fix Python 3.12 SyntaxError with regex escape sequences
(cherry picked from commit b362976504c3346b9f34b69dcad0838d1d381037)
2024-02-08 15:20:45 +01:00
Rémi Verschelde
1089d60dae Linux: Remove hardcoded lib path for x86 cross-compilation
This breaks the build with our updated i686 Linux SDK which doesn't contain
this path, and may not be needed at all.

(cherry picked from commit 63153c9d36768b1e5ab9c1562f400a2bd8c2f8cd)
2024-02-08 15:20:35 +01:00
Rémi Verschelde
5f0558c000 CI: Update mymindstorm/setup-emsdk to v14, should fix cache folder conflicts
https://github.com/mymindstorm/setup-emsdk/releases/tag/v14

Co-authored-by: Yuri Sizov <yuris@humnom.net>
(cherry picked from commit 35ef0b32b328d9e5ed15f86a0f4a4d29518dec12)
2024-02-08 15:15:55 +01:00
Rémi Verschelde
1361f07395 Style: Mark clang-format 16 as supported for pre-commit hook
It only introduced a difference in a .glsl file, which I've worked
around by removing an empty line. This keeps formatting consistent
between clang-format 15 and 16.

Also added a change in the 3-to-4 project converter to fix bogus
formatting in clang-format < 17.

(cherry picked from commit 49f4860ce3e4122e17c869229701f7d86aa6956c)
2024-02-08 15:15:30 +01:00
Rémi Verschelde
326a098dac SCons: Fix Web build when compiler version isn't properly detected
Quick fix for #82585.

A better fix requires refactoring the way we detect the compiler version
to make it more reliable, and get a consistent output. But I prefer to
keep changes minimal for 3.x branches at this point.

Also set CI version to 3.1.39, which is what we use for official 3.6 builds
since 3.6-beta4.
2024-02-08 15:15:14 +01:00
lawnjelly
61645f36f3 Portals - Improve conversion logging
Logging is now allowed in any TOOLS build (rather than just in the editor), but still prevented in final exports.
Logging can be switched off via project settings.
Autoplacement is now logged.
2024-02-08 15:12:23 +01:00
lawnjelly
f09cdf5954 Portals - include in bound and special cases in start room
* Re-introduces a property for portals to decide whether they are included in room bounds during room conversion.
* Adds a special case for portals that extend into the start room, which may be caused by level design inaccuracies.
2024-02-08 15:10:00 +01:00
Rémi Verschelde
f073af9af6 zlib/minizip: Update to version 1.3
Remove `infback.c` which we don't need.

The `OF` macro was also removed so I can drop the patch where I yell
at Gentoo developers.

(cherry picked from commits e0e1f2e4a2056db1a908af75612daaaf5b129ebd
and 071499ac0d8e33e6f269437c3ce4fab52cc43f90)
2024-02-08 15:06:20 +01:00
Rémi Verschelde
4e199523f9 minizip: Backport patch to fix CVE-2023-45853
(cherry picked from commit c8dee05bf09cefdc33941aec1a76d3c563899995)
2024-02-08 15:05:47 +01:00
Rémi Verschelde
18047141eb brotli: Sync with upstream 1.1.0
https://github.com/google/brotli/releases/tag/v1.1.0
(cherry picked from commit 0402205ce66779805dcfbbc3e14c5756448f3bc7)
2024-02-08 15:05:40 +01:00
Rémi Verschelde
b44ee23cee Web: Clarify that OS.get_unique_id is not supported
Remove the base error message in `OS`, we no longer really error out this
way for not implemented methods. Instead, each platform should override them
to provide the context they want.

Fixes #82439.

(cherry picked from commit 0a10f09ce4321695940a626eef9c64b36f599193)
2024-02-08 15:05:20 +01:00
floatingpointer
808103890a Add XInput device ID for wireless Series 2 Elite controller
(cherry picked from commit 81f9c0345c963ab1f06c2ed1d2d76368bdbd8f56)
2024-02-08 15:05:04 +01:00