Commit Graph

2150 Commits

Author SHA1 Message Date
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
Jérôme Leclercq 45262145aa Physics2D/RigidBody2D: Add Userdata field 2017-02-22 15:31:51 +01:00
Jérôme Leclercq d77f483871 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-02-22 13:00:22 +01:00
Jérôme Leclercq 096ea72fb6 Physics2D/PhysWorld2D: Fix crash with physics callbacks 2017-02-22 13:00:05 +01:00
Jérôme Leclercq a53a916399 Network/ENetHost: Fix simulation being always active 2017-02-21 16:55:05 +01:00
Jérôme Leclercq 7322969b17 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-02-21 15:58:44 +01:00
Jérôme Leclercq 7b47a6ad2e Physics2D: Add support for trigger and callbacks 2017-02-21 15:58:31 +01:00
Jérôme Leclercq c1cbc8c617 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-02-21 09:52:51 +01:00
Lynix b0d0a63fca Network/ENet: Add peer-side lag simulation 2017-02-20 23:37:31 +01: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 ead54e1c30 Merge branch 'master' into reflection-mapping 2017-02-18 15:07:17 +01:00
Jérôme Leclercq cc57fed42e Network/ENetPeer: Fix crash 2017-02-17 17:30:27 +01:00
Lynix 902949549c Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-02-17 00:39:19 +01:00
Lynix ee9712fdcd Some more warning fixes 2017-02-17 00:38:44 +01:00
Lynix a4100d5b4e Utility/X11: Fix crash at startup 2017-02-17 00:21:40 +01:00
Lynix dc158d06a8 Fix warnings reported by Clang 2017-02-17 00:21:28 +01:00
Lynix 490f6becb2 Fix compilation...
That parenthesis probably didn't make it to GitHub, damn you packet
losses!
2017-02-16 23:37:28 +01:00
Lynix 20dfd61ad7 Merge branch 'enet_wip_nothing_to_see_here' of https://github.com/DigitalPulseSoftware/NazaraEngine into enet_wip_nothing_to_see_here 2017-02-16 23:26:33 +01:00
Lynix e0dca1b043 Network/ENetPeer: Optimize CheckTimeouts function 2017-02-16 23:26:28 +01:00
Lynix b7ee6d7b29 Network/ENet: Move all packet allocation to host 2017-02-16 23:26:00 +01:00
Jérôme Leclercq 7b49b3dd0e Network/ENetPeer: Fix crash when handling fragment packets 2017-02-16 16:14:40 +01:00
Lynix 8225ad3b41 Network/ENetHost: Optimize acknowledgements handling 2017-02-15 08:27:15 +01:00
Lynix 890b06bfcb Network/ENet: Refactor 2017-02-15 08:26:56 +01:00
Lynix df5d22eb30 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-02-12 02:21:02 +01:00
Lynix 1904ce1576 Network/ENetPeer: Fix fragmented packet handling 2017-02-12 02:21:00 +01:00
Lynix 212f3eddf0 Network/UdpSocket: Fix documentation [skip ci] 2017-02-12 02:10:37 +01:00
Lynix 6d5d1ac1cb Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-02-10 15:22:33 +01:00
Lynix ab6e9d3b86 Core/String: Fix FormatVA bug 2017-02-10 15:20:43 +01:00
Jérôme Leclercq 41d06fed38 Network/ENetHost: Fix packet leak when broadcasting with no peer connected 2017-02-01 17:52:01 +01:00
Lynix 7b8100dafe Network/ENet: Add ENet licence 2017-02-01 00:20:22 +01:00
Lynix a087174bf8 Network/Algorithm: Add HostToNet and NetToHost 2017-02-01 00:13:08 +01:00
Lynix 85257da07e Network/ENet: Fix some warnings 2017-01-31 23:05:18 +01:00
Lynix 6b8d9deb43 Network/ENet: Clean up time functions 2017-01-31 23:04:53 +01:00
Lynix 2f057191aa Network/ENetHost: Add GetServiceTime() 2017-01-31 22:19:17 +01:00
Jérôme Leclercq 4f1df53f07 Network/ENetPeer: Fix DisconnectLater not waiting for pending commands 2017-01-31 15:31:11 +01:00
Jérôme Leclercq b5797dfa12 Network/ENetHost: Move handling to ENetPeer 2017-01-30 18:08:21 +01:00
Lynix 4e517bc1e3 Network/ENetHost: Add network simulator 2017-01-28 17:18:06 +01:00
Lynix 4e2a037d6b Network/ENetPeer: Add total packet lost/sent counter 2017-01-28 17:17:42 +01:00
Lynix 34828929b2 Network/ENetHost: Fix a bug 2017-01-28 17:16:14 +01:00
Lynix 5207f2c821 Network/ENet: Fix some remaining bugs.... 2017-01-28 17:15:33 +01:00
Lynix 9d9d7472ca Network/ENetPacket: Fix a huge bug with packets 2017-01-28 14:09:43 +01:00
Lynix 6ab6ec4f14 Network/ENetPeer: Improved stability of connections
http://lists.cubik.org/pipermail/enet-discuss/2014-May/002308.html
2017-01-28 12:14:41 +01:00
Lynix c9d5f2f1ac Network/ENet: More cleanup 2017-01-28 12:08:35 +01:00
Lynix 8fc734674d Network/ENet: Fix fragments and cleanup 2017-01-28 11:06:09 +01:00
Lynix 664e3a33ec Network/ENet: Fix compilation and warnings 2017-01-27 17:19:49 +01:00
Lynix 9a1ac8a2c7 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-01-27 16:49:25 +01:00
Lynix 42d5f849f7 Network/SocketImpl: Okay, I promise to try to compile myself next time 2017-01-27 16:49:09 +01:00
Lynix 80442924c1 Network/SocketImpl: Fix code, once more 2017-01-27 16:43:54 +01:00
Lynix 7602b4a041 Network/SocketImpl: Fix typo 2017-01-27 16:37:16 +01:00
Lynix 31ebe5983e Network: Fix typo.. 2017-01-27 16:31:41 +01:00
Lynix 0075c22e0c Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-01-27 16:26:02 +01:00
Lynix 90237186b5 Network/SocketImpl: Fix missing include 2017-01-27 16:25:48 +01:00
Lynix 86ae60b6c2 Network: Fix compilation 2017-01-27 16:07:41 +01:00
Lynix f59b59da27 Merge remote-tracking branch 'refs/remotes/origin/master' into enet_wip_nothing_to_see_here 2017-01-27 15:09:01 +01:00
Lynix 3489421064 Network/UdpSocket: Fix UdpSocket::Receive failing when peers suddenly closes its socket 2017-01-27 15:08:26 +01:00
Lynix d8b7ff9fa6 Network/SocketImpl: Fix possible code errors (Posix) 2017-01-27 15:05:26 +01:00
Lynix 453ca77c1b Network/SocketImpl: Fix Send causing a SocketError_Internal status on non-blocking sockets 2017-01-27 15:05:04 +01:00
Lynix 002d33f590 Network/SocketImpl: Fix compilation 2017-01-27 14:55:37 +01:00
Lynix ab3b730d21 Network/TcpClient|UdpSocket: Add SendMultiple method
To efficiently merge multiples buffers into a reduced number of network
packets
2017-01-27 14:51:01 +01:00
Lynix 8a59dc88b8 Commit progression 2017-01-27 14:48:31 +01:00
Lynix 12b4073033 Progress 2017-01-26 09:28:41 +01:00
Jérôme Leclercq 9e3341a32a Commit current work
This is a temporary branch because I'm missing a USB drive, huehue
2017-01-25 15:55:07 +01:00
Jérôme Leclercq 311e2a545d Network/SocketPoller: Fix cases where EAGAIN is not the same as EWOULDBLOCK (Posix) 2017-01-25 15:54:13 +01:00
Jérôme Leclercq 071147bf51 Network/AbstractSocket: Prevent querying/setting receive/send buffer size without opening the socket first 2017-01-23 11:58:05 +01:00
Lynix 7d5d21f025 Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping 2017-01-21 15:56:37 +01:00
DrLynix 85f0208690 Newtork/AbstractSocket: Allow to specify receive and send buffer size per socket 2017-01-20 14:33:05 +01:00
DrLynix f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
DrLynix 15de1214cb Utility: Fixes compilation 2017-01-20 10:04:43 +01:00
Lynix e4b6f8e126 Utility/Icon: Make Icon a RefCounted object 2017-01-19 21:59:34 +01:00
Lynix 670199b557 Utility/Cursor: Rework Cursor as a handled object 2017-01-19 21:38:56 +01:00
Lynix b884f5783c Utility: Add CursorController 2017-01-19 14:17:26 +01:00
Lynix b64d384c99 Utility/Cursor: Fix compilation on Linux 2017-01-19 10:27:47 +01:00
Lynix 934e646b00 Utility/Window: Fixes compilation for X11, again 2017-01-19 00:12:50 +01:00
Lynix eea8b8c7f0 Utility/Window: Fixes compilation for X11 2017-01-18 23:57:37 +01:00
Lynix d1b5357504 Utility/X11: Try to fix Linux implementation 2017-01-18 23:51:59 +01:00
Lynix 5752792565 Utility/X11: Fix calling of std::abort() in case of failure 2017-01-18 22:41:44 +01:00
Lynix 5b36ac1953 Utility: Fix Cursor missing initialization 2017-01-16 00:41:31 +01:00
Lynix f406068c45 Utility: Rework cursors
-Rename WindowCursor to SystemCursor
-Merged Cursor class with SystemCursor enum
2017-01-16 00:32:59 +01:00
Lynix 954298dc1e Utility/Cursor: Add GetImage() method 2017-01-15 22:41:48 +01:00
Lynix 6b949afb9b Graphics: Add support of skins to InstancedRenderable + big clean up 2017-01-09 01:52:00 +01:00
Lynix d2ee4744a9 Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping 2017-01-06 17:29:54 +01:00
Lynix a00dd39c51 Graphics/MaterialPipeline: Fix error when failing to override a shader 2016-12-21 18:25:22 +01:00
Lynix adf5cd32b8 Graphics/ForwardRenderTechnique: Remove useless uniform sending 2016-12-19 18:45:42 +01:00
Lynix 69296daac0 Graphics/SkyboxBackground: Reverse Z axis to match reflections
There's something wrong about skyboxes at the moment.
2016-12-19 18:25:19 +01:00
Lynix d1a9748c33 Merge branch 'master' into reflection-mapping 2016-12-18 01:24:19 +01:00
Lynix b64aa72626 Renderer/UberShaderPreprocessor: Fix compile error 2016-12-18 01:23:46 +01:00
Lynix 37d36a89a6 Graphics: Add basic reflection mapping 2016-12-18 01:18:48 +01:00
Lynix 459c5e7a09 Graphics/Shaders: Add possibility to override Über-shaders at runtime 2016-12-18 01:16:26 +01:00
Lynix 682dab32b3 Graphics/Shader: Make texture units statics
Provides better performances and prevents the sampler type bug to happen
2016-12-18 01:13:46 +01:00
Lynix 1a8805aad1 Renderer/UberShaderPreprocessor: Log shader code when failing to compile 2016-12-18 00:37:39 +01:00
Lynix b468dbe092 Renderer: Add uniform dumper when shader fails to validate 2016-12-18 00:36:41 +01:00
Lynix b410956d1b Renderer/Renderer: Change texture unit parameter from UInt8 to unsigned int 2016-12-18 00:36:05 +01:00
Lynix 7de3c4905f Core/String: Add Format static method 2016-12-16 18:37:06 +01:00
Lynix 5aa0c362a6 Graphics/DepthRenderTechnique: Fix SceneAmbient uniform not being sent 2016-12-15 23:08:56 +01:00
Lynix ff5b72b469 Graphics/DepthRenderTechnique: No longer require a viewer
Fixes crash
2016-12-15 14:37:12 +01:00
Lynix 4e239236b1 Utility/SoftwareBuffer: Move to public API 2016-12-09 09:11:22 +01:00
Lynix d62720d610 Utility/Buffer: Refactor Buffer classes 2016-12-09 08:56:46 +01:00
Lynix 1794c83a32 Utility/SimpleTextDrawer: Fix handling of whitespace glyphs 2016-12-03 00:37:02 +01:00
Lynix fd196cf0ae Graphics/TextSprite: Fix undefined behavior 2016-12-03 00:36:24 +01:00
Lynix e3daf7ef1f Core/String: Add GetCharacterPosition method 2016-12-03 00:34:55 +01:00
Lynix e6e4a437bd Merge remote-tracking branch 'refs/remotes/origin/master' into gui 2016-11-30 13:08:08 +01:00
Lynix 3c5594c206 Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-11-28 17:27:12 +01:00
Lynix 0031b0fd83 Core/File: Fix OpenMode_MustExist for Linux 2016-11-27 14:23:36 +01:00
Lynix efcce7d442 Core/Enums: Fix typo in OpenMode (MustExit => MustExist) 2016-11-27 14:23:26 +01:00
Lynix a34d1e410c Core/Enum: Convert OpenMode and StreamOption to the new flags system 2016-11-27 13:40:47 +01:00
Lynix d509520904 Utility: Oops, so that field was used 2016-11-27 02:48:18 +01:00
Lynix fda625b00a Utility: Fix compilation again 2016-11-27 02:42:16 +01:00
Lynix 9cc20f1069 Utility: Fix compilation on Linux 2016-11-27 02:36:58 +01:00
Lynix 1db3d60cea Utility/Enums: Change WindowStyleFlags to the new flags format 2016-11-27 02:28:39 +01:00
Lynix 057de1544b Audio/Music: Fix Stop not resetting playing offset if music was already stopped
Also prevented a useless seek at destruction
2016-11-24 20:17:30 +01:00
Lynix e7ddcaf876 Audio/Music: Fix Stop() not resetting playing offset 2016-11-24 12:15:16 +01:00
Lynix faa03225bb Utility/OBJLoader: Fix compilation 2016-11-24 10:01:22 +01:00
Lynix 0c8128b7e4 Mesh/MeshParams: Replace flipUVs by texCoordOffset and texCoordScale 2016-11-24 09:43:56 +01:00
Lynix 3ae5bfad63 Graphics/TextSprite: Fix scale not affecting bounding volume 2016-11-24 09:40:04 +01:00
Lynix 8d86306933 Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-11-23 14:07:52 +01:00
Lynix 3193aef29a Audio/Music: Improve documentation 2016-11-22 14:25:35 +01:00
Lynix 2d13ff7aac Revert "Utility/Formats: STBLoader will now convert the image to RGB8 if it has no alpha value"
This reverts commit c523e3cde5.
2016-11-18 22:39:26 +01:00
Lynix f34d390216 Physics2D/RigidBody2D: Fix AddForce application point for Global coordinate system 2016-11-18 18:12:48 +01:00
Lynix e4f507e67f Physics2D/RigidBody2D: Fix collisions 2016-11-18 18:03:40 +01:00
Lynix ac2193e0c2 Physics2D: Add support for SegmentCollider2D 2016-11-18 18:00:48 +01:00
Lynix c523e3cde5 Utility/Formats: STBLoader will now convert the image to RGB8 if it has no alpha value 2016-11-18 01:16:36 +01:00
Lynix ff7e64494f Utility/Image: Add HasAlpha() method 2016-11-18 01:15:58 +01:00
Lynix 93a2e54667 Utility/PixelFormat: Fix mask bit orders 2016-11-18 01:15:36 +01:00
Lynix cd0e9d97b8 Graphics/Sprite: Add SetMaterial and SetTexture overloads for searching a resource name 2016-11-17 18:24:36 +01:00
Lynix 23a85fb5ab Physics2D/RigidBody2D: Fix removal of body from space 2016-11-15 16:01:39 +01:00
Lynix 43f93141ac Utility/Algorithm: Fix GenerateBox plane rotation (Fix #114) 2016-11-14 00:02:01 +01:00
Gawaboumga 7a0049b392 Should fix the problem of Q activating A, this occurs when a keysym is related to several keycodes (#113) 2016-11-11 12:13:36 +01:00
Lynix e4c89f2763 Physics2D/RigidBody2D: Fix SetMass need to be called twice 2016-11-10 17:24:22 +01:00
Lynix 9772b43542 Physics2D/RigidBody2D: Made SetGeom public 2016-11-10 17:18:44 +01:00
Lynix 7f445def13 Fix some warnings from MSVC 2016-11-10 16:44:29 +01:00
Jérôme Leclercq 8ed34d22fb Core/ByteArray: Move ToHex implementation to .cpp 2016-11-08 16:14:56 +01:00
Jérôme Leclercq 4570f9a6e1 Utility/VideoMode: Make bpp optionnal (defaults to desktop bpp) 2016-11-08 01:14:04 +01:00
Jérôme Leclercq 9e84c397ba Merge branch 'master' into culling 2016-11-07 11:26:48 +01:00
Jérôme Leclercq ffe748b8c3 Window: Fix Threaded flag, seems to be working fine now 2016-11-07 10:51:23 +01:00
Jérôme Leclercq 94631e1a01 Utility/Window: Fix Linux compilation 2016-11-07 10:08:12 +01:00
Jérôme Leclercq cf2bf52701 Utility/Window: Replace NAZARA_UTILITY_THREADED_WINDOW by a runtime flag (WIP) 2016-11-07 02:01:09 +01:00
Jérôme Leclercq 6ebe29ceb4 Utility/Win32: Generate only one WindowEvent_Moved per movement
When not using threaded windows.
Fixed #105
2016-11-04 23:18:36 +01:00
Jérôme Leclercq 581cc989de Utility/Win32: Fix cached position never getting updated with threaded windows
Closes #104
2016-11-04 22:57:07 +01:00
Jérôme Leclercq 12f6877963 Fix some warnings 2016-11-04 22:25:16 +01:00
Jérôme Leclercq c4ad52235f Utility/Win32: Fix Window title when using NAZARA_UTILITY_THREADED_WINDOW 2016-11-04 22:24:56 +01:00
Jérôme Leclercq e087129d4a Fix many errors and warnings found out by MinGW 2016-11-04 18:14:52 +01:00
Lynix 38da351e9b Utility/TextDrawer: Expose lines 2016-10-28 17:45:29 +02:00
Lynix 736b31af1b Utility/SimpleTextDrawer: Whitespaces are now glyphs too 2016-10-28 17:44:59 +02:00
Lynix a7d2d8cddd Utility/AbstractImage: Inherit RefCounted 2016-10-20 23:53:22 +02:00
Lynix 3c29bfe516 Lua/LuaInstance: Make ArgCheck and ArgError const 2016-10-20 23:44:12 +02:00
Lynix 725dc6cdbc Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-10-19 11:17:12 +02:00
Lynix f3e1b19326 Core/FileLogger: Fix errors being written twice to the console with std replication (Fixes #103) 2016-10-18 19:16:38 +02:00
Lynix 438d8e918c Physics2D/RigidBody2D: Remove gravity factor 2016-10-17 17:53:49 +02:00
Lynix f18a84810f Physics2D: Add BoxCollider2D class 2016-10-17 17:53:34 +02:00
Lynix d530ca22e0 Final pass of Clang warning fixes 2016-10-17 16:14:35 +02:00
Lynix c221d53839 Physics3D/ConvexCollider3D: Replace pointer with stride parameters by a SparsePtr 2016-10-17 16:01:41 +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 7e594a861f Graphics: Fix EnableInstancing(bool) having no impact 2016-10-17 14:47:15 +02:00
Lynix 5a07bbd001 Fix a lot of warnings from Clang/GCC 2016-10-17 14:46:53 +02:00
Lynix f858356bc2 Renderer/UberShaderPreprocessor: Fix EARLY_FRAGMENT_TESTS typo (Fixes #102) 2016-10-17 14:04:46 +02:00
Ardakaniz fa32f70d14 Fix log crash 2016-10-16 19:21:06 +02:00
Ardakaniz 72fa0adcfd Fix compilation + codingstyle 2016-10-16 18:39:05 +02:00
Ardakaniz 495976bff6 Remove DefaultLogger, just accept a SetLogger before initialization 2016-10-16 18:34:01 +02:00
Ardakaniz 308a603324 Log: Add possibility of set default logger (for initialization) 2016-10-16 18:21:05 +02:00
Ardakaniz fca5aeb9cd FileLogger: Make IsTimeLoggingEnabled const 2016-10-16 18:20:25 +02:00
Ardakaniz 64cec3fd01 AbstractLogger: Make IsStdReplicationEnabled const 2016-10-16 18:20:05 +02:00
Ardakaniz 33e4c89b73 Rename 'Physics 3D' to 'Physics 2D' in files head 2016-10-14 19:34:49 +02:00
Lynix f3e041c4c0 Physics2D/RigidBody2D: Temporary remove SetGeom to fix a linking error 2016-10-14 18:01:24 +02:00
Lynix 119436a642 Physics2D/RigidBody2D: Cleanup and fix memory leak 2016-10-14 17:56:50 +02:00
Lynix 8c1b4527fd Utility/Events: Fix TextEntered event with tabs on Linux 2016-10-14 17:50:12 +02:00
Lynix 9b48c9ee37 Physics3D: Rename ::GeomType to Nz::ColliderType3D 2016-10-14 17:27:30 +02:00
Lynix 9a7767867b Push the current work on the Physics2D module 2016-10-14 17:07:13 +02:00
Lynix be44a89a85 Sdk: Rename [Collision|Physics]Component to [Collision|Physics]Component3D 2016-10-13 08:23:25 +02:00
Lynix b52c7c57bf Physics3D: Rename PhysWorld to PhysWorld3D 2016-10-13 08:13:56 +02:00
Lynix 3765cba046 Physics3D: Rename PhysObject to RigidBody3D 2016-10-13 08:06:14 +02:00
Lynix 3c4d084b27 Physics3D: Rename Physics module class to Physics3D 2016-10-13 07:40:12 +02:00
Lynix b7a383d68c Physics3D: Rename all *Geom to Collider3D 2016-10-13 07:29:34 +02:00
Lynix 8781a628e0 Physics: Rename PhysGeom to Collider3D 2016-10-13 06:08:17 +02:00
Lynix 24f1859ec2 Physics: Change includes to Physics3D 2016-10-13 06:03:22 +02:00
Lynix eae8847bd1 Physics: Move files to Physics3D 2016-10-13 06:01:32 +02:00
Gawaboumga eb1416f48d Fix comment 2016-10-12 21:38:33 +02:00
Gawaboumga f19100d179 Fix event: text entered (still broken with some key combinations and non printable characters) 2016-10-12 21:07:04 +02:00
Lynix 4ba744c1bc Fix merge fails 2016-10-12 17:29:08 +02:00
Lynix 561c0cf51f Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-10-12 16:51:18 +02:00
Jérôme Leclercq 96a886260e Network: Fix compilation on Linux x86 (Fixes #81)
Former-commit-id: b9ee4a38914e101751907a0afd5bc4387c4cc595 [formerly fbd619850d74c3264eead6456950549a00445a48] [formerly 38aa0d99632748baef4bdbed948e97d3348fd7c3 [formerly 24dc3d90f246b8a437a6fc1ace1b3091fd0e8df9]]
Former-commit-id: 37cfa200c8effe1822e9e2c8dd3224f8d4138c9d [formerly 5a4fdb8f93bcef49702e73d3ca8c7f5a1be56716]
Former-commit-id: 3e444884880bb866d4b66b5d4531272a02ac4125
2016-10-08 20:55:00 +02:00
Lynix 42240afb7c Utility/PixelFormat: Fix RGB32 and RGBA32 formats (Fix #80)
Former-commit-id: dceb517cec5aeb1202c9725c62248ca182310528 [formerly 4ac3d4cacf5217c85027f3895a5673c8827cc0c5] [formerly ae697fbfacc90215483a431a3d3377ddf5814a98 [formerly cc43ad0eb6a7793b17e582d4bf9ce2812d47ca2b]]
Former-commit-id: 6bd38f6ccb14944d7dcf5b69cda173c1b3c4f02e [formerly c32c42d98d003c181ee0ae1f5e97037d24497a07]
Former-commit-id: d87a202835b7929db20c46a05a0dadb0f497c306
2016-10-07 19:17:07 +02:00
Lynix 7c1680ada7 Network/SocketPoller: Fix Wait not updating error parameter (fixes #79)
Former-commit-id: fd04ad1ef0b3c86e02d12251c384c5ee2976460d [formerly 57f72f946a0182c022ad8fc18aea1867914f6552] [formerly bbbadcedac8d46ff33f53a24053d1a9c06d09b8b [formerly f536546d45c326658845c287a1fa6d9d4f8c5a99]]
Former-commit-id: 94246df60ecd371a07a57c12586d1d6bc7279076 [formerly b693141c531e6a61a3e8bc703ad7adf0fdb7a12d]
Former-commit-id: cbaf3deb146ad0a38f59d890ea99d66d49d9f730
2016-10-05 00:50:27 +02:00
Lynix d8b7fad5f0 Utility: Fix NoWindowSystem parameter
Former-commit-id: e52ac3a387001968fb0e998b788aaad715696a63 [formerly db7e147f903a51ed676f3580ae4e5c14c697ce2a] [formerly 5c467bc943641505761e555b394f1e29201a5680 [formerly 3906b482b0ebfd99d26cc54d7ace3e6d628241e4]]
Former-commit-id: 13ac52c4b8fe3e9c73d38387e8fa44690d225a5c [formerly 0554f1fddf0023ccad75f2c946653f052f588e8a]
Former-commit-id: d608750b66faf4dae989f7576c268a3ad32854f4
2016-10-05 00:41:45 +02:00
Lynix fc3fb062e0 Utility: Add Parameters and NoWindowSystem option
Temporary fix until Utility module has been split.


Former-commit-id: 702929f41c8f1dd4015b64e9b331c150ad6fd953 [formerly f113bd948da6a8c5399aab48f53b6cb5ca272081] [formerly 593365938d7e3a835b94727ec6dc744a7a113822 [formerly e43d02e4e221e5c1d85320d71d1a258db44768d1]]
Former-commit-id: 29e2dd7ff9ee608847e3f78a7474e3286343b152 [formerly cf10e1a9dd5ca6df0bdf39730e2b38e9ea0d673a]
Former-commit-id: a479d4eb078b30d6e7b34bd53dba6366fad643de
2016-10-05 00:26:06 +02:00
Lynix 7952c1531a Utility/X11: Fix compilation on Ubuntu 14.04
Former-commit-id: ec60ac14249ec8373b94adc151689bb296a32eb8 [formerly f133d000ffa0af394ff13f1cdb5c15998e168cb3] [formerly a273e695a23571703a86fb48baf2b3481a880e7f [formerly 16e55866c0bf4159de7ab70f01f10ee8cd85c460]]
Former-commit-id: 4119b010eb683593fc1a874a18cd43258a7bb686 [formerly 4f25a87bee75670940a2ad68b61a32342e3ddcf9]
Former-commit-id: f811f2c2dbe89bf4a9442b11a2c50b54719c85bd
2016-10-04 18:09:15 +02:00
Lynix 4dff4f724b Utility/X11: Fix xcb_renderutil.h compile error on olders systems (Travis CI for example)
Former-commit-id: d244d237356fa61293e8af28654a97df3f127de6 [formerly 348621c8a478a8b2f286b5fcb02b687e10216294] [formerly 25deef8c480e56fe2d2e0f1f8a22b942ace56ef6 [formerly e936f13a7c07985663fc0d35e4d0332a7aad6762]]
Former-commit-id: f419ba91ab932b4695632bf2bf6e13cb2d396ffb [formerly 4d66289f24743ce633846a33207a46be5b97f307]
Former-commit-id: 38f18e32f5e7154f8bbad8869559279ae268ddee
2016-10-04 15:42:42 +02:00
Lynix 30e07ea2e2 Core: Rewrite CPUID to preserve EBX register (Fix #73)
Former-commit-id: 19651c4e8856df2e6a9a208b5dfab1dfdde80978 [formerly d7392176b9b510939aeefaf5c853d023af211379] [formerly 36c14e52fae5966508143704557610247aaf2e22 [formerly 1901b3100ddc4621685375de77dfb7863687d1b4]]
Former-commit-id: 53af7fc2cb9ee97f16cc03db53658385dc218b71 [formerly d43f598f33684430ab3a58db1533cb108be6e26a]
Former-commit-id: 5d88e9b7ef4bc7e05060ac06678d6c141d9a88a4
2016-10-03 19:05:50 +02:00
Lynix c61b4598e8 Core/Config: Rename WINDOWS_VISTA option to WINDOWS_NT6
Former-commit-id: 9d0c33b7d79521e074aa84684d09d7855956d1df [formerly 7400f0dc41845e0bf275e7a631ec760857db6009] [formerly 9bc38d067febb9723119adf811922642b1f7b782 [formerly e7b9f3e327d422a9ed1e01cdc9439170a67bf7d2]]
Former-commit-id: 8614882bef71668ed10cd7fedbf4a058073e6389 [formerly 1bbf4a90092509565475a1709c82dc696f8b8a04]
Former-commit-id: 0b6c22973bfa60dca69902388244d4d40fc9b554
2016-09-27 13:40:29 +02:00
Lynix 3a8b16f36e Network/SocketPoller: Fix constructor linking
Former-commit-id: 618b77421a9ce9d6090789fc45188ce8aa55c166 [formerly fc592c91642c62b2b0d70718dcc6411c7bb089ae] [formerly a53e47653062eff13e08536746bbc4225e366f16 [formerly 82e71fb8b858c0f2ce3ea9141af4920aefb13f61]]
Former-commit-id: 27e1799a5c90be2347027cdc9aed33a67cb8ddb3 [formerly 4434c6e8109fb464e87ee7e199680e01de67659e]
Former-commit-id: 20011dca33841988e329b74e915848986b2d184c
2016-09-26 19:37:31 +02:00
Lynix 73ca2cd203 Network/SocketPollerImpl: Fix compilation on Linux
Former-commit-id: f73b19423f093e2b61dfa4d6405a31f3727caac8 [formerly 49f4fc0cc3748bbe9d437cbf821b6572f5cce9d0] [formerly e0aba35dcaf14c51b468f3cb7fb0ca11e9fe9858 [formerly d9702db8895beb27659a320065e603e659a0c67a]]
Former-commit-id: f519992e9c049bdfff9f27ecdd398a5db2f4c5b2 [formerly 9ddba3042d5ad622d118e3ef9514571323cc0632]
Former-commit-id: 9449ba98c71a5d988aa5f619852b32ea3621c97a
2016-09-26 19:21:57 +02:00
Lynix d8788c8d09 Network/SocketPoller: Fix Linux implementation
Former-commit-id: f709da3636f60638461910570f8a03bf4acd1723 [formerly 8dd3f494efc40f9c652262903642155941620ac4] [formerly f4aeaca88e75efc00d818046d0a6e63a81db5af3 [formerly b5e70d0536e7d25e363b18e58d47122e3c90ca1e]]
Former-commit-id: 2ee713e85407fe7d44d3b1352f197da113cbe041 [formerly 9735f9b849062179207f4453a233a851c49431ea]
Former-commit-id: fc5e136d0be6123138623ba3d90b64475b8d81b4
2016-09-26 19:04:51 +02:00
Lynix a13b17573e Network/SocketPoller: Switch to epoll implementation on Linux
Former-commit-id: 1a4b998bff35b5aac411b053fe3dee48f1f6985c [formerly b7a50753347b629f708f21d85efc9e76e4b1bfc6] [formerly 7d59f9ff3d2173657cc5873209753fe64b59e2f2 [formerly 4c38f94a4a366ed290e605870e6f3c87e6decd7f]]
Former-commit-id: af5cc261c162ca3eebe5885acd5e2adfbd817984 [formerly 26e7b701e8dcafb7fb9c3537107729b2d0bfe354]
Former-commit-id: 00bd2c62ecdb5c493c4ec117dd2033d272f7143a
2016-09-26 18:34:06 +02:00
Lynix e9deac3802 Graphics/ParticleStruct: Add size member to ParticleStruct_Billboard
Former-commit-id: c8578baad436d18d609d4cc7cf1d773ba01b8616 [formerly fff8b8fce1a6b0a5330dc983e46676d9de6bc810] [formerly 9d584febdb50e4680d4beb24c5fb65371b838ffa [formerly cdbfc358e3c66ade396353c5d996c6d5c7fba313]]
Former-commit-id: 54ab0d22f7e947a2ee01fa9f36bd0e81af40e91d [formerly fc75d5fcd8351f4c9bccfd4c3a57131365d52ea4]
Former-commit-id: 79f3c8b08ad0089988e59139baaf87bf2aa5460b
2016-09-26 13:19:30 +02:00
Lynix a7b98c407a Core/String: Fix error when using COW on empty string
Former-commit-id: 5d4bb54e4d7b9f68ef66ff8f099d9ea854d982b5 [formerly 8c7e15a2f6f5c1978a3e7b2c33f0ce038ca19dc7] [formerly 9b01d29473ca9d3d64333dd1aa79539a3b2dedb2 [formerly 9159fc04b30b7aef18d16ed1887ba637256a8ad8]]
Former-commit-id: dcbc45c4fce819a44a47a02439a68276fae5b992 [formerly effba4f1df384c6bc7b87066fe94a93058302b0a]
Former-commit-id: 357ad9fa46d773d6066b1b7cc945da663fe004f7
2016-09-26 13:19:03 +02:00
Lynix bbf9a5337d Core/String: Fix Simplified() method, which was altering the original string size instead of the copy
Former-commit-id: ee47e8d0162647c87319345efc1506c41ec4b727 [formerly 02f40858f0e96881607d8e41a7f1ceac9f417a03] [formerly b711d61ffcf49f18afb95def91de1a045f3684dc [formerly b75b19a03b746c0a9f750d7ddf86ddd51f08098d]]
Former-commit-id: 120d8b06bdbb658cf67e2a45bdaec4134ce291f2 [formerly ac34669afd7c16f9c2a2dee23dab7f7e09e0f5e5]
Former-commit-id: 6b2fc9ec4f3815976a73ca2be3d79ce141597b58
2016-09-26 13:18:21 +02:00
Lynix 7761b59dd9 Utility/OBJLoader: Check OBJ files before processing them
This removes a lot of errors from the logs in some cases


Former-commit-id: b540b8b8f942c0e8805e3b3e76295669f5e6764a [formerly c71ce0c21549178438ebcc3c85ca9e9074966410] [formerly 454c698bfa5432f19f238890d303f3641dca7056 [formerly 6e501a315a69b38c11440988bdc5d5f2e7158852]]
Former-commit-id: c5bfc674f09100d99a4c853a1dea96fd030fde49 [formerly 6f5190f8ed305b9726ef69d713a20e99d8c476a1]
Former-commit-id: a72b009cc519caf76784336b2df8db9d5b2d8628
2016-09-26 13:16:42 +02:00
Lynix bf6425c35f Utility/OBJParser: Add Check() method to quickly check if any OBJ token is present at the beginning
Former-commit-id: 27f09e4351e6721eab338576075a161f62a4c262 [formerly d2cc64b6b6ec984210fd187adfc0797087ea3a0a] [formerly 58c7a39be0a0fdb8c89c516d5e8d19b18d34ba60 [formerly a9d80e257c27b60319e0d1b03b1534e133e1244e]]
Former-commit-id: 9ccaa30b87462af58390478d4d6b956d9b5faa5f [formerly 615171770a9a8c87b37b50940c7342bdeb6876a2]
Former-commit-id: c49b38dc42936ba3f696f9436fd9f6b5527244c0
2016-09-26 13:16:01 +02:00
Lynix 8c7dee81e8 Core/Stream: Fix ReadLine
Former-commit-id: 81e89bb4b11264371d7cbcf9cf5275ec0ce3f7ba [formerly 8ac037f30540faebc51efa5953fc01d9659a1f19] [formerly b599cef23b34132171373aee1cca81daf259b65e [formerly 053ef5248717e56f5e943f6dbdddf8092ae9dda2]]
Former-commit-id: c14803c0471a6bfa347f0f512886dae2d8cc7871 [formerly dc174bdb2cb49e68b57b85267ac72178d7e202af]
Former-commit-id: 815fe25a962845d091de7a02a0c0ff2e62f45b51
2016-09-26 12:35:16 +02:00
Lynix c087d916a1 Network/SocketPoller: Fix missing documentation
Former-commit-id: c6670596bcf9faba08d59c1e90c0596eccbabfd6 [formerly 2a358094943cd9a7971af9ae53c0d1adec34fdf8] [formerly 079909ff9f2cd7bf529eef1537b00f698a880c5f [formerly 989fe6aa5a78ae9c37e7e161ae5895b620cb8d0b]]
Former-commit-id: 244c8405aeb61eefdaf47390d059d40a004e48b1 [formerly 7989e0ee5e6fee6b5ecf8e861fcd926c38ced8a2]
Former-commit-id: 177e32b55a11dce2936de0e92a4d8a264a30ada4
2016-09-25 03:45:07 +02:00
Lynix 48ef3f6b30 Network/SocketPoller: Fix poll implementation (Windows > Vista, Unix)
Former-commit-id: dd5517d6b15bdb2ed9be4f89ff06ddeeeb3fec30 [formerly 4aef580c50c04256503fbbdfe21924f0b97b6c09] [formerly 9d904c520de9a74292cc1af09b6a5b46617a1d49 [formerly d31432a7eb98825413abb0de333b6ceb9c2d400b]]
Former-commit-id: 362f4a43f24dce67763fe4978e34da74fbd39148 [formerly 93ca7cbcd7f3368f4ecd3fa87ed512a3b55faaba]
Former-commit-id: e147094e1a7c7540afb972a9ccd116d7444e0fea
2016-09-25 03:16:48 +02:00
Lynix 62be0e21df Win32: Fix compilation with NAZARA_CORE_WINDOWS_VISTA
Former-commit-id: 6249451f41f2dce01652ea61866aa17053ffa4cc [formerly 3db7c2e797fbaa519b303fd533e0184c60781505] [formerly 3342dd5ea892e839757fb3e2e567352c718889de [formerly 174f4491e3141badbce1ded1e4f8e7f2cec2a3d7]]
Former-commit-id: d80442b18af96bdecc17bc5409d42483a3a80cd2 [formerly 05adb7a04a120d5989c4307adfdd6f34beef313d]
Former-commit-id: bce1c276014724556464f34d2112e6465202cf93
2016-09-25 02:53:07 +02:00