Commit Graph

112 Commits

Author SHA1 Message Date
Lynix 504452a60b Ndk/World: Fix crash with unused-systems
Former-commit-id: 2425e885d4f93033d3d6f367944ef2893f043223
2015-09-26 21:54:34 +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 dea3fb4e39 Convert spaces to tabs
Former-commit-id: b459cfe0c83f651cc660d42f7d3014c3b146f345
2015-09-24 00:55:57 +02:00
Lynix 2fd3872099 Core: Remove NonCopyable
Former-commit-id: f8c6d10ad0b1abb4a32e3c867b7f24fd4bde68a4
2015-09-24 00:37:21 +02:00
Lynix ea3644ef44 Ndk: Optimize coordinate system matrix concatenation
Since both matrix are affine


Former-commit-id: e2e35ad9af0183291b7345229f9af4425cb523fb
2015-09-19 15:13:00 +02:00
Lynix 859544eaa7 Ndk: Add support for 2D rendering
Former-commit-id: bdf9257816c8f48b8c0679647978480785720053
2015-09-18 12:34:05 +02:00
Lynix dd7afa970f Ndk/CameraComponent: Fix copy constructor not connecting the render target signal
Former-commit-id: 73172053b08ac409f92784425614a3fa1a5470e2
2015-09-14 22:43:02 +02:00
Lynix ea66d01246 Ndk/EntityHandle: Add ToString() method
Former-commit-id: b99c515e893c6363f030ffdd18925e92870e9361
2015-09-14 22:41:55 +02:00
Lynix 6fa143d7a8 Ndk/RenderSystem: Fix typo
Former-commit-id: 5a1aa5918f48c85938b01a0ae7be308c7a3bd420
2015-09-14 22:40:51 +02:00
Lynix 1ab09188dd SDK/Entity: Fix warnings
Former-commit-id: 3e503fbe24ef56f60f4b7e04367904de3948910a
2015-08-14 14:17:54 +02:00
Lynix 8827ee8ff2 SDK/Entity: Fix destruction
Former-commit-id: 0a18c2567dbd07f5a9042eccf4185357c791a158
2015-08-13 14:17:43 +02:00
Lynix 318da0d960 Fixed some warnings
Former-commit-id: d7db2b471afac2d16f44a67e79842f8a7fc2100e
2015-06-28 13:48:22 +02:00
Lynix 0895a9273d Ndk/RenderSystem: Add backgrounds support
Former-commit-id: 3209be099cb65095f97f99f6ae1d7c44332ea924
2015-06-24 00:26:46 +02:00
Lynix 53c671bc6a Sdk/RenderSystem: Disable update limit
Former-commit-id: 5ccc441fc7c4e0e6050c1df75d4a51a8720b11a6
2015-06-23 00:08:01 +02:00
Lynix d225f50759 Sdk/BaseSystem: Fix update rate of 0
Former-commit-id: d589ff48e8e300bc1214ed3865101c812dd5aaf6
2015-06-23 00:07:33 +02:00
Lynix 90363406a6 Sdk: Add automatic system update
Former-commit-id: ce129cc945e7373ac5b9f48960894712d66b097a
2015-06-22 00:58:46 +02:00
Lynix 6d953d9e93 Graphics: Separate Renderable and make Light a Renderable (LightComponent)
Former-commit-id: 6177d473f27ef493ba77417fc14461cb08b6f9e1
2015-06-16 00:31:04 +02:00
Lynix 9670d9f3f9 More VS fixes (huehue)
Former-commit-id: 2c3e910d0bdf1c701b4643b4958150e7a0b8492a
2015-06-14 17:13:36 +02:00
Lynix f4c3ec51ed Final VS fixes
Former-commit-id: 6da44f94127f61de39710a52b8b3b73ce19c1269
2015-06-14 16:18:37 +02:00
Lynix d9c31636b9 Graphics/RenderTechnique: Move viewer to SceneData
Former-commit-id: 6c8b5a00b65649c7a3877a186b51f7240361e801
2015-06-13 16:27:12 +02:00
Lynix 4f04795ef6 Ndk/GraphicsComponent: Fix data depending on transform matrix not updating
Former-commit-id: 993d1d31eca9a296fce09bb21e07a684f9e24220
2015-06-12 14:24:46 +02:00
Lynix c919af8085 Ndk/Entity: Fix arguments forwarding when constructing a component
Former-commit-id: b942a4659ebf7f1575c34b000e3efe9e2559a1d6
2015-06-12 13:59:32 +02:00
Lynix 1e0681ef2a Ndk/BaseSystem: Fix destructor not being virtual
Former-commit-id: e430f12f56a36b0d2dee1c1525cf98fc97cb8de6
2015-06-11 14:23:32 +02:00
Lynix 2a6ec829fe Ndk: Fix inline warnings on GCC
Former-commit-id: 4ffe5cd1e821160c60cd2d84f6a0d164aa1326f7
2015-06-11 14:23:19 +02:00
Lynix 48a54dfa5c Graphics/Renderable: Add InstanceData
Former-commit-id: f30f011ae91a445d5b22f33150a88bbda218950c
2015-06-11 14:14:11 +02:00
Lynix 6f2f8d6390 Graphics: Make Background/RenderTechnique independent from Scene
Former-commit-id: d588a3bb74b08d79990a278ad2e399e9797755b4
2015-06-09 00:26:13 +02:00
Lynix 4e5cdea454 Core/Signals: Remove Connect/Disconnect macros
And make interface easier to use


Former-commit-id: 5b789c9acb694839cb173ae96392650d80d383b7
2015-06-07 17:28:19 +02:00
Lynix 004b53c590 Renderer/Renderer: Replace listeners by signals
Former-commit-id: c1293f7f7cc31c4122ba866fc44d93188917ad93
2015-06-07 16:52:19 +02:00
Lynix fe25249136 Replace Listenable system by signals
Former-commit-id: 16fb0b3e703ca4b41ceb97fab938cebb05f677d4
2015-06-07 15:16:11 +02:00
Lynix 3e8d2e1e47 Ndk/Entity: Fix a stupid mistake
Former-commit-id: cecdd2a6134f24ea0598628863605d7897cbf922
2015-06-07 12:13:41 +02:00
Lynix b9ced78772 Graphics/RenderTechnique: Remove Clear method
Let's face it, this method was useless from the beginning.


Former-commit-id: c38f57785c900acf66560ad07aa29498312c6063
2015-06-05 13:38:22 +02:00
Lynix fc65b30f84 Improved code based on CppCheck results
None of this should change the engine's behavior, but the code is better
this way.


Former-commit-id: 0127769848fc1f7fc8006ee607985cfc0ead2965
2015-06-05 13:25:17 +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 30ba25168f Ndk/Entity: Remove include to Component
Former-commit-id: a209dff2bacf2793d8226671ce2feeeec46e4599
2015-06-04 09:56:43 +02:00
Lynix 80ed8c48bd Ndk/RenderSystem: Finish first implementation
Huge WIP, but I have a first render with it


Former-commit-id: 82ecea8b6ce5c452818f1585c61af7623c28e958
2015-06-04 00:20:51 +02:00
Lynix fac893f379 Ndk/GraphicsComponent: Add Attach method
It will evolve, don't worry.


Former-commit-id: 6529d47e076ef102d54fde0a741df72eb80f5ca7
2015-06-04 00:19:53 +02:00
Lynix 3fdd41cc6b Ndk/CameraComponent: Fix assertion
Former-commit-id: 6f78d6d5b09ad096c22b8a9d2adb5e8060c17613
2015-06-04 00:19:15 +02:00
Lynix 11e7748d85 Ndk/GraphicsComponent: Update
Former-commit-id: 4f4ca46fb58582abb0c61b7f081b77e9cd95ee0f
2015-06-02 17:21:23 +02:00
Lynix 2d0cf1794e NDK/RenderSystem: Begin to implement Update
Former-commit-id: 404b7998afffa79568c722677f9760c467e78166
2015-06-02 17:20:57 +02:00
Lynix d369f6d583 Ndk/RenderSystem: Add Entity Removed event
Former-commit-id: 88b08f81e38f7dc4166f19b431288a212ccd8e75
2015-05-22 17:59:20 +02:00
Lynix 9aacbe158c Ndk: Add RenderSystem (experimental)
Former-commit-id: 23b11c6e9a21a4f26df6bde3d161578101cb2b29
2015-05-19 01:03:11 +02:00
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