45 lines
1.1 KiB
C++
45 lines
1.1 KiB
C++
/*
|
|
-----------------------------------------------------------------------------
|
|
File: ScreenEnding.h
|
|
|
|
Desc: Ending screen that shows stats.
|
|
|
|
Copyright (c) 2001-2003 by the person(s) listed below. All rights reserved.
|
|
Chris Danford
|
|
Glenn Maynard
|
|
-----------------------------------------------------------------------------
|
|
*/
|
|
|
|
#include "BitmapText.h"
|
|
#include "ScreenAttract.h"
|
|
|
|
enum EndingStatsLine
|
|
{
|
|
PERCENT_COMPLETE,
|
|
TOTAL_CALORIES,
|
|
TOTAL_SONGS_PLAYED,
|
|
CURRENT_COMBO,
|
|
NUM_ENDING_STATS_LINES
|
|
};
|
|
|
|
class ScreenEnding : public ScreenAttract
|
|
{
|
|
public:
|
|
ScreenEnding( CString sName );
|
|
~ScreenEnding();
|
|
|
|
void Update( float fDeltaTime );
|
|
virtual void Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI );
|
|
void HandleScreenMessage( const ScreenMessage SM );
|
|
|
|
private:
|
|
BitmapText m_textPlayerName[NUM_PLAYERS];
|
|
BitmapText m_textStatsTitle[NUM_PLAYERS][NUM_ENDING_STATS_LINES];
|
|
BitmapText m_textStatsValue[NUM_PLAYERS][NUM_ENDING_STATS_LINES];
|
|
|
|
Sprite m_sprRemoveMemoryCard[NUM_PLAYERS];
|
|
bool m_bWaitingForRemoveCard[NUM_PLAYERS];
|
|
};
|
|
|
|
|