Commit Graph

45 Commits

Author SHA1 Message Date
SirLynix
6fd90d63ef Fix check-files 2023-03-21 13:21:49 +01:00
SirLynix
9b4d297c04 Update includes for new NazaraUtils version 2023-03-19 13:01:56 +01:00
SirLynix
488f3ca6ef Minor fixes 2023-03-14 18:06:14 +01:00
SirLynix
5b3703347f OpenGLRenderer: Use a single context with WebGL 2023-02-02 20:34:25 +01:00
SirLynix
ea5c5240fc Improve emscripten support 2023-02-02 20:34:25 +01:00
REMqb
f172330aaf ~ WIP port emscripen (WebGL) 2023-02-02 20:34:25 +01:00
SirLynix
f98cbcd00a Copyright year update 2023-01-22 17:41:18 +01:00
SirLynix
18851c9185 Replace RenderWindow with swapchains 2023-01-22 12:37:58 +01:00
Jérôme Leclercq
082015a0c5 Fix macOS compilation (#384)
Disable X11 on macOS, I don't know why it's enabled
2022-11-19 13:37:42 +01:00
Jérôme Leclercq
03e2801dbe Split engine to packages NazaraUtils and NZSL (#375)
* Move code to NazaraUtils and NZSL packages

* Reorder includes

* Tests: Remove glslang and spirv-tools deps

* Tests: Remove glslang init

* Remove NazaraUtils tests and fix Vector4Test

* Fix Linux compilation

* Update msys2-build.yml

* Fix assimp package

* Update xmake.lua

* Update xmake.lua

* Fix shader compilation on MinGW

* Final fixes

* The final fix 2: the fix strikes back!

* Disable cache on CI

* The return of the fix™️
2022-05-25 19:36:10 +02:00
SirLynix
2389a2fe53 Platform/WindowManager: Rename to WindowBackend 2022-04-23 16:26:59 +02:00
SirLynix
f19178d904 Fix X11 polluting namespace with unity build 2022-04-08 08:49:36 +02:00
Jérôme Leclercq
7621844741 Fix SDL includes 2022-03-20 13:37:27 +01:00
Jérôme Leclercq
a6dce6861d macOS fixes 2022-03-20 10:02:31 +01:00
Jérôme Leclercq
0469ecb300 macOS fix 2022-03-20 09:19:50 +01:00
Jérôme Leclercq
6bd9f1a9e4 Add unity build support 2022-03-15 12:44:21 +01:00
SirLynix
89c7bbf197 Update copyright date 2022-01-01 15:30:09 +01:00
Jérôme Leclercq
b98fd65a01 Fix a lot of small bugs/warnings 2021-12-25 20:07:53 +01:00
Jérôme Leclercq
97de5af838 Platform/SDL2: Refactor implementation 2021-12-01 10:42:01 +01:00
Jérôme Leclercq
e73489e958 Platform/Events: Replace MousebuttonDoubleClicked with clickCount in MouseButtonEvent 2021-11-30 12:38:57 +01:00
Jérôme Leclercq
d0aad3ee1e Platform: Add initial Clipboard support (only text is supported) 2021-11-28 20:14:15 +01:00
Jérôme Leclercq
a02b1952c0 Apply header order fix 2021-10-28 09:53:56 +02:00
Jérôme Leclercq
f491ee1e38 Apply inclusion fix 2021-10-27 18:09:19 +02:00
Jérôme Leclercq
93ec196dc4 Apply header guard check 2021-10-26 15:52:46 +02:00
Jérôme Leclercq
ed7ab31933 Apply copyright fix to all files 2021-10-26 14:31:35 +02:00
Jérôme Leclercq
874fb3542e Convert all remaining enums to enum classes (!) 2021-05-25 10:40:07 +02:00
Jérôme Leclercq
ba7c56ddfa Upgrade Platform 2021-05-25 10:40:07 +02:00
Jérôme Leclercq
26de5872eb Merge branch 'master' into graphics-next 2021-05-17 18:58:04 +02:00
Jérôme Leclercq
bd9d30407c Fix SDL2 cursor 2020-11-17 17:44:31 +01:00
Jérôme Leclercq
7526923a8d Platform: Fix space not generating a text event 2020-11-17 17:43:42 +01:00
Jérôme Leclercq
af55ecc2a5 Fix SDL2 crash when creating cursor
Enfoiré de REMqb
2020-11-12 16:28:33 +01:00
Jérôme Leclercq
2b6a463a45 Remove Nz::String and Nz::StringStream 2020-09-25 19:31:01 +02:00
Jérôme Leclercq
b2a7e620e0 Merge branch 'master' into nazara-next 2020-08-27 20:12:36 +02:00
Jérôme Leclercq
1a12e18a36 Fix copyright dates and some defines 2020-08-11 00:01:49 +02:00
Lynix
1b4199c0a7 Platform/SDL2: Don't SDL_PumpEvents when not owning Windows
This is a temporary fix
2020-06-02 16:40:08 +02:00
Lynix
1734b8e5db SDL fixes 2020-05-27 20:37:20 +02:00
Lynix
e0e7435c55 Merge fixes 2020-05-27 20:03:46 +02:00
Lynix
68208f5426 Merge branch 'master' into vulkan 2020-05-27 19:48:22 +02:00
Lynix
81f03f04e5 Revert Renderer to its pre-SDL state 2020-05-27 19:42:53 +02:00
Lynix
2d189dc85e Fix WindowHandles 2020-05-27 18:55:03 +02:00
Lynix
c071f52d8f Platform/Mouse: Add SetRelativeMouseMode 2020-05-27 17:08:49 +02:00
REMqb
96ea792656 ~ Formatting 2020-03-21 12:42:50 +01:00
REMqb
ef791e2f3c ~ WIP input IME 2019-12-19 19:59:43 +01:00
Lynix
ab5188c57d Add scancode and virtual key and fix some sdl stuff on Windows 2019-05-19 16:34:29 +02:00
REMqb
848f05a420 ~ Initial SDL2 implementation
Limitation
- Dependent projects need to set NAZARA_PLATFORM_SDL2 if nazara has been build with SDL2 since OpenGL.hpp (and maybe some other headers) exposes platform details
- SDL2 window doesn't supports async window since the API isn't fitting for now
- Contexts parameters can't be changed until we close all the SDL windows (SDL limitation)
2019-04-03 21:17:06 +02:00