Commit Graph

40 Commits

Author SHA1 Message Date
Bill Meltsner be55579a22 Happy New Year, have an enormous diff 2012-01-09 02:41:11 -06:00
vrld 247f57c10b Fix issue 246: Add line antialiasing through 'overdraw'.
Points to consider:
- Make softness customizable (`halo' in Graphics::polyline()).
- Add overdraw at beginning and ending edge of the line.
2011-12-25 19:05:04 +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
vrld 2b7da8ea27 Rename love.graphics.[sg]etRenderTarget to love.graphics.[sg]etCanvas 2011-12-11 16:24:59 +01:00
Bart van Strien 0aae9684b3 Automated formatting fix 2011-11-16 11:32:41 +01:00
vrld cd66b01da3 Add GLSL version number check to PixelEffect::isSupported() 2011-10-26 21:17:40 +02:00
vrld 48137cd2e1 Fix Issue #278: Set default filter mode for new images.
Add the somewhat lengthy named love.graphics.getDefaultImageFilter() and
love.graphics.getDefaultImageFilter(). The verbose name should point to the
fact that changing the default filter midway through the game will not affect
the images already loaded using love.graphics.newImage().
2011-10-07 14:44:17 +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
Bart van Strien 4165ac7e66 Add love.event.quit 2011-08-06 14:22:00 +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 24a52f056b Add pixel effects (love-glsl) 2011-07-24 14:03:46 +02:00
Bart van Strien cc4f0e2661 Add love.graphics.getMode, thanks Boolsheet (issue #254) 2011-07-11 17:14:52 +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
vrld 939041886c Add masking (see issue #211). Only "hard" masks are supported, no
semitransparent ones.

--HG--
branch : minor
2011-04-26 22:10:34 +02:00
rude 3fe9b2ff16 Reverted module selection feature. This is not really desired.
Users (or lovers) do not get to choose which implementation of
a module they would like to use.

The abstraction is for dealing with portability issues, not
for giving people the ability to choose an alternative
(inferior) backend. The best choice for any platform/situation
should at all times be the *default* for that platform/situation.
If this is not the case; it's a bug (that is easily fixed).

Any module should provide the functionality promised in the docs.
The lover (or user) should not care how, and if [s]he does, [s]he
does still not get to choose.

Also, a related note: duplication of wrapper code is something I
especially wanted to avoid when I first (or should I say ...
"eventually") formed the current architecture.

--HG--
branch : minor
2011-03-26 17:06:05 +01:00
Bill Meltsner 33a2110b00 added love.graphics.arc
--HG--
branch : minor
2011-03-17 20:50:27 -04:00
Bart van Strien b4139ffab5 Rename loaders to fit their locations
--HG--
branch : minor
2011-03-13 20:25:35 +01:00
Bill Meltsner 94b4319878 trashed old unnecessary font stuff - compiles, but obviously will not work yet
--HG--
branch : newfont
2011-03-05 23:17:36 -05: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 f4da97d46e Add hasFocus (issue #117) 2010-11-28 11:29:48 +01:00
vrld 320ac05fd1 Fix of http://bitbucket.org/bartbes/love-fbo/issue/7
Move fbo:grab() to love.graphics.setRenderTarget( fbo )
Move fbo:stop() to love.graphics.setRenderTarget( nil )

Rename fbo:render( func ) to fbo:renderTo( func )
2010-08-26 20:44:30 +02:00
Bart van Strien 9d35792fe5 Did the name change 2010-08-13 13:33:13 +02:00
Bart van Strien f87738edb5 Added first review of vrld's FBO patch 2010-08-10 19:05:56 +02:00
Bart van Strien b8c82d51b8 Oops, that wasn't supposed to be in the repo (yet) 2010-08-10 16:43:35 +02:00
Bart van Strien 8362e86627 First import and review of vrld's patch 2010-08-10 16:23:11 +02:00
Bill Meltsner 176645e25d added love.graphics.setIcon 2010-08-01 08:56:05 -05:00
rude aa01c984b9 Updated all dates to 2010. 2010-01-31 16:54:47 +01:00
rude ec41545933 Added newQuad. 2009-12-10 22:38:26 +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
bill@Ixion cece5fe625 readded support for screenshots - love.graphics.newScreenshot() returns ImageData that can be manipulated as one pleases 2009-09-01 03:56:00 -05:00
rude a237008ce2 ParticleSystem works now. Error handler no longer loops forever. :) 2009-08-27 00:48:08 +02:00
rude a3bff7cde9 Reintegrated ParticleSystem. 2009-08-26 00:14:40 +02:00
rude c52c218ba1 Renamed Frame to Quad; added drawq/addq; fixed some bugs. 2009-08-17 23:35:04 +02:00
rude ba1a75e547 Added many comments, and changed function names for wrapper functions. 2009-08-09 21:08:55 +02:00
rude 8e681b4204 It's now possible to build each module individually (as a DLL). 2009-08-04 19:57:14 +02:00
rude 477d5a05b8 Updated love.font, and added Glyph object in love.graphics. 2009-07-30 21:43:00 +02:00
rude 0c241a14fb Added resources, and changed slightly how wrappers expose functions. 2009-07-30 00:37:43 +02:00
rude 4f32377efa Added working SpriteBatch. 2009-07-27 02:10:51 +02:00
rude e0115a384e Moved most constants into relevant classes. 2009-07-26 23:05:26 +02:00
rude dcb3dfd83d Initial Mercurial commit. 2009-07-26 15:46:49 +02:00