REMqb
f172330aaf
~ WIP port emscripen (WebGL)
2023-02-02 20:34:25 +01:00
SirLynix
304bf35c08
Core/AppFilesystemComponent: Add Open method
2023-02-02 18:30:36 +01:00
SirLynix
3d2aa94ac4
Core/AppFilesystemComponent: Rename GetOrLoad to Load
2023-02-02 18:30:24 +01:00
SirLynix
35172f5028
Fix some warnings
2023-02-02 13:28:36 +01:00
SirLynix
eb74c6ed07
Restore plugin prefix
2023-01-29 21:59:24 +01:00
SirLynix
8bc953240d
Core/FilesystemComponent: Add a way to fix indices accross DLL boundaries
2023-01-29 18:13:35 +01:00
SirLynix
97fa4d98be
Rework EnTT integration
...
- Update EnTT to 3.11.1
- Moved EnTT wrapper to EnTTWorld, inheriting EntityWorld
- AppEntitySystemComponent can now handles multiple EntityWorld
- Headers relying on EnTT are now automatically included if NAZARA_ENTT is defined
- Renamed SystemGraph to EnttSystemGraph (as it depends on it for now)
2023-01-28 19:28:43 +01:00
SirLynix
d27ca55943
Core/AppFilesystemComponent: Add support for default resource parameters
2023-01-28 11:27:49 +01:00
SirLynix
ca0c4a5db7
Core: Add AppFilesystemComponent
2023-01-22 18:00:26 +01:00
SirLynix
f98cbcd00a
Copyright year update
2023-01-22 17:41:18 +01:00
SirLynix
2b7ff9274c
Core/Application: Add updaters
2023-01-22 12:37:58 +01:00
SirLynix
a71d4885f9
Core/Application: Accept module configuration
2023-01-22 12:37:58 +01:00
SirLynix
da9eb14ebe
Handle windows and EnTT with application components
2023-01-22 12:37:58 +01:00
Lynix
8db1c04568
Make Application template and responsible for modules init
2023-01-22 12:37:58 +01:00
SirLynix
04bfa97579
Add Application base classes (WIP)
2023-01-22 12:37:58 +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
2243d0b1a7
Move free operator overloads inside Nz namespace
2022-12-29 12:15:22 +01:00
SirLynix
763bef3fdd
Core: Make Uuid constexpr
2022-12-29 12:13:18 +01:00
SirLynix
9a553e5e9d
Core: Make Color constexpr
2022-12-29 12:13:00 +01:00
SirLynix
5ca2cf9320
Fix a bunch of warnings
2022-11-19 11:02:16 +01:00
Jérôme Leclercq
dc6ce8427c
Refactor material system ( #382 )
2022-10-31 19:53:41 +01:00
SirLynix
6d0b53b39e
Core: Rework HardwareInfo
2022-09-24 15:52:29 +02:00
SirLynix
9cd7976a91
Remove "MemoryManager" and very old code
2022-09-24 14:25:52 +02:00
SirLynix
6bf4ccaae1
Core/ParameterList: Rework Parameter getter using Result
2022-09-09 13:47:06 +02:00
SirLynix
47cb878f9d
Major ResourceLoader rework (using Nz::Result)
2022-09-07 13:31:04 +02:00
Lynix
45c947faf1
Core/PoolByteStream: Fix pool returning on Reset
2022-08-28 17:54:49 +02:00
SirLynix
3a366cc1e4
Core: Rewrite plugin system
2022-08-25 12:59:01 +02:00
SirLynix
09d21b4a45
Fix usage from C++20
2022-08-03 20:11:25 +02:00
SirLynix
2229dfd6e5
Core/VirtualDirectory: Handle physical directories as virtual directories
2022-07-07 08:50:03 +02:00
SirLynix
e7f4714747
Core/SystemGraph: Fix GetSystem
2022-07-07 08:45:02 +02:00
SirLynix
1b678defae
Add system graph (wip)
2022-07-02 19:45:50 +02:00
SirLynix
99b4397d78
Core: Add Lifetime component and system
2022-07-02 19:43:02 +02:00
SirLynix
d335c5d73c
Add FFmpeg plugin
2022-05-27 18:53:16 +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
3f8f1c4653
Core/TypeList: Improve ListConcat compile-time
...
seriously I have no idea why I implemented it like that
2022-05-19 09:04:06 +02:00
Lynix
0e82c2893a
Core/VirtualDirectory: Prevent storing . and .. entries
2022-05-16 21:32:59 +02:00
Lynix
dd4be081aa
Core/VirtualDirectory: Add Uproot property
2022-05-14 10:22:22 +02:00
SirLynix
7c2b8e0576
Core/File: Add WriteWhole static function
2022-05-12 18:11:41 +02:00
Lynix
df55a02fa7
Core/VirtualDirectory: Add GetFileContent method
2022-05-08 15:50:59 +02:00
Lynix
5f389ef0a4
Core/File: Add ReadWhole
2022-05-08 15:50:29 +02:00
SirLynix
41712a3f18
Minor fixes
2022-05-08 13:21:20 +02:00
SirLynix
0f58117b76
Fix compilation on macOS
2022-04-23 22:23:07 +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
138f2b88b3
Fix buffering issues
2022-04-19 13:38:44 +02:00
SirLynix
22f58fdbf5
Add stream buffering (WIP)
2022-04-09 18:22:57 +02:00
SirLynix
2b66ea1e90
Core/Bitset: Fix doc
2022-04-09 18:21:16 +02:00
SirLynix
68d2dfcae6
Move FieldOffsets class to Shader module and remove Utility dependency
2022-04-04 19:22:18 +02:00
SirLynix
66ff6cfa81
Minor fixes
2022-04-04 08:17:03 +02:00
Jérôme Leclercq
48b87cc99b
Core/DynLib: Fix extension handling
2022-03-20 13:42:41 +01:00
Jérôme Leclercq
04dfd25c74
CI: Try to build NazaraCore on macOS
2022-03-19 23:29:19 +01:00
Jérôme Leclercq
021fd9d031
macOS fix
2022-03-19 20:01:49 +01:00
Lynix
cf5e4b72e1
Core/StringExt: Add overloads of EndsWith
2022-03-19 14:19:52 +01:00
Jérôme Leclercq
82641c6653
Audio: Add dummy device (in case OpenAL fails to load) and unifiate unit tests
2022-03-18 19:03:57 +01:00
Jérôme Leclercq
615509d1ba
Add support for shader hotreloading
2022-03-17 21:36:36 +01:00
Jérôme Leclercq
79a5716110
Revert "Try to fix GCC error"
...
This reverts commit 11d5eb7d6063e6cf1da276cc5981d2d57e13f05e.
2022-03-15 12:44:21 +01:00
Jérôme Leclercq
9b1d8b5fcf
Try to fix GCC error
2022-03-15 12:44:21 +01:00
Jérôme Leclercq
6bd9f1a9e4
Add unity build support
2022-03-15 12:44:21 +01:00
Jérôme Leclercq
b92a9f8a1c
Core/VirtualDirectory: Fix physical path traversal
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
3d4271706a
Core/VirtualDirectory: Fix some bugs and add more tests
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
bfaa428b39
Fix compilation
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
db98b86eaf
Core: Rewrite VirtualDirectory class and add more tests
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
db0c1e6e8c
Shader: Add module resolver + use modules for engine shaders
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
d72ac9cc73
Core/Uuid: Add FromString builder method
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
505d996c88
Core: Add constexpr CRC32 function
2022-03-14 18:30:55 +01:00
Jérôme Leclercq
4a8ebf869b
Minor fixes
2022-03-09 20:05:33 +01:00
Jérôme Leclercq
72b664f42c
Core: Add Uuid class
2022-03-04 20:40:41 +01:00
Jérôme Leclercq
28531f5118
Minor changes
2022-02-25 19:36:54 +01:00
Jérôme Leclercq
a1b6f51398
Minor fixes
2022-02-21 20:46:37 +01:00
Jérôme Leclercq
ad544a595d
Core/MemoryPool: Add iterator
2022-02-21 20:45:25 +01:00
Jérôme Leclercq
29c798a683
Core/MemoryPool: Remake memory pool
2022-02-20 16:00:32 +01:00
Jérôme Leclercq
979bf2cc80
UnitTests: Improve hash unit tests (add file test)
2022-02-10 11:56:35 +01:00
Jérôme Leclercq
97ee89afb7
Rework hashes (also fix Fletcher16 and CRC64)
2022-02-10 01:46:58 +01:00
Jérôme Leclercq
f466a7494b
Update for EnTT 3.9
2022-02-08 20:05:14 +01:00
Jérôme Leclercq
89e9e41357
Core/SparsePtr: Use template type for +/- and +=/-=
2022-01-23 13:27:39 +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
Jérôme Leclercq
29786765c6
Big buffer refactor
...
Replaced RenderBuffer class, replaced AbstractBuffer by Buffer
2022-01-23 00:05:08 +01:00
Lynix
b917738ed4
Core/ResourceSaver: Remove leading point (".obj" => "obj")
2022-01-20 16:51:07 +01:00
Jérôme Leclercq
0af9a96294
Core/Color: Add Gray constant
2022-01-18 06:01:44 +01:00
Jérôme Leclercq
aac6e38da2
Core/Algorithm: Improve SafeCast to handle references
2022-01-02 21:59:58 +01:00
SirLynix
89c7bbf197
Update copyright date
2022-01-01 15:30:09 +01:00
Jérôme Leclercq
d1841356bf
Core/Algorithm: Improve AccessByOffset check and add error message
2021-12-29 14:35:26 +01:00
Jérôme Leclercq
feb1774eb2
Update Algorithm.inl
2021-12-25 20:25:43 +01:00
Jérôme Leclercq
b98fd65a01
Fix a lot of small bugs/warnings
2021-12-25 20:07:53 +01:00
Jérôme Leclercq
8ad01f9e6e
Core/Algorithm: Rewrite SafeCast
2021-12-25 18:37:07 +01:00
Jérôme Leclercq
84bc04cee7
Fix compilation
2021-12-01 20:35:18 +01:00
Jérôme Leclercq
01cd4986cc
Minor fixes
2021-11-28 20:19:37 +01:00
Jérôme Leclercq
caf1a0f1e8
Widgets: Add [Rich]TextAreaWidget
2021-11-24 22:25:39 +01:00
Jérôme Leclercq
a3d9aaf1fb
Merge branch 'master' into automatic-file-fix
2021-10-28 09:57:59 +02: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
66bbf63e87
Core/Algorithm: Add SafeCast
2021-10-26 20:26:13 +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
a66f6faed1
Add widgets (WIP)
2021-10-04 09:25:45 +02:00
Jérôme Leclercq
68708c54f7
Minor stuff
2021-10-04 09:24:42 +02:00
Jérôme Leclercq
f5dac32020
Minor stuff
2021-08-19 18:47:11 +02:00
Jérôme Leclercq
3de0edec6f
Graphics/RenderQueue: Remake it with a naive implementation
...
The idea is to improve it in the future, after profiling
2021-08-19 18:47:11 +02:00
Jérôme Leclercq
7e0137f367
Core/Flags: Fix std::hash include
2021-08-19 18:47:11 +02:00
Jérôme Leclercq
1c77a5e549
Core/Flags: Add std::hash specialization
2021-08-19 18:47:11 +02:00
Jérôme Leclercq
4ac5fe7cba
Graphics: Add RenderSystem and frame pipeline
2021-07-06 11:04:22 +02:00
Jérôme Leclercq
7cd772a254
Core/TypeList: Add Apply, Empty and Size operations
2021-07-06 11:00:53 +02:00
Jérôme Leclercq
c1a9a22177
Add initial ECS support
2021-06-20 14:06:28 +02:00
Jérôme Leclercq
fde60dab95
Add missing include
2021-06-05 01:38:49 +02:00
Jérôme Leclercq
4b3b595a99
Minor fixes
2021-06-04 18:02:28 +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
f0192c3b98
Core/ResourceLoader: Fix stream reset in case of error
2021-05-25 10:40:07 +02:00
Jérôme Leclercq
cce32a64d4
Upgrade Utility
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
26de5872eb
Merge branch 'master' into graphics-next
2021-05-17 18:58:04 +02:00
Jérôme Leclercq
6d6391ca46
Fix compilation
...
I forgot master was still in C++14
2021-03-30 17:48:32 +02:00
Jérôme Leclercq
48ab2a4b04
ObjectHandle: Fix handling of <T>
2021-03-19 09:55:36 +01:00
Jérôme Leclercq
7c5b1844d3
Core/Flag: Improve code
2021-02-19 14:51:21 +01:00
Jérôme Leclercq
32dcc11258
Core/Flags: Add AutoFlag property to disable automatic bit shifting
2021-02-19 14:45:37 +01:00
Jérôme Leclercq
73e86407b3
Fix some warnings
2020-10-30 23:08:27 +01:00
Jérôme Leclercq
0d779077c1
Core/Algorithm: Add AccessByOffset functions
2020-10-30 23:04:22 +01:00
Jérôme Leclercq
6007d8b4ad
Fix FileLogger noexcept attribute
2020-09-26 11:51:47 +02:00
Jérôme Leclercq
65337c6a38
Fix a lot of warnings and some errors
2020-09-26 11:44:09 +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
3f6f18859c
Fix compilation
2020-09-17 20:25:15 +02:00
Jérôme Leclercq
36d3c51eeb
Add module configurations
2020-09-17 20:10:39 +02:00
Jérôme Leclercq
fd1d416510
Rename Module to ModuleBase
2020-09-11 13:39:18 +02:00
Jérôme Leclercq
a7fac3beb8
Rework modules
2020-09-10 20:12:09 +02:00
Jérôme Leclercq
ae34533595
Minor fixes
2020-09-01 18:47:08 +02:00
Jérôme Leclercq
9d16559f55
Core/Bitset: Fix crash when resizing to zero
2020-08-27 19:25:43 +02:00
Lynix
8c2bfd296f
Core/StringExt: Prevent empty match call
2020-06-01 16:16:11 +02:00
Lynix
fca3d855bd
Core: Add MovableValue
2020-04-19 01:23:26 +02:00
Lynix
b58b35c322
Core: Add SplitString(Ext)
2020-04-15 19:37:41 +02:00
Lynix
b2d3605cf4
Fix includes
2020-04-10 17:36:43 +02:00
Lynix
87f1209327
Vulkan: Refactor command buffer and introduce command pool
2020-04-07 21:10:16 +02:00
Lynix
509c392e05
Implement UploadPool to efficiently update UBOs
2020-03-26 21:13:06 +01:00
Lynix
2b3241f354
Add RenderPipelineLayout
2020-03-05 20:35:31 +01: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
7bf734cdd4
Improve pipeline building
2020-03-03 22:26:57 +01:00
Lynix
7bbba14ba0
Fix merge
2020-02-25 20:22:46 +01:00
Lynix
269190bb75
Core/Bitset: Make use of if constexpr
2020-02-24 18:49:43 +01:00
Lynix
3fc67b3598
Core/FileLogger: Drop noexcept specifier for movement
...
Since fstream doesn't have it
2020-02-23 02:20:48 +01:00
Lynix
364122f582
SparsePtr: Make pointer conversion explicit
2020-02-23 02:06:48 +01:00
Lynix
8b5f9d68c3
Fix missing includes
2020-02-23 00:49:38 +01:00
Lynix
3d22321109
Big f***ing cleanup part 1
2020-02-23 00:42:22 +01:00
Lynix
e35caebdcf
Core: Add ByteArrayPool and PoolByteStream classes
2020-02-04 11:42:05 +01:00
Lynix
f371cbb386
Fix EmptyStream open mode
2019-12-29 16:36:23 +01:00
Lynix
35cf05e3bc
Core: Add EmptyStream class
2019-12-29 16:25:40 +01:00
Lynix
57b37c3d2c
Minor fixes
2019-12-28 15:06:31 +01:00
Lynix
ec0eed9eff
Core/HandledObject: Add OnHandledObjectDestruction signal
2019-12-15 15:41:41 +01:00
Lynix
ef030ddaac
Rework constraint2D
2019-12-08 18:56:21 +01:00
Lynix
ae996ae09d
Oopsie
2019-11-09 15:34:25 +01:00
Lynix
57958056d6
Core/Flags: Add Set method
2019-11-09 13:53:29 +01:00
Lynix
a4bff0968b
Core/Flags: Add Clear methods
2019-11-09 13:37:40 +01:00
Jérôme Leclercq
9161886cc8
Update Flags.inl
2019-10-15 22:12:31 +02:00