keep track of life
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include <math.h>
|
||||
#include "RageMath.h"
|
||||
#include "ThemeManager.h"
|
||||
#include "song.h"
|
||||
|
||||
|
||||
//
|
||||
@@ -431,6 +432,9 @@ void LifeMeterBar::Update( float fDeltaTime )
|
||||
{
|
||||
LifeMeter::Update( fDeltaTime );
|
||||
|
||||
GAMESTATE->m_CurStageStats.SetLifeRecord( m_PlayerNumber, m_fLifePercentage, GAMESTATE->m_fSongBeat / GAMESTATE->m_pCurSong->m_fLastBeat );
|
||||
|
||||
|
||||
// HACK: Tweaking these values is very difficulty. Update the
|
||||
// "physics" many times so that the spring motion appears faster
|
||||
|
||||
|
||||
Reference in New Issue
Block a user