Commit Graph

1872 Commits

Author SHA1 Message Date
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