Commit Graph

140 Commits

Author SHA1 Message Date
Wiktor Kocielski
5ceafaad77 WindowBase::Resized delegate 2023-09-06 05:47:51 +03:00
Wojtek Figat
50c85aec6d Minor improvements to #1315 and add getter of current window style 2023-08-21 23:33:33 +02:00
Chandler Cox
cfd11a7e77 Add borderless window on Windows platform and add easy function in Screen class to change window mode. 2023-08-14 18:11:05 -05:00
Wojtek Figat
615ec636d4 Fix crash when window gets deleted before show/close sequence 2023-07-04 10:42:49 +02:00
Wojtek Figat
9b570a46d2 Codestyle tweak 2023-06-23 21:28:16 +02:00
74760a7661 Add support for writing UTF-8 files in FileBase::WriteAllText 2023-06-21 13:17:46 +03:00
Wojtek Figat
f2ecefb7ee Refactor StringUtils 2023-05-28 21:16:29 +02:00
Wojtek Figat
587578ccfb Update platforms impl 2023-05-28 16:45:08 +02:00
Wojtek Figat
81ae687238 Merge remote-tracking branch 'origin/master' into 1.6 2023-05-28 16:34:38 +02:00
Wojtek Figat
9cdd1cbc45 Add Platform::GetMousePosition/WindowsPlatform::SetMousePosition for unified access to screen-space mouse position on all platforms
#1109
2023-05-28 15:30:16 +02:00
Wojtek Figat
ecc6f83130 Use Utilities::HertzToText from #1120 to log cpu clock speed 2023-05-28 12:03:22 +02:00
Wojtek Figat
7b8c013918 Various minor cleanups 2023-05-19 13:53:18 +02:00
Wojtek Figat
69cdb1268a Merge remote-tracking branch 'origin/master' into 1.6 2023-05-08 12:58:42 +02:00
Wojtek Figat
1c12e3d530 Fix bug in StringUtils::PathRemoveRelativeParts when going up to the Windows drive with relative path bits 2023-05-04 11:54:55 +02:00
Wojtek Figat
364676ceae Fix compile warning in 32-bit build 2023-04-18 18:19:34 +02:00
Wojtek Figat
bb84a51478 Add FileSystem::GetDirectorySize 2023-04-03 18:22:57 +02:00
Wojtek Figat
aeb0bf700f Fix old Platform proces api usage 2023-03-30 18:07:47 +02:00
Wojtek Figat
510fc443e8 Refactor CoreCLR runtime into explicit dotnet api instead of mocking mono api
Required by platforms that will use mono under the hood for .Net 7
New `USE_CSHARP` define for C# ability
Engine doesn't use `mono_*` apis directly but via MCore/MClass/MMethod/ apis
2023-03-27 17:29:42 +02:00
Wojtek Figat
eed2cdfe04 Progress on dotnet7 runtime hosting with mono 2023-03-22 17:59:46 +01:00
Wojtek Figat
3bbc7faf11 Refactor platform process startup with CreateProcessSettings 2023-03-22 14:09:20 +01:00
Wojtek Figat
0ba261d338 Add iOS platform (refactor Mac into shared Apple platform impl) 2023-03-15 20:58:23 +01:00
Wojtek Figat
60f21d1a92 Update old copyright headers 2023-03-03 17:14:35 +01:00
5b23a4b318 Update tracy to v0.9 2023-02-18 22:35:26 +02:00
Wojtek Figat
4b08cd3fd7 Fix compilation warning 2023-02-16 20:08:53 +01:00
Wojtek Figat
4fb336bc9e Add thread object usage docs #917 2023-02-15 15:39:01 +01:00
Wojtek Figat
ab3e4afb53 Merge branch 'fix_thread_join' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_thread_join 2023-02-15 15:33:44 +01:00
0ac5db45d1 Improve Linux file dialog support
Adds support for multi selection, filtering and initial folder for both zenity and kdialog. kdialog is also preferred over zenity when KDE is detected.
2023-02-03 22:27:27 +02:00
b0bc1fa310 Fix error when joining exited threads
The internal thread handles were cleared prematurely when attempting to join them. The handles should be also cleared when trying to kill already exited threads.
2023-01-29 21:30:01 +02:00
Wojciech Figat
a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojciech Figat
19f1c4251c Fix scripting api bindings for types with changed scripting name (other than native type name) 2022-10-26 15:00:29 +02:00
Cristhofer Marques
84009baeb0 change vars name and add code doc 2022-10-13 09:10:35 -03:00
Cristhofer Marques
7656c6981e added is flipping variables 2022-10-13 01:09:31 -03:00
Wojciech Figat
a3a44f0cef Add StringUtils tests and Paths test and fix detected problem with rooted path starting with ./ 2022-08-19 11:54:09 +02:00
Wojtek Figat
7f3a32a69b Improve cursor clipping logic (fix after alt+tab and confine to game window in Editor)
#691
2022-07-17 00:09:59 +02:00
Wojtek Figat
1f1c3adaf1 Merge branch 'feature-clip-cursor' of https://github.com/ScottLongley/FlaxEngine into ScottLongley-feature-clip-cursor 2022-07-16 09:03:47 +02:00
Wojciech Figat
c6e909c867 Refactor API_INJECT_CPP_CODE into API_INJECT_CODE to support code injection in other languages 2022-06-14 11:53:31 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Scott Longley
749895f2ca typo fixes 2022-02-18 21:58:46 +10:00
Scott Longley
8db4c3cfff Add ClipCursor (Windows only) 2022-02-18 21:14:08 +10:00
Wojciech Figat
18b156ad44 Fixes and tweaks 2022-01-26 16:55:22 +01:00
Wojtek Figat
f9eb709a18 Add window resizing and positioning on Mac 2022-01-18 19:10:13 +01:00
Wojtek Figat
54db90e040 Add open/save file dialogs for Mac 2022-01-18 13:45:48 +01:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
317a9d63bc Post-merge cleanup and improvements for #655 2022-01-11 15:04:40 +01:00
Wojtek Figat
c4b6865659 Merge branch 'master' into mac 2022-01-09 19:15:15 +01:00
Wojtek Figat
192af7ec14 Refactor native core objects to simplify usage for newcomers 2022-01-08 15:06:23 +01:00
Wojtek Figat
d202c8b864 Add mouse and keyboard input for Mac 2022-01-05 17:48:17 +01:00
Wojciech Figat
d017dd14ca Add Mac platform 2021-12-27 14:04:16 +01:00
Wojciech Figat
4322563eed Fix crash on thread end that used Mono runtime 2021-11-23 17:26:05 +01:00