Commit Graph

567 Commits

Author SHA1 Message Date
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
SirLynix
bbbd3f88c1 Core: Add DisabledComponent (to temporary disable an entity) 2023-05-07 22:43:48 +02:00
SirLynix
c69397707e Core: Add StateMachine
Backported from legacy Nazara
2023-05-07 22:42:54 +02:00
SirLynix
9aeaaa9495 Core/Application: Fix updater elapsed time 2023-05-06 15:44:52 +02:00
SirLynix
3e4f32140e Core/ApplicationBase: Fix elapsedTime in updaters for non-fixed intervals 2023-05-01 18:03:01 +02:00
SirLynix
de5e7bd8a8 Core/ApplicationBase: Add support for updaters with intervals 2023-04-23 19:45:33 +02:00
SirLynix
cdb4ff2de9 Fix compilation on wasm 2023-04-12 15:31:04 +02:00
SirLynix
f034e71ba4 Core/HardwareInfo: Fix compilation for other arch than x86 2023-04-12 14:10:55 +02:00
SirLynix
6d8734f288 Add support for ARM64 on Windows 2023-04-11 18:15:29 +02:00
Lynix
a3f7c437f4 Fix compilation with nazarautils changes 2023-04-03 14:02:55 +02:00
Lynix
f2bc00d2ea Core: Skip conversion to UTF-16 if filesystem::path is based on it 2023-04-03 12:51:26 +02:00
SirLynix
23cccaaf99 Core/ApplicationBase: Execute updaters before updating components 2023-03-25 14:47:47 +01:00
SirLynix
9b4d297c04 Update includes for new NazaraUtils version 2023-03-19 13:01:56 +01:00