Commit Graph

218 Commits

Author SHA1 Message Date
Lynix a2f6e54104 Sdk/BaseComponent: Add GetMaxComponentIndex static method
Former-commit-id: b3413066bcb5b9f7b7b84092a2645154ad6d8005
2016-03-31 20:15:38 +02:00
Lynix 9b988f8960 Merge branch 'application'
Former-commit-id: e0f348fdcdd66784c9265ca8f8b55bb70fd423fd
2016-03-30 19:45:33 +02:00
Lynix b4d0dd1758 Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine
Former-commit-id: 157536817615de91c7bea1920d706c356d858216
2016-03-30 18:39:08 +02:00
Lynix 2b51a8b4b6 Sdk/Console: Add command history
Former-commit-id: e5b437988a3f81b2724c0f1a45da0bbfc85b14b0
2016-03-30 18:36:54 +02:00
Lynix 8ae493b535 Ndk/StateMachine: Fix constructor not calling State::Enter
Former-commit-id: 8e66600c19c53617cab1d889d8fa3c219bc9ea19
2016-03-29 23:42:25 +02:00
Lynix 12968c73fe Merge branch 'master' into application
Former-commit-id: 02d073ae79490d0ac38e56c90bf7d8ff57ae94c4
2016-03-29 21:47:56 +02:00
Lynix dd87b9b115 Ndk/GraphicsComponent: Add BoundingVolume
Former-commit-id: e053b21e5495e097a752c17bf2f9367f55b78d78
2016-03-26 01:38:30 +01:00
Lynix 11fe78f7e0 Ndk/StateMachine: Add constructor/destructor, should be usable now
Former-commit-id: fab76ba97470e8d7a2f4a01a9d1746a8e213892f
2016-03-25 21:34:17 +01:00
Lynix 8d6c8e8a79 Sdk/Application: Fix errors while exiting
Former-commit-id: 5b22aad341730918fbe4f56698a6a10e251256af
2016-03-19 14:20:55 +01:00
Lynix 8aa406a310 Sdk/Application: Fix AddWorld
Former-commit-id: 8b4758f0fafd6aae0360d0c87b8d5362e8e8d583
2016-03-19 14:20:28 +01:00
Lynix 42874b90d9 SDK: Add StateMachine (FSM)
Former-commit-id: 8029f7cce71809ff1f661982d39750c48c86431f
2016-03-19 12:21:07 +01:00
Lynix 83884015fc Add current work
Former-commit-id: 06dd34f00951e334b330c067f61f69fc73dcc2d2
2016-03-15 23:00:03 +01:00
Lynix 946d2cea7a SDK: Add global headers (improved global headers script)
Former-commit-id: f04a3526b185c6c5b8025168cd56829898082bc6
2016-03-03 14:10:52 +01:00
Lynix dbce7592a9 Sdk: Make World moveable
Former-commit-id: 285cb9da4cbafd3da0c0859eb9d366bb2fb978a3
2016-03-01 14:01:31 +01:00
Lynix d7ab29e5ef Fix and improve last PR
Former-commit-id: 16afead68e42411402dfb5a7bd957a4940b6f83a
2016-01-24 15:20:14 +01:00
GigAnon 8bfd879d87 Nz::ranged_cast
- Moved ranged_cast template function to namespace Nz in file
LuaInstance.hpp
- Added comments


Former-commit-id: 9af0a680b693208e582eb4edbe5a65f996d70a4a
2016-01-21 20:12:37 +01:00
GigAnon 69a1be70ba Lua Binding update
- Added range check on various casts (ranged_cast routine needs to be
moved somewhere else)
- Added Nz::Vector3ui type to auto-bind system


Former-commit-id: 3ec773b26d9cc85e40879c011cad0fb2a3d05571
2016-01-21 18:54:01 +01:00
GigAnon 6b0c750e54 Merge remote-tracking branch 'refs/remotes/DigitalPulseSoftware/master'
Former-commit-id: 59eaf0f4535005c601d64f407acaac066f95002c
2016-01-21 14:14:01 +01:00
GigAnon 04aac4363f Lua binding update
- Added files & Register_X methods for modules Graphics, Renderer and
Utility
- Added Nz::AbstractImage binding (WIP)


Former-commit-id: 91fd641c7676c12034e5f702bd3ba45e2a826263
2016-01-21 14:12:20 +01:00
Lynix 1ef85ae806 Sdk/LuAPI: Bind Nz::Stream class
Former-commit-id: 286ecbd79b25b30d17055640e1c792906f434525
2016-01-21 13:07:37 +01:00
Lynix 642f139da9 Sdk/LuaAPI: Improve error check
Former-commit-id: 5c33dd47c3da1c5957704272405dcd6c26117c0f
2016-01-21 13:07:05 +01:00
GigAnon 95f6977c1f Vector2 Lua Binding
Added Nz::Vector2 Lua binding


Former-commit-id: 727ad086fe62ce131ffdbc24ce17d020cd0fede7
2016-01-20 18:34:31 +01:00
GigAnon 83b365f139 Lua Binding
- Added Lua binding for Nz::MD5Hash & Nz::AbstractHash to LuaAPI_Core
(to be tested)
- Fixed a comment in LuaAPI_Audio


Former-commit-id: d80eec6616b7dad31e2fbbbe4ff6f5d1d28b67e4
2016-01-20 17:05:57 +01:00
Lynix 3898421f2f Sdk/API: Begin Lua Binding
Former-commit-id: b9be6bf7748296c3afc6fe1f32a1fd3fad6af008
2016-01-20 14:08:43 +01:00
Lynix 2b85c93433 Sdk/EntityOwner: Prevent copy (Copying an EntityOwner has no use)
Former-commit-id: 628eb865509a84de19bf97bf8253960d6bfb0005
2016-01-19 12:20:38 +01:00
Lynix f49f77b75d Sdk/CameraComponent: Add Size property for Orthogonal rendering
Former-commit-id: 0cdebac880e7e97685c7a0a2980dba973ec651a3
2016-01-13 18:43:42 +01:00
Lynix f9394e7af2 Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine
Former-commit-id: 3569a054e81dff3d44e433bedc9ef62526ebe367
2016-01-08 01:30:27 +01:00
Lynix 9fa8255de0 Sdk/Entity: Fix move constructor
Former-commit-id: 92d28b142cf1572fef3a608cb63f0f72d1539bce
2016-01-08 01:29:37 +01:00
Lynix 8441dcfa2a Ndk/Console: Fix compilation
Former-commit-id: 3579cc6a392f1e74134e035192c5ecdd3e779266
2016-01-07 18:07:03 +01:00
Lynix 55cfd66c7a Sdk: Add Console
Former-commit-id: c80d3c9dbbb0391fdb48a2710f5b5bf7468c050d
2016-01-07 13:43:53 +01:00
Gawaboumga 7f4a7c1012 Add override where missing
Former-commit-id: 2a876a280bc29f45ba81cedff5a3efeb5b70efab
2015-12-30 15:15:20 +01:00
Gawaboumga 92eaf8db1f Linux is case-sensitive
Former-commit-id: 40f31badac6bd4f19d8b54850ab0be8e486f08c2
2015-12-30 15:08:30 +01:00
Lynix 26e7fa1686 Ndk: Add EntityOwner class
Former-commit-id: ef7486e39124642cb1d1b8c24c4c726dc592486b
2015-12-18 13:27:09 +01:00
Lynix cfe7c79991 Sdk: Add server-side module
Former-commit-id: 4df27d1e44d791aad234d095af08ae3c19660fba
2015-12-13 16:36:38 +01:00
Lynix ee16bee137 Sdk/EntityList: Fix entity removal
Former-commit-id: bd85de75d139bd824e96449310063d6fad77f269
2015-12-11 13:08:15 +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 9cf5e4b68c Merge branch 'master' into NDK-ShadowMapping
Former-commit-id: 83435ab51753299b30a102871fbcd5558d2ac4f1
2015-12-09 00:59:07 +01:00
Lynix f1166b68a9 Sdk /CameraComponent: Fix render target resizing
Former-commit-id: c730aa1cd42d334fd3687cb76accc54d4a7fc1d7
2015-12-04 19:36:38 +01:00
Lynix 26681b48b7 Sdk/GraphicsComponent: Fix copy constructor
Former-commit-id: 8007e8c374d2c9442bc45b6c911666ba5f3a39b1
2015-11-30 18:19:38 +01:00
Lynix 0a0e6d00f7 Graphics: Add render order
Former-commit-id: 881ae69c214e024846dc0165f3476f76f5bcc0b5
2015-11-27 23:38:54 +01:00
Lynix 5d6e6b2d45 Fix errors and warnings
Former-commit-id: a3ba309633f198f82c1d0277d750d867cad4ba44
2015-11-12 00:29:10 +01:00
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 6ed8abafc6 Ndk/RenderSystem: Fix compilation
Former-commit-id: 25907facf61c77d64c1206ce4abe3e8018931ba7
2015-09-19 15:31:39 +02:00
Lynix cca9bb238b Merge branch 'NDK' into NDK-ShadowMapping
Former-commit-id: 271757d5d425b93422bd15a7e119f8eb0cec800b
2015-09-19 15:31:01 +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 025d873228 Merge branch 'NDK' into NDK-ShadowMapping
Conflicts:
	SDK/include/NDK/Systems/RenderSystem.hpp
	SDK/src/NDK/Systems/RenderSystem.cpp

Former-commit-id: 2772ff703c9d68d536667c469aca85084be4b861
2015-09-19 14:47:02 +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 2b48917176 Merge branch 'NDK' into NDK-ShadowMapping
Former-commit-id: b07de3853987ffc91946b307208c0ec26eda280a
2015-08-17 14:26:42 +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 6a2e0da88f SDK/Entity: Fix destruction
Former-commit-id: 045e771bc67f6141b4bd8d5a32d151fb09526857
2015-08-13 13:54:57 +02:00
Lynix 835da411c7 Graphics/Shadows: Add directional shadow mapping (WIP)
It still needs some debug


Former-commit-id: 029872debc1a784712a33802ddd70a2b61e55623
2015-08-13 13:54:34 +02:00
Lynix 4d07735b85 Ndk/Rendersystem: Add point-light shadows generation
Former-commit-id: ecf1fb1c83bafddba9e91f31f018e72180893e5c
2015-07-05 23:56:30 +02:00
Lynix d93229a9ac Fix compilation error
Former-commit-id: 5f264fc941898921da408b836c385d4073ebe3ae
2015-06-30 20:44:01 +02:00
Lynix 0cb4726bf5 Merge remote-tracking branch 'origin/NDK' into NDK-ShadowMapping
Conflicts:
	SDK/include/NDK/Systems/RenderSystem.hpp
	SDK/src/NDK/Systems/RenderSystem.cpp

Former-commit-id: f62e9a27427d96893acd2381bb06ae928a1d3741
2015-06-29 21:05:09 +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 b7b5458c79 Merge remote-tracking branch 'origin/NDK' into NDK-ShadowMapping
Former-commit-id: 0c302477d672346eb50c12f8fa7e2b6a19d60779
2015-06-23 12:11:02 +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 685f8c99da Sdk/RenderSystem: Fix code duplication (merge fail)
Former-commit-id: ac552375a50d333b53b11c435c88e647a7cd0817
2015-06-22 13:36:34 +02:00
Lynix ea3fdaba26 Merge remote-tracking branch 'origin/NDK' into NDK-ShadowMapping
Conflicts:
	SDK/include/NDK/Systems/RenderSystem.hpp
	SDK/src/NDK/Systems/RenderSystem.cpp

Former-commit-id: 0a72e838de272bff91f0b8c8a3637db94fdd7820
2015-06-22 13:31:23 +02:00
Lynix 90363406a6 Sdk: Add automatic system update
Former-commit-id: ce129cc945e7373ac5b9f48960894712d66b097a
2015-06-22 00:58:46 +02:00
Lynix ebbaaf7ff2 Graphics: Add depth render technique/queue
Former-commit-id: 711306ee5f84a9579068ce23240dc105cec15cde
2015-06-17 14:32:05 +02:00
Lynix 974df4288f First shadow mapping commit
Former-commit-id: 7465a7c3297626f8db8c1ff48a20c0e0d9feb765
2015-06-16 14:21:20 +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