Commit Graph

64 Commits

Author SHA1 Message Date
vrld aa5eb4380d Add Color class.
--HG--
branch : minor
2011-04-06 21:20:32 +02:00
rude 9ba2c4eb1d Fixed MSVC2010 compiler errors (ambiguous use of ::fmod).
--HG--
branch : minor
2011-03-26 17:10:41 +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 9251c2b4b1 handle love.graphics.arc being passed identical angles
--HG--
branch : minor
2011-03-19 10:13:11 -04:00
Bill Meltsner 33a2110b00 added love.graphics.arc
--HG--
branch : minor
2011-03-17 20:50:27 -04:00
vrld 61bf387bf9 Change love.graphics.setBackgroundColor() to accept alpha values.
--HG--
branch : minor
2011-03-12 14:35:58 +01:00
rude 2546f27b07 Merge default into minor.
--HG--
branch : minor
2011-03-09 12:39:21 +01:00
rude 10a1602840 Silence int -> float warnings on Windows. 2011-03-09 11:11:21 +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 64b6232c9a Reinitialize event system (via SDL_INIT_VIDEO) in Graphics::setMode(). 2011-01-31 20:27:42 +01:00
vrld d25a3a36ce Revert reverting 8d29d4ca285e. 2011-01-30 16:25:55 +01:00
vrld e7db8c2491 Fix issue #176: unexpected behaivior of love.graphics.line with hash-table argument. 2011-01-30 16:20:31 +01:00
Bart van Strien 04aa189d22 Didn't compile, totally my fault 2011-01-30 00:34:28 +01:00
Bart van Strien 10524be1c8 Fix toggleFullscreen 2011-01-30 00:29:08 +01:00
Bill Meltsner fde708160e bringing in the new year by changing every 2010 to 2011 2011-01-15 14:40:27 -06:00
rude 31c9995082 Fixed some type conversion warnings in VC. Mostly float <-> int and bool <-> int. 2011-01-09 16:28:30 +01:00
vrld b9b2c4a962 Rewrite Graphics::printf, fixes issue #107
Rewrote the complete logic to not operate on chars, but on lines and
tokens. Uses std streams, iterators and algorithms.
2011-01-09 16:27:19 +01: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 36226401bf Store and restore caption and mouse visibility when using setMode (bug #142) 2010-12-20 17:38:26 +01:00
Bart van Strien f4da97d46e Add hasFocus (issue #117) 2010-11-28 11:29:48 +01:00
Bill Meltsner 3cb3537db0 Added vrld's text-rotation-fixing patch (finally fixes #56) 2010-11-09 18:56:34 -05:00
Bart van Strien d942ff3315 Fix font scaling newline issue (bug #56) 2010-09-22 10:45:34 +02:00
Bart van Strien 26d856a9ce Merged in fbos 2010-09-04 16:53:19 +02:00
Bart van Strien 9ba06d65f6 Added subtractive and multiplicative blend modes (thanks vrld) 2010-08-28 17:27:35 +02:00
Bart van Strien 4bfd5a905b setMode now accepts 0, 0 as width and height for screen width and height 2010-08-28 17:03:21 +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
Bill Meltsner 0f84907996 Dropped the required OS X version to 10.4 - some frameworks may have to be recompiled but the source itself compiles fine (with a couple tweaks) 2010-05-22 18:17:08 -05:00
Bill Meltsner d48c28adec final merge before pushing back into the main branch 2010-05-07 14:55:12 -04:00
Bill Meltsner bb778497d7 merged 2010-05-07 14:54:56 -04:00
Tommy Nguyen 684c309145 Bored at work. Did some Valgrind shit and fixed this 'error'. 2010-05-05 13:26:20 +02:00
Bill Meltsner 58047acb61 merged 2010-05-03 20:40:43 -04:00
Bill Meltsner d15e2241b0 changed a hardcoded pi instance to use LOVE_M_PI instead 2010-04-23 09:40:06 -04:00
bart@bartbes.ath.cx a4241646b7 Should now fall back to no FSAA when it is not available at all 2010-04-19 16:18:51 +02:00
Bill Meltsner b9e59513e8 merged in bartbes' FSAA checking 2010-04-18 10:16:13 -04:00
bart@bartbes.ath.cx d4fa9aa551 Prevent error when setting an incompatible FSAA value (warning is displayed) 2010-04-18 14:44:46 +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 80bea88c9f replaced a few hardcoded radian->degree conversions with LOVE_TODEG 2010-04-14 11:10:17 -04:00
Bill Meltsner 60133f8d9a should fix gcc warning about passing a const char * to SDL_putenv 2010-03-22 23:57:28 -05:00
rude 806d085ee9 Fixed size of filled rects. 2010-03-03 19:15:09 +01: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
rude aa01c984b9 Updated all dates to 2010. 2010-01-31 16:54:47 +01:00
rude c269430981 Reduced the width and height of rectanges by one pixel. 2010-01-31 13:51:56 +01:00
rude efd36826b7 Removed code related to GL_CULL_FACE. 2010-01-31 13:33:18 +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