cleanup survival elements

This commit is contained in:
Chris Danford
2005-04-21 11:16:01 +00:00
parent b9de560fdc
commit 371f97effe
22 changed files with 833 additions and 342 deletions
+9
View File
@@ -3,6 +3,7 @@
#include "PlayerNumber.h"
#include "ActorFrame.h"
#include "GameConstantsAndTypes.h"
struct PlayerState;
@@ -12,6 +13,14 @@ public:
virtual void Init( const PlayerState* pPlayerState ) { m_pPlayerState = pPlayerState; }
virtual void SetScore( int iNewScore ) {}
virtual void OnLoadSong() {};
virtual void OnSongEnded() {};
/* Notification of a tap note judgment. This *is* called for
* the head of hold notes. */
virtual void OnJudgment( TapNoteScore score ) {};
/* Notification of a hold judgment. tscore is the score
* received for the initial tap note. */
virtual void OnJudgment( HoldNoteScore score, TapNoteScore tscore ) {};
protected:
const PlayerState* m_pPlayerState; // needed to look up statistics in GAMESTATE