Commit Graph

129 Commits

Author SHA1 Message Date
Alex Szpakowski 26326a01e0 Merge branch 'master' into 12.0-development 2020-09-21 22:35:19 -03:00
Alex Szpakowski 6be79bdd89 Fix build errors when Xcode 12 is used. 2020-09-21 22:14:41 -03:00
niki c3e6659fcb remove pushliteral version in luaopen_luautf8 2020-08-15 01:28:49 +02:00
niki 99e1c0034d make love lua 5.4 conform 2020-08-14 19:27:42 +02:00
Miku AuahDark a5cc52478f Merge branch 'master' into 12.0-development 2020-06-15 13:48:24 +08:00
Miku AuahDark 4191351f55 Update stb_image to 2.25 2020-06-15 13:23:53 +08:00
Miku AuahDark 5602d29812 Update lodepng to 20200306 2020-06-15 13:18:36 +08:00
Alex Szpakowski b8f20ed8db Merge pull request #5 from MikuAuahDark/replace-mpg123
Replace Mpg123 with dr_mp3
2020-02-16 18:34:07 -04:00
Miku AuahDark 1076ee6112 Add non-mpg123 MP3 decoder. 2020-02-16 14:25:40 +08:00
Miku AuahDark 851c2f315e Move dr_flac/dr_flac.h to dr/dr_flac.h 2020-02-16 14:00:45 +08:00
Alex Szpakowski 7684920f19 Merge branch 'master' into 12.0 2020-01-30 20:03:24 -04:00
Miku AuahDark 5a27742c34 FLAC: Update dr_flac to 0.12.3
Improved seeking for FLAC audio files.
2020-01-29 13:22:13 +08:00
Reiner Herrmann 27942191c5 Fix typos 2020-01-24 18:56:16 +01:00
Antonin Décimo 66e3f29a68 Change file permissions from 755 to 644 2020-01-15 14:59:00 +01:00
Alex Szpakowski a3774fbca9 Fix build error from incorrect include paths
--HG--
branch : minor
2020-01-09 21:15:33 -04:00
Alex Szpakowski f8baa6e6dd Update glslang. Add files for its GLSL source code to SPIRV module.
--HG--
branch : minor
2020-01-09 21:06:10 -04:00
Alex Szpakowski fc4847c69d Update copyright for the new year 2020-01-03 22:40:36 -04:00
Paul Cercueil 0bac89e00f Fix build on MIPS
On MIPS toolchains, the 'mips' keyword is a macro defined to 1.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2019-12-19 11:36:33 +01:00
Alex Szpakowski cc5afbacdd Possibly fix a compile error on some Linux systems. 2019-10-01 18:54:16 -03:00
Alex Szpakowski da046b39f0 possibly fix a Windows compile error 2019-09-26 20:38:02 -03:00
Alex Szpakowski 271f0af7b7 Avoid lua_pushlightuserdata in enet's wrapper code (issue #1515). 2019-09-26 20:11:25 -03:00
Alex Szpakowski d6e37ec4aa Add support for loading DDS files that contain raw/uncompressed pixel data. Resolves issue #1097. 2019-09-17 22:40:11 -03:00
Alex Szpakowski a6f8e7dac6 Improve detection of sRGB texture formats in dds files (doesn't currently affect any exposed API). 2019-09-15 19:08:25 -03:00
Alex Szpakowski f911af88c9 Possibly fix win32 compile error. This change should probably be upstreamed... 2019-06-25 20:39:40 -03:00
Miku AuahDark 65b01fc52f Re-enable FLAC codepath using dr_flac instead of libFLAC.
--HG--
branch : flac-audio
2019-06-17 16:09:46 +08:00
Alex Szpakowski 44fd8b4e19 Update TinyEXR 2019-06-02 11:35:52 -03:00
Alex Szpakowski ee77eef9a9 Update glslang 2019-05-26 15:12:02 -03:00
Alex Szpakowski 64c1ca977b Update stb_image from 2.16 to 2.22. 2019-05-18 00:08:11 -03:00
Alex Szpakowski e7c36022a8 Update PhysFS to 3.0.2. 2019-04-07 16:41:55 -03:00
Alex Szpakowski 0752f27bdf Update copyright year for 2019 2019-01-03 21:09:05 -04:00
Alex Szpakowski a91a0a9431 update glslang 2018-12-26 14:47:34 -04:00
Joel Schumacher 9a9ac96c4b Fix Windows version of __PHYSFS_platformCalcUserDir after Update 1809 2018-10-03 20:02:59 +02:00
Alex Szpakowski 08b3635e4e enet: Fix a memory leak when peer:send fails (thanks pfirsich!) 2018-01-06 01:03:41 -04:00
Bart van Strien e80247c191 Happy new year! 2018-01-03 19:47:35 +01:00
Alex Szpakowski 9bae1f01ba Update lodepng. 2017-12-17 21:56:17 -04:00
Alex Szpakowski cdcf052a73 Update LZ4. 2017-12-17 21:52:19 -04:00
Alex Szpakowski f69affebc9 Update tinyexr. 2017-12-17 21:42:04 -04:00
Alex Szpakowski 487c17d1d8 Attempt to fix compilation with gcc. 2017-12-17 21:16:11 -04:00
Alex Szpakowski 54c09c910a Update glslang. 2017-12-17 21:05:40 -04:00
Alex Szpakowski 1d8a3326b3 Include the physfs 3.0.1 source in love. 2017-12-15 19:41:17 -04:00
Bart van Strien 3278ea5580 Fix compilation with lua 5.2 and 5.3
Mostly to have the lua53 "library" work with both lua 5.1 and lua 5.3.
Additionally fixes two other incompatibilities.

--HG--
branch : minor
2017-09-25 10:27:12 +02:00
Alex Szpakowski 90e86c329d Add love.data module.
- Moved love.math.compress / decompress / decode / encode / hash to love.data.
- Changed love.data.compress/decompress to take the format argument first instead of second.
- Added love.data.newDataView. Returns a read-only subsection of an existing Data object.
- Added love.data.newByteData. Mostly useful in combination with LuaJIT's FFI as it has no extra methods currently.
- Added implementations of Lua 5.3's data packing APIs: love.data.packString / packData / unpack / getPackedSize.

Resolves issue #1336.
Resolves issue #1331.

--HG--
branch : minor
2017-09-24 19:25:27 -03:00
Alex Szpakowski d1d6fb6f68 Update stb_image from 2.12 to 2.16.
--HG--
branch : minor
2017-07-23 18:44:08 -03:00
Alex Szpakowski 72ba5080fb Update license.txt and relicense my .dds file parser code
--HG--
branch : minor
2017-07-23 00:28:25 -03:00
Alex Szpakowski ad399cab39 Update glslang
--HG--
branch : minor
2017-06-11 14:35:51 -03:00
Alex Szpakowski 73fd45558b Implement Array, Cubemap, and Volume texture types (issue #1111).
- Add love.graphics.newArrayImage, newCubeImage, and newVolumeImage.
- Add love.graphics.newCanvas(w, h, layers) and newCanvas(w, h, layers, settings). Add ‘type’ field to the settings table of newCanvas.

- Add new love.graphics.setCanvas variants: setCanvas(canvas, slice), and setCanvas(canvastable) where canvastable is in the format: {{canvas1, layer=2}, {canvas2, face=5}}

- Add Texture:getTextureType, getDepth, getLayerCount, getMipmapCount, and getFormat.

- Remove Image:getData and Image:refresh.
- Add Image:replacePixels(imagedata [, slice] [, mipmap]).

- Update Canvas:newImageData to accept a slice argument.

- Add love.image.newCubeFaces(imagedata).

--HG--
branch : minor
2017-02-20 14:58:13 -04:00
Alex Szpakowski e360346c21 Fix Windows build
--HG--
branch : minor
2017-01-22 23:39:32 -04:00
Alex Szpakowski 731b5d5cf0 Added support for GLSL 3 shaders (GLSL 3.30 and GLSL ES 3.00).
To use GLSL 3 in a shader, the first line of the shader has to be: #pragma language glsl3

glsl1 is the default language.

Added “glsl3” graphics feature as part of the table returned by love.graphics.getSupported().

Added love.graphics.validateShader(boolean gles, shadercode). It returns a boolean along with an error string if the shader code has errors for its target language and platform (gles or desktop).

Implemented support for Core Profile OpenGL 3.3 in love.graphics.

--HG--
branch : minor
2017-01-22 18:54:04 -04:00
Alex Szpakowski a6669a8bb2 Merge default into minor
--HG--
branch : minor
2017-01-21 12:06:35 -04:00
Bart van Strien 2aff0b1199 Remove executable bit from source files 2017-01-15 20:21:38 +01:00