Alex Szpakowski
f0c682d50d
boot.lua cleanup and fixes
...
--HG--
branch : minor
2017-08-02 21:49:34 -03:00
Kyle McLamb
c2ea3a846c
Cleanup
...
* love.load now takes two arguments. signature:
love.load(args, raw_args)
* Rename love.arg functions
* Use love.arg.getLow instead of reimplementing it like a goof
--HG--
branch : minor
2017-08-02 19:58:29 -04:00
Kyle McLamb
f6600953ec
merge
...
--HG--
branch : minor
2017-08-02 19:33:42 -04: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
c11a4250e8
Fix CMakeLists.txt
...
--HG--
branch : minor
2017-08-01 23:24:20 -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
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
Bart van Strien
7fa8fe7572
Fix replacement when using love.joystick.setGamepadMapping (issue #1298 )
...
The broken find code would previously cause the (duplicate) key to be appended
to the end, now it successfully replaces the previous value
--HG--
branch : minor
2017-07-28 14:49:35 +02:00
Alex Szpakowski
94ce558126
require now looks for both .dylib and .so extensions for C dynamic libraries in macOS, instead of just .so.
...
It also now replaces all occurrences of '??' and '?' in the path with the module filename and module name respectively, rather than just the first occurrence.
--HG--
branch : minor
2017-07-27 19:54:56 -03:00
Bart van Strien
6f7fe0611b
Fix broken audio when attempting to stop or pause multiple sources, when not all of them were playing
...
--HG--
branch : minor
2017-07-27 17:41:27 +02:00
Bart van Strien
9ee11409c5
Add vararg versions of love.audio.play/pause/stop ( fixes #1295 )
...
The table versions existed already, I guess I forgot about varargs
--HG--
branch : minor
2017-07-27 17:40:56 +02:00
Alex Szpakowski
d578c35f4a
Fix love.graphics.circle (thanks xenthral!)
...
--HG--
branch : minor
2017-07-25 08:05:46 -03:00
Alex Szpakowski
2eb9b3bdcd
love.timer.step now returns the calculated dt directly.
...
--HG--
branch : minor
2017-07-23 19:56:48 -03:00
Alex Szpakowski
ef5897b22c
Seed love.math.random when the math module is loaded, instead of in love.run.
...
--HG--
branch : minor
2017-07-23 19:45:49 -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
b3d4443f9d
Added 'drawcallsbatched' field to the table returned by love.graphics.getStats.
...
It has the number of draw calls that were saved by auto-batching.
--HG--
branch : minor
2017-07-23 01:58:25 -03:00
Alex Szpakowski
c37e9ed6bf
Use vector2 arrays instead of raw float arrays for graphics primitives. Simplifies the code a bit.
...
--HG--
branch : minor
2017-07-23 01:49:27 -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
864147c38c
love.graphics: move more platform-independent code out of the opengl backend
...
--HG--
branch : minor
2017-07-22 23:34:39 -03:00
Alex Szpakowski
b568e267eb
Reorganized the ImageData decoding/encoding implementation slightly.
...
--HG--
branch : minor
2017-07-21 21:37:48 -03:00
Alex Szpakowski
518ed6f524
Small code style cleanup
...
--HG--
branch : minor
2017-07-21 21:17:55 -03:00
Tiago Koji Castro Shibata
3dfe3808c6
Remove playmuted audio configuration
2017-07-18 15:15:04 -03:00
Alex Szpakowski
34ebe18f14
Use luaL_check/optinteger instead of luaL_check/optnumber when getting integer arguments to functions. Resolves issue #1251 .
...
--HG--
branch : minor
2017-07-16 12:17:50 -03:00
Alex Szpakowski
abcade9421
Updated the changelog
...
--HG--
branch : minor
2017-07-14 23:34:06 -03:00
Tiago Koji Castro Shibata
4e9212b152
Add Android support to hasBackgroundMusic
2017-07-13 23:54:37 -03:00
Alex Szpakowski
130ee7e1d9
Consolidated Image and Canvas dimension validation code.
...
--HG--
branch : minor
2017-07-11 20:38:47 -03:00
Kyle McLamb
4ed370b098
Update comment
...
--HG--
branch : minor
2017-07-10 00:34:57 -04:00
Kyle McLamb
9a03cf10a4
Remove parsed options from the love.load arglist
...
--HG--
branch : minor
2017-07-10 00:22:41 -04:00
Alex Szpakowski
2b876d33ff
Attempt to fix VS2013 compilation error; fix a couple logic errors in the audio Source implementation.
...
--HG--
branch : minor
2017-07-09 21:45:43 -03:00
Alex Szpakowski
942149f980
Merged in rcoaxil/love-audio/minor (pull request #91 )
...
Effects re-made to operate on literal names instead of numerical indices.
--HG--
branch : minor
2017-07-10 00:32:41 +00:00
raidho36
16180a7e9b
That should be all.
...
--HG--
branch : minor
2017-07-10 03:30:16 +03:00
raidho36
8737e2e70f
C++11 VLA usage removed, prettifyed naming.
...
--HG--
branch : minor
2017-07-10 03:14:41 +03:00
Alex Szpakowski
a129982e56
Fix Texture:get/setWrap for 3D textures.
...
--HG--
branch : minor
2017-07-09 21:06:54 -03:00
Alex Szpakowski
025201d0c2
Hopefully work around Array Texture intel GMA driver bug on windows (resolves issue #1265 ).
...
--HG--
branch : minor
2017-07-09 17:31:07 -03:00
Alex Szpakowski
34f25bd6c8
ESSL: always enable standard derivative functionality (dFdx, dFdy, fwidth) when available. Added 'shaderderivatives' graphics feature enum.
...
--HG--
branch : minor
2017-07-09 16:55:21 -03:00
Bart van Strien
a4a62f390a
Disable signal handling in threads (see issue #1042 )
...
I don't necessarily like having to do these extra calls whenever threads are
spawned (and what happens to signals during the time signal delivery is
disabled?) but it seems to fully fix os.execute.
NOTE: Also disables signals when loading openal, as it or one of its backends
spawns threads internally, and does not disable signals itself.
--HG--
branch : minor
2017-07-02 15:27:58 +02:00
Bart van Strien
bf83629b4c
Fix makefile misgeneration when CDPATH is set ( fixes #1212 )
...
--HG--
branch : minor
2017-06-30 19:08:41 +02:00
Alex Szpakowski
54a049e206
Restructured internal code for graphics capabilities. Added love.graphics.getTextureTypes which returns a table of Texture Type to boolean supported fields.
...
--HG--
branch : minor
2017-06-27 22:26:30 -03:00
Alex Szpakowski
5941982422
Error if a window isn't open when love.system.set/getClipboardText are called (resolves issue #1290 ).
...
--HG--
branch : minor
2017-06-27 21:31:50 -03:00