Commit Graph

60 Commits

Author SHA1 Message Date
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
21680171a2 Replace GetPlatformEndianness() by PlatformEndianness constexpr
from nazarautils
2023-09-08 09:13:04 +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
6fd90d63ef Fix check-files 2023-03-21 13:21:49 +01:00
SirLynix
9b4d297c04 Update includes for new NazaraUtils version 2023-03-19 13:01:56 +01:00
SirLynix
f98cbcd00a Copyright year update 2023-01-22 17:41:18 +01:00
Jérôme Leclercq
dd421a6385 Replace float/UInt64 durations by a more precise Time class (#388)
Improve Clock class with atomic RestartIfOver method and allows to choose required precision
2022-12-29 21:31:46 +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
SirLynix
47cb878f9d Major ResourceLoader rework (using Nz::Result) 2022-09-07 13:31:04 +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
41712a3f18 Minor fixes 2022-05-08 13:21:20 +02:00
SirLynix
b7493f01bf Formats: Rename parameter to skip loader
From SkipNative to SkipBuiltin
2022-04-08 13:35:47 +02:00
SirLynix
66ff6cfa81 Minor fixes 2022-04-04 08:17:03 +02:00
Lynix
dc24ff33a4 Audio: Add sound stream test 2022-03-19 12:36:55 +01:00
Jérôme Leclercq
6bd9f1a9e4 Add unity build support 2022-03-15 12:44:21 +01:00
Jérôme Leclercq
8a3a8547dc Add light support (WIP) 2022-02-02 12:55:39 +01:00
SirLynix
89c7bbf197 Update copyright date 2022-01-01 15:30:09 +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
40bcfb1323 Audio: Allow to skip loaders 2021-06-20 14:08:12 +02:00
Jérôme Leclercq
4b3b595a99 Minor fixes 2021-06-04 18:02:28 +02:00
Jérôme Leclercq
0dd5e92a50 Audio: Add FLAC support 2021-06-03 17:21:15 +02:00
Jérôme Leclercq
f0b26efcd3 Audio/Music: Fix Seek method 2021-06-03 17:20:09 +02:00
Jérôme Leclercq
c243217dd8 Audio/minimp3Loader: Fix some warnings 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
577643d128 Audio: Remove libsndfile loader 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
312a6d3ba8 Fix libvorbisfile dependency 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
d5c27a756b Audio: Fix AudioFormat names (U16 -> I16) 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
2d16cf81d1 Audio: Minor fixes 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
79b6b87379 Audio: Add .ogg loader (using libvorbisfile) 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
557c23a9fa Minor stuff 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
2cd09833a4 Minor fixes 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
7ced0e5f08 Audio: Add .wav loader (using dr_wav) 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
28f1d8aa76 Audio: Minor fixes 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
d121393267 Audio: Add mp3 support + new demo 2021-05-30 16:45:50 +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
8cdd0b51cb Upgrade Audio (part 2) 2021-05-25 10:40:07 +02:00
Jérôme Leclercq
b936946154 Upgrade NazaraAudio 2021-05-25 10:40:07 +02:00
Jérôme Leclercq
a52103a641 Rework ResourceLoader, ResourceManager and ObjectLibrary
They're no longer static
2021-05-25 10:40:07 +02:00
Jérôme Leclercq
223b41490b Fix sndfile inclusion 2021-05-14 03:35:32 +02:00
Jérôme Leclercq
2b6a463a45 Remove Nz::String and Nz::StringStream 2020-09-25 19:31:01 +02:00
Jérôme Leclercq
a7fac3beb8 Rework modules 2020-09-10 20:12:09 +02: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
3d22321109 Big f***ing cleanup part 1 2020-02-23 00:42:22 +01:00
Jérôme Leclercq
ed46c87781 Refactor the way resources are loaded (#191)
* WIP

* WIP

* Font works

* WIP: Only Music remains

* Looks like it's working

* Fix oopsie

* Core/ObjectRef: Add cast functions

* Update ChangeLog.md

* Audio/SoundStream: Make sound stream thread-safe
2018-10-28 01:53:11 +02:00
germinolegrand
1e55c4d9e9 Prerequisites instead of Prerequesites (typo) #152 (#153) 2018-01-16 12:23:01 +01:00
DrLynix
f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00