Bart van Strien
7dfbfbda79
Error if ParticleSystem's particle lifetime is set to a negative value ( resolves #1339 )
...
--HG--
branch : minor
2017-09-09 13:23:49 +02:00
Alex Szpakowski
bf67d7ad0e
PHYSFS_enumerateFiles bug has been fixed post-2.1.0.
...
--HG--
branch : minor
2017-09-04 01:18:48 -03:00
Alex Szpakowski
b6ecdb7c78
SpriteBatches/Text objects/ParticleSystems: use glBufferData+glBufferSubData instead of glBufferData+glBufferData for orphaning streaming vertex data, on most platforms. Apparently some Android drivers have a problem with the latter.
...
--HG--
branch : minor
2017-09-03 23:41:35 -03:00
Alex Szpakowski
e4e4c6673e
Use PhysFS_getErrorByCode instead of PhysFS_getLastError, when available.
...
--HG--
branch : minor
2017-09-03 19:47:46 -03:00
Alex Szpakowski
737433d157
Update love.filesystem backend to always use PhysFS 2.1+ codepaths when available.
...
--HG--
branch : minor
2017-09-03 19:34:46 -03:00
Alex Szpakowski
61a8ce6a66
Remove obsolete code and hopefully fix VS2013 build
...
--HG--
branch : minor
2017-09-03 18:46:33 -03:00
Alex Szpakowski
b4f8f08b70
Enable (when available) and improve performance of persistently mapped buffer path for the vertex/index buffers used with automatic batching.
...
--HG--
branch : minor
2017-09-03 18:23:54 -03:00
Alex Szpakowski
9bb105711a
Fix a Font texture memory leak when love.window.setMode is called (resolves issue #1338 ).
...
--HG--
branch : minor
2017-09-02 14:39:21 -03:00
Alex Szpakowski
a25cf3c432
Fix deprecation UI opacity when fading out.
...
--HG--
branch : minor
2017-09-01 18:10:57 -03:00
Alex Szpakowski
a41f78dfe4
Simplified some compressed image parsing code.
...
--HG--
branch : minor
2017-08-30 22:25:26 -03:00
Bart van Strien
5ddc89a033
Added cycle detection to Variant
...
We accidentally enabled nested tables previously, and now it errors properly when the tables contain cycles. Before you'd get (or at least I got) a nice lua stack overflow error.
--HG--
branch : minor
2017-08-30 13:07:57 +02:00
Alex Szpakowski
d35f69bcff
Fix the deprecation list UI to respect love.setDeprecationOutput.
...
--HG--
branch : minor
2017-08-27 21:56:07 -03:00
Muh Muhten
dda0200ffe
Use proper type checking for coordinate arguments in love.graphics.points/line/polygon. Resolves issue #1325 .
...
--HG--
branch : minor
2017-08-27 21:31:41 -03:00
Alex Szpakowski
23c9edcc52
Hopefully fix the build
...
--HG--
branch : minor
2017-08-27 18:17:30 -03:00
Alex Szpakowski
9d0e984c3d
Add love.filesystem.getInfo. Deprecate love.filesystem.exists/isDirectory/isFile/isSymlink/getLastModified/getSize. Resolves issue #641 .
...
--HG--
branch : minor
2017-08-27 18:14:54 -03:00
Alex Szpakowski
fcd9f1526c
Use different output messages for deprecated methods versus functions.
...
--HG--
branch : minor
2017-08-27 16:55:33 -03:00
Alex Szpakowski
3128a127cf
Rename love.audio.getSourceCount to getActiveSourceCount and deprecate the old function (resolves issue #1302 ).
...
--HG--
branch : minor
2017-08-27 16:23:55 -03:00
Alex Szpakowski
d8eb6e6012
Rename PrismaticJoint/RevoluteJoint:hasLimitsEnabled to areLimitsEnabled and deprecate the old methods (resolves issue #1324 ).
...
--HG--
branch : minor
2017-08-27 16:18:54 -03:00
Alex Szpakowski
bf6983beac
Rename Source/SoundData/Decoder:getChannels to getChannelCount (resolves issue #1307 ). Deprecate the old methods rather than completely removing them.
...
--HG--
branch : minor
2017-08-27 14:40:46 -03:00
Alex Szpakowski
de28c6e6a8
Add the ability to have formally deprecated functions.
...
Functions which are deprecated will print out a message and show up in a small dialog on-screen, when they're first called. Deprecation output is disabled in fused mode by default, and can be modified with love.setDeprecationOutput(enable).
--HG--
branch : minor
2017-08-27 13:46:31 -03:00
Alex Szpakowski
324ef8f690
Remove an unused variable.
...
--HG--
branch : minor
2017-08-27 10:45:06 -03:00
Alex Szpakowski
0b68c92570
Rename some internal functionality to better match what it actually is.
...
--HG--
branch : minor
2017-08-25 22:42:03 -03:00
Alex Szpakowski
25afd740b4
Fast gamma correction functions in shaders are now more accurate. Always use the fast versions by default.
...
--HG--
branch : minor
2017-08-25 18:27:16 -03:00
Alex Szpakowski
7fdad7c010
Workaround for off-by-one line numbers in shader validation errors.
...
--HG--
branch : minor
2017-08-19 17:20:03 -03:00
Alex Szpakowski
fee157b6b9
Functions that take a boolean argument now properly type-check for it.
...
--HG--
branch : minor
2017-08-14 22:56:20 -03:00
Alex Szpakowski
fea9f82cfa
Remove the undocumented formatted variant of Text:set (Text:setf still exists). Resolves issue #1329 .
...
--HG--
branch : minor
2017-08-14 18:41:22 -03:00
Alex Szpakowski
92df39181d
Error for invalid constants passed to love.keyboard.isDown/isScancodeDown. Resolves issue #1313 .
...
--HG--
branch : minor
2017-08-10 21:06:04 -03:00
Alex Szpakowski
01fe2c5df2
Fix FLAC decoder code to compile if someone uncomments it. Resolves issue #1322 .
...
--HG--
branch : minor
2017-08-10 20:29:02 -03:00
Alex Szpakowski
74d9bc7faf
Add traceback information to the error string generated if a thread causes a Lua error.
...
--HG--
branch : minor
2017-08-07 20:15:26 -03:00
Alex Szpakowski
01c091882a
Fix love.graphics.newImage(ImageData). Thanks Santos!
...
--HG--
branch : minor
2017-08-07 18:53:40 -03:00
Alex Szpakowski
b5f2bce0a6
Merge default into minor
...
--HG--
branch : minor
2017-08-06 03:48:48 -03:00
Alex Szpakowski
7566db14f2
love.filesystem.isFile and isDirectory behave consistently between PhysFS 2.0 and 2.1/3.0 (see issue #641 ).
...
--HG--
branch : minor
2017-08-06 00:53:49 -03:00
Alex Szpakowski
9b6aa777ad
love.image.newImageData(w, h, format, rawbytes) can accept a Data object.
...
--HG--
branch : minor
2017-08-06 00:13:02 -03:00
Alex Szpakowski
2dd6408d00
Images/[Compressed]ImageData can be created using any Data, instead of just files or FileData.
...
--HG--
branch : minor
2017-08-05 23:55:20 -03:00
Alex Szpakowski
254e50dbfe
Rename love.mouse.hasCursor to isCursorSupported (resolves issue #1309 ).
...
--HG--
branch : minor
2017-08-05 16:53:27 -03:00
Alex Szpakowski
b129d49a6c
Move Color.h from modules/graphics/ to common/
...
--HG--
branch : minor
2017-08-01 23:53:44 -03:00
Alex Szpakowski
84d5d8b636
Move decoder-agnostic love.image code out of the magpie backend folder.
...
--HG--
branch : minor
2017-08-01 23:22:24 -03:00
raidho36
e751278af1
Fix issue #1303
2017-08-02 02:56:02 +03:00
Alex Szpakowski
217552b5ff
love.graphics.newShader can accept File and FileData arguments (resolves issue #1308 ).
...
--HG--
branch : minor
2017-08-01 18:35:35 -03:00
Alex Szpakowski
02aa7937a1
Rename love.audio.setMixMode to setMixWithSystem. Fix some copyright notice typos.
...
--HG--
branch : minor
2017-07-29 23:22:54 -03:00
Alex Szpakowski
17cf7bba83
Cleaned up love.graphics.newShader's wrapper code a bit.
...
--HG--
branch : minor
2017-07-29 23:09:45 -03:00
Alex Szpakowski
5848b8c8b6
Set non-zero default sampling parameters for RecordingDevices.
...
This allows RecordingDevice:start() with no arguments to work if it's being started for the first time.
--HG--
branch : minor
2017-07-29 22:53:20 -03:00
Alex Szpakowski
5ef6730497
Added a variant of love.graphics.captureScreenshot which takes a single filename parameter. Resolves issue #1293 .
...
--HG--
branch : minor
2017-07-29 12:54:53 -03:00
Alex Szpakowski
2c80cce00b
Fix RecordingDevice:start().
...
--HG--
branch : minor
2017-07-29 11:52:01 -03:00
Alex Szpakowski
bf7f082adb
Re-added the no-argument variant of RecordingDevice:start().
...
It uses the samples / sample rate / bit depth / channel count previously set for the RecordingDevice, and errors if it hasn't been set before.
--HG--
branch : minor
2017-07-29 11:45:35 -03:00
Alex Szpakowski
68f1ab5f47
Check a couple more vendor strings to determine if an AMD driver is being used.
...
--HG--
branch : minor
2017-07-29 02:06:32 -03:00
Alex Szpakowski
d338f274ff
Update naming convention for builtin shader matrices.
...
- ClipSpaceFromLocal replaces TransformProjectionMatrix
- ViewSpaceFromLocal replaces TransformMatrix
- ClipSpaceFromView replaces ProjectionMatrix
- ViewNormalFromLocal replaces NormalMatrix
--HG--
branch : minor
2017-07-29 01:25:56 -03:00
Alex Szpakowski
5fc2190ce4
Rename love.audio.getEffectsList and Source:getEffectsList to getActiveEffects. They now return an empty table instead of nil when there are no active effects, as well.
...
--HG--
branch : minor
2017-07-28 19:28:50 -03:00
Alex Szpakowski
19b4079ecc
Merge default into minor
...
--HG--
branch : minor
2017-07-28 19:14:54 -03:00
Alex Szpakowski
b19a8ab67e
RecordingDevice:start has default arguments (resolves issue #1296 ).
...
--HG--
branch : minor
2017-07-28 18:53:54 -03:00