X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FSkeleton.h;h=eb2afff28ff83058d9024d05e514dba9ed12a167;hb=4f4771bb67958d2e9180ba24d422141b9069e363;hp=21b6eaa880bf674adf36c738fcefc69e124d1314;hpb=cd043e3f9e26c2b3406b40a354c2840941e9db7f;p=lugaru.git diff --git a/Source/Skeleton.h b/Source/Skeleton.h index 21b6eaa..eb2afff 100644 --- a/Source/Skeleton.h +++ b/Source/Skeleton.h @@ -1,5 +1,6 @@ /* Copyright (C) 2003, 2010 - Wolfire Games +Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file) This file is part of Lugaru. @@ -134,7 +135,7 @@ public: ~Animation(); Animation & operator = (const Animation & ani); - void Load(const char *fileName, int aheight, int aattack); + void Load(const std::string& fileName, int aheight, int aattack); protected: void deallocate(); @@ -200,7 +201,7 @@ public: void FindRotationJoint(int which); void FindRotationJointSameTwist(int which); void FindRotationMuscle(int which, int animation); - 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); + void Load(const std::string& fileName, const std::string& lowfileName, const std::string& clothesfileName, const std::string& modelfileName, const std::string& model2fileName, const std::string& model3fileName, const std::string& model4fileName, const std::string& model5fileNamee, const std::string& model6fileName, const std::string& model7fileName, const std::string& modellowfileName, const std::string& modelclothesfileName, bool aclothes); /* // unused