Commit c882003d authored by Lioncache's avatar Lioncache

CAtomicAlpha: Make skBombLocators an internal array

This is only used within the cpp file, so we can relocate its definition
there to make it fully internally-linked.
parent ee791d6a
#include "Runtime/MP1/World/CAtomicAlpha.hpp"
#include <array>
#include "Runtime/CStateManager.hpp"
#include "Runtime/Weapon/CPlayerGun.hpp"
#include "Runtime/World/CGameArea.hpp"
......@@ -8,8 +10,12 @@
#include "Runtime/World/CWorld.hpp"
namespace urde::MP1 {
const std::string_view CAtomicAlpha::skBombLocators[4] = {"bomb1_LCTR"sv, "bomb2_LCTR"sv, "bomb3_LCTR"sv,
constexpr std::array skBombLocators{
CAtomicAlpha::CAtomicAlpha(TUniqueId uid, std::string_view name, const CEntityInfo& info, const zeus::CTransform& xf,
CModelData&& mData, const CActorParameters& actParms, const CPatternedInfo& pInfo,
......@@ -9,7 +9,6 @@
namespace urde::MP1 {
class CAtomicAlpha : public CPatterned {
static const std::string_view skBombLocators[4];
static constexpr u32 skBombCount = 4;
struct SBomb {
std::string x0_locatorName;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment