karaoke prototype (disabled)
This commit is contained in:
@@ -9,7 +9,9 @@
|
||||
#include "PlayerState.h"
|
||||
#include "Style.h"
|
||||
#include "ActorUtil.h"
|
||||
|
||||
/* XXX
|
||||
#include "PitchDetectionTest.h"
|
||||
*/
|
||||
|
||||
void GhostArrowRow::Load( const PlayerState* pPlayerState, float fYReverseOffset )
|
||||
{
|
||||
@@ -44,9 +46,13 @@ void GhostArrowRow::Update( float fDeltaTime )
|
||||
{
|
||||
m_Ghost[c]->Update( fDeltaTime );
|
||||
|
||||
const float fX = ArrowEffects::GetXPos( m_pPlayerState, c, 0 );
|
||||
const float fY = ArrowEffects::GetYPos( m_pPlayerState, c, 0, m_fYReverseOffsetPixels );
|
||||
const float fZ = ArrowEffects::GetZPos( m_pPlayerState, c, 0 );
|
||||
float fX = ArrowEffects::GetXPos( m_pPlayerState, c, 0 );
|
||||
/* XXX
|
||||
if( PitchDetectionTest::s_ms.bVoiced )
|
||||
fX += ArrowEffects::GetXOffset( m_pPlayerState, m_pPlayerState->m_fWrappedMidiNote );
|
||||
*/
|
||||
float fY = ArrowEffects::GetYPos( m_pPlayerState, c, 0, m_fYReverseOffsetPixels );
|
||||
float fZ = ArrowEffects::GetZPos( m_pPlayerState, c, 0 );
|
||||
|
||||
m_Ghost[c]->SetX( fX );
|
||||
m_Ghost[c]->SetY( fY );
|
||||
|
||||
Reference in New Issue
Block a user