mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:47:42 +00:00
Prelim CPlayer imps, fix race condition in CGameGlobalObjects
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "World/CEnvFxManager.hpp"
|
||||
#include "World/CActorModelParticles.hpp"
|
||||
#include "World/CTeamAiTypes.hpp"
|
||||
#include "World/CScriptPlayerActor.hpp"
|
||||
#include "Input/CRumbleManager.hpp"
|
||||
#include "World/CWorld.hpp"
|
||||
#include "Graphics/CLight.hpp"
|
||||
@@ -303,6 +304,18 @@ void CStateManager::TouchSky() const
|
||||
{
|
||||
}
|
||||
|
||||
void CStateManager::TouchPlayerActor()
|
||||
{
|
||||
if (xf6c_playerActor == kInvalidUniqueId)
|
||||
return;
|
||||
|
||||
#if 0
|
||||
CScriptPlayerActor* spa = dynamic_cast<CScriptPlayerActor*>(GetObjectById(xf6c_playerActor));
|
||||
if (spa)
|
||||
spa->TouchModels();
|
||||
#endif
|
||||
}
|
||||
|
||||
void CStateManager::DrawSpaceWarp(const zeus::CVector3f& v, float strength) const
|
||||
{
|
||||
CPlayerState::EPlayerVisor visor = x8b8_playerState->GetActiveVisor(*this);
|
||||
|
||||
Reference in New Issue
Block a user