mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:47:42 +00:00
Plenty of dependency stubs for CStateManager
This commit is contained in:
@@ -5,9 +5,19 @@ namespace urde
|
||||
|
||||
CScriptSpawnPoint::CScriptSpawnPoint(TUniqueId uid, const std::string& name, const CEntityInfo& info,
|
||||
const zeus::CTransform& xf, const std::vector<u32>& itemCounts,
|
||||
bool, bool active, bool)
|
||||
: CEntity(uid, info, active, name)
|
||||
bool defaultSpawn, bool active, bool b3)
|
||||
: CEntity(uid, info, active, name), x34_xf(xf), x64_itemCounts(itemCounts)
|
||||
{
|
||||
x10c_24_firstSpawn = defaultSpawn;
|
||||
x10c_25_ = b3;
|
||||
}
|
||||
|
||||
u32 CScriptSpawnPoint::GetPowerup(CPlayerState::EItemType item) const
|
||||
{
|
||||
int idx = int(item);
|
||||
if (idx >= x64_itemCounts.size())
|
||||
return x64_itemCounts.front();
|
||||
return x64_itemCounts[idx];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user