cleanup
This commit is contained in:
@@ -6,15 +6,15 @@
|
|||||||
#include "Foreach.h"
|
#include "Foreach.h"
|
||||||
#include "PlayerOptions.h"
|
#include "PlayerOptions.h"
|
||||||
|
|
||||||
void Attack::GetAttackBeats( const Song *song, const PlayerState* pPlayerState, float &fStartBeat, float &fEndBeat ) const
|
void Attack::GetAttackBeats( const Song *pSong, const PlayerState* pPlayerState, float &fStartBeat, float &fEndBeat ) const
|
||||||
{
|
{
|
||||||
ASSERT( song );
|
ASSERT( pSong );
|
||||||
|
|
||||||
if( fStartSecond >= 0 )
|
if( fStartSecond >= 0 )
|
||||||
{
|
{
|
||||||
CHECKPOINT;
|
CHECKPOINT;
|
||||||
fStartBeat = song->GetBeatFromElapsedTime( fStartSecond );
|
fStartBeat = pSong->GetBeatFromElapsedTime( fStartSecond );
|
||||||
fEndBeat = song->GetBeatFromElapsedTime( fStartSecond+fSecsRemaining );
|
fEndBeat = pSong->GetBeatFromElapsedTime( fStartSecond+fSecsRemaining );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ struct Attack
|
|||||||
bShowInAttackList = bShowInAttackList_;
|
bShowInAttackList = bShowInAttackList_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GetAttackBeats( const Song *song, const PlayerState* pPlayerState, float &fStartBeat, float &fEndBeat ) const;
|
void GetAttackBeats( const Song *pSong, const PlayerState* pPlayerState, float &fStartBeat, float &fEndBeat ) const;
|
||||||
bool IsBlank() const { return sModifiers.empty(); }
|
bool IsBlank() const { return sModifiers.empty(); }
|
||||||
bool operator== ( const Attack &rhs ) const;
|
bool operator== ( const Attack &rhs ) const;
|
||||||
bool ContainsTransformOrTurn() const;
|
bool ContainsTransformOrTurn() const;
|
||||||
|
|||||||
Reference in New Issue
Block a user