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
bart@bartbes.ath.cx
736f7ab1a2
love.thread can now share full userdata
2010-02-14 17:41:11 +01:00
rude
64dbfbd9eb
Added exception catcher for love.graphics.newFont.
2010-02-06 12:40:15 +01:00
rude
aa01c984b9
Updated all dates to 2010.
2010-01-31 16:54:47 +01:00
Bill Meltsner
8de70ca2aa
added polyline support to love.graphics.line (the syntax is the same as love.graphics.polygon - either a list or a table of vertices)
2010-01-19 08:27:12 -05:00
rude
cd24dbcb8e
Added get/setGroupIndex ( #129 ) and get/setFixedRotation ( #113 ). Also fixed 3000 auto.lua-related warnings in MSVC.
2010-01-04 20:02:36 +01:00
rude
c5e8308d5f
Fixed wrapper bugs in setLine and setPoint.
2009-12-13 23:25:11 +01:00
rude
e0d3e3b33d
Fixed bug in love.graphics.quad.
2009-12-13 20:21:55 +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
0df1aeb0f3
Changed how scripts are embedded.
2009-11-08 17:00:53 +01:00
bart@bartbes.ath.cx
d22d268c92
Fixed some constants
2009-10-11 16:23:33 +02:00
rude
87e3c4131c
Finally abstracted constants properly. Changed how the event module works; wasn't really abstract before. Removed libs we're not going to use: native, signal.
2009-10-10 11:11:04 +02:00
rude
623e701549
Modules now reside in Lua and are treated (almost) like normal objects.
...
Also added a way of getting a pointer to abstract module instances internally.
2009-09-02 21:18:13 +02: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