-Multithreading support: *multithreaded update - updateMT(), function generates jobs to execute *added dispatch callback function to dispatch generated jobs (setJobDispachFunc) *added getID callback for get thread ID by EntityManager -added Job structure. Job has one function "execute()". -calling partial info update (required to multithreading) -multithreaded removeEntity, addCompoenents, removeComponents. Every thread has own data and remove/change lists. -multithreaded addEntity (WIP) -fixed issue with duplicating components -simpler and faster "findBlockWithFreeSpace" function -CallDataAllocator, allocator for CallDatas (used for Jobs) -fixed some bugs/issues
8 lines
No EOL
157 B
D
8 lines
No EOL
157 B
D
module ecs;
|
|
|
|
public import ecs.manager;
|
|
public import ecs.entity;
|
|
public import ecs.system;
|
|
public import ecs.core;
|
|
import ecs.id_manager;
|
|
import ecs.events; |