Commit Graph

40 Commits

Author SHA1 Message Date
Jérôme Leclercq 7140e322c1 Commit missing files 2021-05-25 10:40:07 +02:00
Jérôme Leclercq e716b44aa3 Add tests and SDK 2021-05-17 23:08:37 +02:00
Jérôme Leclercq 98e20ecbb7 Last modules fixes 2020-09-17 18:54:33 +02:00
Jérôme Leclercq 2a875c8bdc Remove Graphics module and fix compilation 2020-08-27 19:43:31 +02:00
Lynix 43ee75b75f Replace #include <NDK/ by #include <NazaraSDK/ 2020-02-24 17:57:46 +01:00
Jérôme Leclercq b88c9b2cec Sdk/World: Fix entity kill and invalidation bug 2019-05-13 16:50:19 +02:00
Jérôme Leclercq 73c0dbbd30 Add vector test 2019-05-13 14:05:48 +02:00
Lynix 2f5e9e481b Fix unit tests 2019-04-03 22:15:53 +02:00
Lynix 1880f88e8f Fix unit tests 2019-03-26 20:33:29 +01:00
Lynix 9cc83aafda Math/Angle: Add FromDegrees and FromRadians builders 2018-10-10 22:59:57 +02:00
Lynix dc6fbfc90f Replace floating point angle by Angle class instance 2018-10-09 23:20:53 +02:00
Jérôme Leclercq 97cdb110ae Unit test fixes 2018-09-05 15:15:26 +02:00
Jérôme Leclercq 5e6204fad4 Fix compilation 2018-08-31 17:33:51 +02:00
Faymoon 0a5e9e040d Update PhysicsSystem2D (#179)
* Update

* Add: [Get/Set]AngularDaming for standardization

* Fix: Name error

* Add: [Get/Set][AngularDamping/MomentOfInertia] in PhysicsComponent2D

* Forgot in last commit

* Add: param coordSys in [PhysicsComponent2D/RigidBody2D]::SetMassCenter

* Add: Some forgotten inline

* Fix little error

* Fix: Indentation before case

* Move and Change GetCenterOfGravity

* Rename m_world into m_physWorld

* Rename GetWorld int GetPhysWorld

* Update: PhysicsSystem2D became an interface of PhysWorld2D

* Update Collison/PhysicsComponent because GetWorld was renamed

* Update tests

* Update: Make the interface usable with Entity instead of PhysicsComponent

* Update: Make GetPhysWorld private

* Update PhysicsSystem2D.hpp

* Update: indent

* Remove: useless blank line

* update order(?)

* Update PhysicsSystem2D.hpp
2018-08-07 19:08:01 +02:00
Jérôme Leclercq 7b6cc47e03 Sdk/Entity: Add IsDying method 2018-07-17 10:51:35 +02:00
Lynix 9bfcd02730 Fix unit tests 2018-02-12 20:18:51 +01:00
Jérôme Leclercq 8bcd74ab04 Fix unit test compilation error 2018-02-08 16:31:01 +01:00
Jérôme Leclercq 7366d92818 Sdk/System: Fix time loss when using max update rate 2018-02-08 11:43:15 +01:00
Gawaboumga dfd28160a0 Lua tests (#158)
* Fix float comparison in tests

* Lua tests
2018-01-31 15:27:23 +01:00
Jérôme Leclercq 5ba0d0dba0 Add unit test for EntityOwner 2017-12-01 15:53:50 +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
Lynix 333a7903ff Disable system clone unit test 2017-10-14 15:23:22 +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
Lynix f95fc332f1 Sdk/BaseSystem: Fix udpate with max update rate + unit tests 2017-09-22 21:01:25 +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
Gawaboumga 47a22c2785 Fix wrong aabb returned from PhysicsComponent2D (#127) 2017-06-20 06:53:39 +02:00
Lynix 7425993d2d SDK/World: Fix waiting entities not being cleared on time 2017-05-15 10:11:42 +02:00
Lynix dd4466081f Merge branch 'entitylist-refactor' 2017-05-11 20:35:09 +02:00
Lynix d8a2d08e27 UnitTest: Add some checks 2017-04-22 15:08:21 +02:00
Lynix c06db7d9c5 SDK: Fix unit tests 2017-04-22 12:58:14 +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
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 4c6f049e0d Fix another lot of warnings from Clang
Closes #90
Closes #91
Closes #92
Closes #93
2016-10-17 16:01:05 +02:00
Lynix be44a89a85 Sdk: Rename [Collision|Physics]Component to [Collision|Physics]Component3D 2016-10-13 08:23:25 +02:00
Lynix 3f9988f75f UnitTests: Fix unit tests
Former-commit-id: 2ce788e02e887fc77b4e1778ade02e40bd377cd4 [formerly 22a98fbd268679a69754797cf2eeb6c70097fa2d] [formerly 3c6a3e8293b9715cd0b01f7b9d5592e86f65a936 [formerly 14c98743cee9ac56e6cc924ce3004c659dda6439]]
Former-commit-id: a7897fb09e78eba5fc055f03a1f5c886d6802a38 [formerly b71928574724e14bdbe74b7a28ea28fc79919d10]
Former-commit-id: c1900462b9a5def4daa9c3ca93f1bc00b875135c
2016-10-04 21:47:42 +02:00
Lynix 3461eb49ca Disable RTTI everywhere and fix Linux compilation
Former-commit-id: c8c0f11725d2e5b6c6da6dc3ab11f0eda065094f [formerly c2977e388c70ba7ccdf52f9eb97d7fe71ed6f4cf] [formerly 73c0d0759a6c9cad05dff59bff486f99fde336b6 [formerly 96a6e52ba5c97fd3a107fed5d11738466bd53f7e]]
Former-commit-id: c6a193ee5ccb07a40a74719937dbf224ad22081e [formerly 5f275dc02a44bd2ee54f6d926338ddfe388f565b]
Former-commit-id: e35640a20ac2269f96b75998e56fcba2fdbf6f00
2016-09-30 14:15:19 +02:00
Lynix 6d356d2790 Fix all unit tests
Former-commit-id: f83290f7d0b5106624a37956edfc0ea623eb61a8 [formerly 7260760404ad152543aaac13fc61861c8f82c15b] [formerly 4cce81216b3f42daab22c52353acc7626d52cdad [formerly c79538e86f953f326636bdacac778d5936988eee]]
Former-commit-id: 26b41fdde348870cc75535d80a4bd9a209184668 [formerly e12ae06222e2fb77a6f68c5788f0901485b95218]
Former-commit-id: 6f47bc28420ebe23ce378a80324430fe898c1e99
2016-09-26 13:17:16 +02:00
Lynix 6b155f7e14 Test/StateMachine: Fix compilation
Former-commit-id: b941ed79168687628c27d3ebb2caf1863e968307 [formerly 6b0801514a3427900ea38124301fb3d833ac6bfa] [formerly f2cd5d78631c02468c54f602b19ca4c728a91243 [formerly 6262416d9bb0b6d7812fcbadb8f45d79d3391ec3]]
Former-commit-id: 702008d7fd198ac4bd65b719cf7f7d639834cde0 [formerly 15ee4f1c843a1ce92a1a7d25f27d3c941fea115d]
Former-commit-id: b12e457b17f44d2cda68b5c9a6138c4b02b7f1fe
2016-08-25 16:28:25 +02:00
Gawaboumga 9eba331f34 Documentation for module 'NDK'
Former-commit-id: 63e1cac538c577a1f1aafa71fa7eef69a6d4daab [formerly b2d8769fd02a0e7d9c476d4ad7be1988a1fd6789] [formerly 636b5cb79bcb8da44d9aa45ba1023565bcf29f0d [formerly a2361ec2b8679d4d4ba096e543b5d4b91825dd62]]
Former-commit-id: d402d35477f9db0135c553d55c401939426bf62d [formerly 607336ea0f42731e4604f3a8c2df06f3aecfc401]
Former-commit-id: 69e23cd6c06723486de5e4641ce810012dac66da
2016-08-21 13:48:52 +02:00