Commit Graph

440 Commits

Author SHA1 Message Date
Alex Szpakowski 9bebe9e4e8 Updated the version. 2016-05-02 18:03:57 -03:00
Alex Szpakowski 9701e2a262 Fixed love on iOS 6 crashing on launch due to GameController.framework being missing (see issue #1155). Some further issues remain, for now. 2016-04-10 21:52:16 -03:00
Alex Szpakowski 57697b372b New Mac and iOS icons 2016-02-12 17:07:24 -04:00
rude 60278b0532 Add new icons. (Linux). 2016-02-12 20:26:49 +01: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 46a2e7b85c Happy new year! 🎉 2016-01-01 00:05:06 -04:00
Alex Szpakowski 2cadb30ecf Updated the version to 0.10.1. 2015-12-29 22:52:16 -04:00
Anthony J. Bentley d7e6f1647c Convert manpage to use semantic mdoc(7) macros. 2015-12-23 21:34:28 -07:00
Bart van Strien 63fdcb3700 Results of another test deb package, g++ at least version 4.7, no longer support precise
Turns out, precise is simply too old to have gcc 4.7, isn't that nice? Maybe the binaries from trust can still be run on precise, though?
2015-12-19 14:56:08 +01:00
Bart van Strien 39127cd1b2 Remove duplicate deps in debian/control.in 2015-12-16 16:55:38 +01:00
Bart van Strien d0b8eb3e23 Update deb stuff
Turns out, not completely what I built (and what worked), but I hope it's close enough.
2015-12-16 16:51:07 +01:00
Alex Szpakowski aad3c0d4d9 Fixed building for OS X. 2015-12-15 15:02:23 -04:00
Alex Szpakowski cdc019b96b libmodplug is now used on iOS. 2015-12-15 14:03:44 -04:00
Alex Szpakowski 03032034e9 Fixed the Theora framework having its headers removed when love is built for Mac OS X. 2015-12-14 15:42:03 -04:00
Alex Szpakowski 925eebdaf0 Removed love.event.addListener/removeListener/clearListeners.
They take away too much control from the main game code, which makes it harder to implement things like gamestates without modifying library code.
2015-12-12 17:54:54 -04:00
Alex Szpakowski 3eb363059b Added love.event.addListener and removeListener.
addListener takes a function, and names of events that will trigger the function when they're processed inside love.event.poll or love.event.wait. When the given listener function is called, the name of the event as well as all of the event's arguments are passed to the function.

If addListener is called multiple times with the same function and events, it will not add the function more than once.

removeListener takes a function and removes it from all events it was previously added to.
2015-12-11 20:14:52 -04:00
Alex Szpakowski 52b1bd78f2 Implemented LuaJIT FFI versions of love.math.random and RandomGenerator:random. 2015-12-10 12:45:53 -04:00
Alex Szpakowski 27ec680f50 Updated the Xcode project files for video support. Theora.framework is now required for building for OS X, and the iOS dependencies have been updated to include the theora library. 2015-12-08 22:44:19 -04:00
Bart van Strien 22f2175bec Add initial video playback support for Ogg Theora videos (resolves issue #66.)
The basic APIs are:

video = love.graphics.newVideo("myvideo.ogv")

love.graphics.draw(video, ...) -- Video objects are Drawables.

video:play(), video:pause()

video:getDuration(), video:tell(), video:rewind(), video:seek(seconds)

video:getSource()

video:getWidth(), video:getHeight(), video:setFilter(min, mag)

More advanced APIs include video:setSource(source), video:getStream(), and videostream:setSync.

To use a custom pixel shader when drawing a Video, call the new TexelVideo(texcoords) function instead of Texel(texture, texcoords) in order to get the pixel colors of a video frame.
2015-12-08 22:41:19 -04:00
Alex Szpakowski 374d1ae0e1 Implemented LuaJIT FFI versions of love.math.noise, love.math.gammaToLinear, and love.math.linearToGamma.
The new versions of the functions are only used if LuaJIT's JIT compiler is enabled.

Those functions are often combined with ImageData:mapPixel or ImageData:setPixel, which also have LuaJIT FFI versions in 0.10.0 - so without JIT-able implementations of the math functions, the FFI code in the ImageData methods would not be JIT-compiled and would end up taking up to 10 times as long to execute compared to the non-FFI versions in 0.9.2.
2015-12-08 21:24:16 -04:00
Alex Szpakowski fcb76693c8 Added the script used to compile LuaJIT for iOS. 2015-12-04 21:13:09 -04:00
Alex Szpakowski 77998c707d Added the ability to use ASTC compressed textures, when the system supports them. 2015-11-28 14:55:26 -04:00
Alex Szpakowski f1d0187a58 Fixed the iOS build. 2015-11-25 15:49:24 -04:00
Alex Szpakowski ac99a47386 Moved most of the ParticleSystem code from modules/graphics/opengl/ to modules/graphics/ 2015-11-25 04:29:00 -04:00
Alex Szpakowski e9c75c342e Text:add and Text:addf now return index numbers which can be used as arguments to Text:getWidth and text:getHeight to determine the (pre-transformed) width and height of specific text within the Text object. 2015-11-14 18:51:43 -04:00
Alex Szpakowski 00845c0ad0 Added love.graphics.intersectScissor(x, y, w, h). Resolves issue #1071.
It sets the active scissor rectangle to the intersection of the existing scissor (if any) and the specified rectangle.
2015-09-16 19:04:57 -03:00
Alex Szpakowski 9c1214c77a Updated the Xcode project to use Xcode 7's recommended settings. 2015-09-16 16:36:44 -03:00
Alex Szpakowski 99debab3a4 Updated the readme: Xcode 7 lets you build iOS apps for your device without a registered developer account. 2015-09-14 18:50:48 -03:00
Alex Szpakowski d30e60f8d7 Disable bitcode (for now) when building the iOS app, since the dependencies don't have it. 2015-09-09 23:28:48 -03:00
Alex Szpakowski d3d970b925 Renamed iOS.mm and iOS.h to ios.mm and ios.h, to match the naming conventions of other files. 2015-08-27 18:46:04 -03:00
Bart van Strien 306049bcfe Move and manually include c++11 m4 file to work around old aclocal versions 2015-08-19 16:12:14 +02:00
Bart van Strien acca06907e Extend c++11 tests in configure script
Now also checks if gcc is at least version 4.7 or clang is at least version 3.1
2015-08-17 19:01:43 +02:00
Bart van Strien 987ddcdc26 Update path to macosx.mm in autotools build 2015-08-17 17:10:20 +02:00
Alex Szpakowski e44f20fdc6 Renamed OSX.mm/OSX.h to macosx.mm/macosx.h to match love's file naming conventions. 2015-08-15 00:41:45 -03:00
Martin Felis f5778ed86e Added a LOVE_ANDROID define and Android-specific code that interacts with the JNI and SDL. 2015-08-13 19:38:07 -03:00
djcj 4989bd76a0 Update Debian packaging files, move manpage to section 6
Modified application of pull request #43 by bartbes
 - Kept binary in /usr/bin
 - Remove postinst/postrm scripts
2015-07-13 17:32:18 +02:00
Alex Szpakowski c3612acfde Fixed the use of getRealDirectory when auto-detecting the identity name. 2015-06-25 10:00:54 -03:00
Alex Szpakowski 42ae9c9585 Moved the love.graphics Lua code into the graphics module folder. 2015-06-18 14:27:45 -03:00
Bart van Strien 3cb777e2b7 Add basic lua 5.3 support 2015-06-16 10:25:41 +02:00
Alex Szpakowski df1bd42dec Implemented efficient FFI versions of ImageData methods.
Note that ImageData:mapPixel (with its optional sub-rectangle parameters) is often many times faster than a loop of ImageData:setPixel and/or getPixel, for anything more than a few pixels.
2015-06-15 00:50:01 -03:00
Alex Szpakowski 532c61c6c2 Implemented efficient FFI versions of SoundData methods, which are used when the LuaJIT FFI and JIT compiler are present. 2015-06-14 18:41:34 -03:00
Alex Szpakowski 16ebe92176 Added a flag to the Mac info.plist which allows high-dpi windows to be created in all situations when requested and supported. 2015-06-12 16:53:05 -03:00
Alex Szpakowski 59e4b1b8d6 Removed some debug prints on iOS. 2015-06-11 21:16:28 -03:00
Alex Szpakowski 9e2dd384cb Removed the "LÖVE" text label from the default iOS launch screen. 2015-06-09 00:03:55 -03:00
Alex Szpakowski 17fe6bd30a Hopfully fixed some Xcode syntax highlighting and in-line error detection issues. 2015-05-18 21:46:04 -03:00
Alex Szpakowski 3704595189 Enabled OpenGL ES 3 support for Windows/Linux/Android when SDL 2.0.4+ is used, since that SDL version fixed its EGL code for GLES 3+. 2015-05-11 21:14:10 -03:00
Alex Szpakowski 60e8cc24bf Removed iOS-specific code to decode and encode images using the ImageIO framework (it's now redundant.) 2015-05-03 20:49:06 -03:00
Alex Szpakowski 5dbf589d47 Removed libjpeg-turbo as a dependency (closes issue #1031.) Removed jpeg support for ImageData:encode. stb_image now handles jpeg image loading. 2015-05-03 17:52:20 -03:00
Alex Szpakowski 8e42f591ce Updated the iOS xcode project search paths for the luajit headers and static library. 2015-04-25 12:00:07 -03:00