Commit Graph

892 Commits

Author SHA1 Message Date
Bart van Strien ec6b95d992 Obey to the LGPL and display the license text and used LGPL libraries in our license file 2011-11-13 10:59:59 +01:00
vrld 983b00c510 Revert Canvas flipping (commits 9cb824e2fa84, e0234edd0026) in order to fix issue #324. 2011-11-12 22:09:56 +01:00
vrld 7eef68f4ec Remove printing exception message to stderr. 2011-11-12 21:24:08 +01:00
vrld c208f4b08d Add missing license headers. 2011-11-12 21:19:35 +01:00
vrld fec5b9ac91 Issue #327 again: w__gc's correctness depending on order of inheritance. 2011-11-12 21:13:38 +01:00
vrld 7a513e1434 Make love::Exception safe(r).
Now allows exceptions of arbitrary length.
Now allows catching a non-reference, i.e. catch(love::Exception e).
2011-11-12 21:11:41 +01:00
Bart van Strien 03927f5207 Use a fixed module loading order (bug #261)
And yes, this means there won't be segfaults with jit builds, woo.
2011-11-12 15:11:09 +01:00
Bart van Strien cf2bfcc4a2 Fix more memory leaks (issue #327) 2011-11-12 15:00:26 +01:00
vrld aedf532cdc Fix 3/4 of issue #327: memory allocation issues. 2011-11-08 23:22:48 +01:00
Bart van Strien f9077ee1a6 Store the vera font as file data, instead of doing that every time it is loaded 2011-11-08 22:33:08 +01:00
Bart van Strien f0aa29f9a5 The actual commit 2011-11-05 23:18:30 +01:00
Bart van Strien 49ec65dbf3 Oops, didn't have a clean tree 2011-11-05 23:17:32 +01:00
Bart van Strien d8666202cd Improve compatibility check (I still can't believe robin was right) 2011-11-05 22:07:15 +01:00
vrld 9d63f08472 Make GLSL compiler messages NULL-terminated strings, even if they already are. 2011-11-04 19:08:37 +01:00
Bill Meltsner 7eb1cef99c Update Xcode project for newly abstractified modules 2011-11-01 11:48:28 -04:00
rude 2753c62985 Abstractify some modules completely: timer, keyboard and mouse.
If this commit breaks some project file(s), well ...
I AM RUDE AND I WILL BREAK EVERYTHING, AHAHAHAHAHAHAHHAHAHAHAHA!
2011-10-28 10:47:16 +02:00
vrld cd66b01da3 Add GLSL version number check to PixelEffect::isSupported() 2011-10-26 21:17:40 +02:00
vrld f296fbb903 Add format guard 2011-10-26 21:12:17 +02:00
Bart van Strien d8b1d67a34 Centralize NPOT support check for image, export it to isSupported 2011-10-24 17:43:56 +02:00
Bill Meltsner a6eca47cef Add love.audio.stop() call to the error handlers 2011-10-20 18:30:49 -04:00
Bart van Strien dc66ea20c1 Add SpriteBatch:set(q) and make add(q) return the index 2011-10-20 20:19:01 +02:00
Bill Meltsner 7a15953595 Add cstddef include so certain compilers don't complain about NULL not being declared 2011-10-13 12:38:19 -05:00
Bill Meltsner ae02ee573c Update MSVC project 2011-10-13 12:16:20 -05:00
Bill Meltsner b3e80e389b Update Xcode project for 4.2 (still 3.2-compatible) 2011-10-13 12:15:35 -05:00
Bart van Strien bc2dd6f75b Enola Gay delivers again 2011-10-12 21:49:04 +02:00
Bill Meltsner cb6bde5ad7 Always use protection 2011-10-12 14:42:51 -05:00
Bill Meltsner d20f42c230 this machine kills compiler warnings 2011-10-12 14:41:25 -05:00
Bart van Strien b32464f0d3 Forward box2d asserts to exception, then catch those in the new* functions 2011-10-12 21:36:46 +02:00
Bill Meltsner 57f9cf439e Add LOVE_UNUSED macro to stamp out all those "unused parameter" warnings 2011-10-12 14:03:38 -05:00
Bill Meltsner 56ae3a95fc Bring back some elements of better Body destruction that got lost in the merge 2011-10-12 13:51:47 -05:00
Bill Meltsner d40b25c1e6 Hindenmerge 2011-10-12 13:40:56 -05:00
vrld 5eb26e8f7e Probably fix issue #312. Needs more testing with intel cards. 2011-10-12 17:11:13 +02:00
vrld 51443454c2 Determine FramebufferStrategy only once 2011-10-12 17:10:04 +02:00
vrld 6b7b68ebd0 Fix issue #314: Can't use #define in shader code. 2011-10-12 12:37:09 +02:00
Bill Meltsner c5cf3fefeb that awkward moment when you forget you can't automatically allocate arrays with variable expressions in C++ 2011-10-12 00:06:15 -05:00
Bill Meltsner bc0cd3b2d5 Changing flipping broke Canvas:getImageData - fortunately, it also made it much simpler (fixes issue #311) 2011-10-11 23:29:10 -05:00
vrld ce9e694acc Make setDefaultImageFilter() not break image:setFilter() (thanks adrix89!) 2011-10-10 12:16:28 +02:00
Bill Meltsner 668b4cbcbd Update MSVC project with new files 2011-10-07 19:52:14 -04:00
Bill Meltsner 7584efe46d Fix include paths on Linux (from bartbes)
--HG--
branch : box2d-update
2011-10-07 15:14:43 -04:00
vrld d1e5bc4b1f Update changelog 2011-10-07 15:00:40 +02:00
vrld b0b9117721 Add uniform cache in pixel effect. Remove a compiler warning and debug output. 2011-10-07 14:44:57 +02:00
vrld 48137cd2e1 Fix Issue #278: Set default filter mode for new images.
Add the somewhat lengthy named love.graphics.getDefaultImageFilter() and
love.graphics.getDefaultImageFilter(). The verbose name should point to the
fact that changing the default filter midway through the game will not affect
the images already loaded using love.graphics.newImage().
2011-10-07 14:44:17 +02:00
Bart van Strien bee9d49515 Add premultiplied blending 2011-10-06 15:17:21 +02:00
Bill Meltsner ff284e74e4 It's not Canvas:drawq, it's love.graphics.drawq 2011-10-05 01:34:42 -04:00
Bill Meltsner 5fb9f982b0 Ch-ch-ch-ch-changes 2011-10-04 12:47:20 -04:00
Bill Meltsner 4f4fbae9a5 Properly #include DrawQable in wrap_Graphics.cpp 2011-10-04 12:38:40 -04:00
Bill Meltsner 14348f6146 Create DrawQable class, make Image and Canvas DrawQable, and make love.graphics.drawq take a DrawQable as its first argument 2011-10-04 12:33:34 -04:00
Bill Meltsner 4cb247b3ea Change how Canvas is flipped and add Canvas::drawq 2011-10-04 11:34:33 -04:00
Bart van Strien 9425c56de8 Null terminate version compatibility list 2011-10-04 15:19:17 +02:00
Bart van Strien 73de544d21 Add getWidth and getHeight to Canvas (issue #307) 2011-10-03 09:40:41 +02:00