Commit Graph

419 Commits

Author SHA1 Message Date
Lynix 52a4a590e1 Graphics/Material: Fix depth sorting flag handling for meshes 2017-04-22 17:13:51 +02:00
Lynix e3514db87f Sdk/GraphicsComponent: Add methods to update local matrix and render order 2017-04-22 17:11:42 +02:00
Lynix 0708531f6c Sdk/World: Inline GetEntity and KillEntity 2017-04-22 12:58:39 +02:00
Lynix c1e9fe7b04 Merge remote-tracking branch 'refs/remotes/origin/master' into entitylist-refactor 2017-04-21 22:08:13 +02:00
Lynix 4f6706284e Sdk/World: Fix entity block handling 2017-04-21 21:27:27 +02:00
Lynix 3c99782643 Sdk/EntityList: Fix empty() behavior 2017-04-21 21:27:07 +02:00
Lynix 203509f141 Sdk/BaseSystem: Reuse EntityList 2017-04-21 01:02:46 +02:00
Lynix 48b348135e Refactor EntityList and prevent World to invalidate its own handles between updates 2017-04-20 23:42:45 +02:00
Gawaboumga eb70453574 State machine as a stack (#123)
* State machine as a stack

* Fix comments linked to code review

* I will think to compile, next time
2017-04-20 12:30:43 +02:00
Lynix 1305e8434a Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping 2017-04-17 23:42:21 +02:00
Lynix 5eccfefc05 Fix compilation 2017-04-17 23:42:20 +02:00
Lynix f7cd52d947 Small update 2017-04-17 17:39:26 +02:00
Lynix 5702e5202c Components/GraphicsComponent: Add DoesRequireRealTimeReflections method 2017-03-29 18:58:41 +02:00
Lynix 6851428c3c Components/GraphicsComponent: Watch every used material to handle reflective information 2017-03-28 23:36:08 +02:00
Lynix 02508fb99d Sdk/BaseComponent: Add GetEntity method 2017-03-20 07:49:01 +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
Lynix 55d9a22665 NDK/BaseWidget: Children widgets are now automatically parented to their parent 2017-02-23 00:09:39 +01:00
EloD10 ce6eb1d6d9 Update Console.cpp (#117)
* Update Console.cpp

Deleting a semicolon

* Update ButtonWidget.cpp

Removing empty fuction

* Update ButtonWidget.hpp

Removing unnecessary variable
2017-02-22 17:54:00 +01:00
Gawaboumga c2e4ccaf72 Various little fixes (#118)
* Add missing override qualifier

* Mostly shadowing, virtual destructor and other little things
2017-02-19 23:15:13 +01:00
Lynix cf286e0413 Sdk/Widgets: Add possibility to set cursor when mouse hover a widget 2017-01-20 20:03:00 +01:00
DrLynix f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
Lynix 6ba35700bf Sdk/BaseWidget: Cleanup canvas index 2017-01-19 23:09:23 +01:00
Lynix 439f8d0033 Sdk/Canvas: Little cleanup 2017-01-19 21:44:53 +01:00
Lynix ec795269ad Sdk/TextAreaWidget: Add signals (allowing for controlling the cursor/keys) 2017-01-18 23:38:29 +01:00
Lynix 36bcdcdb8c Sdk/Widgets: Make the canvas aware of itself as a widget 2017-01-18 23:35:43 +01:00
Lynix c1dfc5c4b8 Sdk/Widgets: Properly fixes padding 2017-01-18 23:06:31 +01:00
Lynix c9458eeb17 Sdk/BaseWidget: Add visibility control 2017-01-15 12:13:29 +01:00
Lynix e1e290808a Sdk/Canvas: Fix crash at Canvas destruction 2017-01-15 12:12:58 +01:00
Lynix 5865679891 Sdk/BaseWidget: Add a way to change background color 2017-01-15 12:11:59 +01:00
Lynix 14e327c603 Sdk/TextAreaWidget: Add SetTextColor 2017-01-15 12:11:15 +01:00
Lynix fd923ed58b Sdk/BaseWidget: Add Destroy method 2017-01-11 19:14:32 +01:00
Lynix 6acf101d77 Sdk/BaseWidget: Fix crash at Canvas destruction 2017-01-11 19:14:21 +01:00
Lynix d57498be10 Sdk/BaseWidget: Widget::Add now returns a pointer (easier to use) 2017-01-11 19:13:40 +01:00
Lynix 4f1438f0f1 SDK/BaseWidget: Add OnParentResized method 2017-01-11 18:27:32 +01:00
Lynix e66e0dfdce SDK/TextAreaWidget: Add multiline option 2016-12-06 16:34:23 +01:00
Lynix 7dc600fb34 SDK/TextAreaWidget: Add ReadOnly option 2016-12-06 16:33:55 +01:00
Lynix d3e3e9cbe2 SDK/TextAreaWidget: Expose cursor 2016-12-05 20:39:13 +01:00
Lynix 6138c02b9b SDK/TextAreaWidget: Make Write public 2016-12-05 16:48:29 +01:00
Lynix 60fee4bba6 SDK/TextAreaWidget: Add getters methods 2016-12-05 15:22:01 +01:00
Lynix e3e254532d SDK/TextAreaWidget: Add Clear() method 2016-12-05 15:21:47 +01:00
Lynix 6c03803c5e SDK/TextAreaWidget: Add cursor shifting by left and right arrows 2016-12-03 00:40:31 +01:00
Lynix cfa9b4bf2f SDK/Widgets: Add OnKeyPressed/OnKeyReleased callbacks 2016-12-03 00:35:39 +01:00
Lynix e6e4a437bd Merge remote-tracking branch 'refs/remotes/origin/master' into gui 2016-11-30 13:08:08 +01:00
Lynix 3c5594c206 Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-11-28 17:27:12 +01:00
Lynix 6160886785 SDK/Lua: Move binding files to NDK/Lua directory 2016-11-24 23:48:07 +01:00
Lynix 7f143e41f8 SDK/Lua: Rework LuaBinding classes to try to improve compile time and binary size 2016-11-24 22:54:48 +01:00
Lynix 0c8128b7e4 Mesh/MeshParams: Replace flipUVs by texCoordOffset and texCoordScale 2016-11-24 09:43:56 +01:00
Lynix 093ee3175e SDK/Component: Fix typo (and compilation) 2016-11-23 14:12:24 +01:00
Lynix 8d86306933 Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-11-23 14:07:52 +01:00
Lynix f629803f90 Sdk/CameraComponent: Fix compilation 2016-11-19 15:43:17 +01:00
Lynix 3bd426f3dc SDK/Lua: Bind CameraComponent 2016-11-18 22:39:01 +01:00
Lynix cdc53e3dc3 Sdk/Lua: Bind Keyboard 2016-11-18 22:14:10 +01:00
Lynix 950068a60d Doc/SDK: Fix missing NDK group 2016-11-18 12:03:35 +01:00
Lynix 1ff530cfbe Sdk/LuaAPI: Remove documentation from LuaImplQueryArg/LuaImplReplyVal
Since they are internal functions
2016-11-15 11:46:12 +01:00
Lynix 74f3ac8021 SDK: Add components and system for 2D physics 2016-11-10 18:31:27 +01:00
Jérôme Leclercq a8d4e44669 Sdk/World: Optimize updating dirty entities by removing a branch 2016-11-08 12:29:15 +01:00
Jérôme Leclercq 7e5a9048e1 Sdk/World: Fix a warning 2016-11-08 12:27:55 +01:00
Jérôme Leclercq aa304ef2e9 SDK: Allow to set an update order for systems (Closes #106) 2016-11-08 02:51:25 +01:00
Jérôme Leclercq 9e84c397ba Merge branch 'master' into culling 2016-11-07 11:26:48 +01:00
Jérôme Leclercq 4f01e13b09 Sdk: Fix typo 2016-11-06 23:12:08 +01:00
Jérôme Leclercq e087129d4a Fix many errors and warnings found out by MinGW 2016-11-04 18:14:52 +01:00
Lynix 28a2328371 Global headers: Remove the generation date
They should now generate the same input everytime
2016-10-28 17:53:03 +02:00
Lynix 3d79db4c52 Sdk/Widgets: Add TextAreaWidget (experimental) 2016-10-28 17:46:23 +02:00
Lynix 7df732b927 Sdk/Canvas: Add basic keyboard handler 2016-10-28 17:46:02 +02:00
Lynix a4eccc9fac SDK: Add widget global header 2016-10-27 21:38:46 +02:00
Lynix df24519230 Merge remote-tracking branch 'refs/remotes/origin/master' into gui 2016-10-27 18:36:47 +02:00
Lynix 6b1d1a1d64 Sdk/Lua: Bind TextureLibrary and TextureManager 2016-10-27 11:29:02 +02:00
Lynix 1d7e1b46ff Sdk/Lua: Bind more Matrix4 methods 2016-10-27 11:23:24 +02:00
Lynix 5ffc5a8784 Lua/LuaClass: Don't remove instance from the Lua stack
The instance Lua entry now remains as the first index, shifting all the
parameters indexes by 1
2016-10-27 11:22:35 +02:00
Lynix b27cfd30af Sdk/VelocityComponent: Cleanup 2016-10-25 12:22:57 +02:00
Lynix 2a08e19e77 Sdk/Lua: Bind Material class 2016-10-25 12:22:46 +02:00
Lynix 034f5cc8d7 Sdk/Lua: Bind SpriteLibrary 2016-10-21 17:32:40 +02:00
Lynix 373b8a7069 SDKServer: Fix compilation 2016-10-21 02:29:09 +02:00
Lynix b1abe2aac8 SDK: Fix compilation² 2016-10-21 02:22:12 +02:00
Lynix b062b496cf Fix compilation 2016-10-21 02:12:35 +02:00
Lynix 8f84700628 Sdk/LuaAPI: Make GetBinding() initialize the binding in case it wasn't initialized 2016-10-21 02:12:23 +02:00
Lynix 6b6608eccc Sdk/LuaBinding: Remove "class" suffix from classes instances 2016-10-21 02:03:31 +02:00
Lynix 350c7dad59 Sdk/Lua: Bind Sprite class 2016-10-21 02:00:51 +02:00
Lynix 4cd6bdd14a Sdk/Lua: Bind Texture class 2016-10-21 02:00:35 +02:00
Lynix 6885e99ee7 SDK/Lua: Bind Matrix4 2016-10-20 17:24:22 +02:00
Lynix 725dc6cdbc Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-10-19 11:17:12 +02:00
Lynix 5a07bbd001 Fix a lot of warnings from Clang/GCC 2016-10-17 14:46:53 +02:00
Lynix 634b67be56 Fix merge fail 2016-10-13 08:33:15 +02:00
Lynix 1fdda6b07c Merge remote-tracking branch 'refs/remotes/origin/master' into physics-refactor 2016-10-13 08:32:36 +02:00
Lynix 01cd9b220f Sdk/PhysicsSystem: Fix GetWorld() not initializing the internal world 2016-10-13 08:30:33 +02:00
Lynix be44a89a85 Sdk: Rename [Collision|Physics]Component to [Collision|Physics]Component3D 2016-10-13 08:23:25 +02:00
Lynix b52c7c57bf Physics3D: Rename PhysWorld to PhysWorld3D 2016-10-13 08:13:56 +02:00
Lynix 3765cba046 Physics3D: Rename PhysObject to RigidBody3D 2016-10-13 08:06:14 +02:00
Lynix b7a383d68c Physics3D: Rename all *Geom to Collider3D 2016-10-13 07:29:34 +02:00
Lynix 24f1859ec2 Physics: Change includes to Physics3D 2016-10-13 06:03:22 +02:00
Lynix debf87e739 Sdk/PhysicsSystem: Create PhysWorld only if required by entities 2016-10-13 05:29:48 +02:00
Lynix 561c0cf51f Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-10-12 16:51:18 +02:00
Lynix 7cab7cacaa Sdk/BaseWidget: Add Center() method
Former-commit-id: 337837199f8909bd39dd10129b379331e9344dd7 [formerly e29dfa72869a7e4831cdf1880db92a7f96cb7755] [formerly fef5a65af9b6bc7b12813a79db818aa6f8034c5f [formerly 5e38bf5eda4f96df7bb2f13d406830a48f293bb9]]
Former-commit-id: b06665741f29f91b9e26fe270e6addd699c5111b [formerly aaf5e62dbdda284ec70dae55b7c37c5e86b75ebc]
Former-commit-id: a9c1a3dc6df30f1688ad9143ba56912d02285c19
2016-10-11 15:41:19 +02:00
Lynix 2fdc7a8878 Sdk/BaseWidget: Add shortcut to create children widgets
Former-commit-id: 5d5ca1d1097086c33133440c08806aec9e478b09 [formerly ca22426131332606a26dc3f33fcda615c7c03d81] [formerly 38913198afa19aa2f5f2ee0f90f99d3780cb3333 [formerly b592a482e9f71b01a3b068276c3bbdcf8dcdda49]]
Former-commit-id: f464592f3d951614bc333bab9e0662fc1f8ad18e [formerly dd7f97b064a63188d227577e5f1f8dcc1526c2a3]
Former-commit-id: 6463d207bbf06bcfb811abb249fe257ee5336c85
2016-10-11 15:40:56 +02:00
Lynix 05dd93c549 Merge branch 'master' into gui
Former-commit-id: b5a6eba7494e7595000e3c7e1f3c77077485519f [formerly 74e8b34c50d86cea8be86dcc5d9b82e112db9277] [formerly 07e6a0bd2e00dcb9517c6ddc1d9ca7d3326707ae [formerly 59878811e379ef9bfd66e6fd0a0f32eaa39dcc6b]]
Former-commit-id: b7a83377bc61d378410ce33748ab63357ee53abb [formerly d789d8762086eb0dd43e0cef08f1edfbd8d346f2]
Former-commit-id: 7aa71e252bf91965f8f488dd9396e6287607edf9
2016-10-10 22:10:36 +02:00
Lynix 05f7c52378 Fix some warnings pointed by Clang
Former-commit-id: 2e2e0a23d3b4115b584743f100ca05fa404a4e9a [formerly 02f505dd5b7c70682e035ddabaa7731fe09d8452] [formerly bccc66f75a5ad50f88043a502c3cae1395889740 [formerly 294134ecf2220589b85d6950054591ce02e596ec]]
Former-commit-id: 9d8d7699eaf4128b3519b3d33b6f5a20bf16f30f [formerly d84e10bdcb4faf5cd48d639bab06544b6fc7bda1]
Former-commit-id: d73659592f82b0416b2ca6f2b406f744e68c4d45
2016-10-05 00:38:52 +02:00
Lynix c653d4c4f2 SDK/Prerequesites: Remove version informations
Since the SDK has the same version as Nazara for now


Former-commit-id: 98a11ff3f51208317502bcf4b66a92402f98b780 [formerly 15a3ec197fe5b709829f267eb66a72f1748ba2bd] [formerly 6568140a3c675568f914035350faf840ee215005 [formerly 76ec756093abdd84d386eee843eb2cc70e206222]]
Former-commit-id: 54c6ff374c0e64abbc6e7161ce517ddb568b1972 [formerly 164feb548e2974dcb562f8991f7ded2fa5364fe9]
Former-commit-id: 1c03591596f56e7607ae6abd0daacc2c11d6f2bf
2016-10-04 17:58:17 +02:00
Lynix bdc49b1eb3 SDK: Fix compilation with Clang
Former-commit-id: bbe7ec821304dd13ac6640a1c1c7b654914cbf2e [formerly 67a6dba7a47490a3f39ac6c9c4a0bf853da63f60] [formerly d116a4c3af3782462a1305bd76a1a410a0075027 [formerly 418e3fc7090ada085deb039eb79b9c74df694666]]
Former-commit-id: 813f866bfcfd81cff799a2bd7b26ec71ada8e9ca [formerly 5cea6c36cbe5b8a73f1e4aecf86042be331ba424]
Former-commit-id: e04eb838630232088ba6f93ad1896228b86f949d
2016-10-04 17:57:47 +02:00
Lynix 3875d2abe2 Build: Make some fixes in order to prepare static building
Still not linking though


Former-commit-id: 3962a663c9368ea78c4703cc860beef8c440bb4b [formerly b9575a870528ef6712500a94c5223a74d5c6dbec] [formerly bf2ab7b17b25479d6a8fda660e8d9055ffce38de [formerly 3db6f9cbf4cedd9f91ef8f7f1bcc99a4e84027a4]]
Former-commit-id: 0c292fec84d1963f377d16d5e9a15337bef4620f [formerly 93c016fa10c60bf11e4b0b1e17d8c98a66dfa028]
Former-commit-id: 712b1bf14355a82be4cc2c37912f87039b3d9616
2016-09-27 18:10:13 +02:00