Commit graph

267 commits

Author SHA1 Message Date
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
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
8960423935 ECS fixes
-fixed bug with addEntityCopy (on create was called for bad entity, and incorrect block was added to update)
-added function to retrieve Component pointer from Entity (not  template function)
-fixed thread_pool bug
2020-08-22 11:37:23 +02:00
64dc099e0a Demos big update
-Added some more math functions
-fixed many memory leaks
-added AABB and BVHTree support to collision.d
 *BVHTree has only incrementally adding entities implemented by now (and bad BottomUp algorithm)
 *ECS Systems use two trees, one for static and one for dynamic entities, dynamic BVH is builded every frame from scratch by now
-BrickBreaker now uses BVHTree to collision detection
 *balls only use tree for checks (they aren't adding to tree)
-fixed bug leading to crash
2020-07-17 13:38:41 +02:00
96bbcb9956 Fixed issues and bugs
-moved system destroy functionality to System structure "destroy()" function
-now arrays are properly destroyed (with destructor calling (__xdtor))
-fixed bug which makes BlockAllocator crashing after freeing it's memory
-fixed many smaller memory leaks
2020-07-17 13:34:08 +02:00
74179b4fc8 Demo update
-added 'dot' function to vector math
-fixed Circle tool rendering
-fixed some potentiall memory leaks
-added 'collision' module which now separates ShootGrid from SpaceInvaders demo
-separate some systems from demos to 'basic' module to better demos functionality sharing
-slow down snake
-added new graphics
-BrickBreaker demo now works (without blocks breaking and with bugged collision detection)

-some bug fixes
2020-07-08 22:09:10 +02:00