Commit Graph

158 Commits

Author SHA1 Message Date
SirLynix
22a047b3b1 Add tab outside of indent check 2024-01-26 14:38:59 +01:00
SirLynix
6757de1be8 Add end-of-line spaces checker 2024-01-26 10:43:00 +01:00
SirLynix
9ada93b995 Remove spaces before line feed 2024-01-25 14:38:06 +01:00
SirLynix
7ae76b32b0 Utility: Rework MaterialData 2024-01-04 17:47:41 +01:00
SirLynix
7dc7104cc4 Update to latest nazarautils 2024-01-02 12:02:45 +01:00
SirLynix
d2e2c075b4 Update copyright year 2024-01-02 12:02:14 +01:00
Jérôme Leclercq
79ec135af7 Optimize out a lot of std::string construction and allocations (#415)
Update CommandLineParameters.hpp

Update CommandLineParametersTests.cpp

Update WebContext.hpp

xmake check-files -f

Fix MaterialPassRegistry
2023-12-30 14:50:57 +01:00
Lynix
4065fbfb1a Core/OpenMode: Rename ReadOnly/WriteOnly to Read/Write 2023-12-25 19:49:03 +01:00
Lynix
079f153640 Minor fixes 2023-11-28 20:05:09 +01:00
Lynix
e5789d1749 Switch Nazara to C++20 2023-11-14 14:24:28 +01:00
SirLynix
4b8a475bbd Split error macro into two versions (format vs non-formating) to allow format checking at compile-time 2023-11-02 15:18:03 +01:00
SirLynix
1009b296a1 Update for latest nazarautils 2023-09-08 09:10:22 +02:00
SirLynix
aef8b01f15 Math/Box: Rename FromExtends to FromExtents 2023-09-08 09:06:26 +02:00
SirLynix
bd53245f42 Core/StringExt: Don't pass string_view by ref
https://quuxplusone.github.io/blog/2021/11/09/pass-string-view-by-value/
2023-08-24 08:23:14 +02:00
SirLynix
a741672a51 Allow error message to be formatted 2023-08-15 01:10:01 +02:00
SirLynix
b5206ebdb7 Utility/STBSaver: Replace static map by constexpr unordered_map 2023-06-13 19:39:28 +02:00
NeDKaM
ced5083aef Utility : Fixed STBSaver supported file extensions 2023-06-13 19:30:27 +02:00
Jérôme Leclercq
1a55b550fb Improve math module (#396)
* Improve math module

- Mark almost everything constexpr
- Equality (a == b) is now exact, down to the bit level. If you want approximate equality use the new ApproxEqual method/static method
- Rename Nz::Extend to Nz::Extent
- Removed Make[] and Set[] methods in favor of their static counterpart and operator=
2023-06-02 22:30:51 +02:00
SirLynix
19d0342082 Fix warning 2023-05-01 18:36:34 +02:00
SirLynix
9b4d297c04 Update includes for new NazaraUtils version 2023-03-19 13:01:56 +01:00
SirLynix
04e177a1fe Utility: Fix OBJ & MTL parsing when extra-space are present 2023-02-26 14:26:37 +01:00
SirLynix
292ca60592 WIP 2023-02-02 20:34:25 +01:00
SirLynix
88a0bf95ca Utility/ImageStream: Use Time class instead of UInt64 for frametime 2023-02-02 13:27:21 +01:00
SirLynix
f98cbcd00a Copyright year update 2023-01-22 17:41:18 +01:00
SirLynix
9a553e5e9d Core: Make Color constexpr 2022-12-29 12:13:00 +01:00
SirLynix
9578ba3ef5 Add initial support for compute pipelines 2022-12-25 19:19:16 +01:00
SirLynix
830eee78a8 Math: Rework Box and Rect classes 2022-12-18 14:57:14 +01:00
Jérôme Leclercq
f42df21660 Fix unity build 2022-11-28 11:14:40 +01:00
SirLynix
6b8be23fa0 Switch index/vertex count to UInt32 2022-10-31 19:54:25 +01:00
SirLynix
6bf4ccaae1 Core/ParameterList: Rework Parameter getter using Result 2022-09-09 13:47:06 +02:00
SirLynix
72d908817d Fix compilation with unity build 2022-09-07 19:28:41 +02:00
Jérôme Leclercq
5cb50928f7 Utility: Fix STBLoader 2022-09-07 15:40:14 +02:00
SirLynix
47cb878f9d Major ResourceLoader rework (using Nz::Result) 2022-09-07 13:31:04 +02:00
SirLynix
a9801894e8 Merge fixes 2022-08-25 12:59:01 +02:00
SirLynix
b8ea79c40e Commit current work 2022-08-25 12:59:01 +02:00
SirLynix
6f1e72b2ac Merge fixes 2022-08-25 12:59:01 +02:00
SirLynix
104f60f3e7 Add support for GPU skinning (WIP) 2022-08-25 12:59:01 +02:00
Lynix
ad8b46db38 Rename Diffuse to BaseColor 2022-07-19 20:02:01 +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
13f765fc0d Utility: Fix GIF loading 2022-04-27 18:24:00 +02:00
SirLynix
2a091d25b7 Utility: Add ImageStream and GIF support 2022-04-27 18:24:00 +02:00
SirLynix
e7274b24e9 Core/Color: Switch formal from RGBA8 to RGBA32F 2022-04-23 16:08:15 +02:00
SirLynix
7fccfbb63e Minor fixes 2022-04-19 18:32:16 +02:00
SirLynix
c209552f81 Math/Matrix4: Rework "transform matrix" support 2022-04-19 18:32:16 +02:00
SirLynix
effe384c0b Utility/MD5Mesh: Fix shader reading 2022-04-19 18:32:16 +02:00
SirLynix
b7493f01bf Formats: Rename parameter to skip loader
From SkipNative to SkipBuiltin
2022-04-08 13:35:47 +02:00
SirLynix
ad80f3e0ec Utility: Switch static unordered_set to constexpr 2022-04-07 08:42:10 +02:00
SirLynix
9d526741b9 Add proper support for IndexType and uint32 indices 2022-04-04 09:02:00 +02:00
Jérôme Leclercq
6bd9f1a9e4 Add unity build support 2022-03-15 12:44:21 +01:00
Jérôme Leclercq
2ebcddf9de Core/CallOnExit: Rework to use template instead of std::function 2022-01-23 00:16:09 +01:00