Commit Graph

764 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
2d3d7a670f Update to latest NazaraUtils version 2024-01-25 17:36:44 +01:00
SirLynix
9ada93b995 Remove spaces before line feed 2024-01-25 14:38:06 +01:00
SirLynix
639f6708b0 Core/StringExt: Replace ptr + size by a view in IterateOnCodepoints parameter
Also increase buffer size to increase performance
2024-01-22 17:02:26 +01:00
SirLynix
7ae76b32b0 Utility: Rework MaterialData 2024-01-04 17:47:41 +01:00
SirLynix
2125b80b8d Use std::string_view for strings 2024-01-04 14:40:50 +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
SirLynix
448cf66846 Minor fixes 2024-01-02 11:50:04 +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
SirLynix
0c29bce3d8 Utility/SubMesh: Allow tangent generation with 3D texcoords 2023-12-04 09:46:31 +01:00
Lynix
079f153640 Minor fixes 2023-11-28 20:05:09 +01:00
SirLynix
2622951144 Minor fixes 2023-11-26 11:25:52 +01:00
SirLynix
1ac992b5c7 Graphics: Add Billboard support 2023-11-25 15:52:58 +01:00
Lynix
5f796666f0 Minor fixes 2023-11-21 22:07:00 +01:00
SirLynix
5a14808a57 Minor fixes 2023-11-17 11:58:03 +01:00
SirLynix
ddf0dc88bc Minor fixes 2023-11-15 08:07:06 +01:00
SirLynix
cf222941ec Utility/Image: Fix functions taking a Color 2023-11-14 15:41:59 +01:00
Lynix
e5789d1749 Switch Nazara to C++20 2023-11-14 14:24:28 +01:00
SirLynix
886991f86d Graphics: Add PipelinePassList loader (able to load from a file)
Fix compilation
2023-11-06 21:30:49 +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
a3bf80a805 Utility/PixelFormat: Fix a bunch of conversions 2023-09-08 09:10:38 +02: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
557da10dc6 Rework TextDrawer interface 2023-08-24 17:47:20 +02:00
SirLynix
ad738a2803 Core/StringExt: Add IterateOnCodepoints to remove std::u32string allocations 2023-08-24 08:42:25 +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
c97bba71e7 Utility/Node: Translate comment 2023-08-04 12:28:32 +02:00
SirLynix
96618cbb5b Fix some warnings 2023-06-27 19:31:24 +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
SirLynix
628a3a8375 Include fixes 2023-06-07 13:30:25 +02:00
SirLynix
caf8446707 Math: Remove Algorithm file and move string functions to StringExt 2023-06-06 08:59:58 +02:00
SirLynix
b9c1559d97 Random code cleanup 2023-06-05 18:05:16 +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
2886a2e0c0 Rename EnumMap to EnumArray after nazarautils update 2023-05-30 13:49:19 +02:00
SirLynix
f2f90e2ca3 Fix compilation 2023-05-30 12:37:22 +02:00
SirLynix
68b3e31eec Utility/PixelFormat: use std::string_view to store name 2023-05-30 12:33:40 +02:00
SirLynix
dfe6b2ddcf Make use of the new EnumMap class 2023-05-30 12:32:37 +02:00
SirLynix
1d32af53c5 Renderer: Add mipmaps generation support 2023-05-14 18:55:41 +02:00
SirLynix
383e905b3f Utility/Image: Add LoadFaceFromImage 2023-05-12 19:14:44 +02:00
SirLynix
bbbd3f88c1 Core: Add DisabledComponent (to temporary disable an entity) 2023-05-07 22:43:48 +02:00
SirLynix
19d0342082 Fix warning 2023-05-01 18:36:34 +02:00
SirLynix
2f5db80183 Remove empty source files 2023-04-11 13:51:11 +02:00
SirLynix
71bc39bfa6 Prepare for merge 2023-04-10 17:12:23 +02:00
SirLynix
96cc9aa9d7 Rebase fixes 2023-04-10 17:12:23 +02:00
SirLynix
021801f02e Continue Jolt integration 2023-04-10 17:12:23 +02:00