ScreenEnding.h
Go to the documentation of this file.00001
00002
00003
#ifndef SCREEN_ENDING_H
00004
#define SCREEN_ENDING_H
00005
00006
#include "BitmapText.h"
00007
#include "ScreenAttract.h"
00008
#include "Sprite.h"
00009
00010 enum EndingStatsLine
00011 {
00012
CALORIES_TODAY,
00013
CURRENT_COMBO,
00014
PERCENT_COMPLETE,
00015
PERCENT_COMPLETE_EASY,
00016
PERCENT_COMPLETE_MEDIUM,
00017
PERCENT_COMPLETE_HARD,
00018
PERCENT_COMPLETE_CHALLENGE,
00019
NUM_ENDING_STATS_LINES
00020 };
00021 #define FOREACH_EndingStatsLine( l ) FOREACH_ENUM( EndingStatsLine, NUM_ENDING_STATS_LINES, l )
00022
00023 class ScreenEnding :
public ScreenAttract
00024 {
00025
public:
00026
ScreenEnding(
CString sName );
00027
~ScreenEnding();
00028
00029
void Update(
float fDeltaTime );
00030
virtual void Input(
const DeviceInput& DeviceI,
const InputEventType type,
const GameInput &GameI,
const MenuInput &MenuI,
const StyleInput &StyleI );
00031
void HandleScreenMessage(
const ScreenMessage SM );
00032
00033
private:
00034 BitmapText m_textPlayerName[
NUM_PLAYERS];
00035 struct Line
00036 {
00037 BitmapText title;
00038 BitmapText value;
00039 }
m_Lines[
NUM_ENDING_STATS_LINES][
NUM_PLAYERS];
00040
00041 Sprite m_sprRemoveMemoryCard[
NUM_PLAYERS];
00042 bool m_bWaitingForRemoveCard[
NUM_PLAYERS];
00043 };
00044
00045
#endif
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
Generated on Thu Jan 27 20:57:31 2005 for StepMania by
1.3.7