-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplayer.h
34 lines (24 loc) · 918 Bytes
/
player.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//-----------------------------------------------------------------------------
// Torque Game Engine
// Copyright (C) GarageGames.com, Inc.
//-----------------------------------------------------------------------------
//normal stuff here
#include "skeleton.h"
//normal stuff here
class skeleton;
//----------------------------------------------------------------------------
struct PlayerData: public ShapeBaseData {
typedef ShapeBaseData Parent;
//normal stuff here
skeleton *mSkeleton; //we have a skeleton! joyus dayyyyyyy
StringTableEntry skeletonBoneList; //text file containing all our bones and config data :o
//normal stuff here
};
//----------------------------------------------------------------------------
class Player: public ShapeBase
{
//normal stuff here
F32 getFarAng(F32 c, F32 a, F32 b); //move to math util later
void setIK(S32 region, bool set);
};
#endif