Commit Graph

59 Commits

Author SHA1 Message Date
Lynix 251b8af03a SDK: Add DebugComponent
@gawaboumga @gawaboumga @gawaboumga @gawaboumga @gawaboumga @gawaboumga @gawaboumga @gawaboumga @gawaboumga @gawaboumga
2018-04-13 22:09:19 +02:00
Jérôme Leclercq 34fe5dd466 Fix refresh Lua binding and comments 2018-02-08 16:25:52 +01:00
Jérôme Leclercq a9364ab7e2 Sdk/World: Add profiler 2018-02-08 16:25:27 +01:00
Jérôme Leclercq 6161b1a751 Sdk/World: Use a Bitset to store free entity id 2018-02-08 15:15:56 +01:00
Jérôme Leclercq 555817e3ee World: Rename Update() to Refresh()
Also updated comment block
2018-02-08 14:32:53 +01:00
germinolegrand 1e55c4d9e9 Prerequisites instead of Prerequesites (typo) #152 (#153) 2018-01-16 12:23:01 +01:00
Lynix 498bd77d8a Sdk/BaseComponent: Add OnEntityDisabled and OnEntityEnabled callbacks 2017-12-10 14:06:43 +01:00
Jérôme Leclercq b83a9b60e7 Sdk/World: Fix destruction retrieval while world clear 2017-11-22 10:26:33 +01:00
Jérôme Leclercq 80ddfd1fbe Sdk/World: Fix Clear not clearing everything 2017-08-04 13:38:23 +02:00
Lynix 7425993d2d SDK/World: Fix waiting entities not being cleared on time 2017-05-15 10:11:42 +02:00
Lynix 4a0cb4e1f1 Sdk/World: Get rid of now useless trick in Clone method
EntityHandle can no longer move in memory until a world update
2017-05-11 21:26:01 +02:00
Lynix 19f9191815 SDK/World: Improve doc 2017-05-11 20:14:58 +02:00
Lynix 0708531f6c Sdk/World: Inline GetEntity and KillEntity 2017-04-22 12:58:39 +02:00
Lynix 4f6706284e Sdk/World: Fix entity block handling 2017-04-21 21:27:27 +02:00
Lynix 53b92106ff Sdk/World: Fix block pointers 2017-04-21 01:02:23 +02:00
Lynix 48b348135e Refactor EntityList and prevent World to invalidate its own handles between updates 2017-04-20 23:42:45 +02:00
Jérôme Leclercq 9c7b2ed4b8 Sdk/World: Fix entity ids being reused before destruction 2017-03-08 15:52:59 +01:00
DrLynix f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
Lynix 74f3ac8021 SDK: Add components and system for 2D physics 2016-11-10 18:31:27 +01:00
Lynix 7f445def13 Fix some warnings from MSVC 2016-11-10 16:44:29 +01:00
Jérôme Leclercq a8d4e44669 Sdk/World: Optimize updating dirty entities by removing a branch 2016-11-08 12:29:15 +01:00
Jérôme Leclercq aa304ef2e9 SDK: Allow to set an update order for systems (Closes #106) 2016-11-08 02:51:25 +01:00
Lynix be44a89a85 Sdk: Rename [Collision|Physics]Component to [Collision|Physics]Component3D 2016-10-13 08:23:25 +02:00
Gawaboumga 9eba331f34 Documentation for module 'NDK'
Former-commit-id: 63e1cac538c577a1f1aafa71fa7eef69a6d4daab [formerly b2d8769fd02a0e7d9c476d4ad7be1988a1fd6789] [formerly 636b5cb79bcb8da44d9aa45ba1023565bcf29f0d [formerly a2361ec2b8679d4d4ba096e543b5d4b91825dd62]]
Former-commit-id: d402d35477f9db0135c553d55c401939426bf62d [formerly 607336ea0f42731e4604f3a8c2df06f3aecfc401]
Former-commit-id: 69e23cd6c06723486de5e4641ce810012dac66da
2016-08-21 13:48:52 +02:00
Lynix 5fa172e7f5 SDK/Entity: Add entity cloning
Former-commit-id: e855800df2110a15bbe808673549baed12c0a80d [formerly eee65fd713e594fbcb76b74bcee243ad7d670113] [formerly 00cab4a7320aacceeeddceeffba4475e48ee7c2e [formerly 256bcefb089172041e2a21c28e8486e70b288884]]
Former-commit-id: 78fa9291af60f0b02858a9b0127d60fec6a96521 [formerly ae13e29e620506aa1921b0faecc54b1a63609097]
Former-commit-id: ae1a27340b2b21f4d04e2df8f7a5aea3c50f6e3b
2016-08-11 22:00:05 +02:00
Lynix 1fc0d564ce SDK/Entity: Delay component removal until world update
Allows system to freely remove components while updating


Former-commit-id: db5877bc20e6a0dfadd69f81a339f0a57d8404df [formerly 74327b8f1429855625613f258894b37d026041fe] [formerly 65b8f2ba78d2690b7a469d4b9818b189524633db [formerly 71be95adb46b7183261a8038352c4d8bd17cacc3]]
Former-commit-id: ba91d5abad60792e648d47e646ae49d43a1c94b5 [formerly 8d0667574ff665e151e7fda5f854fc11a16c854d]
Former-commit-id: eb7b06c2739ef698a153a6221870a8d0956dc875
2016-08-11 01:02:40 +02:00
Lynix 70ee053f3f Sdk: Integrate particles
Former-commit-id: fa4474b434340d15363ff2ffc91b58d2df3a62fc [formerly 8a52795fc49a847e7b558425fc03915b21139521]
Former-commit-id: ac159c0cf652699400f720ef6fdad0fbf649308f
2016-07-30 15:51:46 +02:00
Lynix 108a6af39f Fix some more warnings
Former-commit-id: d5a845b6a2c468c08e1c40ccbcfc87b2a49f67be [formerly 8829226909d7280607fcdf6bba6b2b79ca0eec1d]
Former-commit-id: af76bbeec9543055d14ec142726cc4b85afa1985
2016-06-17 22:30:29 +02:00
Gawaboumga 265e1c0fbd Fix compilation for gcc/clang + tests for serialization
Former-commit-id: db9c93a1db3c57f268fc17e411402e071fc8675a
2016-04-04 10:17:05 +02:00
Lynix a77ad42fcb Add generic handlers
Former-commit-id: 8fc343d3a056de8031cf453748b8801d50d3710e
2016-03-31 21:14:22 +02:00
Lynix dbce7592a9 Sdk: Make World moveable
Former-commit-id: 285cb9da4cbafd3da0c0859eb9d366bb2fb978a3
2016-03-01 14:01:31 +01:00
Lynix cfe7c79991 Sdk: Add server-side module
Former-commit-id: 4df27d1e44d791aad234d095af08ae3c19660fba
2015-12-13 16:36:38 +01:00
Lynix f8f3dbd696 Sdk/World: Refactor
Former-commit-id: abdef9b717866de6ab91624242583830573d9320
2015-12-10 23:50:35 +01:00
Lynix 8adc0097df Sdk/Entity: Add enable/disable mechanism
Former-commit-id: 09884bdacf2b573bef516936d2580942cc5d4f66
2015-12-10 23:50:09 +01:00
Lynix 504452a60b Ndk/World: Fix crash with unused-systems
Former-commit-id: 2425e885d4f93033d3d6f367944ef2893f043223
2015-09-26 21:54:34 +02:00
Lynix 9aacbe158c Ndk: Add RenderSystem (experimental)
Former-commit-id: 23b11c6e9a21a4f26df6bde3d161578101cb2b29
2015-05-19 01:03:11 +02:00
Lynix 5e954113ef Ndk: Fixed warnings
Former-commit-id: 64509f0d59d83f4c04a09fe7e7913d94a940f191
2015-05-04 13:52:37 +02:00
Lynix da36f95b7c Ndk/Physics: Merged StaticCollisionSystem with PhysicsSystem
Former-commit-id: de2127eb967fb29f285e9ebae7c743c07ea39f8a
2015-05-03 19:55:16 +02:00
Lynix 47c5d1072b Ndk/BaseSystem: Added entity validation
Former-commit-id: d82a66179244ae8807f65b193ed9be2f48abffa4
2015-05-03 19:51:56 +02:00
Lynix d558b04aa7 Ndk/Physics: Added first physics components/systems
Former-commit-id: 654b7a2a4645487d139474dcbd02c0882d7c8f02
2015-05-02 10:00:07 +02:00
Lynix ead468525e (NDK) Added Velocity component/system
Former-commit-id: 427b7175fbf9723fcd1d54fc279b8b70167745d4
2015-04-12 23:19:53 +02:00
Lynix f137a75267 (NDK) Added Listener component and system
Former-commit-id: 0553c4ad9a7e33608e9ab91bd4ca8812272a6293
2015-04-12 19:38:38 +02:00
Lynix 1903cbda8d (NDK) Minor changes
Added some asserts and comments,


Former-commit-id: 805246f0276aac157c66cbf346c392ab57934e84
2015-03-30 04:36:56 +02:00
Lynix 6d1ac4fe18 Re-remade component and system ids
Former-commit-id: 98b76695cca904c55c7333801c3cdf693da15086
2015-03-30 04:18:44 +02:00
Lynix cdd3e9e8f2 (World) Fixed dirty entity bitset not being cleared
Former-commit-id: 28fbfe2d21807db7eba249118e35fb087db4ddb9
2015-03-18 13:01:40 +01:00
Lynix be8f6edeb4 Improved interface
EntityHandle are no longer required to pass Entity as arguments
World::CreateEntity() now returns a const EntityHandle&

Former-commit-id: 6fc53ce5759a2a508094bdc61b4471f13f0844ec
2015-03-18 00:49:44 +01:00
Lynix e91313b62d Added systems
It's now officially an ECS, yay!


Former-commit-id: e2aacaa5c9fd362921cf3d064e346d11f942bd59
2015-03-17 19:55:39 +01:00
Lynix bc40fbb02f Remade component ids
No longer based on incrementing counter


Former-commit-id: b875e17781d8bcda48ea9ada523adf0823b22a8b
2015-03-17 19:53:59 +01:00
Lynix 03ef0f9f50 (World) GetEntity now returns a const reference
Former-commit-id: 179139a21c639bbb2c96058095a82f3be76de5c1
2015-03-16 22:16:35 +01:00
Lynix 3694857d30 (World) Optimized entities handling a lot
Former-commit-id: f05f3bb7bf321d30fd51f504ace95aa0ea9f7f8d
2015-03-16 22:14:18 +01:00