Commit graph

277 commits

Author SHA1 Message Date
01da5f9315 Add unregisterSystem functionality 2022-11-10 10:39:02 +01:00
881d6d113b Merge branch 'export_id' into 'master'
Export id generated by becsID

See merge request Mergul/bubel-ecs!24
2022-11-10 09:28:34 +00:00
7a614686c8 Export id generated by becsID 2022-11-08 22:05:57 +01:00
6c4109d86c Merge branch 'improve_component_init' into 'master'
Syntax '*ptr = Structure.init' requires opAssign operator, get rid of this...

See merge request Mergul/bubel-ecs!23
2022-10-31 18:35:26 +00:00
c0246ce2af Syntax '*ptr = Structure.init' requires opAssign operator, get rid of this requirement by using malloc.
This is useful when component is defined in another shared library and we use '-fvisibility=hidden', in that case opAssign is hidden and we will get 'undefined symbol'
2022-10-27 23:29:50 +02:00
a8d48f1218 Merge branch 'wasm_fixes' into 'master'
Don't use ForeachType as it don't work if foreach type is not copyable.

See merge request Mergul/bubel-ecs!22
2022-10-06 17:01:50 +00:00
ce47bfc65a Fix wasm compilation 2022-10-05 18:39:07 +02:00
56ce8c3f9c Don't use ForeachType as it don't work if foreach type is not copyable.
This fixes compilation error:
include/d/std/traits.d:8024: Error: Generating an `inout` copy constructor for `struct game.graphic.manager.Graphic` failed, therefore instances of it are uncopyable
2022-10-04 22:18:45 +02:00
bd2afce19a Merge branch 'small-fixes' into 'master'
Small fixes

See merge request Mergul/bubel-ecs!21
2022-07-09 20:27:01 +00:00
24a07a05e5 Small fixes 2022-07-09 20:27:01 +00:00
014e9cee8d Merge branch 'improve_meson' into 'master'
Allow simpler use of ecs from parent project

See merge request Mergul/bubel-ecs!20
2022-06-25 08:42:11 +00:00
d01ebd960a Allow simpler use of ecs from parent project
This allows parent project to find subproject by simple:
decs_dep = dependency('decs')
2022-06-19 14:31:49 +02:00
4f416c7557 Merge branch 'small-fixes' into 'master'
Fixed bug with addComponents template

See merge request Mergul/bubel-ecs!19
2021-11-17 14:32:43 +00: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
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