Commit Graph

392 Commits

Author SHA1 Message Date
Lynix 1e5e1d5f6d Merge branch 'master' into console-widget 2017-08-30 16:14:53 +02:00
S6066 81f7e943df Add Progress Bar Widget (#132)
* Started Checkbox Widget (buggy)

* Added features

* Added enabling feature

* Almost finished Checkbox

* Bugfix

* Bugfixes

* Use a better name

* Optimizations

* Added explicit colors

* ...

* changed lots of things

* Almost finished CheckboxWidget

* Almost almost finished

* Use better UTF8 box

* Edited encode resources script to encode SDK resources

* Finished checkbox widget

* Forgot to delete old function

* Forgot to delete todo comment

* Fix Travis compilation

* Fix Travis compilation a second time

* Fix Travis Compilation a third time

* Fix indentation

* Fix Files encoding

* Moved CheckboxState enum in (new) Enum.hpp

* Probably looks like more generated now

* Reorder CheckboxWidget members

* Reorder checkbox state members

* Reorder members 2...

* Oops

* Reorder members functions

* Fix encoding

* Fix files encoding

* Forgot to fix one file encoding

* Fix SDK Server

* Fix encoding again -_-

* Oops

* Added ProgressBarWidget

* Finished (?) Progress Bar Widget

* Optimize Checkbox Widget

* Fix .gitignore

* Removed .vs in gitignore

* Moved Enums into Widgets folder

* Bugfix

* Fix Encode Resources script

* Remove double line feeds

* Rename SetNextState to SwitchToNextState

* Added ProgressBarWidget

* Finished (?) Progress Bar Widget
2017-08-30 15:17:54 +02:00
S6066 55ca4a84ea Added CheckboxWidget (#130)
* Started Checkbox Widget (buggy)

* Added features

* Added enabling feature

* Almost finished Checkbox

* Bugfix

* Bugfixes

* Use a better name

* Optimizations

* Added explicit colors

* ...

* changed lots of things

* Almost finished CheckboxWidget

* Almost almost finished

* Use better UTF8 box

* Edited encode resources script to encode SDK resources

* Finished checkbox widget

* Forgot to delete old function

* Forgot to delete todo comment

* Fix Travis compilation

* Fix Travis compilation a second time

* Fix Travis Compilation a third time

* Fix indentation

* Fix Files encoding

* Moved CheckboxState enum in (new) Enum.hpp

* Probably looks like more generated now

* Reorder CheckboxWidget members

* Reorder checkbox state members

* Reorder members 2...

* Oops

* Reorder members functions

* Fix encoding

* Fix files encoding

* Forgot to fix one file encoding

* Fix SDK Server

* Fix encoding again -_-

* Oops

* Optimize Checkbox Widget

* Fix .gitignore

* Removed .vs in gitignore

* Moved Enums into Widgets folder

* Bugfix

* Fix Encode Resources script

* Remove double line feeds

* Rename SetNextState to SwitchToNextState
2017-08-30 10:25:42 +02:00
Gawaboumga 5aa072cee3 New module: Platform - Split window management from Utility module (#128)
* New module: Platform - Split window management from Utility module

Final touch

* NDK/SDK: Bring back initialization of Utility
2017-08-30 10:22:50 +02:00
Gawaboumga 41a1b5d493 Physics2D tests (#129)
* Quaternion: Fix singularity on Z axis when converting to euler angles

* CollisionComponent2D: Add method to retrieve AABB

* Collider2D: Fix constructor for Box with Vector2

* Physics2D: Fix rotation (Chipmunk works with radian and Nazara degrees) and copy constructor of RigidBody2D

* Colider2D: Add New for convex and tests for the new classes
2017-08-20 21:47:23 +02:00
Lynix f363420ebe Sdk/ParticleEmitterComponent: Fix Enable inline option 2017-08-20 21:34:12 +02:00
Jérôme Leclercq 061b358857 Sdk/ButtonWidget: Fix layout not triggering when updating text 2017-08-08 16:34:22 +02:00
Lynix 4e9508e23a TextAreaWidget: It feels natural now *.* 2017-08-06 23:40:41 +02:00
Lynix 5aa2efc737 TextAreaWidget: Add support for 2D cursor 2017-08-06 23:37:35 +02:00
Jérôme Leclercq b64ab862fe Fix warnings 2017-07-27 14:39:48 +02:00
Jérôme Leclercq 2b36516758 Fix compilation 2017-07-27 14:39:34 +02:00
Jérôme Leclercq 326fb930af Sdk/LuaBinding: Add support for component binding without default constructor (will throw a lua error) 2017-07-27 11:41:13 +02:00
Lynix cea89abc51 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-06-09 01:47:33 +02:00
Jérôme Leclercq a8129b218b Refactor LuaInstance to prepare coroutine handling 2017-06-07 21:18:07 +02:00
Lynix 3b914422c8 SDK/EntityList: Fix warning on GCC 2017-05-30 00:50:28 +02:00
Jérôme Leclercq 09bace0f28 Sdk/LuaBinding: Bind UdpSocket 2017-05-18 11:44:28 +02:00
Lynix bb3eebb9cc Sdk/EntityList: Automatically remove entities from lists on destruction 2017-05-14 22:13:31 +02: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 dd4466081f Merge branch 'entitylist-refactor' 2017-05-11 20:35:09 +02:00
Lynix 1b66948213 Merge branch 'entitylist-refactor' of https://github.com/DigitalPulseSoftware/NazaraEngine into entitylist-refactor 2017-05-11 20:13:57 +02:00
Lynix 064ffd2945 SDK/EntityList: Improve documentation 2017-05-11 19:46:57 +02:00
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 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 f00359072f Merge remote-tracking branch 'refs/remotes/origin/master' into console-widget 2017-02-23 00:47:12 +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 2baaaaa554 Sdk/Console: Add input processing back 2017-01-20 20:40:16 +01:00
Lynix 0257f4be3c Sdk/Console: Fix style 2017-01-20 20:35:21 +01:00
Lynix e8cb625e72 Merge branch 'master' into console-widget 2017-01-20 20:19:55 +01:00
Lynix 662d304e89 Merge remote-tracking branch 'refs/remotes/origin/master' into console-widget 2017-01-20 20:08:17 +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 dc439d69a5 Sdk/Console: Turn console into a widget (WIP) 2017-01-15 13:25:12 +01:00