Commit graph

271 commits

Author SHA1 Message Date
0002852303 Added CAPI files
I forgot to add CAPI files to .gitignore with previous commits :/
2021-11-17 15:22:13 +01:00
6e45e7b053 Merge branch 'master' into c-api 2021-11-17 15:15:46 +01:00
85e1f8a76e Fixed bug with addComponents template
-deprecated Comonent.ref_ function
-remover Comonent.ref_ usage from addComponents template
-updated dub.json
2021-11-17 15:03:25 +01:00
54b210346d Merge branch 'fixes' into 'master'
Minor fixes

See merge request Mergul/bubel-ecs!18
2021-05-09 16:46:11 +00:00
cc097dddf0 Minor fixes 2021-05-09 16:46:11 +00:00
59db920a2e -updated CodeCov token because of CodeCov Bash Uploader Security Issue 2021-04-26 17:23:46 +02:00
bbb8144f34 -fixed DMD release compilation 2021-04-26 17:04:39 +02:00
24ef63d505 -added '-pthread' to arguments in 'meson.build' for GDC 2021-03-24 19:29:04 +01:00
70a5388820 -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
2021-03-24 18:35:03 +01:00
0d08b8532a -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
2021-03-18 19:56:25 +01:00
bcd9ee4aa0 Merge branch 'beta-release' into 'master'
Changes for beta release

See merge request Mergul/bubel-ecs!17
2021-03-06 22:51:11 +00:00
21b657a84b Merge branch 'windows-fixes' of https://gitlab.com/Mergul/bubel-ecs.git into beta-release 2021-03-06 23:40:03 +01:00
2107f3908c -fixed sp,e demos issues and crashes 2021-03-06 23:39:43 +01:00
fa0c196c60 -code cleanup
-some documentation improvements
-README update
2021-03-06 22:02:49 +01:00
37d15f97d6 -fixed some meson issues on windows (becs and tests compilation works. Demos not yet)
-now tests compile proper files
-added setjmp bindings for Windows. It doesn't work on LDC build (singal API could works)
2021-03-06 22:00:08 +01:00
180f2ed336 Merge branch 'Demos' into 'master'
Code cleanup and fixes

See merge request Mergul/bubel-ecs!16
2021-03-03 17:07:22 +00:00
dd7af91180 -change .gitlab-ci.yml 2021-03-03 16:20:27 +01:00
20ac07af7f -fixed dub.json for new docker 2021-03-03 13:31:41 +01:00
18b5942b99 -removed BECS imports from thread pool
-make JobUpdater selfcontaining (dependes only on BECS and ThreadPool)
2021-03-03 13:13:57 +01:00
a3b33a4935 -fixed LDC demos compilation
-clean ThreadPool code
-fixed betterC demos compilation
2021-03-03 12:29:59 +01:00
1387011b04 -clear ThreadPool code 2021-03-03 10:34:07 +01:00
001f6851ee Update .gitlab-ci.yml 2021-03-03 09:15:14 +00:00
9b3602b6ab Update .gitlab-ci.yml 2021-03-03 08:19:37 +00:00
83cf803d0b Update .gitlab-ci.yml 2021-03-02 20:52:10 +00:00
e7bb51b704 Merge branch 'Demos' into 'master'
Documentation, standarization, etc.

See merge request Mergul/bubel-ecs!15
2021-03-02 20:42:28 +00:00
34a1066cfb -fixed README formating 2021-03-02 21:35:25 +01:00
efd3d64eac -fixed CI typo 2021-03-02 21:26:22 +01:00
c69d58ed69 -deploy only on master commit 2021-03-02 21:23:06 +01:00
27154c809e -removed launcher.manager (gEntityManager used instead)
-removed somee comments, unneded code
-added some comments/documentation
2021-03-02 21:05:05 +01:00
3b954b732b -update README code example (to one that compile)
-remove Entity.instance and gEM, global manager is now gEntityManager
2021-03-02 19:44:18 +01:00
7d090d5627 Merge branch 'Demos' into 'master'
Demos

See merge request Mergul/bubel-ecs!13
2021-03-01 12:12:05 +00:00
d1c48e4c5f -added missing ';' in shader 2021-03-01 12:58:57 +01:00
997f6181c8 -change target name for unittests to "ecs" 2021-03-01 12:35:31 +01:00
9c402140bd -fixed BrickBreaker issue with self collision 2021-03-01 12:25:52 +01:00
56f870bac6 -updated README.md
-fixed shaders for GL2
-added Entity selection tool
-throw out tools from "Demo" window to "Tools" window
-change ComboBox to Tabs for Tools
-Added more verbose tips
-Improved and fixed BrickBreaker collisions
-fixed simple DUB issue
2021-03-01 12:16:02 +01:00
1acd0df0ef Merge branch 'master' of https://gitlab.com/Mergul/bubel-ecs.git into Demos 2021-02-27 17:43:05 +01:00
73458f586d Merge branch 'remove_structure_top_mixin' into 'master'
Removed structure top mixins requirement

See merge request Mergul/bubel-ecs!12
2021-02-27 16:42:50 +00:00
8b2793fc57 Merge branch 'master' of https://gitlab.com/Mergul/bubel-ecs.git into remove_structure_top_mixin
# Conflicts:
#	tests/basic.d
2021-02-27 17:30:31 +01:00
a6d92cb21b -change ecsID to becsID
-change component_id/system_id to becsID in demos
2021-02-27 17:25:13 +01:00
f7591916eb Merge branch 'meson' into 'Demos'
Improve meson build.

See merge request Mergul/bubel-ecs!10
2021-02-26 09:50:33 +00:00
073f91fc4a Update meson_options.txt 2021-02-25 18:49:39 +00:00
66b5807368 Improve meson build.
-Add all required packages as wrap dependencies
-Move source lsitnings to separate files
-Proper dependencies declarations
-Set global D compiler arguments
-Add few asserts
-Add test exe
-Other small improvements

Tested with dmd with betterC, demos executable has to be run from 'demos' directory to properly load assets.
2021-02-21 20:44:58 +01:00
00386ed529 -added missing meson.build files 2021-02-21 17:38:03 +01:00
3f01b96b76 Merge branch 'Demos' into 'master'
Demos

See merge request Mergul/bubel-ecs!8
2021-01-09 14:36:27 +00:00
9cef882faf -change targetName to "ecs" in order to fix CI guild (need to be renamed in CI in future) 2021-01-09 15:13:53 +01:00
edaa2286f4 -fix some memory leaks in unittests
-change name in dub.json ecs->bubel_ecs
-add dependeny in meson.build
2021-01-09 14:30:56 +01:00
84ba5f9eb5 -fixed emscripten compilation 2021-01-03 13:08:29 +01:00
3c1c67efd0 -added filterEntity callback (used to filter EntityInfos for system, better control than simply @optional)
-removed some redundant code (two times same code)
-added some common functions
2021-01-03 13:05:48 +01:00
a926b79223 -add ecsID template function (get Component/System/Event ID, passes tests)
-removed some ECS mixins code
2020-09-29 18:41:31 +02:00
13c82acad4 -removed some unused code 2020-09-25 10:50:11 +02:00