X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FSkeleton.h;h=8186b1824cc391a758b724310d2c7be0f96d716d;hb=1aef858f5ecb3dc8fd816e0155635371ed3632f2;hp=2948b1f8a1d5c6d1307a9073f8d9d4ebe755fb65;hpb=2e4c2fd2e05bc8c910b614f45cbbf903d158658c;p=lugaru.git diff --git a/Source/Skeleton.h b/Source/Skeleton.h index 2948b1f..8186b18 100644 --- a/Source/Skeleton.h +++ b/Source/Skeleton.h @@ -31,17 +31,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "gamegl.h" #include "Quaternions.h" #include "Objects.h" -#include "Sprites.h" +#include "Sprite.h" #include "binio.h" -#define neutral 0 -#define normalattack 1 -#define reversed 2 -#define reversal 3 -#define lowheight 0 -#define middleheight 1 -#define highheight 2 - class Joint { public: @@ -142,7 +134,7 @@ public: Animation & operator = (const Animation & ani); - void Load(char *fileName, int aheight, int aattack); + void Load(const char *fileName, int aheight, int aattack); void Move(XYZ how); protected: @@ -216,7 +208,7 @@ public: void FindRotationJoint(int which); void FindRotationJointSameTwist(int which); void FindRotationMuscle(int which, int animation); - void Load(char *fileName,char *lowfileName,char *clothesfileName,char *modelfileName,char *model2fileName,char *model3fileName,char *model4fileName,char *model5fileNamee,char *model6fileName,char *model7fileName,char *modellowfileName,char *modelclothesfileName, bool aclothes); + void Load(const char *fileName,const char *lowfileName,const char *clothesfileName,const char *modelfileName,const char *model2fileName,const char *model3fileName,const char *model4fileName,const char *model5fileNamee,const char *model6fileName,const char *model7fileName,const char *modellowfileName,const char *modelclothesfileName, bool aclothes); Skeleton();