From e32a373dc9952bfbaa8106e5123c539c0445d876 Mon Sep 17 00:00:00 2001 From: Bill Meltsner Date: Sun, 13 Mar 2011 08:04:43 -0400 Subject: [PATCH] add new joint enums (no implementation yet) --HG-- branch : box2d-update --- src/modules/physics/Joint.cpp | 3 +++ src/modules/physics/Joint.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/modules/physics/Joint.cpp b/src/modules/physics/Joint.cpp index 99b90041c..add6b33bf 100644 --- a/src/modules/physics/Joint.cpp +++ b/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::types(Joint::typeEntries, sizeof(Joint::typeEntries)); diff --git a/src/modules/physics/Joint.h b/src/modules/physics/Joint.h index f5e49aa4a..efa89bec3 100644 --- a/src/modules/physics/Joint.h +++ b/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 };