Bill Meltsner
99660f39ab
Added RopeJoint
...
--HG--
branch : box2d-update
2011-09-15 12:40:16 -04:00
Bill Meltsner
7ec64bf912
Add basic EdgeShape (todo: all edge-related functionality) and further integrated the new Joints
...
--HG--
branch : box2d-update
2011-09-04 13:21:57 -04:00
Bill Meltsner
915e3e9d86
Updated to Box2D 2.2, added new joints, some other updates to match the API changes (still plenty more to go though)
...
--HG--
branch : box2d-update
2011-09-03 15:39:32 -04:00
Bill Meltsner
b3434997bf
more joint updates to better match the API
...
--HG--
branch : box2d-update
2011-07-02 11:46:42 -05:00
Bill Meltsner
b4fae893fd
updating the Joints
...
--HG--
branch : box2d-update
2011-03-13 13:16:02 -04:00
Bill Meltsner
be146c5f61
some more Shape fixes
...
--HG--
branch : box2d-update
2011-03-13 10:09:17 -04:00
Bill Meltsner
c3d69746c1
making a stab at updating Shapes
...
--HG--
branch : box2d-update
2011-03-13 09:33:32 -04:00
Bill Meltsner
57e345e91e
bring in new version of Box2D and update #include paths
...
--HG--
branch : box2d-update
2011-03-13 07:59:18 -04:00
vrld
e77b94f112
Make the compiler shut up about initialization order.
2011-03-10 13:35:18 +01:00
vrld
1c7e34715b
Add NULL initializers for pointers.
...
Constructing invalid shapes, e.g. a rectangle with width 0, could result
in a b2Assert to fail. In turn, Shape::~Shape tried to destroy a the shape
with an uninitialized pointer, yielding a segfault. Add NULL-initializers
and checks for NULL to prevent this.
2011-01-25 13:24:39 +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
Bart van Strien
c0789b1da3
Remove references to old physics callbacks, fixes #139
2010-12-18 12:38:29 +01:00
rude
d884cb8a82
Removed newWorld(w, h). Added newWorld(x1, y1, x2, y2).
2010-11-25 16:49:03 +01:00
Bart van Strien
b2d054ad50
newWorld(w, h) now actually makes the world w*h, not 4*w*h
2010-10-12 21:36:41 +02:00
Bart van Strien
9c5c86325a
Reverted Box2D errors back to asserts, because love's exceptions provided even less info
2010-09-23 20:16:45 +02:00
rude
8c721ceb6a
Some small fixes to make LOVE compilable in MSVC2010.
2010-09-05 12:05:05 +02:00
Bart van Strien
9a86aab97d
Added body.getAllowSleeping, resolves #52
2010-08-27 22:19:16 +02:00
Bart van Strien
310a50ba2f
Exposed shape:getBody
2010-08-09 12:32:10 +02:00
Bart van Strien
908df65bdb
Added meter parameter to newWorld
2010-08-01 14:42:54 +02:00
Bart van Strien
55ec59810d
Added love.quit callback
2010-07-31 16:22:12 +02:00
Bill Meltsner
3b841423fa
added get/setGroupIndex to CircleShape and PolygonShape
2010-04-07 19:16:49 -04:00
Bill Meltsner
c64e034320
Fixed setFixedRotation enabling other flags (bug #190 )
2010-04-03 07:12:52 -04:00
Bill Meltsner
6868e2241c
fixed a typo in the comments of three love.physics functions (I'm being very useful)
2010-03-30 01:22:03 -04:00
bart@bartbes.ath.cx
736f7ab1a2
love.thread can now share full userdata
2010-02-14 17:41:11 +01:00
Bill Meltsner
73aba4bdd4
eliminated a whole bunch of gcc warnings
2010-02-09 13:21:25 -05:00
Bill Meltsner
dd85250180
fixed a bug in PrismaticJoint::setMotorEnabled where it ignored the argument passed
2010-02-09 12:39:05 -05:00
rude
aa01c984b9
Updated all dates to 2010.
2010-01-31 16:54:47 +01:00
rude
67e10b64f9
Implmented a few 'missing methods' in love.physics.
2010-01-31 14:24:22 +01:00
bart@bartbes.ath.cx
5f9cf99abd
Fixed epic physics typo (getRestituion->getRestitution)
2010-01-07 20:36:14 +01:00
rude
cd24dbcb8e
Added get/setGroupIndex ( #129 ) and get/setFixedRotation ( #113 ). Also fixed 3000 auto.lua-related warnings in MSVC.
2010-01-04 20:02:36 +01:00
rude
ec41545933
Added newQuad.
2009-12-10 22:38:26 +01:00
bill@Ixion
c70d1e9db3
keeping a consistent coding style and apparently fixing broken compilation on systems that aren't mine.
2009-12-05 16:29:33 -06:00
bill@Ixion
b57f48eb73
last commit broke the build by accident - apparently redeclared a variable. fixed.
2009-12-03 19:20:45 -06:00
bill@Ixion
c120a1570c
love.physics.newWorld now acts like it's supposed to and adheres to the documentation
2009-12-03 19:13:35 -06:00
bill@Ixion
2515c697e5
bodies can now be forbidden from sleeping
2009-12-03 18:56:40 -06:00
bart@bartbes.ath.cx
7d79398c57
Fixed incorrect number of arguments expected for contact:getVelocity() :getNormal() and :getSeparation()
2009-12-02 16:05:27 +01:00
rude
f3d1517a9a
Fixed offset bug in body:applyImpulse and body:applyForce.
2009-11-22 13:53:07 +01:00
rude
86ac10c3f6
Fixed bug where destroyed objects in love.physics cause crash when collected.
2009-11-10 23:25:12 +01:00
rude
ee59f28e04
Some destructors in love.physics were non-virtual.
2009-11-10 20:24:29 +01:00
rude
2a9b2b608c
Restored the destroy method for objects in love.physics.
2009-11-02 23:00:08 +01:00
rude
b3bd3427a5
Fixed Shape:testSegment.
2009-10-31 00:15:13 +01:00
rude
435fc43f68
Fixed love.keyboard.setKeyRepeat, fixed issues with Body:getWhatever, and made the save directory settable.
2009-10-29 22:34:54 +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
tenoch@tenoch-laptop
a3cd1e67bc
Trying to figure out how hg works...
2009-09-05 16:13:32 +03:00
bart@bart
0b38be2b4c
Readded get/setCategory and get/setMask
2009-09-05 14:37:44 +02:00
tenoch@tenoch-laptop
ca15eb1922
Changed default mass and rot. inertia values for new body to Box2D's
...
ones.
2009-09-05 15:31:05 +03: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
rude
ab981ea982
Made error screen and reverted love.event.wait.
2009-08-24 21:38:35 +02:00
rude
d4a97d49f3
Added all callbacks to World.
2009-08-15 14:29:47 +02:00