Alex Szpakowski
da3e292389
Merged in xpol/love/better-parse-options (pull request #71 )
...
Better love.arg.parse_options():
2016-11-05 20:29:50 +00:00
Xpol Wan
c28a6c51c4
love.arg.parse_option just return how many extra arg the current option consumes.
...
--HG--
branch : better-parse-options
2016-11-04 22:27:49 +08:00
xpol
de855f30d5
Better love.arg.parse_options():
...
1. use string.match for we are mean to match
2. better match pattern which now do not allow somthing like `not-a-valid--console`
3. use while loop which allows change loop var.
--HG--
branch : better-parse-options
2016-11-04 11:37:38 +08:00
Bart van Strien
3336accb8f
Added tag 0.10.2 for changeset afc69c4f7145
2016-10-31 20:23:56 +01:00
Bart van Strien
9e13977995
Added release date for 0.10.2
0.10.2
2016-10-31 20:23:52 +01:00
Alex Szpakowski
5ba449d1ff
Add support for BC4-7 compressed texture formats in KTX files. Updated the changelog.
2016-10-29 23:42:40 -03:00
Alex Szpakowski
43fcacc653
Merged in nkorth/love (pull request #70 )
...
Add 'ellipse' distribution to ParticleSystem
2016-10-29 15:35:10 +00:00
Alex Szpakowski
ba21512259
Updated the changelog
2016-10-29 12:30:15 -03:00
Nathan Korth
53c528aa44
Add 'ellipse' distribution to ParticleSystem
2016-10-28 16:26:28 -04:00
Alex Szpakowski
db78c89639
Merged in brocoli_/love/set-raw-transform (pull request #69 )
...
Added new raw values constructor to Matrix4 and Matrix4::setRawTransformation().
2016-10-26 20:39:34 +00:00
Julio Felipe Angelini
cdf7199c48
Added new raw values constructor to Matrix4 and Matrix4::setRawTransformation().
...
--HG--
branch : set-raw-transform
2016-10-26 17:45:28 -02:00
Bart van Strien
6d95ff7fb7
Remove old (cmake-only) workaround for issue #1173 .
2016-10-25 15:33:30 +02:00
Bart van Strien
7a6e626c74
Make stb_image only use SSE2 on x86_64, or when an override has been set ( fixes #1173 )
...
Turns out, this is a gcc bug: detecting sse2 support cannot be done in shared
libraries. For now we'll assume 32-bit x86 builds are intended to also run on
devices without SSE2 (how old!). In the future we might decide we only support
machines that support SSE2, if we secretly don't already.
2016-10-25 15:21:31 +02:00
Alex Szpakowski
ec7565176e
Add love.window.isMaximized
2016-10-24 21:35:22 -03:00
Alex Szpakowski
ff53e8fe71
Fix non-integer coordinates passed to ImageData:mapPixel/setPixel/getPixel and SoundData:set/getSample.
...
LuaJIT does interesting things when you index into a FFI array using a non-integer value.
2016-10-24 18:14:09 -03:00
Alex Szpakowski
d57ce8ae73
The answer is no :(
2016-10-23 23:00:46 -03:00
Alex Szpakowski
295fff5db8
Testing whether appveyor can build with Windows XP support
2016-10-23 22:56:19 -03:00
Alex Szpakowski
894a44f45c
Fix an incorrect delete call when out of memory.
2016-10-22 21:32:44 -03:00
Alex Szpakowski
a9593d926e
Fix love.math.noise(nil) to error instead of returning nil.
2016-10-20 22:57:12 -03:00
Alex Szpakowski
42be56858b
Remove duplicate unused code.
2016-10-10 09:33:10 -03:00
Alex Szpakowski
03c38185f6
Fix love.window.maximize to immediately update the window dimensions instead of waiting for the next love.event.pump. Fixes issue #1221 .
2016-10-10 09:14:57 -03:00
Alex Szpakowski
b1b4a637b5
Fix a potential crash when a Thread ends (resolves issue #1219 ).
2016-10-08 10:50:50 -03:00
Alex Szpakowski
304ccec71c
Updated the changelog
2016-09-27 23:12:33 -03:00
Alex Szpakowski
327682d07f
Add support for passing a table to love.mouse.isDown, love.keyboard.isDown, love.keyboard.isScancodeDown, Joystick:isDown, and Joystick:isGamepadDown.
2016-09-19 22:43:47 -03:00
Alex Szpakowski
a9c83897bb
Shader:send improvements.
...
Type and value checking is now completely based on the shader uniform's information, instead of on the arguments to Shader:send. This means Shader:send now converts numbers to integers or floats depending on the uniform's type, and matrices can now be passed in as a flat array (without requiring the 'dimension' field that shader:sendMatrix previously needed).
As a result, Shader:sendTexture, Shader:sendMatrix, Shader:sendInt, and Shader:sendFloat are all deprecated in favour of Shader:send.
Performance of Shader:send has also increased, especially when sending small amounts of values per call.
2016-09-11 12:40:02 -03:00
Alex Szpakowski
0b1bfba493
Use SDL_DetachThread instead of a conditional SDL_WaitThread when a Thread is destroyed.
2016-09-08 23:33:48 -03:00
Alex Szpakowski
e803878445
love.event.quit("restart") now causes LÖVE to restart the Lua state after shutting it down.
...
Note that this isn't perfect – it won't kill running threads which aren't cleaned up by the Lua code when the main Lua state is shut down.
2016-09-08 18:42:56 -03:00
Alex Szpakowski
8fca2aa607
Call collectgarbage after love.lowmemory(), instead of before.
2016-09-08 18:11:50 -03:00
Alex Szpakowski
cc4dd24be6
Update the love version used for appveyor
2016-08-29 23:14:20 -03:00
Alex Szpakowski
f30f9ab3f5
Appveyor test
2016-08-29 23:03:37 -03:00
Alex Szpakowski
d572c70883
Fix a GL error on OpenGL ES 3 when using multiple render targets.
2016-08-29 18:48:53 -03:00
Alex Szpakowski
677a8d60b8
Use love::Vector (8 bytes) instead of love::Vertex (20 bytes) for love.math.triangulate and love.math.isConvex.
2016-08-24 18:02:27 -03:00
Alex Szpakowski
acde58d311
Improved the error message when nil is passed as the first argument to love.image.newImageData (resolves issue #1205 ).
2016-08-21 11:22:21 -03:00
airstruck
154f7cbc7e
Support reference angle on revolute, prismatic, and weld joints ( fixes #1194 )
2016-08-19 14:36:36 +02:00
Anders Ruud
78a2e80818
Created bitbucket-pipelines.yml.
2016-08-19 08:47:16 +00:00
Anders Ruud
d896f7f871
Work-around for gcc bug 1568899.
2016-08-19 08:46:05 +00:00
Bart van Strien
9998e761a4
Do not error in newVideo when optionally loading audio with love.audio disabled ( fixes #1206 )
2016-08-15 17:12:36 +02:00
Alex Szpakowski
3e678fc462
Fix SpriteBatch:setBufferSize to keep old sprite data if it can fit (resolves issue #1204 ).
2016-08-12 23:44:16 -03:00
Bart van Strien
5ae730be9e
Update changelog
2016-08-02 14:33:28 +02:00
Bart van Strien
57e4ec78e3
Prevent attaching a MouseJoint to a kinematic body ( fixes #1185 )
...
It turns out, calling World:update() after attaching a MouseJoint to a
kinematic body causes an exception. Normally the wrapper catches the exception,
but somehow this exception cannot be caught. Wonderful.
2016-08-02 14:26:51 +02:00
Bart van Strien
0ce44e465d
Catch possible Box2D exception in Fixture:getBoundingBox() ( fixes #1196 )
2016-08-02 13:07:05 +02:00
Alex Szpakowski
fc2c79ad5f
Add EdgeShape:set/getNext/PreviousVertex. ChainShape:setNext/PreviousVertex can now take no arguments to disable ghost vertices.
...
Resolves issue #1191 .
2016-08-01 10:15:34 -03:00
Alex Szpakowski
2e8f785a01
Potentially fix building with megasource on Windows
2016-07-31 14:40:55 -03:00
Alex Szpakowski
3157e5df7b
Added ChainShape:getNext/PreviousVertex (see issue #1191 ). Thanks airstruck!
2016-07-31 14:25:12 -03:00
Alex Szpakowski
55cb2fad84
Fixture:setCategory and Fixture:setMask now accept a table of categories/masks (resolves issue #1178 ).
2016-07-31 11:51:53 -03:00
Alex Szpakowski
0a534d4751
Fixed ChainShape:setPreviousVertex.
2016-07-28 18:08:27 -03:00
Bart van Strien
f4999bd2c7
Fail gracefully when auto.lua is called on a file not in src/scripts
2016-07-28 17:15:52 +02:00
Leonardo Etcheverry
a11c7278c8
Fix FT_Get_Kerning using char codes instead of glyph indices.
2016-07-20 21:52:56 -03:00
Alex Szpakowski
d2c2c717e4
Mac: treat folders with the .love extension as packages that can be double-clicked to open with LÖVE (resolves issue #1186 ).
2016-07-20 19:36:43 -03:00
Alex Szpakowski
8ea1edbc2a
Cause a Lua error instead of silently failing if a vertex buffer memory allocation fails.
2016-07-17 17:44:38 -03:00