You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
C++
33 lines
1.1 KiB
C++
#include "actorutil.hpp"
|
|
|
|
#include <components/settings/settings.hpp>
|
|
|
|
namespace SceneUtil
|
|
{
|
|
std::string getActorSkeleton(bool firstPerson, bool isFemale, bool isBeast, bool isWerewolf)
|
|
{
|
|
if (!firstPerson)
|
|
{
|
|
if (isWerewolf)
|
|
return Settings::Manager::getString("wolfskin", "Models");
|
|
else if (isBeast)
|
|
return Settings::Manager::getString("baseanimkna", "Models");
|
|
else if (isFemale)
|
|
return Settings::Manager::getString("baseanimfemale", "Models");
|
|
else
|
|
return Settings::Manager::getString("baseanim", "Models");
|
|
}
|
|
else
|
|
{
|
|
if (isWerewolf)
|
|
return Settings::Manager::getString("wolfskin1st", "Models");
|
|
else if (isBeast)
|
|
return Settings::Manager::getString("baseanimkna1st", "Models");
|
|
else if (isFemale)
|
|
return Settings::Manager::getString("baseanimfemale1st", "Models");
|
|
else
|
|
return Settings::Manager::getString("xbaseanim1st", "Models");
|
|
}
|
|
}
|
|
}
|