Commit Graph

804 Commits

Author SHA1 Message Date
SweetId 92179df553 [Assets] Making AssetCatalog an AppComponent 2024-03-24 21:59:50 -04:00
SweetId 172d3ea720 Foreach can now be recursive 2024-03-24 21:58:55 -04:00
SweetId 2ccc5c364c fix ApplicationBase::TryGetComponent 2024-03-24 20:45:42 -04:00
SweetId d304c56898 [Assets] load Json through filesystem if available 2024-03-11 19:08:37 -04:00
SweetId 8cc1719d1b [Serialization] Make JsonSerializationContext FilesystemAppComponent-compatible 2024-03-11 19:08:10 -04:00
SweetId cc91b8d3b9 [Assets] Handle streaming resources properly 2024-03-11 17:14:56 -04:00
SweetId 841778fe2f [Assets] Overload access operators to use underlying resource ptr 2024-03-11 17:14:39 -04:00
SweetId 467f471390 [Assets] add base classes and functionnalities 2024-03-10 17:05:54 -04:00
SweetId 6a6ffb6779 [Serialization] Add Json serializer 2024-03-10 17:04:35 -04:00
SweetId 4d15cbcc2b Add VertexDeclaration::Find to return type from ptr 2024-03-10 16:39:42 -04:00
SweetId 8c3e8956ca [Serialization] Add support for more types 2024-03-10 16:39:16 -04:00
SweetId a147ef411a [Serialization] Fix bug when serializing an object or an array 2024-03-10 16:35:45 -04:00
SweetId a0a4f63847 [Serialization] add support of filesystem path and Flags 2024-03-10 16:34:45 -04:00
SweetId e9f95d4d0f add enum serialization 2024-03-10 16:33:25 -04:00
SweetId a0f2b128d7 Rework Serialization functions
add name and handle more types
2024-03-05 17:26:07 -05:00
SirLynix 7b0165a7df Core/ByteArray: Make constructor taking a size set the size instead of capacity 2024-02-24 20:38:34 +01:00
SirLynix 03ff328b5b Core/ApplicationBase: Fix GetComponent 2024-02-23 23:28:10 +01:00
SirLynix e5da020b55 Fix missing include² 2024-02-23 23:12:38 +01:00
SirLynix 2d980bb304 Fix missing include 2024-02-23 22:50:38 +01:00
SirLynix 23ea1989ef Core/ApplicationBase: Replace component indices with hashes
Fixes usage of components across DLL
2024-02-23 22:40:13 +01:00
SirLynix f121f32873 Core/Animation: Move Sequence and SequenceJoint to Animation 2024-02-19 22:45:55 +01:00
SirLynix 76136afe76 Core/Node: Remove "initial" methods prototypes
from 62a165126e
2024-02-19 17:20:42 +01:00
SirLynix 5130a2ff84 Remove Config.hpp options and refactor headers
- Rename Config.hpp to Export.hpp
- Remove Debug.hpp and DebugOff.hpp (not used anymore)
2024-02-19 15:11:34 +01:00
SirLynix 3c7e2a1685 Core/Animation: Remove loop-point interpolation boolean 2024-02-19 11:00:04 +01:00
SirLynix d9ad489820 Core/Animation: Fix RemoveSequence not shifting indices and deleting name 2024-02-19 10:59:47 +01:00
SirLynix 62a165126e Core/Node: Remove initial position/rotation/scale 2024-02-19 09:44:01 +01:00
SirLynix 63c526cecc Core/Node: Refactor interface
- Removed overloads taking multiple scalars
- Removed CoordSys parameter (functions exists in two sets, local and global)
2024-02-19 09:44:01 +01:00
SirLynix e64c2b036e Remove Utility module and move its content to Core and TextRenderer modules 2024-02-11 22:48:38 +01:00
SirLynix 8a5e5f7643 Core/PluginLoader: Add [[nodiscard]] qualifier to Load function 2024-02-07 15:51:07 +01:00
SirLynix a4827a99a0 Core/TaskScheduler: Make implementation private 2024-02-05 15:59:45 +01:00
SirLynix 44617bd14d Core/TaskScheduler: Another try to remove race condition 2024-02-04 13:04:29 +01:00
SirLynix e3ad9be759 Core/TaskScheduler: Fix work ending condition
Use remaining task count instead of idle worker count, this avoids a race condition where a worker signals idle after being tasked with a new job
2024-02-03 22:40:12 +01:00
SirLynix 7f1ef0fe41 Core/TaskScheduler: Rework using atomics and WorkStealingQueue 2024-02-02 14:27:18 +01:00
SirLynix 5db0c4ed09 Core/Time: Fix operator<< with negative values not using units 2024-02-01 12:57:29 +01:00
SirLynix 369f273894 Core/TaskScheduler: Fix AddTask 2024-02-01 09:53:17 +01:00
SirLynix 9db333fa80 Core/TaskScheduler: Remove jthread and stop_token
jthread/stop_token are not yet implemented in libc++ and on Apple Clang
2024-01-31 21:04:42 +01:00
Lynix 9d669f722e Core: Rework TaskScheduler (WIP) 2024-01-31 16:42:25 +01:00
Lynix 2b88f50c21 Minor improvements 2024-01-29 18:34:46 +01:00
SirLynix aad271febe Core/Algorithm: Use SafeCast to serialize string size 2024-01-26 17:23:32 +01:00
SirLynix f10671ac2a Core/StringExt: Add TrimLeftCount and TrimRightCount 2024-01-26 15:11:31 +01:00
SirLynix 22a047b3b1 Add tab outside of indent check 2024-01-26 14:38:59 +01:00
SirLynix 6757de1be8 Add end-of-line spaces checker 2024-01-26 10:43:00 +01:00
SirLynix 63c61c0827 Core/StringExt: Fix IsNumber returning true for "-" 2024-01-26 10:11:07 +01:00
SirLynix 625b4f2d9f Core/StringExt: Add Substring family of function (unicode-aware) 2024-01-26 10:02:15 +01:00
SirLynix 1f34bb58ea Core/EnttWorld: Use in_use instead of free_list to get entity count
Since in_use  seems to be deprecated
2024-01-26 10:00:25 +01:00
SirLynix 9ada93b995 Remove spaces before line feed 2024-01-25 14:38:06 +01:00
SirLynix 086152c97d Core/ApplicationBase: Add methods to query components 2024-01-24 17:41:57 +01:00
SirLynix bb3b28279b Rename AppComponent classes (AppEntitySystemComponent => EntitySystemAppComponent) 2024-01-24 16:50:04 +01:00
SirLynix b63c9fcc49 Core/Process: Add Exists function 2024-01-23 19:31:21 +01:00
SirLynix b0648918a7 Core/Process: Add GetCurrentPid 2024-01-23 19:31:21 +01:00