Commit Graph

67 Commits

Author SHA1 Message Date
Bart van Strien b365574bff Re-apply enet patch to use autoconf results 2016-04-02 17:25:38 +02:00
Alex Szpakowski 62c97381e9 Updated ENet to 1.3.13. 2016-04-02 12:10:44 -03:00
Alex Szpakowski 175c3af10b Updated stb_image to 2.12. 2016-04-02 12:02:39 -03:00
Alex Szpakowski 46a2e7b85c Happy new year! 🎉 2016-01-01 00:05:06 -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
Alex Szpakowski 0474f8167a Updated Box2D to 2.3.2-git. 2015-11-30 23:55:50 -04:00
Alex Szpakowski 05ed70ed18 Updated stb_image to 2.07. 2015-09-13 11:26:11 -03:00
Martin Felis 1ea54042e3 Fixed compilation when building for Android. 2015-08-13 19:39:56 -03:00
Bart van Strien 3cb777e2b7 Add basic lua 5.3 support 2015-06-16 10:25:41 +02:00
Alex Szpakowski 8c3dd76327 Updated LZ4 to the latest version. 2015-05-29 18:01:02 -03:00
Alex Szpakowski cc634d1871 Updated stb_image to 2.0.5. 2015-05-03 17:14:49 -03:00
Alex Szpakowski 97806f87c0 Replaced Simplex noise with Perlin noise for the 3D and 4D variants of love.math.noise, to avoid patent-infringement issues (resolves issue #997.) 2015-04-17 17:01:41 -03:00
Alex Szpakowski 2a482f8e98 Updated stb_image to version 2.0.3. 2015-04-12 15:48:25 -03:00
Alex Szpakowski a17fed2a1e Fixed utf8.char. 2015-03-28 13:44:39 -03:00
Alex Szpakowski a29b349014 Added love.math.compress(data, format [, level]) and love.math.decompress(compresseddata) / love.math.decompress(compressedstring, format).
Renamed the love.image CompressedData type to CompressedImageData.

love.math.compress returns a love.math CompressedData object which holds the newly compressed data. Currently supported formats are "lz4" and "zlib". Note that the formats are not file formats and don't compress filesystem hierarchies.
2015-03-23 11:28:14 -03:00
Alex Szpakowski d00773b974 Updated GLAD for the latest GL and GLES extensions. 2015-03-15 23:45:08 -03:00
Alex Szpakowski b9c90e8a6f Fixed the background color for the error screen, and updated LodePNG to the latest version.
--HG--
branch : minor
2015-02-27 21:20:31 -04:00
Alex Szpakowski 5b98083e01 Merged default into minor
--HG--
branch : minor
2015-01-22 02:18:56 -04:00
Alex Szpakowski e82d1dfe54 Added Lua 5.3's UTF-8 module to LÖVE. Resolves issue #951.
The module must be required before use, i.e. utf8 = require("utf8").  API documentation can be found here: http://www.lua.org/manual/5.3/manual.html#6.5

Removing the last unicode character in a string (for proper backspace support in text boxes, for example) can be done using utf8.offset, e.g. text = text:sub(1, utf8.offset(text, -1) - 1).
2015-01-21 16:52:56 -04:00
Alex Szpakowski c1d4613ff7 Updated stb_image to 2.0.2.
--HG--
branch : minor
2015-01-20 03:40:08 -04:00
Alex Szpakowski a7e4148869 Merged default into minor
--HG--
branch : minor
2015-01-16 15:47:26 -04:00
Bart van Strien 3f801fda0c Fix GLAD bug that caused compilation with luajit headers to fail
--HG--
branch : minor
2015-01-15 10:31:16 +01:00
Alex Szpakowski c7b45b3505 Updated copyright for the new year 2014-12-31 19:32:43 -04:00
Alex Szpakowski b585e97e99 Fixed compiling Box2D on some platforms (memory.h doesn't exist in every build environment) 2014-12-08 21:19:41 -04:00
Alex Szpakowski 8dba668ce9 Merged default into minor
--HG--
branch : minor
2014-11-15 20:17:18 -04:00
Alex Szpakowski 22bbe74ed9 Allow BC6 and BC7 compressed DDS files to be loaded into Images. 2014-11-05 21:11:22 -04:00
Alex Szpakowski af0371361f Merged default into minor
--HG--
branch : minor
2014-10-18 01:45:02 -03:00
Alex Szpakowski 7bcb48c562 Fixed compilation (resolves issue #938.) 2014-10-13 03:20:47 -03:00
Dalton Nell 3bc28345aa Added function host:destroy(), added error handling for trying to work with a destroyed host, and fixed awkward naming of socket_get_address (it now matches the rest of the lib and official documentation as get_socket_address now). 2014-10-10 12:35:33 -06:00
Alex Szpakowski b59e088d6c Hopefully fixed the Windows build (see issue #921.)
--HG--
branch : minor
2014-08-27 08:17:40 -03:00
Alex Szpakowski 5f6ee50541 Replaced the GLee OpenGL function loader with a modified version of GLAD (resolves issue #728.)
--HG--
branch : minor
2014-08-18 21:35:52 -03:00
Alex Szpakowski fcf8329369 Fixed detection of TGA and BMP images and updated stb_image to the latest version.
--HG--
branch : minor
2014-08-11 03:11:51 -03:00
Alex Szpakowski 51d1f2a7a9 Added support for loading TGA and BMP images (via stb_image.) Added support for encoding ImageData to TGA.
--HG--
branch : minor
2014-05-29 13:20:10 -03: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
Alex Szpakowski fc77e8f9f0 Throw away the first 3 love.math.random results after seeding it (xorshift outputs less random results the first few times when the seed is very similar to a previous one) 2014-03-15 21:43:25 -03:00
Alex Szpakowski 98873b593a Updated ENet to version 1.3.11 2014-03-12 02:55:03 -03:00
Alex Szpakowski 314a528996 Fixed loading BC4 compressed textures 2014-03-10 21:36:14 -03:00
Alex Szpakowski 55514720a6 Fixed some minor compiler warnings 2014-03-01 21:16:01 -04:00
Alex Szpakowski 0e28a9d01b Added a header guard for luasocket's lua.h wrapper 2014-02-10 02:32:24 -04:00
Alex Szpakowski 3120a0e650 Goodbye 2013, hello 2014! 2014-01-03 17:28:58 -04:00
Alex Szpakowski 5e3a0fbc6e Updated box2d from 2.2.1 to 2.3.0
--HG--
branch : box2d-2.3
2013-11-09 04:30:36 -04:00
Alex Szpakowski 6a22afb3a9 Make the ENet wrapper define LUA_COMPAT_ALL before including Lua’s headers (see issue #787) 2013-11-07 23:26:24 -04:00
Bart van Strien 29d953aa08 Tell enet about autoconf's socklen_t results 2013-11-02 18:47:11 +01:00
Alex Szpakowski 97bbbe638b Updated ENet version from 1.3.8 to 1.3.10 2013-11-01 01:09:21 -03:00
Alex Szpakowski e5adc4e5fd Fixed wave sound playback by using a different wave reader library (thanks Boolsheet!)
Resolves issue #25.
2013-10-23 16:02:06 -03:00
Alex Szpakowski 3e9fcacf07 Code style fixes 2013-10-20 04:02:09 -03:00
Bart van Strien 6cf25f9209 Clean up warnings in luasocket and box2d 2013-09-29 12:56:48 +02:00
Alex Szpakowski f9ce521794 Fixed a bug when requiring enet 2013-07-17 03:38:15 -03:00
Bart van Strien 29fd6b98f8 Replace (C99/C++11) snprintf with lua_pushfstring 2013-07-10 16:24:29 +02:00
Bart van Strien e6b029ec90 Oops, forgot to add the luasocket compat hack thing 2013-07-10 16:11:39 +02:00