Moved most constants into relevant classes.

This commit is contained in:
rude
2009-07-26 23:05:26 +02:00
parent dcb3dfd83d
commit e0115a384e
25 changed files with 901 additions and 555 deletions
+6 -6
View File
@@ -61,17 +61,17 @@ namespace box2d
switch(joint->GetType())
{
case e_revoluteJoint:
return love::JOINT_REVOLUTE;
return JOINT_REVOLUTE;
case e_prismaticJoint:
return love::JOINT_PRISMATIC;
return JOINT_PRISMATIC;
case e_distanceJoint:
return love::JOINT_DISTANCE;
return JOINT_DISTANCE;
case e_pulleyJoint:
return love::JOINT_PULLEY;
return JOINT_PULLEY;
case e_mouseJoint:
return love::JOINT_MOUSE;
return JOINT_MOUSE;
case e_gearJoint:
return love::JOINT_GEAR;
return JOINT_GEAR;
default:
return -1;
}