Commit Graph

4361 Commits

Author SHA1 Message Date
Nguyen Truong An
48d17312e9
Merge branch 'Relintai:master' into Relintai-master 2025-04-01 11:15:48 +02:00
d231b16ed0 Mark last backported commit. 2025-03-31 13:30:23 +02:00
56ce6911eb Moved the static_assert in GLOBAL_CACHED to the top. 2025-03-31 12:55:17 +02:00
35b072e1df Reworked the new GLOBAL_GET_CACHED macro. 2025-03-31 12:51:27 +02:00
f3b8330182 Use HAS_TRIVIAL_DESTRUCTOR macro instead of std::is_trivially_destructible. 2025-03-31 10:44:03 +02:00
2746b8f1e2 Fix compile. 2025-03-31 09:42:19 +02:00
70ec81c137 Backported move semantics from godot 3.x. with some changes.
Original commit:
d549b98c5c
2025-03-31 09:33:17 +02:00
b819224539 Fix compile. 2025-03-31 08:28:30 +02:00
lawnjelly
8a735a3c02 Physics Interpolation - Move 3D FTI to SceneTree
Moves 3D interpolation from `VisualServer` to the client code (`SceneTree`).
Complete rework of 3D physics interpolation, but using the same user API.
2025-03-31 08:23:44 +02:00
lawnjelly
dedeec9492 Simplified ObjectDB::get_instance() casting
Reduces boiler plate by templating `get_instance()` for the cast type, while remaining backward compatible to the existing functionality.
2025-03-31 08:02:27 +02:00
ae19a49a1e Make drop_mouse_on_gui_input_disabled GLOBAL_GET cached. 2025-03-31 08:01:29 +02:00
Pedro J. Estébanez
9f85d89056 Drop mouse focus and over when gui input is globally disabled
Since some porjects may be relying on the former behavior, this is opt-in via a new project setting, disabled by default, but enabled for new projects, since it's the new standard behavior (and the only one in 4.0).
2025-03-31 07:59:37 +02:00
lawnjelly
d149a59513 Add GLOBAL_GET cached macros.
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.

Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-03-31 07:58:52 +02:00
Yufeng Ying
3b688f6162 Prevent inlining error print functions. 2025-03-31 07:45:49 +02:00
axewizardbgg
d8f68fa380 Docs: BitMap: Added description for opaque_to_polygons method 2025-03-31 07:45:28 +02:00
lawnjelly
0269f45fe5 Physics Interpolation - fix client interpolation pump
Client interpolation pump is moved AFTER the physics tick, after physics objects have been moved.
This is necessary because the `current` transform is also updated during the pump.
2025-03-31 07:45:07 +02:00
lawnjelly
f44455c377 Physics Interpolation - Auto-reset on set_physics_interpolation_mode()
Fixes historical bug where auto-reset wasn't working correctly.
Also fixes process modes on Cameras when mode is changed.
2025-03-31 07:42:42 +02:00
Nguyen Truong An
710d617e99
Merge pull request #8 from flashshare/pandemonium-homebrodot
Pandemonium homebrodot
2025-02-28 14:00:05 +01:00
Nguyen Truong An
4a1fbe48ba add missing endif 2025-02-28 10:07:50 +00:00
Nguyen Truong An
3ea9bf04a1 correct for both vita and horizon 2025-02-28 09:57:36 +00:00
Nguyen Truong An
100a0f50e2 correct for VITA 2025-02-28 09:49:25 +00:00
Nguyen Truong An
6ebb78c5ba submodules: recursive to download the sub module 2025-02-27 19:28:56 +00:00
Nguyen Truong An
fdf1e062ec correct unexpected end-of-file found 2025-02-27 18:55:25 +00:00
Nguyen Truong An
3acaf3b396 correct vita 2025-02-25 22:04:41 +00:00
Nguyen Truong An
54f13fbceb
Update switch_builds.yml 2025-02-25 16:02:15 +01:00
Nguyen Truong An
60548646b9
Update switch_builds.yml 2025-02-25 16:00:58 +01:00
Nguyen Truong An
8c40e35704 update 2025-02-25 14:21:30 +00:00
Nguyen Truong An
85871deaf7 update 2025-02-25 13:43:53 +00:00
Nguyen Truong An
052718535c
Update switch_builds.yml 2025-02-25 13:25:50 +01:00
Nguyen Truong An
5d5535e50b
Update switch_builds.yml 2025-02-25 13:00:33 +01:00
Nguyen Truong An
25082d657e
Update switch_builds.yml 2025-02-25 12:45:55 +01:00
Nguyen Truong An
234b73251b
Update switch_builds.yml 2025-02-25 12:43:43 +01:00
Nguyen Truong An
a80a68dd81
Update switch_builds.yml 2025-02-25 12:38:57 +01:00
Nguyen Truong An
e4218024cc
Update switch_builds.yml 2025-02-25 12:32:50 +01:00
Nguyen Truong An
143e02b825
Create switch_builds.yml 2025-02-25 12:30:51 +01:00
Nguyen Truong An
e0a87c0255
Update dir_access_unix.cpp 2025-02-25 12:11:46 +01:00
Nguyen Truong An
a1c966688e
Merge pull request #7 from flashshare/master
Switch testing
2025-02-25 11:51:08 +01:00
Nguyen Truong An
a81c5d620b Merge remote-tracking branch 'homebrodot/4.x' into pandemonium-homebrodot 2025-02-25 10:45:00 +00:00
Nguyen Truong An
9b702cf4ac
Merge pull request #5 from flashshare/Relintai-master
Relintai master
2025-02-23 13:50:14 +01:00
Nguyen Truong An
0d0b0ada5d Merge branch 'master' of https://github.com/Relintai/pandemonium_engine into Relintai-master 2025-02-23 13:46:39 +01:00
320da06260 Fix windows build. 2025-02-14 19:51:19 +01:00
f56182466f Fix compile on windows, osx, and javascript. (Hopefully.) 2025-02-14 19:43:35 +01:00
b248a28ccf More tweaks to TerrainChunk's new scene api. 2025-02-14 18:02:32 +01:00
9841d6fdc8 Small variable name tweak. 2025-02-14 17:51:08 +01:00
10c5076819 Added the new scene_add() method to TerrainWorld. Also store scenes from props inside chunks. 2025-02-14 17:49:07 +01:00
9d6ec2bb65 Tweaks and improvements to TerrainChunk's new scene api. 2025-02-14 17:48:33 +01:00
39eeba0efd Added scene storage api to TerrainChunks.
Also mass replaced the typo "tarnsform" to "transform", and fixed a
parameter name in a TerrainChunk binding.
2025-02-14 16:57:32 +01:00
418bac4209 Added owned_lights property to TerrainChunk. Also changed the lights property it is now scripting only, it won't get saved. 2025-02-14 16:39:25 +01:00
6e9e3fd580 Now TerrainLights inherit from Resource. 2025-02-14 16:27:21 +01:00
6786193010 Added to_dict() and from_dict() methods to TerrainLight/ 2025-02-14 16:25:37 +01:00