125c9e7d40
-support for 'length' parameter in EntitiesData (for convenience)
2018-10-01 15:08:14 +02:00
ed589bbd71
-added absen components list to system
...
-added ECS uda attributes
-added InputStruct version switch (gets update() input as structure of arrays)
-initial (WIP) EntitiesData update() input structure compile time parsing
2018-09-29 23:10:31 +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
b3dce6560a
-suport system callback: onCreate, onDestroy, onBegin, onEnd
...
-support for optional Components for System
-Components IDs in Systems are now stored as ushorts
2018-09-16 22:40:55 +02:00
4b19907c03
-formatted all files with dfmt
...
-more messy tests
-some documentation
-some useful code moved to functions
-adding components to existing entity
-opportunity to get entity by ID
-fixed calculating deltas
-sorting IDs arrays for allocating Templates
-fixed alignment caluclation
-added compile-time checks for "component_id" member existing in component
2018-09-13 00:10:48 +02:00
d3222eefbb
-some usefull functions for IDManager
...
-added EntityManager.removeEntity(EntityID)
-EntitiesBlock now has ID usefull for updating first_free_block in EntityInfo
2018-09-12 17:38:41 +02:00
ae53e13d42
-add systemCaller to entity only if their components matches
...
-System onEnable() and onDisable() callbacks
2018-09-12 15:28:10 +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