Alex Szpakowski
1afc47511c
Fixed the graphics viewport not matching the window size when an unsupported fullscreen resolution is set
2013-06-08 08:35:16 -03:00
Alex Szpakowski
c0998cd996
Fixed love.graphics.setScissor when love.graphics.setCanvas is called directly after a setScissor call
2013-06-07 03:31:30 -03:00
Alex Szpakowski
1482b13363
Fixed SpriteBatch:unbind
2013-06-01 23:18:28 -03:00
Alex Szpakowski
da9675e424
SpriteBatch:addg can now take triangle Geometries
2013-06-01 14:56:00 -03:00
Alex Szpakowski
6fe1bfd5f9
Removed convex-check from Geometry:setVertex to prevent errors when re-ordering vertices
2013-06-01 04:00:54 -03:00
Alex Szpakowski
6c6cb270de
Fixed Canvas:clear
2013-05-30 04:31:32 -03:00
Alex Szpakowski
6a76e082e4
Re-added love.graphics.getWidth/getHeight
2013-05-28 20:23:31 -03:00
Alex Szpakowski
252aa114a7
Fixed a potential error in the release errhand function
2013-05-27 16:18:38 -03:00
Bart van Strien
b6c8a48c25
--disable-mpg123 needs the header conditionally included, too
2013-05-26 23:21:35 +02:00
Bart van Strien
c99fb2fb99
Fix --disable-mpg123 by telling automake to not compile it, instead of using ifdefs
2013-05-26 22:34:04 +02:00
Bart van Strien
6bc4f7a34e
Revision 1500 s/''/'/ on configure.ac, how fitting
2013-05-26 21:04:51 +02:00
Bart van Strien
d8dfd62035
Rework configure.ac, clean up platform/unix
2013-05-26 17:45:14 +02:00
Bart van Strien
7b923dc75b
On windows, open the console window before the main window, which should mean that the main window gets focus
2013-05-24 22:22:40 +02:00
Alex Szpakowski
005344dddd
Codename Baby Inspector
2013-05-24 04:16:19 -03:00
Alex Szpakowski
0545138f1e
Added ParticleSystem:isStopped (issue #623 )
2013-05-24 02:21:47 -03:00
Alex Szpakowski
4dc2072fc6
Fixed error messages in functions where love.filesystem.newFile(Data) is called internally
2013-05-23 17:59:15 -03:00
Alex Szpakowski
7959158ffa
love.audio.newSource now optionally accepts FileData (issue #624 )
2013-05-23 14:03:58 -03:00
Alex Szpakowski
0c58d5d46a
Added ParticleSystem:isPaused (issue #623 ) and removed ParticleSystem:isEmpty/isFull (issue #621 )
2013-05-23 13:42:29 -03:00
Alex Szpakowski
0e9d73503c
Stencil buffers are now created and attached to canvases on-demand, instead of always on canvas creation.
...
saves VRAM when stencils aren't used in canvases.
2013-05-22 23:08:21 -03:00
Alex Szpakowski
ac094f9437
Fixed love.graphics.newScreenshot to always read from the main framebuffer, even when a canvas is bound
2013-05-22 19:18:11 -03:00
Alex Szpakowski
0b71fa1483
Added SpriteBatch:getCount and SpriteBatch:getBufferSize, and removed SpriteBatch:isEmpty/isFull.
2013-05-22 18:44:40 -03:00
Alex Szpakowski
264948690c
Renamed BlendMode "none" to "replace" and updated changelog
2013-05-22 04:26:29 -03:00
Alex Szpakowski
eaf69aead1
Renamed love.window.setTitle back to love.window.setCaption
...
Previous rename was unnecessary
2013-05-21 22:24:51 -03:00
Alex Szpakowski
123889dfed
Converted code for Shader:send from Lua to C++
2013-05-21 20:41:26 -03:00
Alex Szpakowski
89265107ea
Fixed SpriteBatch:addg/setg to error properly instead of crash when attempting to use a Geometry without exactly 4 vertices
2013-05-20 14:47:37 -03:00
Bart van Strien
167d3183b9
Rename SpriteBatch:setq to setg
2013-05-20 19:04:27 +02:00
Alex Szpakowski
2b54ea23de
Added love.window.isVisible
2013-05-20 06:25:51 -03:00
Alex Szpakowski
4718267c31
Updated Xcode project to be more LuaJIT-friendly
2013-05-18 20:13:26 -03:00
Alex Szpakowski
60ca08e220
Merged in kyleconroy/love/add-visual-studio-files (pull request #27 )
...
Add files to the visual studio project
2013-05-18 07:03:52 -03:00
Kyle Conroy
2b0bf794b5
Add files to the visual studio project
...
--HG--
branch : add-visual-studio-files
2013-05-18 03:00:45 -07:00
Alex Szpakowski
daea857c1e
Removed duplicated code for a crash workaround in Mac OS 10.5
2013-05-16 15:30:34 -03:00
Alex Szpakowski
c620553e28
Updated changelog and organized it slightly
2013-05-12 18:11:24 -03:00
Alex Szpakowski
04ca33d127
Updated Xcode project with new bezier files
2013-05-12 17:04:56 -03:00
vrld
aa4d96317f
[bezier curve] add missing files
2013-05-12 22:01:12 +02:00
vrld
19eade843c
Add support for Bezier curves of arbitrary degree.
...
New functions:
bezier = love.math.newBezierCurve(control-points)
degree = bezier:getDegree() -- degree = #control-points - 1
x,y = bezier:getControlPoint(pos) -- pos < 0 => string.sub semantics
bezier:setControlPoint(pos, x, y) -- pos < 0 => string.sub semantics
bezier:insertControlPoint(x,y, [pos = -1])
x,y = bezier:eval(t) -- 0 <= t <= 1
polyline = bezier:render([accuracy = 5]) -- returns a table of points
Example:
function love.load()
b = love.math.newBezierCurve(10,10, 80,400, 380,400, 470,10)
end
function love.draw()
if not curve then -- curve rendering is expensive-ish
curve = b:render()
end
love.graphics.line(curve)
end
2013-05-12 21:57:06 +02:00
Alex Szpakowski
aa59761177
Fixed smooth lines with love.graphics.origin() after love.graphics.scale
2013-05-12 16:13:32 -03:00
vrld
e9d0204cdc
Disallow concave shapes as geometry.
2013-05-12 13:01:05 +02:00
vrld
d454be7025
Add love.math.isConvex()
...
Checks whether a given polygon is convex or not.
2013-05-12 13:00:08 +02:00
Alex Szpakowski
c1cbd610e6
Fixed the default blend mode (and other related state)
2013-05-12 05:49:00 -03:00
Alex Szpakowski
b391a9f4a6
Added love.window.hasMouseFocus (issue #120 )
2013-05-11 15:57:16 -03:00
Alex Szpakowski
ff77eb4b29
Added love.window (issue #6.) All window-related functions have been moved from love.graphics to love.window.
...
love.graphics.setCaption has been renamed to love.window.setTitle.
2013-05-10 22:32:15 -03:00
vrld
13dd8d3199
Faster (and less WTF-ish) computation of current pixel size for line drawing.
2013-05-10 19:09:17 +02:00
Bart van Strien
8a5c8c4dc4
Use tail calls to event handlers from love.handlers
2013-05-10 19:06:12 +02:00
Bart van Strien
79d1a7a6ef
Add love.mousefocus (partial issue #120 ) temporary name (see issue #573 ) and it's waiting for an exposed love.window to get a check, too
2013-05-10 19:03:16 +02:00
Bart van Strien
0a422daa75
Add Contact:getChildren (pull request #15 )
2013-05-10 17:40:04 +02:00
Bart van Strien
402ae4638a
Make ImageData:setPixel accept a table (issue #582 )
2013-05-10 17:28:55 +02:00
Bart van Strien
fb8a94a4a3
Enable looping in tracker formats with looping support (issue #421 )
2013-05-10 17:00:15 +02:00
Bart van Strien
16e27d95b1
Rename ParticleSystem:setLifetime/setParticleLife and getters to setEmitterLifetime/setParticleLifetime (issue #601 )
2013-05-10 16:50:20 +02:00
Bart van Strien
721d50c2ef
Make most love.filesystem functions return nil, err instead of erroring (when used correctly)
...
Note that argument exceptions, for instance, are still thrown as errors.
Also fixes a potential uncaught exception with getSize being called for the optional
size arg in read, now it just uses the ALL constant instead.
File:read no longer opens and closes a file automagically (this was undocumented, and weird)
NOTE: the love.filesystem.lines iterator can still error, but this should only happen in
case there's something really, really wrong (otherwise love.filesystem.lines would've failed
already)
NOTE: love.filesystem.lines still errors, because otherwise you'd get weird errors from the for
loop (namely 'attempt to call nil value') instead of seeing anything useful
2013-05-10 16:39:02 +02:00
Alex Szpakowski
00060af4c1
Updated changelog
2013-05-10 01:01:40 -03:00