Lynix
e0da339217
Ndk/GraphicsComponent: First commit
...
Former-commit-id: b0174376e8d9211a6ecd7684b3ea7ff3416d5599
2015-05-19 01:01:49 +02:00
Lynix
20dda58ebc
Ndk/World: Fixed my stupidity
...
Former-commit-id: a73b8b1f4bcfc5c878df18f5f2337c8d2535fc74
2015-05-10 23:46:41 +02:00
Lynix
ca291d7285
Ndk/World: Fixed entities indexes
...
Former-commit-id: ec6c3ee98bde983d69945796f8f1089efef794dc
2015-05-06 23:25:00 +02:00
Lynix
b84a1f0663
Ndk/CameraComponent: Added [Get/Set]Layer method
...
Former-commit-id: 51ee045d4eaa7c7274181129ced56d861def3b8e
2015-05-06 22:51:31 +02:00
Lynix
04d864e171
Ndk/Entity: Added Entity::Invalidate()
...
Former-commit-id: 8b0824982fbe0ff84acbb0db5cc1509e2c86bcbd
2015-05-06 22:48:36 +02:00
Lynix
3195a50114
Ndk/Camera: Invalidate when node invalidate
...
Former-commit-id: bda6e1f8a5b64f593c9f4ef95a99f1b0198790e7
2015-05-06 13:50:04 +02:00
Lynix
e55b4edd0c
Ndk: Added CameraComponent (WIP)
...
Former-commit-id: ae7be5448a1150b7beba10e03916e94df51ea3a0
2015-05-05 18:39:47 +02:00
Lynix
5e954113ef
Ndk: Fixed warnings
...
Former-commit-id: 64509f0d59d83f4c04a09fe7e7913d94a940f191
2015-05-04 13:52:37 +02:00
Lynix
9fa5b5bbfc
Ndk/Entity: Inlined IsValid()
...
Former-commit-id: 217df236c91d7504218e1094f5a8b3f9c28d1599
2015-05-04 00:53:07 +02:00
Lynix
58416694d4
Ndk: Added EntityList
...
Former-commit-id: f68c3830e59f460b06e23dbacc150c17937491df
2015-05-04 00:25:54 +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
3ebf967f30
Ndk/BaseSystem: Added "one of" style requirement
...
Former-commit-id: ce4399561f4198290d639d001a6a56665baa0714
2015-05-03 19:50:42 +02:00
Lynix
9bffaaaa84
Ndk/Algorithm: Fixed headers cyclic dependency
...
Former-commit-id: a6d4d21586ef948dd68f1d3e7dc01e8275aaac3f
2015-05-03 19:48:33 +02:00
Lynix
3f423239f5
Ndk/Algorithm: Added Is[Component|System] function
...
Former-commit-id: 946f5081cea0b8df7faf0e95cfea2a3e5dd9f7bb
2015-05-02 21:03:30 +02:00
Lynix
d558b04aa7
Ndk/Physics: Added first physics components/systems
...
Former-commit-id: 654b7a2a4645487d139474dcbd02c0882d7c8f02
2015-05-02 10:00:07 +02:00
Lynix
55519b5e31
Ndk/Component: Modified comment and error messages
...
Former-commit-id: 6a5fad6d2b7e3c1dbc58df0a1614012eee4df2b7
2015-05-02 09:57:33 +02:00
Lynix
ad290a18f4
Ndk/Components: Added On[Attached|Detached] events
...
Former-commit-id: 46e5b5720a8496dfe536181918ae0a995e028fc1
2015-04-23 14:26:48 +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
201275b4ae
(NodeComponent) Fixed NzNode::SetParent methods not being exposed
...
Former-commit-id: e4c60f01db90cd288314c37bfb6969b1922a1868
2015-04-12 23:28:12 +02:00
Lynix
ead468525e
(NDK) Added Velocity component/system
...
Former-commit-id: 427b7175fbf9723fcd1d54fc279b8b70167745d4
2015-04-12 23:19:53 +02:00
Lynix
2ab0defa48
(NDK) Fixed copy/move constructor/operator
...
Former-commit-id: e51e7cab650aa7c17141f7401fbcbdf3159aec2b
2015-04-12 21:03:19 +02:00
Lynix
f137a75267
(NDK) Added Listener component and system
...
Former-commit-id: 0553c4ad9a7e33608e9ab91bd4ca8812272a6293
2015-04-12 19:38:38 +02:00
Lynix
f290b8d886
(NDK) Added Application class
...
Let's try something
Former-commit-id: ebace85e2b050b1fbb994a61a644b60b85cc5a30
2015-04-07 17:41:17 +02:00
Lynix
1bd45731cd
(NDK) Added NodeComponent
...
Former-commit-id: 61b970c31a12a1b128e72c4754590528b6c1b4d6
2015-04-07 17:39:45 +02:00
Lynix
46d125d205
(NDK) Added explicit initialisation
...
Components and systems just can't be initialized at startup, so we need
some kind of explicit initialisation. I followed the same layout as the
others modules by adding a core class (Ndk::Sdk) which will initialize
components and systems, and Nazara's modules.
This is starting to get serious, I like it.
Former-commit-id: 263500e8d16db70ef7f92047b8a7e3235c08bcd0
2015-04-07 17:39:20 +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
ebc651dec8
(World) Added GetEntities() method
...
Former-commit-id: 14095df977d566b3a3c306542bd4d83bd11392d1
2015-04-07 15:38:08 +02:00
Lynix
7351ce46fb
Removed useless space
...
Former-commit-id: 8eefc03bf288bf24df61b6d5ac4f2f38b69e1c18
2015-04-05 16:35:43 +02:00
Lynix
8421a543fb
Changed component index variable name
...
From CamelCase to camelCase (since I use camelCase for the variables)
Former-commit-id: 3382295dda75378e40835c23040bd2738736a210
2015-04-05 16:19:45 +02:00
Lynix
6a99b38be1
(NDK) Modified component/system registration interface
...
Let's hope it's the last time I do this
Former-commit-id: 75f8e63e90e067a7d21efa6a1226ae4bbe050ab9
2015-04-05 15:57:24 +02:00
Lynix
28b0e26a88
(EntityHandle) Fixed hashs
...
Former-commit-id: f5d23d81a5b46dfbf90d2004dfeb9595f30c2df2
2015-03-31 02:20:30 +02:00
Lynix
c25f824f65
(NDK) Fixed compilation error
...
Former-commit-id: c762dbf34c0141882df0ce43509277877c5c559e
2015-03-30 14:17:25 +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
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
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
Lynix
b30298b6ab
(World) Removed useless forward-declaration
...
Former-commit-id: e4a3a34326f9e2d6afdbae062274e2ef63da898d
2015-03-16 22:05:03 +01:00
Lynix
7bac245a0f
(Entity) GetComponent no longer throw
...
Former-commit-id: 8efd0f5aba9c49d7f06ba290425f9e55c2f1eba3
2015-03-14 16:53:26 +01:00
Lynix
a16582d20d
Removed useless includes
...
Former-commit-id: 2343f21e70621f194213085b6f83b10d958be09c
2015-03-14 16:52:44 +01:00
Lynix
6bd6039051
(Entity) Fixed typo in method name
...
Former-commit-id: 40588d78fe38b2ec9ca9998e0c7ce4c73af3b27b
2015-03-14 13:53:10 +01:00
Lynix
40727cc0ca
(World) Fixed EntityHandle passed by value
...
Former-commit-id: c4b4b5cbb4d84110416a4493fc09e7b95e137bc6
2015-03-14 13:21:29 +01:00
Lynix
fb148c1aa0
Removed useless include/declaration
...
Former-commit-id: 7ad1c9940aee9ce00000ba8c31ac05117d2b6c31
2015-03-09 19:05:47 +01:00
Lynix
c818ef7d4b
(EntityHandle) Fixed swap
...
Former-commit-id: 735dd9d2c3080d202306ef9cfb1bb130639e93cd
2015-03-09 19:05:32 +01:00
Lynix
c71c050831
(Entity) Added non-template version of components handling
...
Former-commit-id: 0f9795a0b130e6e5ebb26782459d79bde1b0efa1
2015-03-01 13:42:17 +01:00
Lynix
7c73407fa4
(Component) Fixed Clone method
...
Former-commit-id: afa38a9b684f045dc3cf0d072736ebb6c47e4bd7
2015-03-01 13:41:44 +01:00