Commit Graph

1883 Commits

Author SHA1 Message Date
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
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
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 a00dd39c51 Graphics/MaterialPipeline: Fix error when failing to override a shader 2016-12-21 18:25:22 +01:00
Lynix b64aa72626 Renderer/UberShaderPreprocessor: Fix compile error 2016-12-18 01:23:46 +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