2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
6 // $Header: r:/t2repos/thief2/src/dark/crrope.c,v 1.3 1998/09/20 15:56:56 CCAROLLO Exp $
7 // XXX this could really a DLL. just contains humanoid-specific data
11 #include <drkcret.h> // to get actor type definition
13 #include <dbmem.h> // must be last included header
26 // mapping from joint id to exposed joint enum
27 static int g_aRopeJointMap
[] =
53 // array of mappings from jointIDs -> parent jointIDs
54 static int g_aRopeJointParents
[] =
67 static torso g_aDefTorsos
[1] =
69 {NODE_0
, -1, 1, {NODE_0
}},
72 static limb g_aDefLimbs
[1] =
74 { 0, 1, 8, {NODE_0
, NODE_1
, NODE_2
, NODE_3
, NODE_4
, NODE_5
, NODE_6
, NODE_7
, NODE_8
}},
77 const sCreatureDesc sCrRopeDesc
= \
79 kDATYPE_Rope
, // actor type
83 "rope", // default lengths filename
84 0, // number of phys models
85 0, // default phys radius
86 NULL
, // array of phys model offsets
87 g_aRopeJointParents
, // joint parent mapping
91 g_aDefTorsos
, // default torso values (if lengths file not found)
92 g_aDefLimbs
, // default limb values (if lengths file not found)
93 0, // number of weapons
94 NULL
, // weapon physics model offsets
95 FALSE
, // is player limb