keep track of life

This commit is contained in:
Glenn Maynard
2003-10-16 06:49:02 +00:00
parent 64bfcd2a79
commit ce9b1909f2
3 changed files with 32 additions and 0 deletions
+4
View File
@@ -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