-move code from templates to ECS side:
*sendEvent - using EventRef (alias to ComponentRef) *ListenerCallData now contain entities count and pointer to EntityInfo *Remove system_pointer from SystemCallData (use context instead) *Register event -Now all BECS functinality can be used without templates -clean code
This commit is contained in:
parent
0d08b8532a
commit
70a5388820
5 changed files with 126 additions and 261 deletions
20
meson.build
20
meson.build
|
|
@ -1,4 +1,4 @@
|
|||
project('decs', 'd', version : '0.5.0')
|
||||
project('decs', 'd', version : '0.1.0')
|
||||
|
||||
# Options
|
||||
betterC_opt = get_option('betterC')
|
||||
|
|
@ -78,6 +78,24 @@ decs_dep = declare_dependency(
|
|||
# Tests
|
||||
if BuildTests_opt
|
||||
subdir('tests')
|
||||
|
||||
executable('d-api-tests',
|
||||
['tests/tests.d'],
|
||||
include_directories : [inc],
|
||||
d_args : args,
|
||||
link_args : link_args,
|
||||
dependencies : decs_dep,
|
||||
)
|
||||
|
||||
if C_API_opt
|
||||
add_languages('c')
|
||||
executable('c-api-tests',
|
||||
['c-api/test.c'],
|
||||
include_directories : [inc],
|
||||
dependencies : decs_dep,
|
||||
)
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
# Demos
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue