Commit Graph

478 Commits

Author SHA1 Message Date
Stanislav Denisov cb90f0bca6 Fix race condition in loading content into editor scene tabs (#1352) 2025-12-10 07:37:38 +01:00
Stanislav Denisov d897492060 Fix zero bone opacity doesn’t disable bone picking (#1353) 2025-12-10 07:35:08 +01:00
Stanislav Denisov 0d66e744e0 Implement a thumbnail renderer for prefab scenes (#1350) 2025-12-09 08:54:47 +01:00
Stanislav Denisov 32fbee5613 Implement persistence for the editor window's size (#1336)
Implement persistence for the window size
2025-11-26 16:16:30 +01:00
Stanislav Denisov 688fab2d8f Allow entities to be duplicated without GUI focus (#1330) 2025-11-26 08:25:13 +01:00
Turánszki János ffcc3abdf6 custom shared_ptr updates (#1324) 2025-11-25 09:43:19 +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 0ddcdb40d2 editor: add SPACE as bindable key (#1302) 2025-11-16 07:01:25 +01:00
Stanislav Denisov 3fc5efbb46 Implement placing in front of the camera option (#1294) 2025-11-11 08:09:02 +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 3a700be691 Implement wireframe overlay (#1282) 2025-11-04 14:31:53 +01:00
Dennis Brakhane 764fd0c5ca fix exit button on Windows, and in edge cases on Linux (#1262)
After #1258, the exit button (not close) didn't work at all in Windows
and on Linux it didn't actually cause the application to close if an
untitled file had been saved.

Rewrite the logic to work both for close as well as exit.
2025-10-30 07:09:46 +01:00
Martin Knecht ff9a160535 Add question to SDL to mirror windows behaviour (#1258)
* Add question to SDL to mirror windows behaviour

* don't exit until saving is done

* fixes

---------

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
Co-authored-by: Dennis Brakhane <brakhane@gmail.com>
2025-10-29 06:53:38 +01:00
Turánszki János 01c9c5efca optimization of sampler access in forward passes and some other updates (#1257) 2025-10-28 07:51:26 +01:00
Stanislav Denisov 584ed3d5ab Fix camera reset for untitled scenes (#1259) 2025-10-28 07:05:13 +01:00
Stanislav Denisov 6f4441ad90 Implement the application exit method (#1255) 2025-10-27 07:23:21 +01:00
Turánszki János 334cdc881b editor: camera preview render disabled when camera wnd is collapsed #1244 2025-10-17 08:01:46 +02:00
Stanislav Denisov a00fb8efc2 Implement a dialog for unsaved changes (#1241)
* Track unsaved scene changes

* Implement a dialog for unsaved changes

* Exclude all selection actions from scene change tracking
2025-10-15 17:39:15 +02:00
Stanislav Denisov d022decb17 Add editor options to disable rounded corners and gradients (#1239)
* Add editor options to disable rounded corners and gradients

* Use checkbox states to get editor option values
2025-10-13 16:40:22 +02:00
Turánszki János 5dc4f68e94 Mesh blend (#1215) 2025-09-03 08:46:48 +02:00
Dennis Brakhane f0bd5a8086 Don't use by reference capture by default (#1207)
replace [&] with [this] or [] where possible to avoid people
accidentally capturing something by reference that needs to be
copied, like strings.
2025-08-13 08:46:42 +02:00
Turánszki János 7ecd39dd6e Warning fixes and changes for Linux
- Disabled warnings as errors
- Using -Wall for specifying commonly used warnings
- Fixes for many warnings in the engine code
2025-07-29 19:59:53 +02:00
Turánszki János 496fa99c92 prefer forward slashes in places where filename will be given to user and saved 2025-07-26 14:14:00 +02:00
Dennis Brakhane 9efa9ddcfc cmake: add build flags for using AVX2 etc., work around GCC bug (#1167)
* cmake: work around GCC bug when compiling Jolt

* cmake: add build flags for using AVX2 etc.

On linux, AVX2 was used by default for compiling Jolt,
buy not in other parts, which clang doesn't like
(specifically inlining functions using a disabled instruction set)

So now, we just define some compile time options to enable/disable
AVX2, AVX, AVX512 etc. and make the compiler use the code for
everything, not just Jolt. By default, AVX2 is used.

Furthermore, the CMakeLists files were slightly refactored to be
a bit less messy.

* silence GCC warnings

* fix clang build on window

* disable another gcc warning-turned-error

* spring initialization fix

* size_t initializaed to 0 instead of -1

* remove initialization

---------

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
Co-authored-by: Turánszki János <turanszkij@gmail.com>
2025-07-13 16:24:39 +02:00
Turánszki János 7e0d2f807e fix for application exe cutomization on linux (#1164) 2025-07-12 10:00:35 +02:00
Turánszki János 15c22fd666 Wave effect, AMD lightmap fix and other updates (#1156) 2025-07-10 17:40:57 +02:00
Turánszki János 1e80b4b420 added CreateScreenshotWithAlphaBackground feature 2025-06-28 11:53:29 +02:00
Turánszki János 67aa970c7a some improvements 2025-06-27 08:24:35 +02:00
Turánszki János 95ef71521f editor and project creator updates 2025-06-26 07:50:29 +02:00
Turánszki János 1ec0e5d2ab editor: revert part that was checked in commented out by mistake 2025-06-25 19:34:32 +02:00
Turánszki János 82935701b5 editor fix: theme was accidentally applied in every update 2025-06-25 17:38:15 +02:00
Turánszki János 76607272d2 editor theme refresh refactor 2025-06-25 09:20:34 +02:00
Turánszki János 9ad8d841af some editor updates 2025-06-25 07:52:04 +02:00
Turánszki János 50e00517cf improvements for rename key handling 2025-06-24 09:22:04 +02:00
Anke_Does_Coding 46149bf0e1 Added hotkey for renaming the selected (#1137) 2025-06-24 07:16:23 +02:00
Turánszki János 33f0ed9598 Theme editor (#1134) 2025-06-19 09:13:08 +02:00
Turanszki Janos 24abcd840f put font initializer on main thread so init text can be immediately rendered and fonts added more easily 2025-06-16 08:25:03 +02:00
Turanszki Janos 469197ede2 editor fix: adding font awesome only after system init completed, to not replace default font by mistake 2025-06-15 10:37:43 +02:00
Turánszki János 997ec4fca5 handle windows dark mode theme and some color changes in editor 2025-06-12 06:54:41 +02:00
Turánszki János 334e5dbc3a added inverse blend mode (#1124) 2025-06-11 07:41:04 +02:00
Turánszki János 2183ddaac4 Linux cursor loading, texture to cursor helper (#1121) 2025-06-09 06:50:59 +02:00
Turánszki János 5a4e0e8998 editor: load icon font earlier and disable some things if the executable uses script replacement 2025-06-08 07:33:22 +02:00
Turánszki János 030413c9cc Project creator (#1118) 2025-06-07 17:38:36 +02:00
Turánszki János 0c514a1937 paint tool fixes: terrain mode caused stuck gui; mouse scroll shoudln't modify camera speed in paint tool mode because it is used for brush size; stabilizer is 1 in default config; 2025-05-29 17:07:03 +02:00
Turánszki János a948117ee6 added textured rectangle lights and improved video frame pacing logic 2025-05-18 15:52:12 +02:00
Turánszki János cdb5f8f274 Video decode fixes for AMD GPU (#1099) 2025-05-03 08:42:51 +02:00
Turanszki Janos 66181dacbd editor save text hdr output fix 2025-05-01 14:09:34 +02:00
Turanszki Janos 554b404ad9 VRMA import fix, annd added bone picker display for humanoids without armature 2025-04-29 16:54:13 +02:00
Turánszki János 19e493f0d9 Added initial support for VRMA import 2025-04-29 09:08:34 +02:00