Commit Graph

4799 Commits

Author SHA1 Message Date
Dennis Brakhane c45dc7f58f cmake: also build using clang on windows (#1325)
also update CCache to newest version
2025-11-24 15:49:05 +01:00
Turánszki János 90e94ed473 placement new is allowed for gfx objects 2025-11-24 09:28:43 +01:00
Turánszki János 40f862135b windows cmake test build (#1321) 2025-11-24 09:27:35 +01:00
Dennis Brakhane 16a1942975 fix typo in #1322 (#1323) 2025-11-23 16:38:54 +01:00
Turánszki János 2f681cb7eb looks like exceptions were not disabled properly, now they are 2025-11-23 16:25:29 +01:00
Dennis Brakhane e1dc87e44a prevent calling destructor when original refcount was 0 (#1322)
Fixes #1320
2025-11-23 16:15:30 +01:00
Turánszki János 7a5ea2f64f pooled shared ptr (#1316) 2025-11-22 17:12:26 +01:00
Dennis Brakhane 060164c1f1 make bind_ptrs constant (#1319) 2025-11-22 07:37:07 +01:00
Stanislav Denisov bad16f7aa1 Register the exit function for Lua (#1318) 2025-11-21 16:45:40 +01:00
Stanislav Denisov 9ddad740b8 Expose the character collision tolerance option (#1317)
* Expose the character collision tolerance option

* Expose the character collision tolerance option to Lua
2025-11-21 16:45:17 +01:00
Turánszki János 93278bea0e removed virtual tables from gfx objects, struct size reductions (#1315) 2025-11-20 18:10:59 +01:00
Turánszki János 14b9ee5d50 invalidate terrain chunks that are affected by a spline that was removed #1314 2025-11-20 08:00:25 +01:00
Stanislav Denisov f5a94f1d61 Implement update interval for environment probes (#1313)
* Implement update interval for environment probes

* Minor changes to environment probe
2025-11-20 07:40:31 +01:00
Dennis Brakhane 41ac9bd413 cmake: set gcc/clang flags on WIN32 (#1310) 2025-11-18 17:39:35 +01:00
Turánszki János 1df7a11904 Terrain partial invalidation for spline component (#1309) 2025-11-18 08:59:23 +01:00
Dennis Brakhane f0467c987d cmake: enable RTTI when UBSAN is active (#1308)
some checks UBSAN does require RTTI to work

(also, CMake syntax is awful)
2025-11-17 15:58:09 +01:00
Dennis Brakhane ccaaf209d9 get rid of some undefined behaviour (#1299) 2025-11-17 15:57:53 +01:00
Turánszki János acf8006e68 compile optimizations (#1301)
- removed exceptions
- removed runtime security checks from release builds
- disabled runtime type information
2025-11-17 08:00:19 +01:00
Dennis Brakhane 33fdc7454c Improve error message when no file dialogs are available (#1303) 2025-11-17 07:35:00 +01:00
Stanislav Denisov e0d8a5f68d Fix debug environment probe spheres drifting away (#1307) 2025-11-17 07:34:34 +01:00
Stanislav Denisov 89c2f82c19 Fix crash in combo box update (#1306) 2025-11-17 07:34:22 +01:00
Stanislav Denisov cdc6032380 Implement right-click open in new scene for content window (#1305)
Implement right-click open in new scene
2025-11-17 07:31:58 +01:00
Dennis Brakhane 0ddcdb40d2 editor: add SPACE as bindable key (#1302) 2025-11-16 07:01:25 +01:00
Dennis Brakhane 224c8fdf9e fix expression slider and dropdowns (#1300) 2025-11-15 07:09:03 +01:00
Turánszki János 359ade8d06 optimizations for hair particle system (#1298) 2025-11-14 09:04:49 +01:00
Stanislav Denisov 36c0b96c58 Add an option to bypass the system key (#1295)
* Fix the Alt key freezing the editor

* Add an option to bypass the system key

* Only check the config to bypass the system key
2025-11-12 15:14:37 +01:00
Stanislav Denisov 22e436f7a0 Implement rigidbody physics shape cache (#1291)
* Implement rigidbody physics shape cache

* Fix scaling is not applied to physics shapes that are not in the cache

* refactor, don't have breaking changes for physics interface

---------

Co-authored-by: Turánszki János <turanszkij@gmail.com>
2025-11-12 07:37:55 +01:00
Stanislav Denisov 2cc158ddf0 Implement adaptive granularity-based scrolling (#1293) 2025-11-11 08:11:47 +01:00
Stanislav Denisov 3fc5efbb46 Implement placing in front of the camera option (#1294) 2025-11-11 08:09:02 +01:00
Turánszki János 79a34bdfbe jobsystem: precomputed divisions in lut (#1290) v0.71.854 2025-11-08 10:25:17 +01:00
Stanislav Denisov 6e74c6a724 Implement distance-based culling for the physics bodies debug visualization (#1292)
Implement distance-based culling for the debug visualization
2025-11-08 09:08:08 +01:00
Turánszki János 3dc822df7e job system improvements (#1280) 2025-11-07 09:12:56 +01:00
Turánszki János d0604193f3 fix jerking video timer gui 2025-11-07 08:58:06 +01:00
Stanislav Denisov 8d1aded669 Fix editor's input system flaw (#1288) 2025-11-07 08:19:22 +01:00
Stanislav Denisov 4ace5b6f3a Implement terrain props reloading (#1287) 2025-11-07 08:18:50 +01:00
Stanislav Denisov 029f96003b Improve the formatting of config files (#1286) 2025-11-05 08:49:25 +01:00
Stanislav Denisov 4ad8d0bc71 Expose a function for setting the log file path (#1285) 2025-11-05 08:16:52 +01:00
Dennis Brakhane d7e9cc90cd cmake: add flags to enable sanitizers on linux (#1284)
Sanitizers added: address, undefined behaviour, thread

also rename WICKED_USE_{IPO,SYMLINKS} to WICKED_ENABLE_{IPO,SYMLINKS}
for consistency with the other options.
2025-11-04 17:17:59 +01:00
Dennis Brakhane 88f9d899ad linux: make crash_handler a bit more robust (#1283) 2025-11-04 17:00:05 +01:00
Stanislav Denisov 3a700be691 Implement wireframe overlay (#1282) 2025-11-04 14:31:53 +01:00
Turánszki János 8a9dbf911d fix for incorrect spirv shader compiler behaviour (glitchy tessellation, in/out mapping mismatches) 2025-11-04 10:17:59 +01:00
Turánszki János 152d61289a disable provoking ib from wireframe render mode 2025-11-04 09:38:22 +01:00
Dennis Brakhane 02e9eb0e26 cmake: omit lua.c (#1281) 2025-11-03 18:01:22 +01:00
Turánszki János 07486015ce fix for depth mismatch issue on Intel gpu with provoking index buffer #1279 2025-11-03 11:16:31 +01:00
Dennis Brakhane d0c6f9c9ec linux: work around DirectXShaderCompiler bug (#1276)
microsoft/DirectXShaderCompiler#7869 prevents us from using address
sanitizer if LC_ALL isn't set to en_US.UTF-8. So work around that by
temporarily setting it before calling the compile method which calls
the problematic MultiByteToWideChar method.
2025-11-03 06:34:06 +01:00
Stanislav Denisov 8ff4ca931b Fix editor window captures input while inactive (#1275) 2025-11-03 06:33:27 +01:00
Dennis Brakhane 7a53e1439c remove undefined behaviour (#1278)
technically memcpy with nullptr src or dst is not safe, even if size is
zero.
2025-11-03 06:32:25 +01:00
Dennis Brakhane 5d271bf0a2 archive: don't use undefined behaviour (#1277)
unaligned stores are technically undefinied behaviour, even though they
are allowed on x86. But replacing those with memcpy should result in the
same code on x86 anyway, as it's optimized away by the compiler, and
will not cause issues on other architectures that don't support it.
2025-11-03 06:31:17 +01:00
Turánszki János 4fd14334d8 vulkan buffer was not put on host correctly causing cpu performance issue #1274 2025-11-02 17:08:47 +01:00
Turánszki János 0d9be71755 ecs lookup table optimization (#1272) 2025-11-02 10:24:01 +01:00