Commit Graph

2150 Commits

Author SHA1 Message Date
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
Lynix a1ddce8dfb Utility/SimpleTextDrawer: Fix drawer regenerating glyphs everytime 2017-09-01 08:59:27 +02:00
Lynix 01e928e324 Renderer/Renderer: Default to current GLSL version for AST generation 2017-08-30 18:21:45 +02:00
Lynix cb69b1ed01 Renderer/ShaderAst: Add ConditionalStatement 2017-08-30 18:21:44 +02:00
Lynix 205b8b1ba6 Renderer/ShaderAst: Add Swizzle 2017-08-30 18:21:43 +02:00
Lynix 832237c6d4 Renderer/ShaderAst: Fix a few multiply/divide cases 2017-08-30 18:21:42 +02:00
Lynix 8a68df4c56 Forgot to save all files.. 2017-08-30 18:21:41 +02:00
Lynix f0a7430d34 Renderer/ShaderAst: Fix compilation errors on Linux 2017-08-30 18:21:40 +02:00
Lynix bd8a3ba47d Renderer: Replace shaders files by runtime-generated GLSL 2017-08-30 18:21:40 +02:00
Lynix 8fd152aec0 Renderer/ShaderAst: Rename Builtin enum to BuiltinEntry 2017-08-30 18:21:39 +02:00
Lynix 4a67f56e80 Renderer/GlslWriter: Fix exception 2017-08-30 18:21:38 +02:00
Lynix a5a228e0c7 Renderer/ShaderAst: Add Constant overloads 2017-08-30 18:21:36 +02:00
Lynix 2a57af9896 Renderer/ShaderAst: Add Cast node 2017-08-30 18:21:34 +02:00
Lynix a84391cf08 Renderer/ShaderAst: Add support for expression type 2017-08-30 18:21:33 +02:00
Lynix 9e8785cf01 Renderer/GlslWriter: Fix comment sections being "Uniforms" no matter the section value 2017-08-30 18:21:32 +02:00
Lynix 3ed661f387 Renderer/ShaderAst: Add input and outputs variables 2017-08-30 18:21:32 +02:00
Lynix e82fb7fef4 Renderer/ShaderAst: Add NamedVariable and BuiltinVariable classes 2017-08-30 18:21:30 +02:00
Lynix 43e23fea47 Renderer/GlslWriter: Add comment sections 2017-08-30 18:21:29 +02:00
Lynix 114c4dbf58 Renderer/GlslWriter: Fix typo 2017-08-30 18:21:28 +02:00
Lynix f487761940 Renderer/GlslWriter: Add #version directive 2017-08-30 18:21:28 +02:00
Lynix d538a7ddf5 Renderer/GlslWriter: Add support for Uniform and Parameters variables 2017-08-30 18:21:27 +02:00
Lynix 5c3e67bb26 Renderer/GlslWriter: Move variables to the function scope 2017-08-30 18:21:26 +02:00
Lynix 5c6df52fbf Commit current work 2017-08-30 18:21:25 +02:00
Lynix c48d752ad4 Utility/MeshLoader: Fix pre-transformation matrix not affecting normal and tangents in some cases (Fix #131) 2017-08-30 15:58:19 +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 9613ad5de6 Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2017-08-16 20:33:40 +02:00
Lynix b7692400c4 HardwareBuffer: Fix wtf behavior 2017-08-16 20:33:23 +02:00
Jérôme Leclercq 5531e81e65 Core: Add CRC64 and regenerate global headers 2017-08-15 12:32:19 +02:00
Lynix 84e5ea0023 SimpleTextDrawer: Fix Faux-Bold 2017-08-13 21:40:41 +02:00
Lynix e512302305 RigidBody2D: Add experimental SetMomentOfInertia method 2017-08-06 23:46:55 +02:00
Lynix 506a963539 SimpleTextDrawer: Assert after update 2017-08-06 23:37:14 +02:00
Jérôme Leclercq 3d368b2fe7 Network/SocketPoller: Fix behavior of Wait method (-1 will block) 2017-08-04 13:37:17 +02:00
Jérôme Leclercq b64ab862fe Fix warnings 2017-07-27 14:39:48 +02:00
Jérôme Leclercq 6047018082 Physics3D/Collider3D: Improve CompoundCollider3D constructor 2017-07-27 11:40:42 +02:00
Jérôme Leclercq afdc018778 Physics2D/Collider2D: Implement CompoundCollider2D and ConvexCollider2D 2017-07-27 11:39:23 +02:00
Jérôme Leclercq b00487c88c PhysicsID/RigidBody: Add GetWorld() accessor 2017-07-25 14:44:30 +02:00
Jérôme Leclercq 28e8377708 Physics2D: Fix shape BB 2017-07-12 16:23:14 +02:00
Jérôme Leclercq aac8d8301b Network: Fix Linux build 2017-07-11 12:19:11 +02:00
Jérôme Leclercq 0931ee39e0 Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2017-07-11 12:12:44 +02:00
Jérôme Leclercq 394f0bc730 Network/ENetHost: Fix hostname resolve 2017-07-11 12:12:38 +02:00
Jérôme Leclercq cbcfa5cb4d Network/ENet: Fix throttle bug 2017-07-11 12:12:12 +02:00
Jérôme Leclercq 9fb9289d6e Network/Socket: Fix IPv6 handling 2017-07-11 12:11:43 +02:00
Jérôme Leclercq b4732d8c17 Add Udp::ReceiveMultiple method 2017-07-11 12:11:20 +02:00
Lynix 67dbb9e7c8 Lua/LuaState: Fix Execute not being able to return values 2017-06-28 23:22:50 +02:00
Jérôme Leclercq 2ca844be63 Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2017-06-21 18:10:51 +02:00
Jérôme Leclercq b2e23cfb56 Mark every bool conversion as explicit 2017-06-21 18:10:46 +02:00
Lynix bb512ff17a Network/SocketPoller: Fix IsReadyTo* on Windows Vista+ 2017-06-20 20:50:39 +02:00
Lynix 175a98c4fc Fix compilation 2017-06-20 08:28:57 +02:00
Lynix 50a3f78f91 Core/Thread: Add posibility of setting thread name 2017-06-20 08:16:08 +02:00
Lynix e0ede5bf2d Physics2D/RigidBody2D: Little refactor 2017-06-20 06:59:53 +02:00
Lynix dc28a9161b Network/TcpClient: Fix Send hanging when used in non-blocking mode 2017-06-20 06:57:59 +02:00
Lynix 5fe782bd46 Core/FileImpl: Remove implicit region locking (Windows) 2017-06-20 06:57:58 +02:00
Gawaboumga 47a22c2785 Fix wrong aabb returned from PhysicsComponent2D (#127) 2017-06-20 06:53:39 +02:00
Jérôme Leclercq 6ff510ad4a Merge pull request #126 from Gawaboumga/Concurrent-File-Writing
Fix the possibility to have two processes writing to the same file on Linux
2017-06-20 06:53:21 +02:00
Gawaboumga e95d252cde Add lock file on Linux and the possibility to have two processes writing to the same one 2017-06-15 18:03:19 +02:00
Jérôme Leclercq 6759abc878 Core/Thread: Rework ThreadImpl:Sleep for POSIX systems (fix yield behavior) 2017-06-14 10:11:02 +02:00
Lynix 487bd64bcf Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping 2017-06-10 22:33:03 +02:00
Lynix a82de92377 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-06-10 22:29:31 +02:00
Lynix 78182502e3 Lua/LuaInstance: Fix missing memory/time methods 2017-06-10 22:29:17 +02:00
Jérôme Leclercq ab1eccde82 Fix compilation 2017-06-09 02:07:51 +02:00
Jérôme Leclercq 35ba78510b Fix compilation 2017-06-09 02:06:14 +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 01edc4fb21 Add coroutine support (WIP) 2017-06-08 15:53:17 +02:00
Jérôme Leclercq a8129b218b Refactor LuaInstance to prepare coroutine handling 2017-06-07 21:18:07 +02:00
Lynix e32c1a8b8b Utility/PixelFormat: Move Flip to .cpp
Because of std::swap_range usage (Thanks Microsoft)
2017-06-04 17:28:58 +02:00
Jérôme Leclercq 17d9cd6e7d Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-06-01 17:25:33 +02:00
Jérôme Leclercq 8752d1e0f4 Network: Add ErrorToString for ResolveError/SocketError 2017-06-01 17:25:21 +02:00
Jérôme Leclercq 7cc1b2d47b Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-05-29 20:00:51 +02:00
Jérôme Leclercq 308f6d7448 #Oops 2017-05-29 20:00:39 +02:00
Jérôme Leclercq 421dbf54f2 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-05-29 19:55:50 +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
Jérôme Leclercq 7cce74afb7 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-05-29 18:01:44 +02:00
Jérôme Leclercq 30a4e20ee5 Lua/LuaInstance: Expose some raw functions 2017-05-29 18:01:31 +02:00
Lynix 53f865c42c Merge branch 'enet_wip_nothing_to_see_here' of https://github.com/DigitalPulseSoftware/NazaraEngine into enet_wip_nothing_to_see_here 2017-05-19 16:31:31 +02:00
Lynix 3ca179b954 Network/ENet: Separate Connect event into OutgoingConnect and IncomingConnect 2017-05-19 16:31:29 +02:00
Jérôme Leclercq 3b7881ebfe Network/SocketPollerImpl: Fix possible weird behavior with SocketPoller 2017-05-17 11:30:18 +02:00
Jérôme Leclercq ba24181fd6 Network/SocketPollerImpl: Fix possible weird behavior with SocketPoller 2017-05-17 11:29:55 +02:00
Jérôme Leclercq e4a9d73942 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-05-16 10:09:20 +02:00
Jérôme Leclercq 1cdac50af2 Network/SocketPoller: Fix RegisterSocket on Windows 2017-05-16 10:09:09 +02:00
Lynix d516b0907b Network/ENetHost: Fix usage of SocketPoller 2017-05-16 09:11:02 +02:00
Lynix 9a30a7ee04 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-05-16 09:08:37 +02:00
Lynix 65d3b59e03 Network/SocketPoller: Makes it possible to watch read and write states 2017-05-16 09:07:28 +02:00
Lynix 75d57b3c29 Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping 2017-05-11 20:52:04 +02:00
Lynix af41b240ad Graphics: Add support for depth-sorted sprites 2017-04-23 13:40:13 +02:00
Lynix 3e9ae9856a Forgot to save files.. 2017-04-22 17:14:56 +02:00
Lynix b5191d142a Fix warning 2017-04-22 17:13:56 +02:00
Lynix 52a4a590e1 Graphics/Material: Fix depth sorting flag handling for meshes 2017-04-22 17:13:51 +02:00
Lynix f6fe589b03 Fix #120 2017-04-22 15:33:59 +02:00
Lynix 06038a4d81 Cleanup pass 2017-04-22 15:08:05 +02:00
Lynix 1305e8434a Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping 2017-04-17 23:42:21 +02:00
Jérôme Leclercq 660cddba34 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-04-05 10:11:01 +02:00
Lynix bb272c57f5 Lua/LuaInstance: Fix movement 2017-03-30 18:43:05 +02:00
Lynix 5ec913311f Physics2D/PhysWorld2D: Add RegionQuery method 2017-03-30 16:32:29 +02:00
Lynix 62fd66a159 Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping 2017-03-18 17:23:12 +01:00
Lynix a32db65865 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-03-09 18:21:19 +01:00
Lynix ef474fc3a4 Physics2D/PhysWorld2D: Fix compilation 2017-03-09 18:21:07 +01:00
Lynix 2cf1d5ddfc Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-03-09 18:20:30 +01:00
Lynix cdf7c11ef8 Fix crash when RigidBody2D is moved while having poststeps 2017-03-09 18:20:18 +01:00
Lynix a4fe005e3b Network/ENetPeer: Fix packets not being resend after timeout sometimes 2017-03-08 22:40:15 +01:00
Lynix 1917a0e8dd Network/ENetPeer: Fix fragments handling 2017-03-08 21:06:09 +01:00
Lynix b2e4296cc7 Network/ENetHost: Fix peers default values not being initialized 2017-03-08 21:05:56 +01:00
Jérôme Leclercq 0393eb408b Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-03-08 13:25:28 +01:00
Jérôme Leclercq b0d61802b6 Network/SocketPoller: Fix documentation 2017-03-08 13:17:04 +01:00
Jérôme Leclercq 43f8f21df6 Physics2D/RigidBody2D: Fix SetMass occasionnal crash 2017-03-08 13:16:53 +01:00
Jérôme Leclercq 247186fe55 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-03-07 09:36:47 +01:00
Jérôme Leclercq 78d6a69bcb Physics2D/PhysWorld2D: Fix SetMass calls during callbacks 2017-03-07 09:36:29 +01:00
Jérôme Leclercq 4259ad8c9d Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-03-06 14:02:46 +01:00
Jérôme Leclercq ede6dd90b8 Physics2D/PhysWorld: Add Raycast queries 2017-03-06 14:02:35 +01:00
Lynix f2fb0f62c2 Switch ENet errors to Nazara 2017-03-02 16:18:34 +01:00
Lynix ad8857354f Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-03-02 13:07:14 +01:00
Lynix 04f7b40150 Physics2D/RigidBody2D: Fix querying 2017-03-02 13:07:02 +01:00
Lynix 8eb58de486 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-03-02 11:23:23 +01:00
Lynix a50a822fad Physics2D/PhysWorld2D: Fix NearestBodyQuery 2017-03-02 11:22:59 +01:00
Lynix 55ef28c1af Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-03-02 10:34:16 +01:00
Lynix 834f65c0ae Physics2D/PhysWorld2D: Add optimized NearestBodyQuery 2017-03-02 10:34:02 +01:00
Lynix 392a23f4f5 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-03-02 09:55:21 +01:00
Jérôme Leclercq 5ebf125474 Physics2D: Add NearestBodyQuery 2017-03-01 17:40:12 +01:00
Jérôme Leclercq 658faf3d49 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-02-27 16:30:37 +01:00
Jérôme Leclercq f22dd81d35 Physics2D/RigidBody2D: Add AddImpulse method 2017-02-27 16:30:18 +01:00
Lynix 14022ccee2 Network/ENetPeer: Fix crash 2017-02-24 10:15:13 +01:00
Lynix 745a9d12b0 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-02-23 09:29:11 +01:00
Lynix 496cdfd32c Merge branch 'master' into reflection-mapping 2017-02-23 00:08:57 +01:00
EloD10 8d402f0491 Update ContextParameters.cpp (#119)
* Update ContextParameters.cpp

Changing an incorrect comment

* Update ContextParameters.cpp
2017-02-23 00:07:51 +01:00
Jérôme Leclercq 7c22ee637e Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-02-22 16:53:01 +01:00
Jérôme Leclercq b1e4aea496 Physics2D/RigidBody2D: Add signal for movement/release 2017-02-22 16:52:34 +01:00
Jérôme Leclercq ea135156b8 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-02-22 15:32:28 +01:00