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
vrld
b1c5b948c3
Fix issue #259 : oy ignored in love.graphics.drawq
2011-07-18 02:07:46 +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
b90771d44a
Fail gracefully on a utf-8 decoding error (bug #244 )
2011-06-24 01:18:48 +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
vrld
30d6968ef9
Rename 'defineMask' to 'newMask'. Add inverted mask (issue #226 ).
2011-05-30 14:45:33 +02:00
Bill Meltsner
a763fc8863
some more cleanup
2011-05-08 18:50:01 -04: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
vrld
1b8b144bc8
Fix polygon drawing: index of coordinates was off by one.
...
--HG--
branch : minor
2011-04-25 23:45:15 +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
vrld
2a42c64a35
Replace line drawing via GL_LINE with custom line drawing (issue #153 )
...
Allows for correctly scaleable lines, (very) big line widths. Corners in
rectangles/triangles/... join up nicely (issue #197 ).
--HG--
branch : minor
2011-03-22 01:08:31 +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
vrld
61bf387bf9
Change love.graphics.setBackgroundColor() to accept alpha values.
...
--HG--
branch : minor
2011-03-12 14:35:58 +01:00
Bill Meltsner
cbff71d089
New font engine is implemented and appears to work perfectly. Bugs may be discovered and the internals can certainly be optimized and improved (at some point, perhaps, a less naive packing algorithm would be nice) but for now, it's good to go.
...
--HG--
branch : newfont
2011-03-06 05:02:35 -05: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
vrld
a13b792a5c
Revert to last commit, as msvc is stuck in the last millenium
2011-02-22 11:15:27 +01:00
vrld
08259a4a0e
Change auto.lua to create plaintext instead of hex code.
2011-02-20 23:34:48 +01:00
Bill Meltsner
e3e4ae17d8
love.graphics.setFont no longer explodes when passed a nonexistent file (fixes issue #177 )
2011-02-02 21:07:21 -05:00
Bill Meltsner
fde708160e
bringing in the new year by changing every 2010 to 2011
2011-01-15 14:40:27 -06:00
vrld
e3067ff33d
Fix issue #136 - Filter for Imagefonts.
2011-01-07 14:08:10 +01:00
vrld
28df1edf03
Code cleanup: remove unnecessary `print' routines
2011-01-02 22:58:53 +01:00
Bart van Strien
cb1efac715
Wrappers now catch negative width or height in setScissor (bug #125 )
2010-12-07 19:52:35 +01:00
Bart van Strien
f4da97d46e
Add hasFocus (issue #117 )
2010-11-28 11:29:48 +01:00
Bart van Strien
cee1a95b82
Table support for setBackgroundColor (bug #113 )
2010-11-28 11:21:26 +01:00
Bill Meltsner
d131c0c883
love.graphics.newFont now errors if the specified file doesn't exist ( fixes #115 )
2010-11-28 04:16:37 -06:00
Bart van Strien
a47fa1462d
Added table support for love.graphics.setColor (issue #106 )
2010-11-16 20:47:28 +01:00
Bill Meltsner
5b62692c7d
love.graphics.newImageFont now accepts an Image as its first argument
2010-10-12 19:35:53 -05:00
Bart van Strien
b2386d7201
(Hopefully) Fixed a bug where ImageData was not seen as preconverted by newImageFont ( #73 )
2010-09-27 21:08:05 +02:00
Bart van Strien
c96ade1cf0
Prevented a memory leak in the setFont wrapper
2010-09-15 21:10:46 +02:00
Bart van Strien
639eca997d
Fixed two cases of inefficient usage of the lua api
2010-09-03 15:30:13 +02:00
vrld
08c06f0fe0
Allow zero arguments in love.graphics.setRenderTarget(), update boot.lua.h
...
Calling love.graphics.setRenderTarget() as opposed to
love.graphics.setRenderTarget( nil ) was an error before. fixed.
2010-09-03 14:53:37 +02:00
vrld
78a793e08f
Add default width/height to love.graphics.newFramebuffer
2010-09-03 14:28:57 +02:00
vrld
5ae3573c32
Merge error message changes
2010-08-26 21:02:50 +02: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
vrld
9dea5e638f
More descriptive error messages
2010-08-26 13:02:41 +02:00
vrld
f97d087158
Framebuffer status handling
...
Remove Framebuffer::statusCode() and Framebuffer::statusMessage().
Introduce Framebuffer:getStatus() returning the value of
glCheckFramebufferStatus().
Test if creation was successful in w_newFramebuffer(L), on failure throw
useful error message.
2010-08-25 17:28:51 +02:00
Bart van Strien
9d35792fe5
Did the name change
2010-08-13 13:33:13 +02:00
Matthias Richter
e5c2f063e8
Add human readable error strings when creating the Fbo failed
2010-08-11 20:29:47 +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
bart@bartbes.ath.cx
a349c9f85a
Applied aq1018's fix for newFont and setFont (as partly described in ticket #232 )
2010-05-20 17:41:57 +02:00
Bill Meltsner
f8f812a719
did a bunch of other stuff, sorry about the monolithic changeset but the diffs should be understandable enough
2010-04-15 10:19:01 -04:00
Bill Meltsner
7c33786100
fixed a ridiculous number of gcc warnings, nearly all of which were complaints about unused parameters - the remaining 199 warnings I get are from code that isn't ours (box2d is responsible for all but 8 of them)
2010-02-26 03:55:21 -05:00