Commit Graph

870 Commits

Author SHA1 Message Date
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
Bill Meltsner 2949d2ea4a Update Xcode project to support 64-bit builds, and clean up some old project cruft 2011-10-03 01:38:13 -04:00
Bart van Strien 4f70742875 Display a warning if the game's version is incompatible. 2011-10-03 00:52:44 +02:00
Bart van Strien bd2172f826 Update version keeping 2011-10-02 17:00:09 +02:00
Bill Meltsner 705fa14736 Forgot to put the second anchor points in local coordinates
--HG--
branch : box2d-update
2011-10-02 10:28:37 -04:00
Bart van Strien 66ecf8aff0 Apply patch for increased timer accuracy (issue #303) 2011-10-02 16:11:24 +02:00
Bill Meltsner f38655a934 Add second body anchor point to FrictionJoint/WeldJoint constructors
--HG--
branch : box2d-update
2011-10-02 10:06:31 -04:00
Bill Meltsner 735c52b228 make love.physics.setMeter error on invalid meters (anything less than 1)
--HG--
branch : box2d-update
2011-10-02 09:33:42 -04:00
Bill Meltsner ffef6f58a9 Make Joint::getReactionForce use the right stack position
--HG--
branch : box2d-update
2011-10-02 09:28:39 -04:00
Bart van Strien eb7053b43f Switch love.timer over to double precision floats 2011-09-30 14:57:03 +02:00
Bill Meltsner 5d26c564e0 Add EdgeShape:getPoints()
--HG--
branch : box2d-update
2011-09-29 11:19:30 -04:00
Bill Meltsner fa58c87605 Add PrismaticJoint:getMaxMotorForce
--HG--
branch : box2d-update
2011-09-29 11:14:42 -04:00
Bill Meltsner 53cdd0ea7d Add RevoluteJoint:getMaxMotorTorque
--HG--
branch : box2d-update
2011-09-29 11:12:03 -04:00
Bill Meltsner c5cd6d709b Fix a lot of scaling issues
--HG--
branch : box2d-update
2011-09-29 11:09:08 -04:00
Bill Meltsner d4703960a4 Do the same for WheelJoint
--HG--
branch : box2d-update
2011-09-27 16:38:46 -04:00
Bill Meltsner 5244463109 Add second body anchor point as a parameter to love.physics.newPrismaticJoint, and fix some scaling issues with PrismaticJoint
--HG--
branch : box2d-update
2011-09-27 15:48:29 -04:00
Bill Meltsner 356b3c880d Fixture:getShape() returns a Shape of the type it actually is
--HG--
branch : box2d-update
2011-09-26 21:35:44 -04:00
Bill Meltsner 16fb73e92a Callbacks now actually fire when they're supposed to, instead of post-step (means PreSolve collision filtering works)
--HG--
branch : box2d-update
2011-09-26 20:22:03 -04:00
Bill Meltsner 413f5026fa Fix invalid pointer issue in PostSolve callback
--HG--
branch : box2d-update
2011-09-26 19:13:44 -03:00
Bart van Strien caf46ad430 Prevent infinite loop when destroying sources (issue #250) 2011-09-26 23:21:53 +02:00
Bill Meltsner 5886977baa Fix World:getCallbacks/getContactFilter to not return any arguments passed (though you shouldn't be passing any arguments anyway, that's silly)
--HG--
branch : box2d-update
2011-09-26 11:20:26 -04:00
Bill Meltsner 80fb261b5a Better ChainShape API consistency
--HG--
branch : box2d-update
2011-09-25 22:29:30 -04:00
Bill Meltsner de908f3354 Missing retain() calls in get*List functions
--HG--
branch : box2d-update
2011-09-25 12:35:57 -04:00