Alex Szpakowski
b59b967f6b
Fixed a memory leak in Canvas:getImageData() (issue #590 )
2013-04-09 14:08:05 -03:00
Alex Szpakowski
1b80853118
Fixed an OpenGL error when MSAA isn't supported
2013-04-09 10:57:43 -03:00
Alex Szpakowski
85ee87c12e
Merged in darthfodder/love/sounddata-samplecount (pull request #23 )
...
Add getSampleCount method to SoundData. resolves #578
2013-04-09 00:31:23 -03:00
darthfodder
2bdc4b04a8
Fix formatting to be like original default
...
--HG--
branch : sounddata-samplecount
2013-04-07 18:25:59 -07:00
darthfodder
f55a282f34
Fix conflicts with default
...
--HG--
branch : sounddata-samplecount
2013-04-07 18:22:56 -07:00
Alex Szpakowski
1c720afaf8
Cleaned up some shader code internals
2013-04-06 14:14:11 -03:00
Alex Szpakowski
cfe6014b68
Improved shader:getWarnings() to return shader compiler warnings as well as shader program linker and usage warnings
2013-04-06 14:02:24 -03:00
Alex Szpakowski
7e658861d7
love.graphics.drawq's x,y parameters are now optional, to match love.graphics.draw
2013-04-01 16:47:45 -03:00
Alex Szpakowski
d5aa807747
More internal code cleanup
2013-03-31 19:02:27 -03:00
Alex Szpakowski
eef4eed636
Cleaned up some Lua binding code
2013-03-31 04:55:03 -03:00
Alex Szpakowski
ab3302e969
Updated GLee with opengl 4.3 and recent extension definitions
2013-03-31 00:31:21 -03:00
Alex Szpakowski
b9533d5cb8
Fixed love.timer.getFPS and love.timer.getAverageDelta during the first second of runtime
2013-03-30 21:56:57 -03:00
Alex Szpakowski
1a1d59384a
Fixed some memory leaks in love.graphics.newImageData and ImageData:encode.
2013-03-30 16:39:50 -03:00
Alex Szpakowski
f0860a488d
Added argument type checking to Channel:push (nil now errors instead of crashing)
2013-03-30 14:42:09 -03:00
Alex Szpakowski
f3915757c5
Updated changelog
2013-03-30 04:45:21 -03:00
Alex Szpakowski
63ac9aa52a
De-obfuscated more shader error message tracebacks
2013-03-27 19:44:50 -03:00
Alex Szpakowski
23a0f3a69c
Merged love-experiments/love.graphics.setColorMask into default
2013-03-27 19:43:04 -03:00
Alex Szpakowski
fd839bbee9
Removed some internal vestigial traces of EncodedImageData
2013-03-27 01:32:29 -03:00
Alex Szpakowski
7b8884965e
Added ParticleSystem:emit(num) (issue #577 )
2013-03-27 01:09:53 -03:00
Alex Szpakowski
702f9515d8
Merged bartbes/love-experiments/MRTs into default
2013-03-26 23:41:46 -03:00
Alex Szpakowski
fa799227a2
Fixed SoundData:getDuration
2013-03-26 19:45:32 -03:00
Alex Szpakowski
a55c7e871e
fixed canvas:clear() when multi-canvas rendering is active, changed some names and wording
...
--HG--
branch : MRTs
2013-03-26 04:58:43 -03:00
darthfodder
11dc74c7db
Add SoundData:getSampleCount() function
...
Adds SoundData:getSampleCount(), calculates how many samples there are
in this particular SoundData. resolves #578
--HG--
branch : sounddata-samplecount
2013-03-25 22:04:39 -07:00
darthfodder
275a144907
Remove commented out line
2013-03-25 20:43:51 -07:00
Alex Szpakowski
6c5daab312
Fixed up the API: setCanvas (singular) now only takes one canvas, setCanvases must be used for multi-canvas rendering
...
--HG--
branch : MRTs
2013-03-25 21:23:09 -03:00
darthfodder
a92274f037
Set ImageData:setPixel default alpha to 255. resolves #575
2013-03-25 11:47:11 -07:00
darthfodder
69ccf4aaa1
Set default alpha value on ImageData:setPixel to 255. resolves #575
...
--HG--
branch : imagedata-alpha-default
2013-03-25 11:42:19 -07:00
Alex Szpakowski
3fcb2201bc
Fixed love.graphics.newFont using the wrong texture format when creating its glyph texture
2013-03-24 23:43:36 -03:00
Alex Szpakowski
2ea065c68b
Added MRT support to canvases via love.graphics.setCanvases(c1, c2, ...), and an 'effects' callback function in shaders.
...
- Simultanious rendering to multiple canvases requires all canvases to be the same size (limitation of pre-GL3.0 framebuffers)
- love.graphics.isSupported("mrtcanvas") was added
- love_Canvases[n] (0-based array of active canvases) can be written to in pixel shaders in the 'effects' callback function
- everything drawn to multiple canvases at once will be duplicated to all canvases if no shader is active or the standard 'effect' shader function is used
--HG--
branch : MRTs
2013-03-24 02:20:15 -03:00
Alex Szpakowski
2009124cf9
Reworked internal anisotropic filtering code to be more concise and intuitive
2013-03-21 12:21:13 -03:00
Alex Szpakowski
7e753a0acb
Renamed love.graphics.setDefaultImageFilter to love.graphics.setDefaultFilter
2013-03-21 11:27:40 -03:00
Alex Szpakowski
b60cce7d3a
Removed gif 'support' from ImageData:encode (it never worked, DevIL doesn't support saving gifs)
2013-03-21 03:17:37 -03:00
Alex Szpakowski
25d6700361
Moved anisotropic filtering to Image:setFilter(min, mag, anisotropy), added anisotropic filtering support to canvases and fonts
2013-03-20 23:23:26 -03:00
Alex Szpakowski
8c406b7a4b
Added anisotropic filtering functionality for images, consolidated mipmap methods into Image:setMipmapFilter(filtermode, sharpness, anisotropy), added love.graphics.setDefaultMipmapFilter(filtermode, sharpness, anisotropy)
2013-03-19 22:42:12 -03:00
Alex Szpakowski
74ca349895
Fixed SDLMain leaking in OS X
2013-03-19 11:53:57 -03:00
Alex Szpakowski
9e9eb42f1d
Fixed filedata not being cleaned up when love.image.newImageData(filepath) fails
2013-03-19 09:01:15 -03:00
Alex Szpakowski
f3290d84b7
Improved error handling and error messages when love.graphics.newShader fails
2013-03-18 22:55:41 -03:00
Alex Szpakowski
288971a3ad
Added all standard optional draw parameters to love.graphics.printf: angle, sx, sy, ox, oy, kx, and ky
2013-03-18 16:15:21 -03:00
Alex Szpakowski
991b15d670
More renaming of "fragment" to "pixel"
2013-03-18 04:07:18 -03:00
Alex Szpakowski
07ba81f060
Renamed all cases of "fragment shader" to "pixel shader"
2013-03-17 18:11:41 -03:00
Alex Szpakowski
73c9f412ea
Updated changelog
2013-03-17 16:08:34 -03:00
Alex Szpakowski
2838208338
Cleaned up love.filesystem.load and love.filesystem.getLastModified code
2013-03-17 13:43:07 -03:00
Alex Szpakowski
a2cb35f4e3
Constified some Filesystem module methods
2013-03-17 03:54:11 -03:00
Alex Szpakowski
129ae0f4eb
Added love.filesystem.append (issue #541 )
2013-03-17 03:40:13 -03:00
Alex Szpakowski
96229bcb5d
Cleaned up love.filesystem.read/write code
2013-03-17 03:30:36 -03:00
Alex Szpakowski
8d4f35b86b
Added love.filesystem.getSize (issue #541 )
2013-03-17 01:56:24 -03:00
Alex Szpakowski
e8c6a3f77c
Slightly improved error messages when love.graphics.newShader fails
2013-03-16 12:49:46 -03:00
Alex Szpakowski
f9d687cb65
Fixed some bugs in SDLmain
2013-03-15 19:40:58 -03:00
Alex Szpakowski
596bb2245e
SDLmain.m: now with more tabs
2013-03-14 16:11:17 -03:00
Alex Szpakowski
c730906c26
OS X: fixed fused release mode when the .love file is in love.app/Contents/Resources, fixed auto-detection of .love file in Contents/Resources when the love executable binary is run directly
2013-03-14 16:02:26 -03:00