Commit graph

  • f19bce1a57 Remove ECSEmscripten as Emscripten version is now supported in LDC (+fix compile scripts) master Mergul 2025-05-14 13:26:10 +02:00
  • d77317c816 Make it possible to use custom runtime (such as numem) Mergul 2025-04-10 14:00:55 +02:00
  • 76a23aa4ed Fix typo Mergul 2025-04-10 14:00:20 +02:00
  • 9b75772039 Add missing export visibility attributes Mergul 2025-04-10 13:59:21 +02:00
  • 1a5452d6cc Improve fullName template 3-template-system-compilation-fail Mergul 2023-05-24 22:15:05 +02:00
  • 6a600d22c8 Refactored fullName template Mergul 2023-04-27 23:08:27 +02:00
  • 50fa2ce19c Merge branch '2-empty-entity-crash' into 'master' Dawid Masiukiewicz 2023-04-27 10:30:22 +00:00
  • 8ac9fa5dbd Fix crash in commit() when all components were removed from entity Mergul 2023-04-24 23:46:16 +02:00
  • cd1f81127a Workaround for issue with hasMember and opDispatch xmake Mergul 2023-04-23 21:52:18 +02:00
  • 3a3a9e0341 Add @nogc UDA, fix some small issues, xmake changes Mergul 2023-03-23 22:31:20 +01:00
  • 5e123d96b3 Add xmake Mergul 2023-03-09 14:08:42 +01:00
  • beb1837c43 Merge branch 'fixes' into 'master' Dawid Masiukiewicz 2023-03-09 11:02:53 +00:00
  • 0702b007d1 Fix unregisterSystem function Mergul 2023-03-09 11:04:12 +01:00
  • 9bf6f84d45 Update README v0.1.1 Mergul 2023-01-18 15:09:25 +01:00
  • 65c6ea4489 Fix demos compilation (using Meson) Mergul 2023-01-18 14:53:26 +01:00
  • ed0603a675 Update copyright notice Mergul 2023-01-18 14:40:59 +01:00
  • 6bf8837e8f Update codecov token Dawid Masiukiewicz 2022-11-12 11:41:08 +00:00
  • 6af3028070 Merge branch 'unregister_system' into 'master' Dawid Masiukiewicz 2022-11-12 11:15:31 +00:00
  • c2ba4c632a Fixes Mergul 2022-11-12 12:10:09 +01:00
  • 5f4ba90b3e Add unregisterSystem functionality Michał Masiukiewicz 2022-11-10 10:18:46 +01:00
  • 01da5f9315 Add unregisterSystem functionality mm_branch Michał Masiukiewicz 2022-11-10 10:18:46 +01:00
  • 881d6d113b Merge branch 'export_id' into 'master' Dawid Masiukiewicz 2022-11-10 09:28:34 +00:00
  • 7a614686c8 Export id generated by becsID Michał Masiukiewicz 2022-11-08 22:05:57 +01:00
  • 6c4109d86c Merge branch 'improve_component_init' into 'master' Dawid Masiukiewicz 2022-10-31 18:35:26 +00:00
  • 0281fd5c1d Remove unnecessary exports test_remove_few_exports Michał Masiukiewicz 2022-10-27 22:33:23 +02:00
  • c0246ce2af Syntax '*ptr = Structure.init' requires opAssign operator, get rid of this requirement by using malloc. Michał Masiukiewicz 2022-10-27 23:29:50 +02:00
  • a8d48f1218 Merge branch 'wasm_fixes' into 'master' Dawid Masiukiewicz 2022-10-06 17:01:50 +00:00
  • ce47bfc65a Fix wasm compilation Michał Masiukiewicz 2022-10-05 18:39:07 +02:00
  • 56ce8c3f9c Don't use ForeachType as it don't work if foreach type is not copyable. Michał Masiukiewicz 2022-10-04 22:18:45 +02:00
  • bd2afce19a Merge branch 'small-fixes' into 'master' Dawid Masiukiewicz 2022-07-09 20:27:01 +00:00
  • 24a07a05e5 Small fixes Dawid Masiukiewicz 2022-07-09 20:27:01 +00:00
  • fdc1fc536e Merge branch 'wasm_demos' into 'master' mmcomando 2022-07-09 08:45:13 +00:00
  • 014e9cee8d Merge branch 'improve_meson' into 'master' Dawid Masiukiewicz 2022-06-25 08:42:11 +00:00
  • d01ebd960a Allow simpler use of ecs from parent project Michał Masiukiewicz 2022-06-19 14:31:49 +02:00
  • 4f416c7557 Merge branch 'small-fixes' into 'master' Dawid Masiukiewicz 2021-11-17 14:32:43 +00:00
  • 0002852303 Added CAPI files c-api Mergul 2021-11-17 15:22:13 +01:00
  • 6e45e7b053 Merge branch 'master' into c-api Mergul 2021-11-17 15:15:46 +01:00
  • 85e1f8a76e Fixed bug with addComponents template Mergul 2021-11-17 15:03:25 +01:00
  • 54b210346d Merge branch 'fixes' into 'master' Dawid Masiukiewicz 2021-05-09 16:46:11 +00:00
  • cc097dddf0 Minor fixes Dawid Masiukiewicz 2021-05-09 16:46:11 +00:00
  • 59db920a2e -updated CodeCov token because of CodeCov Bash Uploader Security Issue Mergul 2021-04-26 17:23:46 +02:00
  • bbb8144f34 -fixed DMD release compilation Mergul 2021-04-26 17:04:39 +02:00
  • 24ef63d505 -added '-pthread' to arguments in 'meson.build' for GDC Mergul 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 Mergul 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 Mergul 2021-03-18 19:56:25 +01:00
  • 3e0ab40977 -cleaned Meson build files and added some comments Mergul 2021-03-13 20:28:06 +01:00
  • ef12bce88b Merge branch 'wasm_demos' of https://gitlab.com/mmcomando/bubel-ecs.git into wasm_demos Mergul 2021-03-13 15:05:00 +01:00
  • 1254a990f1 -added compilation for multithreaded and singlethreaded code -fixed problem with assets loading Mergul 2021-03-13 15:04:42 +01:00
  • 55bd698541 Update thread_pool.d mmcomando 2021-03-13 13:23:19 +00:00
  • 84a5cbef13 Merge branch 'master' into wasm_demos mmcomando 2021-03-13 13:30:58 +01:00
  • bcd9ee4aa0 Merge branch 'beta-release' into 'master' v0.1.0 Dawid Masiukiewicz 2021-03-06 22:51:11 +00:00
  • 21b657a84b Merge branch 'windows-fixes' of https://gitlab.com/Mergul/bubel-ecs.git into beta-release Mergul 2021-03-06 23:40:03 +01:00
  • 2107f3908c -fixed sp,e demos issues and crashes Mergul 2021-03-06 23:39:43 +01:00
  • fa0c196c60 -code cleanup -some documentation improvements -README update Mergul 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) Mergul 2021-03-06 22:00:08 +01:00
  • 180f2ed336 Merge branch 'Demos' into 'master' Dawid Masiukiewicz 2021-03-03 17:07:22 +00:00
  • dd7af91180 -change .gitlab-ci.yml Mergul 2021-03-03 16:20:27 +01:00
  • 20ac07af7f -fixed dub.json for new docker Mergul 2021-03-03 13:31:41 +01:00
  • 18b5942b99 -removed BECS imports from thread pool -make JobUpdater selfcontaining (dependes only on BECS and ThreadPool) Mergul 2021-03-03 13:13:57 +01:00
  • a3b33a4935 -fixed LDC demos compilation -clean ThreadPool code -fixed betterC demos compilation Mergul 2021-03-03 12:29:59 +01:00
  • 1387011b04 -clear ThreadPool code Mergul 2021-03-03 10:34:07 +01:00
  • 001f6851ee Update .gitlab-ci.yml Dawid Masiukiewicz 2021-03-03 09:15:14 +00:00
  • 9b3602b6ab Update .gitlab-ci.yml Dawid Masiukiewicz 2021-03-03 08:19:37 +00:00
  • 83cf803d0b Update .gitlab-ci.yml Dawid Masiukiewicz 2021-03-02 20:52:10 +00:00
  • e7bb51b704 Merge branch 'Demos' into 'master' Dawid Masiukiewicz 2021-03-02 20:42:28 +00:00
  • 34a1066cfb -fixed README formating Mergul 2021-03-02 21:35:25 +01:00
  • efd3d64eac -fixed CI typo Mergul 2021-03-02 21:26:22 +01:00
  • c69d58ed69 -deploy only on master commit Mergul 2021-03-02 21:23:06 +01:00
  • 27154c809e -removed launcher.manager (gEntityManager used instead) -removed somee comments, unneded code -added some comments/documentation Mergul 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 Mergul 2021-03-02 19:44:18 +01:00
  • 3eb4a40c39 Support compiling demos in wasm build mmcomando 2021-03-01 21:29:40 +01:00
  • 7d090d5627 Merge branch 'Demos' into 'master' Dawid Masiukiewicz 2021-03-01 12:12:05 +00:00
  • d1c48e4c5f -added missing ';' in shader Mergul 2021-03-01 12:58:57 +01:00
  • 997f6181c8 -change target name for unittests to "ecs" Mergul 2021-03-01 12:35:31 +01:00
  • 9c402140bd -fixed BrickBreaker issue with self collision Mergul 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 Mergul 2021-03-01 12:16:02 +01:00
  • 1acd0df0ef Merge branch 'master' of https://gitlab.com/Mergul/bubel-ecs.git into Demos Mergul 2021-02-27 17:43:05 +01:00
  • 73458f586d Merge branch 'remove_structure_top_mixin' into 'master' Dawid Masiukiewicz 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 Mergul 2021-02-27 17:30:31 +01:00
  • a6d92cb21b -change ecsID to becsID -change component_id/system_id to becsID in demos Mergul 2021-02-27 17:25:13 +01:00
  • f7591916eb Merge branch 'meson' into 'Demos' Dawid Masiukiewicz 2021-02-26 09:50:33 +00:00
  • 73c3e48c56 Building for web using meson mmcomando 2021-02-25 21:59:20 +01:00
  • 073f91fc4a Update meson_options.txt Dawid Masiukiewicz 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 mmcomando 2021-02-21 20:44:58 +01:00
  • 00386ed529 -added missing meson.build files Mergul 2021-02-21 17:38:03 +01:00
  • 3f01b96b76 Merge branch 'Demos' into 'master' Dawid Masiukiewicz 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) Mergul 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 Mergul 2021-01-09 14:30:56 +01:00
  • 84ba5f9eb5 -fixed emscripten compilation Mergul 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 Mergul 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 Mergul 2020-09-29 18:41:31 +02:00
  • 13c82acad4 -removed some unused code Mergul 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 Mergul 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 Mergul 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 Mergul 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) Mergul 2020-07-08 22:09:10 +02:00
  • a0efa4e67d Fixed unittests and betterC compilation (after adding fullyQualifiedName instead of simple stringof) -added new trait to get full name of structure (witho module and package, not tested on more nested packages) -some small improvements (like adding const to function which need it) Mergul 2020-07-08 22:04:13 +02:00
  • b0b64b965f Demos update -added some new types to gui manager + some fixes -TexCoordsManager now working (probably) -added CRenderDefault components which makes entities without texcoords possible to draw -makes better way of binding demos to launcher -moved some registration related to rendering to one function (basic components + draw system) -added Sandbox demo (demo which takes all demos to one demo) -extends ParticlesDemo play area -added BirckBreaker demo (WIP) -added special material to additive particles -added whole bunch of rendering code to rendering module -added ability to show filtered entities (blinking) Mergul 2020-07-01 19:45:53 +02:00
  • ef4faf2755 Changed Components/System/Events names to full name (with module) and fixed bug with flag Mergul 2020-07-01 19:26:47 +02:00
  • ffc19d4723 Better multithread jobs generation tests Mergul 2020-06-15 22:28:55 +02:00