Commit Graph

678 Commits

Author SHA1 Message Date
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