Alex Szpakowski
b934f74795
Fix Fixture:getShape() causing crashes with ChainShapes (resolves issue #1392 ), removed dead code that's no longer valid
2018-04-07 18:37:29 -03:00
Alex Szpakowski
bb228cab0c
Fix love.event.quit causing crashes and other bad behaviour if a Canvas is active. Resolves issue #1395 .
2018-04-07 12:43:00 -03:00
Alex Szpakowski
7b91ab915c
Potentially fix depth/stencil support on older phones.
2018-04-07 11:35:20 -03:00
Bart van Strien
571503c02e
Don't use deprecated isFile in love.joystick.loadGamepadMappings ( fixes #1391 )
2018-04-04 17:49:51 +02:00
Alex Szpakowski
93372b87a8
Fix love.graphics.clear(colortable) when no Canvas is active.
2018-04-03 20:12:41 -03:00
Alex Szpakowski
613de97b58
Fix Source:queue to show the correct argument in the error message when an invalid data parameter is passed in.
2018-04-02 16:34:48 -03:00
Alex Szpakowski
cfa30167ca
Fix hash map collisions when setting canvases.
2018-04-02 15:58:38 -03:00
Martin Felis
1462f4cf56
(Android) Removed declaration of log2 as it is available in newer NDK APIs
2018-03-31 22:46:12 +02:00
Alex Szpakowski
0cefb12c13
Add a variant of love.filesystem.getInfo which filters based on file type. getInfo(filename, "directory") will only return info for non-symlinked directories, for example.
2018-03-24 14:43:56 -03:00
Alex Szpakowski
3949fde802
Fix querying the default audio recording device, some Source code style cleanups.
2018-03-11 18:47:44 -03:00
Alex Szpakowski
3a2ffc5e07
Add support for header-less DEFLATE data to love.data.compress/decompress.
2018-02-24 22:28:58 -04:00
Bart van Strien
f32237a524
Prevent error in File:lines if the last line does not end with a newline ( resolves #1383 )
2018-02-17 14:55:39 +01:00
Alex Szpakowski
8e83834722
Use the joystick's name in new gamepad mappings, when possible. Resolves issue #1370 .
2018-02-16 18:20:35 -04:00
bjornbytes
1916c2a5fa
Fix getCanvas for cube canvases;
2018-02-11 22:09:14 -08:00
Bart van Strien
d60849a9d5
Fix looping in File:lines on opened files ( resolves #1377 )
2018-02-11 12:10:57 +01:00
Bart van Strien
fc9fcd2626
Prevent needless seeking in File:lines on closed files (issue #1377 )
2018-02-10 12:06:30 +01:00
Alex Szpakowski
53872d813a
Don't error when love.joystick.loadGamepadMappings is given an empty string/file, since saveGamepadMappings can produce that. Resolves issue #1375 .
2018-02-07 22:32:06 -04:00
Bart van Strien
2f17cab3b4
Prevent out-of-bounds access in Text:add when an empty string is added ( fixes #1372 )
2018-01-30 17:31:44 +01:00
Alex Szpakowski
d37c53584e
Fixed the mipmaps flag in love.graphics.newImage; cleaned up a bit of vector code in love.math.isConvex.
2018-01-28 22:32:40 -04:00
Alex Szpakowski
a461f2d7af
Improve the error message when love.filesystem.init fails.
2018-01-28 16:53:09 -04:00
Alex Szpakowski
0bc820ee0e
Merged in cigumo/love (pull request #99 )
...
Changes Filesystem::setSource mount order on Android
Simplifies the way setSource is handled on Android. It tries to mount
first and if that fails it will copy to memory and mount.
This works alongside a separate patch to GameActivity.java submitted
to the love-android-sdl2 repo, that contains the /sdcard/lovegame
fallback mechanism, and also allows to copy the game.love to the app
cache dir, which is useful for large files.
2018-01-25 02:15:29 +00:00
Alex Szpakowski
a2454d74cd
Fix some DPI scale calculations to work with depth-only rendering.
2018-01-21 17:35:57 -04:00
Alex Szpakowski
c798cce89d
Improve the error message given when love.event pumping functions are called with a Canvas active.
2018-01-14 19:25:38 -04:00
Alex Szpakowski
39201af79f
Improve the error message when an invalid layer or face index is given in love.graphics.setMode.
2018-01-14 19:15:24 -04:00
Alex Szpakowski
4d5c4ef807
Fix Body:isTouching.
2018-01-14 14:40:46 -04:00
Alex Szpakowski
02e115c339
Add Body:isTouching(otherbody). See issue #1365 .
2018-01-14 14:37:48 -04:00
Alex Szpakowski
ac52666c6f
Rename ParticleSystem:setAreaSpread to setEmissionArea, and move the functionality from setAreaSpreadAngle/setAreSpreadIsRelativeDirection into setEmissionArea. Resolves issue #1311 .
2018-01-13 21:11:07 -04:00
Alex Szpakowski
2459752c06
Add support for partial Image updates via Image:replacePixels(imagedata [, sliceindex, mipmap, x, y]) with a smaller-sized ImageData.
...
Also updated the argument order of Canvas:newImageData to match: (sliceindex, mipmap, x, y, w, h).
2018-01-10 22:52:28 -04:00
Alex Szpakowski
22f72c7da6
Fix a crash in Image:replacePixels when a different ImageData is given than the one that created the Image.
2018-01-10 21:31:00 -04:00
Alex Szpakowski
68f561dcc7
Fix love.data.decompress when passing in a CompressedData.
2018-01-08 15:34:46 +00:00
Alex Szpakowski
6808968893
Fix an issue when calculating the number of mipmaps for a volume/3D texture.
2018-01-06 01:55:09 -04:00
Alex Szpakowski
f66753fec2
Windows: redirect stdout to the parent command prompt when love.exe --version is run.
2018-01-06 00:59:09 -04:00
Alex Szpakowski
3857d09132
Don't use persistently mapped buffers on Intel Ivy Bridge GPUs on Windows. glClientWaitSync can hang with those drivers, apparently.
2018-01-06 00:42:16 -04:00
Bart van Strien
fd514d8176
Update some more copyright notices
...
I am so good at using search/replace I definitely didn't need a second commit
for this.
2018-01-03 19:55:02 +01:00
Bart van Strien
e80247c191
Happy new year! ✨
2018-01-03 19:47:35 +01:00
Alex Szpakowski
55822489cf
Fix resuming streaming sources. Resolves issue #1362 .
2017-12-30 16:41:54 -04:00
Alex Szpakowski
dd59803ad3
Error when invalid setting names are used in the tables passed to love.graphics.newCanvas and newImage. See issue #1312 .
2017-12-28 23:16:51 -04:00
Alex Szpakowski
1f52abf619
Fix love.audio.play(staticsources) when the sources have been paused. Resolves issue #1363 .
2017-12-27 12:27:12 -04:00
Alex Szpakowski
7ff428b64f
Fix love.graphics.newImage(compressedimagedata, settings) to respect the mipmaps boolean flag instead of always using the compressed texture's mipmaps if it has any.
2017-12-27 11:03:32 -04:00
Alex Szpakowski
e6e1a81fd6
Move Android code for rerouting print and disabling JIT compilation to inside require("love") instead of the main executable Lua state, so it works in threads.
2017-12-26 19:45:23 -04:00
Alex Szpakowski
065f4a8e9b
Fix SpriteBatch:setDrawRange.
2017-12-24 22:31:58 -04:00
Alex Szpakowski
f7b2598490
Remove unnecessary internal constructor arguments.
2017-12-24 22:08:57 -04:00
Alex Szpakowski
a31b500b03
Simplify quad drawing code, and use glDrawElementsBaseVertex when available.
2017-12-24 22:05:10 -04:00
Alex Szpakowski
785902d8bd
Fix windows build
2017-12-24 16:05:52 -04:00
Alex Szpakowski
3fb621af95
Always use a 16 bit index array for quad indices, with multiple draws when necessary. See issue #1356 .
2017-12-24 15:54:03 -04:00
Alex Szpakowski
0b7cb4a353
Add variants of File:read and love.filesystem.read which take an enum to determine whether they return a FileData or string.
2017-12-22 16:32:54 -04:00
Alex Szpakowski
9fa73f8b87
Several love.data functions now take an enum ("data" or "string") to determine whether they return a Data object or a string.
...
Changed functions are love.data.compress, decompress, encode, decode, and pack.
2017-12-22 16:13:20 -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
640e8f0d2e
love.filesystem.mount can accept a Data object containing zipped data.
...
- Add mount(Data, archivename, mountpoint [, appendtopath]). 'archivename' must be a string that has not been used with mount before.
- Add mount(FileData, mountpoint [, appendtopath]). The file path of the FileData is used as the archive name.
- Add unmount(Data).
- unmount(archivename) also works.
2017-12-16 23:09:15 -04:00