Commit Graph

100 Commits

Author SHA1 Message Date
Lynix 234aa90f51 Fix unit tests 2018-01-07 03:50:35 +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 ee06fffd03 Fix StringStream tests 2017-10-15 14:54:28 +02: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 bccbc0dbf1 Move warning fixes! 2017-09-30 15:23:05 +02:00
Lynix f95fc332f1 Sdk/BaseSystem: Fix udpate with max update rate + unit tests 2017-09-22 21:01:25 +02:00
Jérôme Leclercq 3153af485c Physics2D: Handle kinematic objects properly 2017-09-07 16:16:11 +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
Gawaboumga 47a22c2785 Fix wrong aabb returned from PhysicsComponent2D (#127) 2017-06-20 06:53:39 +02:00
Jérôme Leclercq bc4a533b96 Core/ParameterList: Use double and long long instead of float and int 2017-05-29 19:55:02 +02:00
Lynix 999cb13f00 Fix test compilation 2017-05-16 09:19:37 +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 2d3c6010be UnitTest/Math: Fix Sphere test 2016-12-15 20:14:44 +01:00
Lynix f5f6c859d7 Math/Sphere: Remove SquaredDistance method 2016-12-15 18:32:58 +01:00
Lynix 8d86306933 Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-11-23 14:07:52 +01:00
Lynix 5efa986ac1 Fix compilation warnings 2016-11-18 01:32:03 +01:00
Lynix 2ed65e60e1 Core/Bitset: Add Reverse() method 2016-11-18 01:09:05 +01:00
Lynix d9774f30a3 Core/Bitset: Add Read method and FromPointer static method 2016-11-17 22:57:54 +01:00
Lynix 43a3f15794 Core/Bitset: Add AppendBits function 2016-11-17 22:56:48 +01:00
Lynix 91010fffa6 UnitTests/Bitset: Test with different block size 2016-11-17 18:25:22 +01:00
Lynix 48f7a955f6 UnitTests: Fix compilation 2016-11-10 17:35:29 +01:00
Lynix 725dc6cdbc Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-10-19 11:17:12 +02:00
Lynix d530ca22e0 Final pass of Clang warning fixes 2016-10-17 16:14:35 +02: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 9f771f8c01 UnitTests: Convert some REQUIRE to CHECK 2016-10-13 05:13:39 +02:00
Lynix 584cb858ef UnitTests: Reduce text size from 72 to 36 2016-10-13 05:08:40 +02:00
Gawaboumga d4e569c09e Add tests for event handling, use NazaraUnitTests [EventHandler] 2016-10-12 21:08:02 +02:00
Lynix 561c0cf51f Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-10-12 16:51:18 +02:00
Lynix d59fd12824 UnitTests: Try to fix AcceptClient error
Former-commit-id: 2545ccc482b0726c23b85e12a3aaa294837676c1 [formerly eda50f108c9d8a4991b59346f47be1850b690f26] [formerly 8b467d645f61cc8b2fcb20318f5c8d792d3fe247 [formerly 287e1abaacb666890183535fc62fa33499f96e83]]
Former-commit-id: 40325f685aa612016580d887e8fec111a0845594 [formerly 37695b3f6793e947d79c37b023b9f388b6d888d3]
Former-commit-id: 7c6a7d60223733a253d05b52592146ddb51705b8
2016-10-09 14:05:07 +02:00
Lynix 03e31af828 UnitTests: Choose a random port when testing
Former-commit-id: ce4e1c4b2b65327917bd0cf14b91102bfdab6327 [formerly e4390f995cb6ccb2c5e3b81a56acf0563d8d2679] [formerly a813d71a45dc17042129a31a8537b35ffaf93120 [formerly 683e75adf03f84ce2dc2454b4c22c2a20ca31668]]
Former-commit-id: 65fe6b63137fc3a55439d3ec777147ab51ed259a [formerly 310169d28ca078fdf76307bbf9f0a653c3c85d42]
Former-commit-id: fc03da2c66e08f6d349b5eedae057c5ab371ad9e
2016-10-07 15:23:08 +02:00
Lynix 254f6fc4f9 UnitTest: Make each network test use a different port, preventing them to block
Former-commit-id: 168b9dbfea12e3729e68e8e3997025e14ced7990 [formerly cdfa45797832584cdb6e89e4619e6d79c893cfdf] [formerly d410f28ace50a77e49e455eae6e5d615a3141fde [formerly c8fc846a743b4bff94c5b25fefba0daf5af4058f]]
Former-commit-id: 2c7aabb44d8b870cfa78b04e968cd336fb44369d [formerly 4e832af38d8fcd7e245fe249d6e2ea483a42dd1e]
Former-commit-id: d02ca742f02bf62b72c06b78877d65e23972ed21
2016-10-05 01:12:12 +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 dd8f583ddf UnitTests: Add SocketPoller test
Former-commit-id: b55e068f965f5caa4e4421c34e829522bc48a4cf [formerly c5496d8e4fa3b92bc2b950211de80f6b7e3fc967] [formerly ee508eb538748fd1c23d032fb825a03879a58e67 [formerly e18dff1d01ba1cc6df8351f6ea4b315809843a6c]]
Former-commit-id: 307f7d01cfdcc4ec84eed0c36773349922e50a1d [formerly 4098ef95f0950a95b576c95e7a904d986d4c9cc0]
Former-commit-id: 1c92830f710e774f575a6bc4ee5151b0c88b6369
2016-09-26 13:17:06 +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
Lynix 5528b26a25 Test/StateMachine: Fix compilation
Former-commit-id: 8295c8c806237bd8e19b1552a49261a4ffe88f25 [formerly 787c63351091093758db9e757f5fb25503fe1148] [formerly 2d6ee7f2e25afe0cbefb253cfd3ff14a98fd0d1c [formerly 478af98f46f86377def455f096426cfc8b54fb63]]
Former-commit-id: 96b7dc76d50ed661f9a8a0d785d5fc0d00b3a009 [formerly 4f4129ba5e902fece9d58530c40c8d134a05cc27]
Former-commit-id: bf52731510dbb1269be506e9ebea6f0733045b4a
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
Gawaboumga 95689f46fb Documentation for module 'NDK'
Former-commit-id: a6c2075cfbfd0eccf2b77def71c0d42684bed590 [formerly 36ece2bc6a148bde6cacf45084821d20edcd115e] [formerly 4a6988792ec026e65be6850c46dfe8ddda92a885 [formerly fd3f4f975de5c427f3adc98b220446fd255be396]]
Former-commit-id: c87fdc9483202842267c60eff3d619f0df2963bf [formerly ee35202f1b2df7ca20da5b6d8b13147f2b92c933]
Former-commit-id: dad5de1b00bb4413f7aa191ca06b7d43b659f32a
2016-08-21 13:48:52 +02:00
Lynix 2203d57818 UnitTests: Fix blocking case
Former-commit-id: 10d46cfff7380c1c98942a34386b462f41c8ccb7 [formerly fa3e8494f3c0912fcd6afed3eef746abbd7a38f0]
Former-commit-id: 8fca4ecb8466e1240c489eacdee5303ed461f24b
2016-07-29 13:38:00 +02:00