2018-07-18 02:28:05 +00:00
|
|
|
#include "actorutil.hpp"
|
|
|
|
|
2020-12-30 20:11:32 +00:00
|
|
|
#include <components/settings/settings.hpp>
|
|
|
|
|
2018-07-18 02:28:05 +00:00
|
|
|
namespace SceneUtil
|
|
|
|
{
|
2022-08-28 14:38:11 +00:00
|
|
|
const std::string& getActorSkeleton(bool firstPerson, bool isFemale, bool isBeast, bool isWerewolf)
|
2018-07-18 02:28:05 +00:00
|
|
|
{
|
|
|
|
if (!firstPerson)
|
|
|
|
{
|
|
|
|
if (isWerewolf)
|
2020-12-30 20:11:32 +00:00
|
|
|
return Settings::Manager::getString("wolfskin", "Models");
|
2018-07-18 02:28:05 +00:00
|
|
|
else if (isBeast)
|
2020-12-30 20:11:32 +00:00
|
|
|
return Settings::Manager::getString("baseanimkna", "Models");
|
2018-07-18 02:28:05 +00:00
|
|
|
else if (isFemale)
|
2020-12-30 20:11:32 +00:00
|
|
|
return Settings::Manager::getString("baseanimfemale", "Models");
|
2018-07-18 02:28:05 +00:00
|
|
|
else
|
2020-12-30 20:11:32 +00:00
|
|
|
return Settings::Manager::getString("baseanim", "Models");
|
2018-07-18 02:28:05 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
if (isWerewolf)
|
2020-12-30 20:11:32 +00:00
|
|
|
return Settings::Manager::getString("wolfskin1st", "Models");
|
2018-07-18 02:28:05 +00:00
|
|
|
else if (isBeast)
|
2020-12-30 20:11:32 +00:00
|
|
|
return Settings::Manager::getString("baseanimkna1st", "Models");
|
2018-07-18 02:28:05 +00:00
|
|
|
else if (isFemale)
|
2020-12-30 20:11:32 +00:00
|
|
|
return Settings::Manager::getString("baseanimfemale1st", "Models");
|
2018-07-18 02:28:05 +00:00
|
|
|
else
|
2020-12-30 20:11:32 +00:00
|
|
|
return Settings::Manager::getString("xbaseanim1st", "Models");
|
2018-07-18 02:28:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|