Bart van Strien
e382c8939c
Make Source:seek fail with negative offsets ( resolves #667 )
2013-07-11 14:19:15 +02:00
Alex Szpakowski
bcc85f884e
ImageData:mapPixel can now take optional x,y,w,h parameters to constrain it to a rectangle in the ImageData
2013-07-11 01:10:19 -03:00
Alex Szpakowski
91e4feeca0
Fixed justify AlignMode
2013-07-10 20:36:20 -03:00
Alex Szpakowski
35b4f03411
Fixed thread:start crashing with nil arguments
2013-07-10 17:41:54 -03:00
Alex Szpakowski
454ba9d968
love.graphics.newGeometry now takes an optional draw mode argument ("fan", "strip", or "triangles".) "fan" is the default.
...
This allows for more diverse and complex Geometries, provided the lover understands how to use each mode. See http://escience.anu.edu.au/lecture/cg/surfaceModeling/image/surfaceModeling015.png
Changed love.graphics.newGeometry to optionally accept vertices as individual arguments instead of just a table of vertices (resolves issue #651 ).
Changed Geometry:setVertex to optionally accept a table containing x,y,u,v,r,g,b,a instead of just individual arguments.
Added Geometry:set/getDrawMode.
Removed the convex-check in love.graphics.newGeometry (all geometry modes have at least some form of concavity support, lovers can do their own check if needed with love.math.isConvex.)
Added an optional "vertex map" table argument to love.graphics.newGeometry (AKA a vertex index array / element array in graphics programming lingo.)
This allows lovers to change the order in which the vertices are used when drawing, or re-use a single vertex multiple times for different parts of the Geometry.
This is especially useful in the "triangles" Geometry draw mode. The vertex map lets you draw very complex (and concave) shapes / meshes without duplicating vertex data.
Added Geometry:set/getVertexMap.
2013-07-10 15:34:10 -03:00
Alex Szpakowski
12c5bbfb9a
Improved error messages when a function which expects a love type gets something else
2013-07-10 11:59:12 -03:00
Bart van Strien
29fd6b98f8
Replace (C99/C++11) snprintf with lua_pushfstring
2013-07-10 16:24:29 +02:00
Bart van Strien
e6b029ec90
Oops, forgot to add the luasocket compat hack thing
2013-07-10 16:11:39 +02:00
Bart van Strien
f5603b0291
Make love compile against lua5.2
2013-07-10 16:02:52 +02:00
Martin Felis
14ca401158
Add enet and lua-enet
2013-07-10 15:42:50 +02:00
Bart van Strien
25d0d87247
Add love.window.getIcon, and reset it after setMode, so it doesn't get reset (issue #667 and issue #513 )
2013-07-09 15:19:49 +02:00
Bart van Strien
aaa301ead2
Error if getting/setting out-of-range samples (issue #674 )
2013-07-09 15:00:51 +02:00
Bart van Strien
7e50691b6c
Threads can now start with arguments, which will be in ... inside of the thread
2013-07-09 14:52:27 +02:00
Alex Szpakowski
d5ef29e015
Removed the optional variation parameter from ParticleSystem:setSpin (issue #634 ). ParticleSystem:setSpinVariation still exists.
2013-07-09 07:48:42 -03:00
Alex Szpakowski
da7bc06976
ParticleSystem:setSizes no longer resets size variation to 0 (issue #640 )
2013-07-09 07:38:44 -03:00
Alex Szpakowski
ebd0896907
Updated changelog
2013-07-09 04:43:13 -03:00
Alex Szpakowski
de745aa37c
Fixed ParticleSystem drawing order (issue #604 ) & added ParticleSystem:s/getInsertMode. Thanks @Boolsheet!
2013-07-09 04:17:34 -03:00
Alex Szpakowski
bf91d5cc6f
Merged bartbes/love-experiments/love.filesystem.mount2 into default
2013-07-09 00:13:18 -03:00
Alex Szpakowski
9155b7b0ee
Removed dead code for the now-removed Thread:kill
2013-07-08 17:00:47 -03:00
Alex Szpakowski
9da1af1e99
Canvas:clear() when multiple canvases are active is now more efficient when GL3+ is supported
2013-07-06 07:02:48 -03:00
Bart van Strien
268fca156f
Add release dates to changelog
2013-07-05 19:42:47 +02:00
Alex Szpakowski
353e9b3b31
Fixed love.event.clear() (issue #666 )
2013-07-04 19:06:42 -03:00
Alex Szpakowski
abd31ca4e2
Fixed ParticleSystems and Files crashing instead of erroring when given bad sizes (issue #666 )
2013-07-04 06:29:02 -03:00
Alex Szpakowski
ee5e83635f
Fixed rendering when a SpriteBatch is bound
2013-07-02 06:14:38 -03:00
Alex Szpakowski
3880646a6a
Fixed some uncaught exceptions in love.physics
2013-07-02 02:27:08 -03:00
Alex Szpakowski
8084096937
Fixed the error screen sometimes not properly appearing until the next input event due to double/triple-buffering
2013-07-01 23:29:18 -03:00
Alex Szpakowski
3b3c5c3711
Removed love.joystick.getBall and love.joystick.getBallCount (issue #648 )
2013-06-30 16:59:28 -03:00
Alex Szpakowski
01666f6c29
love.image.isCompressed now compares file extensions in a case-insensitive manner
2013-06-30 15:48:47 -03:00
Bart van Strien
ad8e0da351
Fix source reset, specifically audio wasn't always updating the AL_LOOPING flag
2013-06-30 17:29:55 +02:00
Bart van Strien
2ad7562e6b
Make sound decoder selection based on extension case-insensitive (issue #662 )
2013-06-30 16:32:56 +02:00
Alex Szpakowski
084a52da10
Fixed window visibility events not always triggering properly
2013-06-29 20:19:06 -03:00
Alex Szpakowski
03bd4c1410
Fixed SpriteBatch:setBufferSize
2013-06-29 00:18:22 -03:00
Alex Szpakowski
3fb78d5458
Added SpriteBatch:setBufferSize (issue #655 )
2013-06-29 00:04:56 -03:00
Alex Szpakowski
8fbf43fcc3
Added File:setBuffer/getBuffer, File:flush, and File:getMode.
2013-06-27 06:26:20 -03:00
Alex Szpakowski
186bcae7cb
Added File:isOpen
2013-06-27 02:23:56 -03:00
Alex Szpakowski
80122d67e6
Slightly improved performance of love.graphics.setCanvases
2013-06-27 01:43:32 -03:00
Alex Szpakowski
8b261abfdc
Slightly improved performance and cleaned up code a bit for love.graphics.print
2013-06-26 20:21:08 -03:00
Alex Szpakowski
b04a2fee87
Improved performance when using ImageData methods in multiple threads when ImageData:encode is called
2013-06-26 03:42:42 -03:00
Alex Szpakowski
b8efa6372b
oops
2013-06-25 05:37:44 -03:00
Alex Szpakowski
6e3a7288dd
Improved performance of ImageData:mapPixel (now up to 2x as fast as in 0.8.0!); love.graphics.newImage, Image:refresh, love.window.setIcon, and ImageRasterizers now prevent other threads from modifying the ImageData used in those functions until they're done accessing it
2013-06-25 05:28:20 -03:00
Alex Szpakowski
579a3052e6
Removed restriction on mounting a filepath to root
...
--HG--
branch : love.filesystem.mount2
2013-06-22 17:04:51 -03:00
Alex Szpakowski
b4fa9131d2
Fixed love.filesystem.[un]mount
...
--HG--
branch : love.filesystem.mount2
2013-06-22 15:54:53 -03:00
Bart van Strien
bff2c1b5f1
Recreate love.filesystem.mount, adding mount and unmount, for your archive (and folder?) pleasure
...
--HG--
branch : love.filesystem.mount2
2013-06-22 14:58:12 +02:00
Alex Szpakowski
8d7e0b5629
Time-travelling license text
2013-06-22 03:14:15 -03:00
Alex Szpakowski
958a25e0af
Flipped the loading order of the graphics and window modules (first window, then graphics)
2013-06-21 06:02:09 -03:00
Alex Szpakowski
2426d97450
Fixed justify printf Align Mode (issue #635 )
2013-06-18 23:16:01 -03:00
Alex Szpakowski
6281d60b8c
Fixed compilation in visual studio
2013-06-18 17:31:47 -03:00
Alex Szpakowski
2be3479989
Updated changelog
2013-06-17 15:52:44 -03:00
Alex Szpakowski
621124ac28
love.keypressed's second argument is now a unicode character string instead of a unicode codepoint number.
2013-06-17 15:23:53 -03:00
Alex Szpakowski
cd97e9ec05
Added Image:getData, returns the original ImageData (or CompressedData) used to create the image
2013-06-17 13:43:40 -03:00