better judge messages
This commit is contained in:
@@ -82,6 +82,12 @@ void GhostArrowRow::DidTapNote( int iCol, TapNoteScore tns, bool bBright )
|
|||||||
{
|
{
|
||||||
ASSERT( iCol >= 0 && iCol < (int) m_Ghost.size() );
|
ASSERT( iCol >= 0 && iCol < (int) m_Ghost.size() );
|
||||||
|
|
||||||
|
Message msg("ColumnJudgment");
|
||||||
|
msg.SetParam( "TapNoteScore", tns );
|
||||||
|
if( bBright )
|
||||||
|
msg.SetParam( "Bright", true );
|
||||||
|
m_Ghost[iCol]->HandleMessage( msg );
|
||||||
|
|
||||||
m_Ghost[iCol]->PlayCommand( "Judgment" );
|
m_Ghost[iCol]->PlayCommand( "Judgment" );
|
||||||
if( bBright )
|
if( bBright )
|
||||||
m_Ghost[iCol]->PlayCommand( "Bright" );
|
m_Ghost[iCol]->PlayCommand( "Bright" );
|
||||||
@@ -94,6 +100,12 @@ void GhostArrowRow::DidTapNote( int iCol, TapNoteScore tns, bool bBright )
|
|||||||
void GhostArrowRow::DidHoldNote( int iCol, HoldNoteScore hns, bool bBright )
|
void GhostArrowRow::DidHoldNote( int iCol, HoldNoteScore hns, bool bBright )
|
||||||
{
|
{
|
||||||
ASSERT( iCol >= 0 && iCol < (int) m_Ghost.size() );
|
ASSERT( iCol >= 0 && iCol < (int) m_Ghost.size() );
|
||||||
|
Message msg("ColumnJudgment");
|
||||||
|
msg.SetParam( "HoldNoteScore", hns );
|
||||||
|
if( bBright )
|
||||||
|
msg.SetParam( "Bright", true );
|
||||||
|
m_Ghost[iCol]->HandleMessage( msg );
|
||||||
|
|
||||||
m_Ghost[iCol]->PlayCommand( "Judgment" );
|
m_Ghost[iCol]->PlayCommand( "Judgment" );
|
||||||
if( bBright )
|
if( bBright )
|
||||||
m_Ghost[iCol]->PlayCommand( "Bright" );
|
m_Ghost[iCol]->PlayCommand( "Bright" );
|
||||||
|
|||||||
Reference in New Issue
Block a user