Commit graph

15 commits

Author SHA1 Message Date
437c672478 -documentation 2018-10-01 19:40:24 +02:00
d5780a6252 -working update() with EntitiesData structure input
-added support for 'const' components input (read only, future usage)
2018-09-30 23:12:20 +02:00
bb3f07ac70 -removed LinearLayout switch (from now it's default behaviour) 2018-09-29 20:49:07 +02:00
783ef72eae -fixed getSystem function 2018-09-29 20:34:47 +02:00
c0ac19b6f9 -fixed EntityTemplate.getComponent()
-fxied issue with components string in systems HashMap
2018-09-27 22:45:23 +02:00
c915b1a8c7 -EntityTemplate.getComponent additional data check
-LinearLayout proggress:
 *added alignment to data
 *fixed add/remove component functions
2018-09-26 12:50:51 +02:00
c18ac54265 -LinearLayout proggress:
*EntityTemplate.getComponent
 *Adding/removing components for Entitites
-better code for adding components
2018-09-26 10:57:42 +02:00
cb9bac5dde -LinearLayout implemntation:
*Entity.getComponent works
 *adding/removing objects work
 *update work
2018-09-26 09:02:16 +02:00
d0fcdba6cd -registering same system multiple times only replace pointer for callback
-added export attributes (required by windows to make DLL library, not work at now due to DMD bugs)
-interface D files to import
2018-09-18 13:28:04 +02:00
8fdb56e840 -fixed crash on getComponent when component doesn't exist
-fixed Components ids sorting
-added deferred object removing
-new EntityManager functions: begin(), end().
2018-09-16 14:16:18 +02:00
624c899c8c -getComponent functions for Template and Entity
-error information about adding system with non existing component (prints name of system and component)
-fill components in template with default values
2018-09-13 20:53:34 +02:00
17551b08a5 -IDManager
-times counting for tests
2018-09-12 14:01:35 +02:00
86e4e57f74 Format files with dfmt 2018-09-10 21:48:33 +02:00
a61a54b43f -components and infos are now stored in hash maps
-adding entities
-Template allocating and freeing
-Deltas calulating for components in EntityType
-Updating for every EntityType and System
-Generate deltas, components list, and functions callers for Systems
2018-09-09 23:28:18 +02:00
6217aec6be -changed README
-license changed to BSD (maybe temporary)
-added configurations to dub.json
-initial ECS implementation (WIP):
	-Manager, System, Entity, Component
	-registering components
	-registering systems
	-calling update
2018-09-07 20:54:29 +02:00