Commit Graph

24 Commits

Author SHA1 Message Date
Jérôme Leclercq 15f84dc712 Noexcept all the things! 2018-06-12 11:37:44 +02: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
Lynix 3d25501f9f Sdk: Fix compilation 2017-05-13 20:00:15 +02:00
Lynix c9969d1b57 Sdk/BaseComponent: Disable implicit copying 2017-05-11 21:21:25 +02:00
Lynix 02508fb99d Sdk/BaseComponent: Add GetEntity method 2017-03-20 07:49:01 +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
DrLynix f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
Gawaboumga 95689f46fb Documentation for module 'NDK'
Former-commit-id: a6c2075cfbfd0eccf2b77def71c0d42684bed590 [formerly 36ece2bc6a148bde6cacf45084821d20edcd115e] [formerly 4a6988792ec026e65be6850c46dfe8ddda92a885 [formerly fd3f4f975de5c427f3adc98b220446fd255be396]]
Former-commit-id: c87fdc9483202842267c60eff3d619f0df2963bf [formerly ee35202f1b2df7ca20da5b6d8b13147f2b92c933]
Former-commit-id: dad5de1b00bb4413f7aa191ca06b7d43b659f32a
2016-08-21 13:48:52 +02:00
Lynix a77ad42fcb Add generic handlers
Former-commit-id: 8fc343d3a056de8031cf453748b8801d50d3710e
2016-03-31 21:14:22 +02:00
Lynix a2f6e54104 Sdk/BaseComponent: Add GetMaxComponentIndex static method
Former-commit-id: b3413066bcb5b9f7b7b84092a2645154ad6d8005
2016-03-31 20:15:38 +02:00
Lynix df8da275c4 Switch from Nz prefix to namespace Nz
What a huge commit


Former-commit-id: 38ac5eebf70adc1180f571f6006192d28fb99897
2015-09-25 19:20:05 +02:00
Lynix fe25249136 Replace Listenable system by signals
Former-commit-id: 16fb0b3e703ca4b41ceb97fab938cebb05f677d4
2015-06-07 15:16:11 +02:00
Lynix cab52dfcfd Ndk/BaseComponent: Fix crash
(Also fix ugly hackfix)


Former-commit-id: b176fb3abc0f541765658376fdd086241c94e279
2015-06-04 09:57:10 +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 2ab0defa48 (NDK) Fixed copy/move constructor/operator
Former-commit-id: e51e7cab650aa7c17141f7401fbcbdf3159aec2b
2015-04-12 21:03:19 +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 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 6d1ac4fe18 Re-remade component and system ids
Former-commit-id: 98b76695cca904c55c7333801c3cdf693da15086
2015-03-30 04:18:44 +02: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 99bf3d95f7 (BaseComponent) Renamed GetComponentId to GetId
Former-commit-id: 9cc5a3d86755f0b9928ef697e0e0c16c068819bc
2015-03-01 13:41:15 +01:00
Lynix 9c0c991fe0 (Component) Added clone virtual method
Replaced Component<C>::GetId by GetComponentId<C>()


Former-commit-id: 4fae3f73c7fad0a5c36dae16e49b6f12c8bf6ae2
2015-03-01 11:21:58 +01:00
Lynix 699b580516 Added Components
Former-commit-id: 02f9e9892b58a725697b83e7b75127db5b3a27f4
2015-03-01 01:53:49 +01:00