An attempt to make the arrows flash with the steps' timing. If it works then we can expand it to..... I don't know, lifebars?
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include "BackgroundUtil.h"
|
||||
#include "Course.h"
|
||||
#include "NoteData.h"
|
||||
#include "Actor.h"
|
||||
|
||||
static ThemeMetric<bool> SHOW_BOARD( "NoteField", "ShowBoard" );
|
||||
static ThemeMetric<bool> SHOW_BEAT_BARS( "NoteField", "ShowBeatBars" );
|
||||
@@ -765,6 +766,10 @@ bool NoteField::IsOnScreen( float fBeat, int iCol, int iDrawDistanceAfterTargets
|
||||
|
||||
void NoteField::DrawPrimitives()
|
||||
{
|
||||
|
||||
// XXX Hack: Set Actor's active player number so the notes get the flashing that matches the steps.
|
||||
Actor::m_ActivePlayerNumber = m_pPlayerState->m_PlayerNumber;
|
||||
|
||||
//LOG->Trace( "NoteField::DrawPrimitives()" );
|
||||
|
||||
// This should be filled in on the first update.
|
||||
|
||||
Reference in New Issue
Block a user