Commit Graph

28 Commits

Author SHA1 Message Date
Alex Szpakowski 60d90ca4a8 Merge default into minor
--HG--
branch : minor
2016-10-30 01:07:39 -03:00
Bart van Strien 7a6e626c74 Make stb_image only use SSE2 on x86_64, or when an override has been set (fixes #1173)
Turns out, this is a gcc bug: detecting sse2 support cannot be done in shared
libraries. For now we'll assume 32-bit x86 builds are intended to also run on
devices without SSE2 (how old!). In the future we might decide we only support
machines that support SSE2, if we secretly don't already.
2016-10-25 15:21:31 +02:00
Bart van Strien e515cf076e Make configure not search for dependencies of disabled implementations (resolves #1099)
Also rewrite dependency searching so we have a single file with all test macros.

--HG--
branch : minor
2016-03-08 12:55:49 +01: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
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 3cb777e2b7 Add basic lua 5.3 support 2015-06-16 10:25:41 +02: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
Bart van Strien 95d9dfa801 Explicitly search for pkg-config in configure script 2015-03-21 21:49:17 +01:00
djcj 9d2a2832ab Disable static libraries by default in linux build 2015-03-18 11:28:01 +00:00
Bart van Strien bd271ce5cb Remove OpenGL as compile-time dependency on linux, SDL loads it at runtime (and also GLES, if applicable) 2015-03-15 21:37:04 +01:00
Alex Szpakowski be8b7dd504 glLoadIdentity isn't part of GLES2+ or core GL3+.
--HG--
branch : minor
2015-01-21 21:42:24 -04:00
Alex Szpakowski eca8c17a69 Removed the DevIL backend from love.image. Replaced it with PNG and JPEG encoders/decoders via LodePNG, zlib, and libjpeg-turbo.
PNG and JPEG are now the only two supported image formats, aside from compressed DDS (DXT, etc.)

--HG--
branch : minor
2014-04-22 17:11:59 -03:00
Bart van Strien a1158599ab Use '=' instead of '==' for test command in configure scripts (fixes #866) 2014-04-01 16:54:51 +02:00
Bart van Strien d81eae8889 Scripts now automatically recompile on change on linux, auto.lua normalizes input names a bit more 2013-12-14 13:57:52 +01:00
Bart van Strien 6eb0544bbc Use new error message macro in configure, use luajit by default, switch to pkg-config for as much as possible 2013-12-13 20:32:55 +01:00
Bart van Strien 5b66cd2290 Make configure output some files in the debian folder as well, substituting the (optional) suffix where needed, also add pkg-config dependency 2013-12-08 20:06:12 +01:00
Bart van Strien 3d82eecc08 Apply the love-experiment moduleselect branch
You can now:
	- Enable and disable love's modules, implementations and libraries using configure switches
	- Use pkg-config for a couple of love's requirements
	- Build on OSX
	- Use newer versions of FreeType2
	- Get a slightly better error message using automagic
2013-12-08 19:32:32 +01:00
Jordy Dickinson 86f3ee4775 Fixed build errors with custom SDL location (resolves issue 774)
Uses SDL2's sdl2.m4 macros, which are installed along with SDL2. This ensures
that the correct flags are given to the compiler and linker.
2013-10-31 20:24:43 +01:00
Bart van Strien 375cbd4003 Make autoconf detect and enable c++11 support in compilers 2013-09-29 12:47:34 +02:00
Bart van Strien d598549980 Make the configure script look for SDL2 2013-08-28 13:34:35 +02:00
Bart van Strien f5603b0291 Make love compile against lua5.2 2013-07-10 16:02:52 +02:00
Martin Felis 14ca401158 Add enet and lua-enet 2013-07-10 15:42:50 +02:00
Bart van Strien c99fb2fb99 Fix --disable-mpg123 by telling automake to not compile it, instead of using ifdefs 2013-05-26 22:34:04 +02:00
Bart van Strien 6bc4f7a34e Revision 1500 s/''/'/ on configure.ac, how fitting 2013-05-26 21:04:51 +02:00
Bart van Strien d8dfd62035 Rework configure.ac, clean up platform/unix 2013-05-26 17:45:14 +02:00
Michał Górny 53408e3768 Install file associations and icons using autotools (issue #605)
Condensed version of pull request #24, containing the following commits:
- 31f803f Install .desktop and mime-info files with autotools.
- a354096 unix: Install icon using autotools as well.
- 4b1beb2 Fix Icon= in love.desktop.
- d0d3fe4 unix: Install game file icon as well.
- 9a6e291 unix: Update/fix README file name in Makefile.am.

All of the above commits were made by Michał Górny, and this single
code import was committed by Bart van Strien (so blame me if I broke
it..)
2013-04-26 14:20:49 +02:00
Bart van Strien c4133f2489 (Hopefully) fix some issues with older version of autotools 2012-08-27 15:57:39 +02:00