mirror of https://github.com/AxioDL/metaforce.git
CArtifactDoll: Make use of an anonymous namespace
Provides a unified section to place internally linked data.
This commit is contained in:
parent
bea9c5bb74
commit
26b24d604a
|
@ -13,8 +13,8 @@
|
||||||
#include <zeus/CTransform.hpp>
|
#include <zeus/CTransform.hpp>
|
||||||
|
|
||||||
namespace urde::MP1 {
|
namespace urde::MP1 {
|
||||||
|
namespace {
|
||||||
static const char* ArtifactPieceModels[] = {
|
constexpr const char* ArtifactPieceModels[] = {
|
||||||
"CMDL_Piece1", // Truth
|
"CMDL_Piece1", // Truth
|
||||||
"CMDL_Piece2", // Strength
|
"CMDL_Piece2", // Strength
|
||||||
"CMDL_Piece3", // Elder
|
"CMDL_Piece3", // Elder
|
||||||
|
@ -29,7 +29,7 @@ static const char* ArtifactPieceModels[] = {
|
||||||
"CMDL_Piece12" // Newborn
|
"CMDL_Piece12" // Newborn
|
||||||
};
|
};
|
||||||
|
|
||||||
static const CAssetId ArtifactHeadScans[] = {
|
constexpr CAssetId ArtifactHeadScans[] = {
|
||||||
0x32C9DDCE, // Truth
|
0x32C9DDCE, // Truth
|
||||||
0xB45DAF60, // Strength
|
0xB45DAF60, // Strength
|
||||||
0x7F017CC5, // Elder
|
0x7F017CC5, // Elder
|
||||||
|
@ -44,8 +44,9 @@ static const CAssetId ArtifactHeadScans[] = {
|
||||||
0xB6763C91 // Newborn
|
0xB6763C91 // Newborn
|
||||||
};
|
};
|
||||||
|
|
||||||
static const zeus::CColor ArtifactPreColor = {0.4f, 0.68f, 0.88f, 0.8f};
|
constexpr zeus::CColor ArtifactPreColor{0.4f, 0.68f, 0.88f, 0.8f};
|
||||||
static const zeus::CColor ArtifactPostColor = {1.f, 0.63f, 0.02f, 1.f};
|
constexpr zeus::CColor ArtifactPostColor{1.f, 0.63f, 0.02f, 1.f};
|
||||||
|
} // Anonymous namespace
|
||||||
|
|
||||||
CArtifactDoll::CArtifactDoll() {
|
CArtifactDoll::CArtifactDoll() {
|
||||||
x10_lights.resize(2, CLight::BuildDirectional(zeus::skForward, zeus::skWhite));
|
x10_lights.resize(2, CLight::BuildDirectional(zeus::skForward, zeus::skWhite));
|
||||||
|
|
Loading…
Reference in New Issue