Commit Graph

67 Commits

Author SHA1 Message Date
SirLynix
04bfa97579 Add Application base classes (WIP) 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
SirLynix
9cd7976a91 Remove "MemoryManager" and very old code 2022-09-24 14:25:52 +02: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
36d3c51eeb Add module configurations 2020-09-17 20:10:39 +02:00
Jérôme Leclercq
fd1d416510 Rename Module to ModuleBase 2020-09-11 13:39:18 +02:00
Jérôme Leclercq
a7fac3beb8 Rework modules 2020-09-10 20:12:09 +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
b0c72a6101 Replace platform backends by SDL 2020-05-27 17:47:52 +02:00
Lynix
c071f52d8f Platform/Mouse: Add SetRelativeMouseMode 2020-05-27 17:08:49 +02:00
Jérôme Leclercq
1425f99edf Merge branch 'master' into SDL2 2020-05-27 11:11:21 +02:00
Jérôme Leclercq
8d8f44f4b9 Make Windows implementation DPI-Aware (+ fix issue with window position) (#322)
* WindowImpl : Fix windows centering on desktop

* WindowImpl : Make nazara DPI aware

* Refactor dpi stuff

* Minor aesthetic stuff

* More minor stuff

Co-authored-by: HardCPP <hardcpp@gmail.com>
2020-05-18 17:04:52 +02:00
Lynix
9507c56fc9 PixelFormat rename
PixelFormatInfo => PixelFormatDescription
PixelFormat => PixelFormatInfo
PixelFormatType => PixelFormat
2020-04-10 14:19:36 +02:00
REMqb
96ea792656 ~ Formatting 2020-03-21 12:42:50 +01:00
Lynix
c23b6dfa01 Copyright year update
I can't wait to see the conflicts this will cause
2020-03-05 17:27:26 +01:00
Lynix
6fd31d1c71 [Posix] Moar fixes 2020-02-23 11:29:54 +01:00
Lynix
a51e77fe83 [Posix] Fix compilation 2020-02-23 11:14:41 +01:00
Lynix
6ec2f3e56e More Linux fixes 2020-02-23 02:49:32 +01:00
Lynix
3d22321109 Big f***ing cleanup part 1 2020-02-23 00:42:22 +01:00
REMqb
ef791e2f3c ~ WIP input IME 2019-12-19 19:59:43 +01:00
Lynix
37c16dc202 Platform/Event: Add x/y mouse position to MouseWheelEvent 2019-07-05 22:17:22 +02:00