-BlockAllocator is no longer template
-Multithreaded IDManager.getNewID() *use implementation with free IDs stack (instead of classic pool) -support for multiple UpdatePasses. Passes are added by name, and must be called between begin() end() functions. -removed mutex from addEntity() -commit() function added. Used to commit all changes made while update() call. Called automatically by begin() end() functions.
This commit is contained in:
parent
430ce8074c
commit
d3f7593afc
6 changed files with 406 additions and 189 deletions
|
|
@ -53,6 +53,8 @@ package:
|
|||
int m_priority;
|
||||
///pointer to system implementation
|
||||
void* m_system_pointer;
|
||||
///system pass index
|
||||
int m_pass;
|
||||
|
||||
///system name
|
||||
const (char)[] name;
|
||||
|
|
@ -66,7 +68,7 @@ package:
|
|||
|
||||
EntityManager.Job[] jobs;
|
||||
|
||||
System*[] m_dependencies;
|
||||
//System*[] m_dependencies;
|
||||
ushort[] m_read_only_components;
|
||||
ushort[] m_modified_components;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue