Commit Graph

579 Commits

Author SHA1 Message Date
SirLynix
6059f608c0 Minor improvements 2023-12-04 00:22:36 +01:00
Lynix
5472514f4b Core: Add EnvironmentVariables 2023-12-02 13:56:23 +01:00
Lynix
079f153640 Minor fixes 2023-11-28 20:05:09 +01:00
SirLynix
72182327dd Core/PrimitiveList: Rework and inline the class 2023-11-26 21:27:24 +01:00
SirLynix
e8eebc1dfc Core/ParameterList: Take advantage of movement 2023-11-26 14:01:23 +01:00
Lynix
5f796666f0 Minor fixes 2023-11-21 22:07:00 +01:00
SirLynix
f2e77fb8a5 Rename Nz::Functor to Nz::AbstractFunctor 2023-11-17 13:19:21 +01:00
SirLynix
ddc8cc6797 Core: Rework ParameterFile
Improve parsing and usage
2023-11-17 11:57:05 +01:00
SirLynix
5e643bca7b Fix MinGW compilation 2023-11-15 08:06:50 +01:00
SirLynix
a4b10749f7 C++20 fixes 2023-11-14 15:40:48 +01:00
Lynix
e5789d1749 Switch Nazara to C++20 2023-11-14 14:24:28 +01:00
SirLynix
f0fd3b232c Core: Add generic ParameterConfig
This still needs to be improved
2023-11-12 12:54:34 +01:00
SirLynix
86e26008b3 Minor fixes 2023-11-12 12:51:56 +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
a803a9cff4 Core: Update UnicodeData 2023-11-02 08:27:10 +01:00
Jérôme Leclercq
5203a4fb49 Fix previous fix 2023-09-08 14:00:52 +02:00
Jérôme Leclercq
18efb2016d Fix Fletcher16 and CRC64 2023-09-08 13:40:30 +02:00
Jérôme Leclercq
e8ddac4964 Fix CRC32 2023-09-08 09:58:05 +02:00
SirLynix
1009b296a1 Update for latest nazarautils 2023-09-08 09:10:22 +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
66f7e4b6ad Core/SignalHandlerAppComponent: Fix warning 2023-08-17 18:05:03 +02:00
SirLynix
0989a25a99 Core/SignalHandlerAppComponent: Fix "failed to install signal handlers" warning popping out even if it worked 2023-08-16 18:18:33 +02:00
SirLynix
f2fc02cbd4 Core/ErrorFlags: Turn this class into an inline class 2023-08-16 18:11:18 +02:00
SirLynix
ab8bac2575 Use fmt store instead of ToString fallback
Thanks to @jonathanpoelen for the idea
2023-08-15 01:10:01 +02:00
SirLynix
a741672a51 Allow error message to be formatted 2023-08-15 01:10:01 +02:00
SirLynix
5444e4186e Core/Thread: Remove MinGW compiler defines (as they are now part of NazaraUtils) 2023-08-04 16:40:46 +02:00
SirLynix
816d9d1174 Allow to setup/override module configuration from commandline 2023-07-30 12:44:43 +02:00
SirLynix
e42b2c87fc Fix unity build compilation 2023-07-22 12:38:07 +02:00
SirLynix
6370e0d16d Core: Fix compilation with MinGW MCF threads 2023-07-22 12:25:40 +02:00
SirLynix
0c6ca52af0 Core/Thread: Fix MinGW compilation in unity build 2023-07-21 12:14:11 +02:00
Jérôme Leclercq
9e7b98a017 Fix recent GetThreadDescription change 2023-07-21 09:20:46 +02:00
SirLynix
ef669d8c9a Core/ThreadImpl: Fix GetThreadDescription link error on older Windows 2023-07-21 09:01:15 +02:00
SirLynix
f2bc1bff7a Update for latest nazarautils update 2023-07-17 19:05:15 +02:00
SirLynix
da6d3afa33 Core/ThreadImpl: Fix warning and merge implementations 2023-06-21 20:13:58 +02:00
SirLynix
504c0f771b Minor fixes 2023-06-09 09:24:03 +02:00
SirLynix
40bb69bc60 Core: Add SignalHandlerAppComponent 2023-06-07 22:28:55 +02:00
SirLynix
51ac2b71df Fix thread support on MinGW 2023-06-07 18:54:37 +02:00
Jérôme Leclercq
4c21821802 Core: Add missing GetCurrentThreadName on POSIX 2023-06-07 14:12:32 +02:00
SirLynix
bf0d7674c7 Core: Add thread extension functions 2023-06-07 13:35:40 +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
Jérôme Leclercq
c87c45f332 Fix missing include 2023-06-05 20:46:54 +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
d310bf478b Core/VirtualDirectoryFilesystemResolver: Fix unicode path 2023-05-30 19:09:11 +02:00
SirLynix
2886a2e0c0 Rename EnumMap to EnumArray after nazarautils update 2023-05-30 13:49:19 +02:00
SirLynix
dfe6b2ddcf Make use of the new EnumMap class 2023-05-30 12:32:37 +02:00
SirLynix
34b8bb5d65 Core/Resource: Pass filePath by value and move to prevent useless copy 2023-05-15 08:31:42 +02:00