Browse Source

add new joint enums (no implementation yet)

--HG--
branch : box2d-update
Bill Meltsner 14 years ago
parent
commit
e32a373dc9
2 changed files with 6 additions and 0 deletions
  1. 3 0
      src/modules/physics/Joint.cpp
  2. 3 0
      src/modules/physics/Joint.h

+ 3 - 0
src/modules/physics/Joint.cpp

@@ -46,6 +46,9 @@ namespace physics
 		{"mouse", Joint::JOINT_MOUSE},
 		{"pulley", Joint::JOINT_PULLEY},
 		{"gear", Joint::JOINT_GEAR},
+		{"friction", Joint::JOINT_FRICTION},
+		{"line", Joint::JOINT_LINE},
+		{"weld", Joint::JOINT_WELD},
 	};
 
 	StringMap<Joint::Type, Joint::JOINT_MAX_ENUM> Joint::types(Joint::typeEntries, sizeof(Joint::typeEntries));

+ 3 - 0
src/modules/physics/Joint.h

@@ -42,6 +42,9 @@ namespace physics
 			JOINT_MOUSE,
 			JOINT_PULLEY,
 			JOINT_GEAR,
+			JOINT_FRICTION,
+			JOINT_LINE,
+			JOINT_WELD,
 			JOINT_MAX_ENUM
 		};