-remove "SIMD" option from "compile_wasm.py" (new Emscripten hasn't that option)
-removed some unnecessary variables -started C-API implemantation: * added C-API option to Meson (build included to main library) * refactored some code (moved some code form templates to final code, removed delegates from system) * moved templates outside EntityManager to make it possible to use in different functions
This commit is contained in:
parent
bcd9ee4aa0
commit
0d08b8532a
6 changed files with 714 additions and 406 deletions
|
|
@ -89,7 +89,7 @@ struct System
|
|||
return cast(const(char)[]) m_name;
|
||||
}
|
||||
|
||||
package:
|
||||
//package:
|
||||
|
||||
void destroy()
|
||||
{
|
||||
|
|
@ -170,7 +170,7 @@ package:
|
|||
|
||||
//void function(ref EntityManager.CallData data) m_update;
|
||||
void* m_update; ///workaroud for DMD bug with upper line
|
||||
void delegate() m_update_delegate;
|
||||
//void delegate() m_update_delegate;
|
||||
|
||||
//void function(void* system_pointer) m_enable;
|
||||
//void function(void* system_pointer) m_disable;
|
||||
|
|
@ -198,6 +198,6 @@ package:
|
|||
|
||||
//void function(ref EntityManager.CallData data) m_initialize;
|
||||
//void function(ref EntityManager.CallData data) m_deinitilize;
|
||||
void* m_initialize;
|
||||
void* m_deinitilize;
|
||||
// void* m_initialize;
|
||||
// void* m_deinitilize;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue