Jérôme Leclercq
b83a9b60e7
Sdk/World: Fix destruction retrieval while world clear
2017-11-22 10:26:33 +01:00
Lynix
bb3eebb9cc
Sdk/EntityList: Automatically remove entities from lists on destruction
2017-05-14 22:13:31 +02:00
Lynix
ec310b9577
Sdk/Entity: Fix removed components sometimes not being removed
2017-04-22 12:59:06 +02:00
Jérôme Leclercq
4ea43e0b0b
Sdk/Entity: Fix problem when moving entities
2017-03-08 17:36:13 +01:00
Jérôme Leclercq
0818a2187b
Sdk/Entity: Fix OnDetached being called after OnEntityRemove when destructing
2017-03-08 16:32:08 +01:00
Lynix
3fe54ff777
Sdk/Entity: Add OnEntityDestruction callback
2017-03-03 17:52:19 +01:00
Lynix
605e5c2fd0
Sdk/BaseComponent: Add OnEntityDestruction callback
...
Also fixes physics component callbacks (OnContactEnd by example) being
fired while entity is destroyed
2017-03-03 17:52:07 +01:00
Jérôme Leclercq
4df5ec776c
Sdk/Entity: Fix entity destruction not calling Component::OnDetached
2017-02-08 16:27:55 +01:00
DrLynix
f383eca19a
Update copyright year
2017-01-20 12:58:35 +01:00
Lynix
7f445def13
Fix some warnings from MSVC
2016-11-10 16:44:29 +01:00
Lynix
1ce64258d8
Sdk/Entity: Fix component cleaning on destruction
...
Former-commit-id: 16ede7dcd3b58da549656d02a00296f3310184a0 [formerly 4375abfedc741682c2f36eb73a1b4445b1cbda8f] [formerly 3d53a5ff990895c025a130f1f6e7103425c316c9 [formerly 8896228a838acbaf2e4149b198e013392b5bac0c]]
Former-commit-id: 46717838dc1ace6352a3c3d98f85c586d971972e [formerly 87607fba567be467e78f47972c80fbe500cec4a8]
Former-commit-id: 30d8a37c62cec76c1dde27f15daf1dbff8e8317f
2016-09-09 23:17:36 +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
108a6af39f
Fix some more warnings
...
Former-commit-id: d5a845b6a2c468c08e1c40ccbcfc87b2a49f67be [formerly 8829226909d7280607fcdf6bba6b2b79ca0eec1d]
Former-commit-id: af76bbeec9543055d14ec142726cc4b85afa1985
2016-06-17 22:30:29 +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
9fa8255de0
Sdk/Entity: Fix move constructor
...
Former-commit-id: 92d28b142cf1572fef3a608cb63f0f72d1539bce
2016-01-08 01:29:37 +01:00
Lynix
8adc0097df
Sdk/Entity: Add enable/disable mechanism
...
Former-commit-id: 09884bdacf2b573bef516936d2580942cc5d4f66
2015-12-10 23:50:09 +01:00
Lynix
5d6e6b2d45
Fix errors and warnings
...
Former-commit-id: a3ba309633f198f82c1d0277d750d867cad4ba44
2015-11-12 00:29:10 +01:00
Lynix
8827ee8ff2
SDK/Entity: Fix destruction
...
Former-commit-id: 0a18c2567dbd07f5a9042eccf4185357c791a158
2015-08-13 14:17:43 +02:00
Lynix
3e8d2e1e47
Ndk/Entity: Fix a stupid mistake
...
Former-commit-id: cecdd2a6134f24ea0598628863605d7897cbf922
2015-06-07 12:13:41 +02:00
Lynix
30ba25168f
Ndk/Entity: Remove include to Component
...
Former-commit-id: a209dff2bacf2793d8226671ce2feeeec46e4599
2015-06-04 09:56:43 +02:00
Lynix
04d864e171
Ndk/Entity: Added Entity::Invalidate()
...
Former-commit-id: 8b0824982fbe0ff84acbb0db5cc1509e2c86bcbd
2015-05-06 22:48:36 +02:00
Lynix
9fa5b5bbfc
Ndk/Entity: Inlined IsValid()
...
Former-commit-id: 217df236c91d7504218e1094f5a8b3f9c28d1599
2015-05-04 00:53:07 +02:00
Lynix
581496ce44
Ndk/Entity: Fixed entity moving
...
Former-commit-id: 72dcc713e86d8442de6356162735f437ec22292d
2015-04-23 14:25:25 +02:00
Lynix
5b44619592
Ndk/Components: Added OnComponent[Attached|Detacted] events
...
And m_entity member variable
Former-commit-id: d6bd9e382e55bafd357e7ec62862ae731c21f897
2015-04-20 01:54:09 +02:00
Lynix
a1280a6af3
(World) Renamed internal method Mark(All)AsDirty
...
To Invalidate
Former-commit-id: 62e62d82258227d652711c3933a816845a076e53
2015-04-07 15:50:43 +02:00
Lynix
6d1ac4fe18
Re-remade component and system ids
...
Former-commit-id: 98b76695cca904c55c7333801c3cdf693da15086
2015-03-30 04:18:44 +02: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
0ba034f7e9
(Entity) Added components bits
...
Moved [Add/Remove]Component implementation to .cpp
Former-commit-id: e61e8c57911c2e106e6c0959b692a006b8f58c40
2015-03-17 12:34:03 +01:00
Lynix
0d8f7546a9
Fixed copyright notices
...
Former-commit-id: d5ccaa115ad229def2925099f82540ffa91c2297
2015-03-01 19:48:01 +01:00
Lynix
ba127ef7b2
(Entity) Fixed handles not being cleared after destruction
...
Also updated some comments
Former-commit-id: 86b23fca0806c637fbe007df4c7edfb52b95f8e1
2015-02-24 16:15:17 +01:00
Lynix
6201183572
(World) Replaced pointers to Entity by EntityHandle
...
Former-commit-id: b29aaaa7362c0c816dc270e15ba5f8253717c457
2015-02-19 23:51:17 +01:00
Lynix
3a18035989
Remade Entities
...
Former-commit-id: 25f7bc84279fdf58b44cf78e2d94b4cbb78a8410
2015-02-19 22:06:57 +01:00
Lynix
d5a8bdca12
(Entity) Inlined most code
...
Former-commit-id: 287c7c557263497ba89451dd2d640fcd8522ef3a
2015-02-08 17:39:06 +01:00
Lynix
5067767074
(NDK) First commit
...
-Still missing a build file
-This is an Entity Component System, without any component nor system,
so this is an Entity. Yay.
Former-commit-id: f04d2fdfe8819826f940469c2618140a26afa637
2015-02-06 13:56:27 +01:00