Commit Graph

15 Commits

Author SHA1 Message Date
StarryWorm d610492fef Separate ResourceFormat* methods from main classes 2026-03-27 07:16:20 -04:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Rémi Verschelde f5a290ac46 Move RenderingServer enums to a dedicated RenderingServerEnums (RSE) namespace
A number of headers in the codebase included `rendering_server.h` just for
some enum definitions. This means that any change to `rendering_server.h` or
one of its dependencies would trigger a massive incremental rebuild.

With this change, we decouple a number of classes from `rendering_server.h`,
greatly speeding up incremental rebuilds for that area.

On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 60s (from 2m57s).
2026-02-25 19:43:03 +01:00
Thaddeus Crews ae9732139a Merge pull request #109433 from KoBeWi/hastension
Add `has_extension()` method to String
2025-10-31 09:23:30 -05:00
chocola-mint ead282ff13 Remove file_access.h and script_backtrace.h includes from logger.h. 2025-10-05 17:49:23 +09:00
Aaron Franke 9fbf5808a0 Rename server "free" functions to "free_rid" to match exposed API 2025-09-30 16:52:25 -07:00
kobewi a33ae0be0e Add has_extension() method to String 2025-08-12 13:15:16 +02:00
K. S. Ernest (iFire) Lee 06a7b11a47 Fix Texture3D import not working
Fix Texture3D import not working when texture has fully opaque and (partly or fully) transparent slices.

For better style make cases of detect_alpha check against the exact enums rather than the enum 0.
2025-07-26 10:22:36 -07:00
LuoZhihao 8ba4656ea3 Compile out editor-only logic within validate_property in games 2025-06-12 12:54:19 +08:00
Rémi Verschelde d49012f01d Merge pull request #105561 from bruvzg/a_pix
Fix `is_pixel_opaque` bound checks.
2025-06-10 12:29:46 +02:00
kobewi 34b485d62b Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
Pāvels Nadtočajevs f3d3bf9d03 Fix is_pixel_opaque bound checks. 2025-04-19 12:51:59 +03:00
A Thousand Ships a1846b27ea Improve use of Ref.is_null/valid
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
jsjtxietian 1b2a838e21 Add check in CompressedTextureLayered::get_layer_data to prevent crash 2024-02-16 22:41:05 +08:00
Hendrik Brucker 7e21eb7e00 Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00