Commit Graph

47 Commits

Author SHA1 Message Date
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
bart@bartbes.ath.cx af01b840a1 Several rad2deg conversions for glRotate 2009-11-30 08:21:48 +01:00
rude eaf8472a98 Removed "SDL_app" caption before window is created initially. 2009-11-08 17:16:42 +01:00
rude d508c3829f Fixed bug with line stipple and setMode. 2009-11-05 22:10:00 +01: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
bill@Ixion 4d2994e05f Fixed up love.graphics.newScreenshot() to return a right-side up image without breaking abstraction layers. 2009-09-02 20:42:38 -05: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
rude a237008ce2 ParticleSystem works now. Error handler no longer loops forever. :) 2009-08-27 00:48:08 +02:00
rude c52c218ba1 Renamed Frame to Quad; added drawq/addq; fixed some bugs. 2009-08-17 23:35:04 +02:00
rude 0c241a14fb Added resources, and changed slightly how wrappers expose functions. 2009-07-30 00:37:43 +02:00
rude 78370abb58 Fixed MemoryData. 2009-07-28 17:43:22 +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