Commit graph

287 commits

Author SHA1 Message Date
50fa2ce19c Merge branch '2-empty-entity-crash' into 'master'
Fix crash in commit() when all components were removed from entity

Closes #2

See merge request Mergul/bubel-ecs!27
2023-04-27 10:30:22 +00:00
8ac9fa5dbd Fix crash in commit() when all components were removed from entity
Fix crash from issue #2 and add unittest case for it. Also implements general "empty" entity support
2023-04-24 23:46:16 +02:00
beb1837c43 Merge branch 'fixes' into 'master'
Fix unregisterSystem function

See merge request Mergul/bubel-ecs!26
2023-03-09 11:02:53 +00:00
0702b007d1 Fix unregisterSystem function
and add function to get m_system_pointer from System
2023-03-09 11:04:12 +01:00
9bf6f84d45 Update README
Add information about how to use library with DUB package manager
2023-01-18 15:09:25 +01:00
65c6ea4489 Fix demos compilation (using Meson) 2023-01-18 14:53:26 +01:00
ed0603a675 Update copyright notice 2023-01-18 14:40:59 +01:00
6bf8837e8f Update codecov token 2022-11-12 11:41:08 +00:00
6af3028070 Merge branch 'unregister_system' into 'master'
Add unregisterSystem functionality

See merge request Mergul/bubel-ecs!25
2022-11-12 11:15:31 +00:00
c2ba4c632a Fixes
-Assert if callEntitiesFunction is called for system which is not alive
-cleanup and formatting
2022-11-12 12:10:09 +01:00
5f4ba90b3e Add unregisterSystem functionality 2022-11-10 10:54:23 +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