Commit Graph

357 Commits

Author SHA1 Message Date
Lynix e3514db87f Sdk/GraphicsComponent: Add methods to update local matrix and render order 2017-04-22 17:11:42 +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 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