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
Martin Felis
14ca401158
Add enet and lua-enet
2013-07-10 15:42:50 +02:00
Alex Szpakowski
0a36c41ba0
Removed support for BC7-compressed DDS images (only *very* modern systems support it right now); updated the ddsparse library
2013-06-09 16:31:02 -03:00
Alex Szpakowski
9ccf013570
Added love.math.noise(x, [y, z, w]). Calculates the 1D, 2D, 3D or 4D Simplex noise value at a particular coordinate
2013-05-01 18:26:40 -07:00
Alex Szpakowski
88d64954a4
Replaced the devil love.image module with love.image.magpie, which can decide which image library to use in a similar manner to love.sound.lullaby. Some rough edges still exist.
...
love.filesystem.newFileData now accepts filepaths and File objects.
--HG--
branch : image-CompressedData
2013-04-07 17:18:34 -03:00
Alex Szpakowski
8a8adcce39
Code cleanup
...
--HG--
branch : image-CompressedData
2013-04-05 18:55:44 -03:00
Alex Szpakowski
5301026f3c
Added support for DXT1/3/5 and BC5/7 compressed textures via love.image.CompressedData. Some internals are still iffy.
...
- added a new CompressedData type to love.image
- added love.image.isCompressed(file or data)
- love.graphics.newImage automatically tests for compression when loading a file
- added love.graphics.isSupported strings for DXT, BC5, and BC7
Compressed textures meant to be used on the GPU offer huge performance gains when
- loading the texture from a file
- loading the texture from RAM to VRAM
- loading mipmaps
- rendering
--HG--
branch : image-CompressedData
2013-04-04 19:09:18 -03:00
Alex Szpakowski
34f291f26e
Updated UTF-8 library to the latest version
2013-03-01 10:01:37 -04:00
Alex Szpakowski
96161c66f6
Updated copyright text for the new year
2013-02-05 05:32:49 -04:00
Bart van Strien
7793e7f02f
CRLF to LF
2012-07-04 14:40:24 +02:00
Bill Meltsner
be55579a22
Happy New Year, have an enormous diff
2012-01-09 02:41:11 -06:00
Bart van Strien
b32464f0d3
Forward box2d asserts to exception, then catch those in the new* functions
2011-10-12 21:36:46 +02:00
Bill Meltsner
e984bc084d
Move Box2D from modules/physics/box2d to libraries
...
--HG--
branch : box2d-update
2011-09-24 15:34:28 -04:00