Commit Graph

24 Commits

Author SHA1 Message Date
vrld 6f1ff69b61 Fix issue #435: PixelEffects have flipped screen_coords.y. 2012-08-03 19:39:41 +02:00
vrld 85fa71c519 Make love.graphics.getFont() return (and set) default font when no font set.
Use closures instead of love.graphics.print(f)1() and love.graphics.newFont1.
2012-07-05 16:14:44 +02:00
Bart van Strien 7793e7f02f CRLF to LF 2012-07-04 14:40:24 +02:00
vrld 4370f6c9d6 Fix typo in PixelEffect:send() dispatcher when trying to send unsupported type 2012-04-23 19:11:04 +02:00
Bill Meltsner be55579a22 Happy New Year, have an enormous diff 2012-01-09 02:41:11 -06:00
Bart van Strien e37470f54d No more Font:set(), instead love.graphics.setNewFont 2011-12-13 19:22:59 +01:00
Bart van Strien 9682ebecf9 Remove love.graphics.setFont([<file>,] <size>) shorthand, idiom is now love.graphics.newFont([<file>,] <size>):set()
This makes sure that setFont doesn't create any fonts.
2011-12-13 18:51:24 +01:00
Bart van Strien f9077ee1a6 Store the vera font as file data, instead of doing that every time it is loaded 2011-11-08 22:33:08 +01:00
vrld 6b7b68ebd0 Fix issue #314: Can't use #define in shader code. 2011-10-12 12:37:09 +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 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
vrld 24a52f056b Add pixel effects (love-glsl) 2011-07-24 14:03:46 +02:00
vrld 26277b6450 Transformation tables are unlövely 2011-07-23 13:52:04 +02:00
Bart van Strien 9923c02b64 Fix automatic load of default font 2011-07-16 20:40:46 +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 dd143c76ac Add transform tables to SpriteBatch:add() and SpriteBatch:addq(). 2011-07-05 15:26:42 +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
Bill Meltsner fde708160e bringing in the new year by changing every 2010 to 2011 2011-01-15 14:40:27 -06:00
Bart van Strien 20f5706005 newFont and setFont now have a default size argument once again 2010-11-05 08:14:34 +01:00
rude d27dd8b5dd Added base64 support for FileData, and inlined all resources in boot.lua/graphics.lua as base64. Also removed old reshax stuff. 2010-09-19 13:22:10 +02:00
rude 5b30c7fcfe Major developments to love.audio/love.sound. Music and Sound are gone. There are only Sources now, which is much cleaner.
The audio module was not really stable in 0.6.0, it takes very little messing around to cause OpenAL to do horrible things. It should now be much more stable,
and you *should* be able to play/stop/pause/resume/rewind/loop like a madman without disasters. Seek and tell, however, are still not tested and verified for
all decoders, but that's less important. Also, all objects now have object:type() and object:typeOf(), which returns the type name of the object,
and checks whether an object is of a certain type, respectively.
2010-01-31 11:52:54 +01:00
rude 05439961d2 Font can now be omitted from setFont/newFont to use the default font. 2009-11-30 22:55:30 +01:00
rude d7d3766cea Fixed TrueTypeFont incorrectly handling display mode changes. 2009-08-18 19:00:21 +02:00
rude 0c241a14fb Added resources, and changed slightly how wrappers expose functions. 2009-07-30 00:37:43 +02:00