Commit Graph

2687 Commits

Author SHA1 Message Date
Alex Szpakowski ab91ff0bfe Removed LOVE_LEGENDARY_UTF8_ARGV_HACK, SDL 2.0 does it for us. 2016-01-25 22:52:32 -04:00
Bart van Strien 95ae3183da Remove extra period causing formatting error in manpage 2016-01-25 18:06:33 +01:00
Bart van Strien edda7d2dcc Merged in anjbe/love (pull request #51)
Convert manpage to use semantic mdoc(7) macros.
2016-01-25 18:05:50 +01:00
Alex Szpakowski 518f91b53a Make sure the high-power AMD GPU is used on Windows laptops with switchable Intel+AMD GPUs. 2016-01-24 13:35:58 -04:00
Alex Szpakowski 6aa84187ba Fixed loading BMFont files which have characters with 0 width or height (e.g. a space character). 2016-01-17 22:55:12 -04:00
Alex Szpakowski 7299a237fb Added Text:getDimensions 2016-01-16 12:51:31 -04:00
Alex Szpakowski 9ec6eceb8a Cleaned up the error message code when love.window.setMode fails. 2016-01-14 19:16:41 -04:00
Alex Szpakowski abd3c64bc5 Moved another AMD-specific driver bug workaround to the OpenGL Bugs struct. 2016-01-13 21:43:00 -04:00
Alex Szpakowski 314a82b126 Fixed the piecewise function in linearToGamma to use <= instead of < when determining whether to use the linear part of the function. 2016-01-13 21:23:56 -04:00
Alex Szpakowski a95235ffa1 Typo fixes in a comment 2016-01-10 20:13:06 -04:00
Alex Szpakowski 8566729229 Merged in Bobbyjones/love/new-conf-flag-for-android-2 (pull request #53)
New conf flag for android 2
2016-01-10 20:11:34 -04:00
Alex Szpakowski 8a59743481 Added comments to the Bugs struct in OpenGL.h detailing some driver bugs that have workarounds that don't need conditional codepaths. 2016-01-10 16:12:51 -04:00
Alex Szpakowski 6d6d805858 Workaround for love.graphics.clear + love.graphics.setCanvas AMD driver bug, take two. 2016-01-09 23:40:04 -04:00
BobbyJones 2c550fbf6d now I removed it from the wrap :)
--HG--
branch : new-conf-flag-for-android-2
2016-01-09 19:47:45 -05:00
BobbyJones e855f2ae01 removed the isAndroidSaveExternal from the wrap
--HG--
branch : new-conf-flag-for-android-2
2016-01-09 19:45:47 -05:00
Alex Szpakowski 4f093e7fac Added a workaround for an AMD driver bug where setCanvas + clear + setCanvas doesn't work. 2016-01-09 17:14:05 -04:00
BobbyJones 57467448ad Made the android set save functions private.
--HG--
branch : new-conf-flag-for-android-2
2016-01-09 10:35:20 -05:00
Alex Szpakowski 9d6ff6e5de Fixed love.graphics.newFont(filedata) causing crashes (resolves issue #1119). 2016-01-05 19:59:29 -04:00
Alex Szpakowski a590cf17aa The default error handler resets the mouse cursor now. 2016-01-05 18:45:20 -04:00
Bart van Strien f53e0026ab Make VideoStream::isPlaying return false when EOS has been reached
Before it would return the playing status of the FrameSync, but a DeltaSync doesn't stop at the end of the video, now it returns the least of the FrameSync and the EOS condition
2016-01-05 21:45:44 +01:00
Bart van Strien 2313f3091a Improve seeking, hopefully fix hangs on shutdown
Instead of returning the frame past our target, now return the frame for our target.
Also defer to rewind implictly, rather than explicitly.
Lastly, detect seeking past the end of the stream, and set EOS appropriately.
2016-01-05 17:48:44 +01:00
Alex Szpakowski a9e10dcadf Fixed RandomGenerator.random crashing if a nil 'self' is passed. (closes issue #1116)
It still doesn't generate a proper error message if a non-RandomGenerator 'self' is used, however.
2016-01-02 21:15:39 -04:00
BobbyJones 9dc50fe423 switched c.useexternalstorage to c.externalstorage
--HG--
branch : new-conf-flag-for-android-2
2016-01-02 19:16:20 -05:00
David Serrano eb5669db22 Created new branch new-conf-flag-for-android-2
--HG--
branch : new-conf-flag-for-android-2
2016-01-02 23:57:44 +00:00
BobbyJones e3da734ace clean up 2016-01-02 18:56:23 -05:00
BobbyJones 3aa51763e2 made a method for setting external save location on android 2016-01-02 18:52:25 -05:00
Alex Szpakowski 46a2e7b85c Happy new year! 🎉 2016-01-01 00:05:06 -04:00
Alex Szpakowski b48117544d Added "lighten" and "darken" blend modes (resolves issue #443).
They perform the equations res.rgba = max(dst.rgba, src.rgba) and res.rgba = min(dst.rgba, src.rgba) respectively.

They only work when the "premultiplied" blend alpha mode is used, and an error occurs otherwise.  They also aren't supported on some non-iOS OpenGL ES 2 systems. Check for support with love.graphics.getSupported().lighten.
2015-12-31 15:54:02 -04:00
Alex Szpakowski 5a98af7e2d ASTC has guaranteed support when OpenGL ES 3.2 is used. 2015-12-31 15:48:05 -04:00
Alex Szpakowski 1461da598e Updated GLAD to use the latest OpenGL and OpenGL ES extensions and versions. 2015-12-31 15:45:32 -04:00
BobbyJones c283e36126 made a new boot.lua.h 2015-12-31 02:16:36 -05:00
BobbyJones 3c83fb8626 Added a flag that changes android storage from internal to external. 2015-12-31 01:28:00 -05:00
Alex Szpakowski a42341aa73 Added a new variant of love.graphics.arc: arc(drawmode, arcmode, x, y, radius, angle1, angle2 [, points]).
arcmode is "open", "closed", or "pie" (with pie being the mode used for the original variant of the function).
2015-12-31 00:13:01 -04:00
Alex Szpakowski 2cadb30ecf Updated the version to 0.10.1. 2015-12-29 22:52:16 -04:00
Alex Szpakowski ef94e43af1 Fixed Shader:sendColor incorrectly converting alpha from sRGB to linear RGB when gamma-correct rendering is enabled. 2015-12-29 01:30:45 -04:00
Alex Szpakowski 1ad5a768f6 Fixed love.graphics.newMesh(vertices) double-converting colors from sRGB to linear RGB, when gamma-correct rendering is enabled. 2015-12-29 01:11:05 -04:00
Alex Szpakowski 09e6a9a434 When multiple canvases are active at once (MRT), individual canvases can now be selectively cleared with love.graphics.clear(c1, c2, ...) by passing empty tables for the canvases that shouldn't be cleared, and color tables for the canvases that should. 2015-12-29 00:10:40 -04:00
Alex Szpakowski b56a0cfc3d Avoid hard crashes when calling love.filesystem functions if love.filesystem.init was never called.
This only applies when liblove is used directly, as love.filesystem.init is called automatically when the love executable starts up.
2015-12-24 22:53:48 -05:00
Alex Szpakowski 67fe29b30e More accurate comment. 2015-12-24 17:33:50 -05:00
Alex Szpakowski c751e4881a Possibly fixed everything showing up as black on some Android devices. 2015-12-24 17:09:30 -05:00
Alex Szpakowski 538f3869c5 Don't query the current texture bindings when initializing OpenGL. 2015-12-24 15:53:50 -05:00
Anthony J. Bentley d7e6f1647c Convert manpage to use semantic mdoc(7) macros. 2015-12-23 21:34:28 -07:00
Alex Szpakowski 5ef0195a88 Fixed an error in the nogame screen if the window's height is too small. 2015-12-22 15:47:50 -05:00
Alex Szpakowski 47949aa968 Added tag 0.10.0 for changeset 14717f0fb5d9 2015-12-22 09:32:26 -05:00
Alex Szpakowski 79929d220d Added release date for 0.10.0. 0.10.0 2015-12-22 09:31:54 -05:00
Martin Felis 007e113ec5 android: disabling JIT by default as it may cause performance problems. To enable it run jit.on(). 2015-12-22 10:04:44 +01:00
Alex Szpakowski 968e1ff699 Added a basic iOS readme. 2015-12-22 00:07:24 -05:00
Alex Szpakowski f841621ded Removed an obsolete line in changes.txt. 2015-12-21 23:17:12 -05:00
Alex Szpakowski 9e7c9186d4 Fixed the equals / keypad-equals scancodes. 2015-12-21 11:04:50 -05:00
Alex Szpakowski 2ad1712eaf Font:getWrap can now accept a colored text table in the same format as what's accepted by love.graphics.print. Resolves issue #1108.
The returned table of strings still has no color information.
2015-12-20 19:25:09 -05:00