Bart van Strien
96a5a3e402
Catch not just the generic utf8 exception, but a few specific ones as well (bug #244 )
2011-09-11 12:51:34 +02:00
Bart van Strien
9199f1be5b
Catch ALL the utf8 errors (bug #244 )
2011-09-10 15:34:45 +02:00
vrld
65f8bcd375
Another take at issue #294 , which should fix issues with nVidia cards.
...
According to http://www.opengl.org/wiki/Image_Formats#Depth_stencil_formats , no driver really supported an individial stencil attachment. Combined depth/stencil buffers have support since OpenGL 3.0 or with the packed_depth_stencil extension.
2011-09-08 16:09:10 +02:00
vrld
4f0028050d
Fix issue #294 (really this time).
...
Add stencil attachment to framebuffer creation. Needed to remove depth
attachment to make it work, but that should not change anything, since depth
test is not enabled anyway. May need testing nonetheless.
2011-09-08 12:25:43 +02:00
vrld
eec0250545
Fix issue #292 : Can't send arrays to pixeleffects.
...
Arrays of numbers, vectors and matrices are supported.
2011-09-07 23:32:54 +02:00
vrld
2eb9ee20d5
Fix issue #291 : Usage of unsanitized GLSL compiler errors.
...
Compiler errors may contain vsprintf-escape sequences, which is used by
love::Exception. Wrap errors in %s to avoid garbage output.
2011-09-07 13:52:07 +02:00
vrld
d5dce6284f
Fix issue #294 : Canvas not working when not rendering to default render target.
2011-09-07 13:42:51 +02:00
Bart van Strien
6e630e8987
Fix width for getWrap and catch utf8 decoding errors in getWrap and getSize (issues #230 and #244 )
2011-09-03 16:22:21 +02:00
Bart van Strien
190e11d016
Move wrapping to Font::getWrap and make printf use that (fixes issue #230 )
2011-09-03 14:31:31 +02:00
Bart van Strien
cc7b6431eb
Change default segments for l.g.circle to max(10, r)
2011-08-31 12:13:06 +02:00
Bart van Strien
0d174cfb81
Fix compiler warnings
2011-08-26 12:48:57 +02:00
Bart van Strien
5c43ba2779
More float quad work (issue #285 )
2011-08-25 14:06:50 +02:00
Bart van Strien
b14ca78109
Add string mapping for spritebatch usage parameter (issue #264 )
2011-08-24 12:11:08 +02:00
Bart van Strien
f0dad41f39
Switch quads over to floats instead of ints (issue #285 )
2011-08-24 09:58:16 +02:00
vrld
ec2cf3fbe9
Rename Mask to Stencil
2011-08-12 15:31:48 +02:00
vrld
cbe2d12db7
Use singular in l.g.isSupported()
2011-08-12 15:11:04 +02:00
vrld
af1e8761fa
Change l.g.isSupported('framebuffer') to l.g.isSupported('canvas')
2011-08-12 14:45:55 +02:00
vrld
28b4008797
Rename Framebuffer to Canvas (issue #263 ). Move error reporting code.
...
Error reporting now resides in Graphics::newCanvas() instead of the
previous location wrap_newFramebuffer(). Changed error text for
"Error in implementation" to point to a possible fix.
2011-08-12 14:41:18 +02:00
rude
873a99aba1
Add missing #include in VertexBuffer.cpp.
2011-08-12 13:38:42 +02:00
rude
480f936815
Added 'VertexBuffer' abstraction. SpriteBatches are now always supported.
...
Also improved memory usage in SpriteBatch. (No need to retain full copy of
sprites in memory. Can read that data back later to save data from OpenGL
context destruction).
2011-08-12 11:35:14 +02:00
Bart van Strien
4165ac7e66
Add love.event.quit
2011-08-06 14:22:00 +02:00
Bart van Strien
620d359331
Add getRenderTarget (issue #257 )
2011-08-06 14:16:28 +02:00
rude
9a4b921605
Particles now have fixed origin. (ParticleSystem::SetPosition will only affect
...
new particles, and existing particles will not gravitate against the new point).
This is another requirement to implement ParticleSystem in GLSL.
2011-07-24 18:47:13 +02:00
rude
1274b5d55a
Do not allow more than eight sizes and colors in ParticleSystem. This makes it
...
less impossible to implement ParticleSystem as a vertex shader in the future.
2011-07-24 18:40:22 +02:00
rude
e1d1ebb2f1
Fix warnings in MSVC 2010.
2011-07-24 18:32:11 +02:00
Bart van Strien
3c5c4ee604
Add SpriteBatch support to love.graphics.isSupported
2011-07-24 15:37:02 +02:00
Bart van Strien
bd2b190a19
Add love.graphics.isSupported
...
Replaces love.graphics.hasPixelEffects and also does framebuffer support.
Also fixed 4 compiler warnings.
2011-07-24 15:21:52 +02:00
vrld
7b6836466e
Add missing files
2011-07-24 14:08:11 +02:00
vrld
24a52f056b
Add pixel effects (love-glsl)
2011-07-24 14:03:46 +02:00
rude
387a8ab2dc
Issue #262 : Add per-sprite colors.
2011-07-23 17:12:29 +02:00
vrld
b1c5b948c3
Fix issue #259 : oy ignored in love.graphics.drawq
2011-07-18 02:07:46 +02:00
Bart van Strien
94d16c095c
Always check if the fsaa succeeded
2011-07-11 21:08:49 +02:00
Bart van Strien
cc4f0e2661
Add love.graphics.getMode, thanks Boolsheet (issue #254 )
2011-07-11 17:14:52 +02:00
vrld
6ea187b2f1
Use *ARB versions for VBOs in SpriteBatch. Throw error if SpriteBatch not
...
supported. Prettier overloading of SpriteBatch:add[q]().
2011-07-05 16:06:14 +02:00
vrld
d420d68048
Add shear transformation and transform object (issue #152 ).
...
Add origin parameters to love.graphics.print.
New shear parameters kx,ky for:
- love.graphics.draw,
- love.graphics.drawq,
- love.graphics.print,
- SpriteBatch:add,
- SpriteBatch:addq.
Transform objects apply to:
- love.graphics.draw,
- love.graphics.drawq,
- love.graphics.print.
2011-07-05 14:33:34 +02:00
Bart van Strien
fd5ca8e2c3
Missing a not, of course
2011-07-02 18:20:43 +02:00
Bart van Strien
60128e1b06
Fix quads on computers supporting npot textures
2011-07-02 18:17:47 +02:00
Bart van Strien
b90771d44a
Fail gracefully on a utf-8 decoding error (bug #244 )
2011-06-24 01:18:48 +02:00
Bart van Strien
d613505a77
Only pad when needed
2011-06-10 15:03:27 +02:00
Bart van Strien
bd158faaaa
Revise spritebatch locking (binding now) (issue #231 )
2011-06-10 14:40:37 +02:00
Bart van Strien
43a6357b54
Use correct height for y correction in set/getScissor (bug #234 )
2011-06-08 23:17:32 +02:00
Bart van Strien
efb8efb45e
Prevent overflows and underflows in love.graphics.push and love.graphics.pop (bug #118 )
...
Maximum is hardware maximum - 5, so the engine itself has a few matrices.
2011-06-08 22:45:28 +02:00
Bill Meltsner
09ed781f66
tabs for indentation, not spaces (dammit Xcode)
2011-06-03 17:04:35 -05:00
Bill Meltsner
c981d835d3
Cleaned up/updated love.graphics doc comments.
2011-06-03 16:43:33 -05:00
vrld
30d6968ef9
Rename 'defineMask' to 'newMask'. Add inverted mask (issue #226 ).
2011-05-30 14:45:33 +02:00
Bart van Strien
480568e654
Fix quads with padded images, tiling will still fail
2011-05-16 17:12:37 +02:00
Bart van Strien
87fd3362e2
Mixed up s and t, po2ify should work correctly now, quads still broken
2011-05-16 17:02:43 +02:00
Bart van Strien
360c190ef7
Move po2ifying to Image, Quads broken at the moment
2011-05-15 23:31:12 +02:00
Bart van Strien
1a340cd6a0
Do not wrap when a single word is longer than the wrap limit.
...
(So no extra, empty, newline.)
2011-05-14 23:02:52 +02:00
Bill Meltsner
a763fc8863
some more cleanup
2011-05-08 18:50:01 -04:00