Commit Graph

201 Commits

Author SHA1 Message Date
vrld 9dea5e638f More descriptive error messages 2010-08-26 13:02:41 +02:00
vrld 98feae1950 Fix error messages on multiple Frambuffer:grab()/stop() 2010-08-25 17:38:06 +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
Bill Meltsner 2cc3fb4715 Fonts now handle resolution changes properly 2010-08-24 14:12:12 -05:00
Bill Meltsner 5a3b9691e5 tweaked drawing a bit more for efficiency's sake 2010-08-23 21:59:50 -05:00
Bill Meltsner 34ac035c1b converted Font drawing to use display lists - should increase draw speed 2010-08-23 21:24:16 -05:00
vrld ce0006d04c Add guards to prevent fbo nesting 2010-08-13 21:04:32 +02:00
vrld 35093a5c45 Change bind/unbind to grab/stop 2010-08-13 18:50:00 +02:00
Bart van Strien 6400273a73 File moves 2010-08-13 13:35:42 +02:00
Bart van Strien 9d35792fe5 Did the name change 2010-08-13 13:33:13 +02:00
Matthias Richter b734a39f4d Add color clearing on Fb::bind() (see love issue #17, comment #5) 2010-08-11 21:10:31 +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
Bart van Strien 29c68d06f1 Image settings now survive setMode, fixes bug #10 2010-08-04 13:38:22 +02:00
Bill Meltsner 176645e25d added love.graphics.setIcon 2010-08-01 08:56:05 -05:00
bart@bartbes.ath.cx 0188572124 Added maxwidth, lines = font:getWrap(string, wrap) by feature request 2010-06-12 15:35:54 +02:00
Bill Meltsner d0391f9484 Glyph wasn't actually Volatile and thus didn't handle resolution changes very well, this is fixed 2010-05-23 17:28:19 -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
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 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
rude ea38442770 Fixed VS project files, and a bug where ParticleSystem::setSprite did not retain the new Image. 2010-05-04 18:06:10 +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 b94cb9ca62 heh whoops accidentally reverted to lower-left origin, fixed 2010-04-17 15:34:08 -04:00
Bill Meltsner 74c07e4959 some final changes to make it work better, and to fix how printf displayed 2010-04-16 04:28:51 -04:00
Bill Meltsner e731baf670 Removed the last vestiges of the old, bad font code 2010-04-15 14:08:43 -04:00
Bill Meltsner de6c8fd704 fonts now work (seemingly) as well as they used to 2010-04-15 14:04:16 -04: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 e3a5aacd5a Overhauled ImageRasterizer, fixed a bunch of other crap, getting ready to poke around in love.graphics 2010-04-14 21:51:35 -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 0e6e7c6c03 Cleaned up getting wrap and filter modes for Images. 2010-04-11 23:09:53 -04:00
Bill Meltsner 2d7e50e503 being a genius, forgot to include the header file that defines said macro. fixed now. 2010-03-24 00:47:50 -05:00
Bill Meltsner 23a03d6db4 replaced a hardcoded radian conversion with the appropriate macro 2010-03-24 00:43:37 -05: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 78c783bb57 Fixed ImageFont. 2010-03-03 20:38:21 +01:00
rude 806d085ee9 Fixed size of filled rects. 2010-03-03 19:15:09 +01:00
rude a8ff944a89 Reverted font origin. Don't want to break the API yet. 2010-03-01 20:46:01 +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
bart@bartbes.ath.cx 6aa103c72c Fixed font origin 2010-02-24 13:47:15 +01:00
bart@bartbes.ath.cx bd9e068b91 As expected, merge 2010-02-21 14:07:26 +01:00
rude 9c4926b7da Fixed double-transform spritebatch bug. 2010-02-20 18:19:16 +01:00
bart@bartbes.ath.cx 736f7ab1a2 love.thread can now share full userdata 2010-02-14 17:41:11 +01:00
Bill Meltsner db117de2c8 Switched Image wrap modes to the new string syntax too. 2010-02-09 15:18:27 -05:00