karaoke prototype (disabled)

This commit is contained in:
Chris Danford
2008-03-12 23:17:39 +00:00
parent ecbe89179e
commit 5e87c2e81a
82 changed files with 13322 additions and 31 deletions
+10 -4
View File
@@ -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 );