Commit Graph

450 Commits

Author SHA1 Message Date
Lynix c1cebe1425 Merge branch 'master' into physics3d-material 2018-01-17 18:25:57 +01:00
germinolegrand 1e55c4d9e9 Prerequisites instead of Prerequesites (typo) #152 (#153) 2018-01-16 12:23:01 +01:00
Lynix 4cb598c32b Merge branch 'master' into physics3d-material 2018-01-14 14:40:57 +01:00
Lynix fe278bae4b Remove useless inline 2018-01-13 20:49:47 +01:00
Lynix 141640a962 Fix compilation for good 2018-01-13 12:01:53 +01:00
Lynix 0183f60b80 Fix compilation and PR 2018-01-13 11:57:30 +01:00
Faymoon 4f6bf30f24 Constraint 2D (#147)
* Rename all Constraint by [name]Constraint3D

* Create Refs and Libraries for Constraint2D

* Remove ref to PhysWorld in Constraints ctors

* Update Constraint2d ctor to have RigiBodies first

* Add New static function for all constraints and fix an oopsie

* Add Contraint Library and remove all library useless aliases

* Add ConstraintComponent2D

* remove useless definition of Constraint2D library

* Fix : getting the world of the constraint before having created it

* Make the GetStaticBody function return a ref

* Remove : Useless AddJoint Fonction and Update CreateJoint function

* Update PhysicsSystem3D because GetStaticBody return now a ref

* Oops

* Having done something with the 3D and i was needing 2D

* Add ConstraintComponent as friend of Collision and PhysicsComponent

* Update all the Get[Static/Rigid]Body function so they return a pointer

* fix the bugs caused by the commit before

* update : CreateConstraint lambda for the nullptr case

* remove the useless  use of const pointer

* Update : CreateConstraint function

* Update ChangeLog.md
2018-01-13 11:03:03 +01:00
Lynix 67fe1ec514 Merge branch 'master' into physics3d-material 2018-01-03 20:43:35 +01:00
Lynix 1d32557856 Sdk/TextAreaWidget: Fix Clear 2018-01-03 20:43:24 +01:00
Lynix e302667c21 Merge branch 'master' into physics3d-material 2017-12-14 18:15:35 +01:00
Lynix 5aab9b248d Sdk/PhysicsComponent3D: Fix cloning by preserving physics states 2017-12-13 22:17:50 +01:00
Jérôme Leclercq 4eb3520be8 Sdk/PhysicsComponent3D: Add node synchronization control 2017-12-13 10:36:27 +01:00
Lynix afa874de26 WIP on materials 2017-12-10 22:17:41 +01:00
Lynix f1b84bfc9e Sdk/Physics3D: Handle properly disabled physics entity 2017-12-10 14:07:18 +01:00
Lynix 498bd77d8a Sdk/BaseComponent: Add OnEntityDisabled and OnEntityEnabled callbacks 2017-12-10 14:06:43 +01:00
Lynix 0df70dcb16 Physics3D/RigidBody3D: Rename [Get|Set]Velocity to [Get|Set]LinearVelocity 2017-12-10 12:09:36 +01:00
Lynix 7772d56c66 Sdk/GraphicsComponent: Fix local matrix not being copied 2017-12-06 21:12:51 +01:00
Jérôme Leclercq 5ba0d0dba0 Add unit test for EntityOwner 2017-12-01 15:53:50 +01:00
Lynix 6d09abbc2c Physics3D/RigidBody3D: Add [Get|Set][Angular|Linear]Damping 2017-11-30 12:04:33 +01:00
Lynix 71ee30d570 Sdk/GraphicsComponent: Fix clear method 2017-11-28 23:21:11 +01:00
Jérôme Leclercq 377dd992b9 Sdk/Canvas: Implement tab/shift-tab to switch to next/previous widget 2017-11-23 14:48:59 +01:00
Jérôme Leclercq 4116984f9f Sdk/Canvas: Rename widgetbox to widgetentry 2017-11-23 13:54:58 +01:00
Jérôme Leclercq 3cff3fbadc Sdk/TextAreaWidget: Fix cursor showing up on readonly text area 2017-11-23 13:24:13 +01:00
Jérôme Leclercq d98b7a8f4f Sdk/Canvas: Prevent OnFocusLost/OnFocusReceived when using SetFocus on an already focused widget 2017-11-23 13:23:54 +01:00
Jérôme Leclercq 1601849a00 Sdk/BaseWidget: Add HasFocus method 2017-11-23 13:23:11 +01:00
Jérôme Leclercq 6c8b3eb319 Sdk/Entity: Add Disable shortcut 2017-11-23 13:22:38 +01:00
Jérôme Leclercq 0a5cbe656f Math/VectorI: Make array/pointer constructor explicit 2017-11-23 13:21:51 +01:00
Jérôme Leclercq b83a9b60e7 Sdk/World: Fix destruction retrieval while world clear 2017-11-22 10:26:33 +01:00
Faymoon 06ac8cf904 Add AddImpulse for PhysicsComponent2D (#141)
* Update PhysicsComponent2D.hpp

* Update LuaBinding_SDK.hpp

* Update LuaBinding_SDK.cpp

* Update LuaBinding_SDK.cpp

* Add : AddImpulse

* Add : AddImpulse

* Add : binding of PhysicsComponent2D

* add : handle

* fix alphabetical order

* complete PhysicsComponent2D binding

* Update LuaBinding_SDK.cpp

* Update LuaBinding_SDK.hpp

* Update PhysicsComponent2D.hpp

* Update PhysicsComponent2D.inl

* forgot : use namespace Nz and open namespace Ndk

* Update PhysicsComponent2D.hpp

* Add Addimpulse

* Update PhysicsComponent3D.hpp
2017-11-21 12:17:11 +01:00
Gawaboumga f991a9529e General bug fixes (#142)
* Core/Bitset: Fix TestAll method

* Fix documentation

* Fix color and their conversions

* Core/ByteStream: Fix return of Write

* Fix compiler warnings

* Math/Algorithm: Fix angle normalization

* Math/BoundingVolume: Fix lerp

* Math: Fix relation between Matrix4 and Quaternion

* More tests

* X11/Window: Fix mouse moved event generated when doing Mouse::SetPosition

* Update ChangeLog

* Should fix compilation on Windows

* Should fix compilation on Windows

Forgot to include array for Windows
2017-11-21 12:16:46 +01:00
Lynix 4fc076325c Sdk/StateMachine: Fix instantaneous state change 2017-11-19 17:09:56 +01:00
Jérôme Leclercq 16d4a6ac1c Sdk/BaseWidget: Fix compilation, for real 2017-11-15 10:48:30 +01:00
Lynix 14924f0e74 Sdk/BaseWidget: Fix compilation on Linux 2017-11-15 01:25:33 +01:00
Lynix 55bbc282db Sdk/TextAreaWidget: Fix compilation 2017-11-11 18:53:51 +01:00
Lynix 0487b282d7 Sdk/TextAreaWidget: Show cursor as long as focus is active 2017-11-11 18:42:30 +01:00
Lynix f136530a74 BaseWidget: Renamed GrabKeyboard to SetFocus, added ClearFocus and focus virtual methods 2017-11-11 18:38:11 +01:00
Lynix 2b88d81294 Sdk/TextAreaWidget: Refactor cursor position
In order to have only one cursor instead of two
2017-11-11 18:18:44 +01:00
Jérôme Leclercq e3f21b7268 Sdk/TextAreaWidget: Add OnTextChanged signal 2017-11-10 13:13:33 +01:00
Jérôme Leclercq bb6e032b60 Sdk/TextAreaWidget: Add support for EchoMode 2017-11-10 13:12:04 +01:00
Jérôme Leclercq a8651846ae Sdk/World: Fix movement not taking waiting entities into account 2017-11-08 13:14:00 +01:00
S6066 2ed9691c80 Added ImageWidget (#139)
* Added ImageWidget

* Remove useless ResizeToContent function

* Add ResizeToContent function

* Forgot operators

* Added textures & colors functions

* oops
2017-11-06 16:50:52 +01:00
Lynix d688cecbde Renderer: Replaced RenderTarget::Get[Height|Width] by RenderTarget::GetSize
Utility: Removed Window::Get[Height|Width] methods
2017-10-28 23:26:22 +02:00
Jérôme Leclercq 10a92dcb18 Sdk/LuaAPI: Add Ndk::Entity* handling for parameters 2017-10-16 11:57:38 +02:00
Lynix 2cac137066 Sdk: Remove systems clone (and thus need for copy constructor) 2017-10-14 14:41:55 +02:00
Lynix a39ed47ef4 Regenerate global headers 2017-10-10 21:52:34 +02:00
Jérôme Leclercq 10e2d3008a Sdk/Algortihm: Fix 64bits shift 2017-10-10 21:52:34 +02:00
Jérôme Leclercq 84537fcfb8 Sdk: Fix segfault when deleting hovered widget 2017-10-10 21:52:33 +02:00
Lynix d1eac591f5 Graphics: Prepare dynamic reflections 2017-10-10 18:28:15 +02:00
Lynix c763dea4e1 Merge branch 'master' into reflection-mapping 2017-10-02 21:11:15 +02:00
Gawaboumga bbac0838dd Include-What-You-Use (#137)
* IWYU Core

* IWYU Noise

* IWYU Utility

* IWYU Audio

* IWYU Platform

* IWYU Lua

* IWYU Network

* IWYU Physics2D

* IWYU Physics3D

* IWYU Renderer

* IWYU Graphics

* IWYU NDKServer

* IWYU Fix

* Try to fix compilation

* Other fixes
2017-10-01 11:17:09 +02:00