Commit Graph

2076 Commits

Author SHA1 Message Date
REMqb 4d195e0e08 ~ Fix widgets / events not working after the window defocused then focused again (#144) 2017-11-23 00:01:55 +01:00
Jérôme Leclercq 1b80ad5f02 Platform/Window: Revert wrong mouse position fix 2017-11-22 10:26:58 +01:00
REMqb ecadcabfa9 ~ Fix position of the mouse was set after the event callbacks were run. (#143) 2017-11-22 00:35:32 +01:00
Jérôme Leclercq f84ac9c52b Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2017-11-21 12:26:45 +01:00
Jérôme Leclercq 3589a2bc8e Core/Flags: Reworked Flags class 2017-11-21 12:26:22 +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 f2506ee918 Network/ENetHost: Fix service time precision 2017-11-20 21:04:50 +01:00
Jérôme Leclercq e627be3f72 Utility/Buffer: Fix Destroy() not really destroying buffer 2017-11-08 14:35:11 +01:00
Lynix 786a11fc78 Graphics/Material: Fix missing reflection initialization 2017-10-31 00:14:50 +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
Lynix bf8ebbd046 Platform/WindowImpl: Fix threaded windows deadlock when using some methods 2017-10-28 00:52:26 +02:00
Lynix e7eaea37d7 Reencode resources 2017-10-26 23:38:33 +02:00
Lynix 9daadb73bc Utility: Make mesh loader use the parameters vertex declaration 2017-10-21 04:51:05 +02:00
Lynix 995dfddafa Utility/MeshParam: Use constref instead of pointer 2017-10-19 21:05:48 +02:00
Lynix 0e45876b89 Fix compilation with MinGW 2017-10-18 22:02:36 +02:00
Lynix b47b89ed8b Utility/Mesh: Add index and vertex buffer flags in MeshParams 2017-10-18 00:29:34 +02:00
Jérôme Leclercq b3f3d16f13 Physics2D: Fix DebugDraw of polygons 2017-10-16 11:57:23 +02:00
Jérôme Leclercq 6e7b78611d Physics2D/RigidBody2D: Add SetStatic method 2017-10-16 11:56:41 +02:00
Lynix ee06fffd03 Fix StringStream tests 2017-10-15 14:54:28 +02:00
Lynix 9911c6e07c Core: Optimize StringStream 2017-10-15 12:25:08 +02:00
Lynix a9307d5e7b Fix compilation 2017-10-14 19:22:27 +02:00
Lynix 46cf06f446 Fix previous commit oopsies 2017-10-14 18:27:37 +02:00
Lynix 683b09144d Core: Replace StackAllocation by StackArray
This will cleanup alloca usage a little bit
2017-10-14 18:04:16 +02:00
Jérôme Leclercq 101783126c Physics2D: Add DebugDraw method 2017-10-13 15:14:37 +02:00
Lynix fce0db09e8 Add support for reflection in PhongLighting shader 2017-10-11 00:07:57 +02:00
Lynix 85aa01a562 Physics2D: Add constraint support 2017-10-10 21:52:35 +02:00
Jérôme Leclercq 46e684c275 Network/ENetHost: Fix compression callbacks 2017-10-10 21:52:32 +02:00
Jérôme Leclercq 3282534bba SocketPoller: Fix behavior on Windows and BSD 2017-10-10 21:52:31 +02:00
Jérôme Leclercq 874599fefd Network/SocketPoller: Uniformize behavior accross platforms
On Windows, a closed connection will mark as ready for read/write
2017-10-10 21:52:30 +02:00
Lynix c763dea4e1 Merge branch 'master' into reflection-mapping 2017-10-02 21:11:15 +02:00
Jérôme Leclercq 99d21b8722 Fix compilation and some warnings 2017-10-02 16:18:15 +02:00
larnin 40a678889d Vertex declaration changes (#135)
* Add type to ComponentType conversion

* Change type to ComponentType conversion

* Change assert to condition, add check on particle mapper.

* Change particle life type

* Changes as requested

* Fix Travis try 1

* Changes as requested

* move IsSuitableForComponent to inl
2017-10-02 15:21:03 +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 508554fcb1 Fix some more warnings 2017-09-30 15:00:42 +02:00
S6066 4f0435754f Fixed Nz::String's implementation of std::geltine (#136)
* Fix Nz::String's std::getline

* Bugfix

* Bugfix again
2017-09-30 14:23:42 +02:00
Lynix 2cd9fa2b7a Core: Add MovablePtr class 2017-09-30 13:57:25 +02:00
Jérôme Leclercq cc4fdf2476 Network/ENet: Add compressor support 2017-09-22 15:22:43 +02:00
Jérôme Leclercq 74b5cada88 Utility/SimpleTextDrawer: Fix bounds computation 2017-09-21 14:40:22 +02:00
Lynix 9a6b007e70 Network/ENetHost: Fix crash 2017-09-16 10:47:00 +02:00
Jérôme Leclercq c211abd977 Network/ENetHost: Fix typo 2017-09-14 14:12:32 +02:00
Jérôme Leclercq f2870b83c0 Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2017-09-08 09:41:10 +02:00
Jérôme Leclercq b4d0854028 Physics2D/PhysWorld2D: Add damping control 2017-09-08 09:41:08 +02:00
Lynix 53020f27a5 Physics2D/RigidBody2D: Fix mass incorrectly reported at 0 after copy 2017-09-07 18:38:31 +02:00
Jérôme Leclercq 3153af485c Physics2D: Handle kinematic objects properly 2017-09-07 16:16:11 +02:00
Jérôme Leclercq 305a72a7d2 Lua/LuaState: Fix movement not stealing pointer 2017-09-04 10:05:23 +02:00
Jérôme Leclercq 5915b6ce3a Network/ENetHost: Fix error when using ENetHost without listening 2017-09-01 15:24:42 +02:00
Jérôme Leclercq e37a7ad5fd Network/ENetHost: Dismiss external peer connection if listen address is loopback 2017-09-01 15:22:27 +02:00
Jérôme Leclercq 7074876d68 Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2017-09-01 14:26:30 +02:00
Jérôme Leclercq 38bd348ed6 Physics2D/RigidBody2D: Allows better control on inertia 2017-09-01 14:26:28 +02:00
Jérôme Leclercq c087003bda Physics2D/RigidBody2D: Use kinematic object instead of static ones when mass is set to zero 2017-09-01 13:34:04 +02:00