Commit Graph

790 Commits

Author SHA1 Message Date
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
SirLynix ac1422c221 Core: Add initial process support (Process::SpawnDetached) 2024-01-23 19:31:21 +01:00
SirLynix 639f6708b0 Core/StringExt: Replace ptr + size by a view in IterateOnCodepoints parameter
Also increase buffer size to increase performance
2024-01-22 17:02:26 +01:00
SirLynix 373309d6d9 Core: Move platform-specific code to PlatformImpl namespace 2024-01-22 16:49:21 +01:00
SirLynix c8776bc950 Core/Color: Add dark colors 2024-01-16 14:06:57 +01:00
SirLynix 8ca7c2e8ee Core/Color: Add some operators 2024-01-16 14:06:45 +01:00
SirLynix bbef5cfd1d Color: Replace std::ostringstream usage by Format 2024-01-16 14:06:19 +01:00
SirLynix 2125b80b8d Use std::string_view for strings 2024-01-04 14:40:50 +01:00
SirLynix 6d1e7d7852 Fix compilation on Windows 2024-01-02 13:07:38 +01:00
SirLynix 7dc7104cc4 Update to latest nazarautils 2024-01-02 12:02:45 +01:00
SirLynix d2e2c075b4 Update copyright year 2024-01-02 12:02:14 +01:00
Jérôme Leclercq 79ec135af7
Optimize out a lot of std::string construction and allocations (#415)
Update CommandLineParameters.hpp

Update CommandLineParametersTests.cpp

Update WebContext.hpp

xmake check-files -f

Fix MaterialPassRegistry
2023-12-30 14:50:57 +01:00
Lynix 7cd1b32e95 Core/File: Add DecodeOpenMode 2023-12-25 19:51:19 +01:00
Lynix 4065fbfb1a Core/OpenMode: Rename ReadOnly/WriteOnly to Read/Write 2023-12-25 19:49:03 +01:00
SirLynix f2201404f3 Core/Clock: Add Tick method 2023-12-18 12:15:08 +01:00