2018-07-17 21:28:05 -05:00
|
|
|
#include "actorutil.hpp"
|
|
|
|
|
2023-09-09 13:12:08 +02:00
|
|
|
#include <components/settings/values.hpp>
|
2020-12-30 22:11:32 +02:00
|
|
|
|
2018-07-17 21:28:05 -05:00
|
|
|
namespace SceneUtil
|
|
|
|
{
|
2022-08-28 16:38:11 +02:00
|
|
|
const std::string& getActorSkeleton(bool firstPerson, bool isFemale, bool isBeast, bool isWerewolf)
|
2018-07-17 21:28:05 -05:00
|
|
|
{
|
|
|
|
if (!firstPerson)
|
|
|
|
{
|
|
|
|
if (isWerewolf)
|
2023-09-09 13:12:08 +02:00
|
|
|
return Settings::models().mWolfskin;
|
2018-07-17 21:28:05 -05:00
|
|
|
else if (isBeast)
|
2023-09-09 13:12:08 +02:00
|
|
|
return Settings::models().mBaseanimkna;
|
2018-07-17 21:28:05 -05:00
|
|
|
else if (isFemale)
|
2023-09-09 13:12:08 +02:00
|
|
|
return Settings::models().mBaseanimfemale;
|
2018-07-17 21:28:05 -05:00
|
|
|
else
|
2023-09-09 13:12:08 +02:00
|
|
|
return Settings::models().mBaseanim;
|
2018-07-17 21:28:05 -05:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
if (isWerewolf)
|
2023-09-09 13:12:08 +02:00
|
|
|
return Settings::models().mWolfskin1st;
|
2018-07-17 21:28:05 -05:00
|
|
|
else if (isBeast)
|
2023-09-09 13:12:08 +02:00
|
|
|
return Settings::models().mBaseanimkna1st;
|
2018-07-17 21:28:05 -05:00
|
|
|
else if (isFemale)
|
2023-09-09 13:12:08 +02:00
|
|
|
return Settings::models().mBaseanimfemale1st;
|
2018-07-17 21:28:05 -05:00
|
|
|
else
|
2023-09-09 13:12:08 +02:00
|
|
|
return Settings::models().mXbaseanim1st;
|
2018-07-17 21:28:05 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|