Files
itgmania212121/stepmania/src/ScreenNameEntry.h
T
Glenn Maynard ac6af4624e don't use columns that happen to be associated with START
we only really need to do this if dedicated menu buttons is off,
but that would probably be confusing
2003-02-16 23:20:52 +00:00

57 lines
1.4 KiB
C++

/*
-----------------------------------------------------------------------------
Class: ScreenNameEntry
Desc: Enter you name for a new high score.
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Chris Danford
-----------------------------------------------------------------------------
*/
#include "Screen.h"
#include "BitmapText.h"
#include "TransitionFade.h"
#include "RandomSample.h"
#include "GrayArrowRow.h"
#include "BGAnimation.h"
#include "MenuTimer.h"
class ScreenNameEntry : public Screen
{
public:
ScreenNameEntry();
virtual ~ScreenNameEntry();
virtual void Update( float fDeltaTime );
virtual void DrawPrimitives();
virtual void Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI );
virtual void HandleScreenMessage( const ScreenMessage SM );
virtual void MenuStart( PlayerNumber pn );
private:
BGAnimation m_Background;
GrayArrowRow m_GrayArrowRow[NUM_PLAYERS];
BitmapText m_textSelectedChars[NUM_PLAYERS][MAX_RANKING_NAME_LENGTH];
BitmapText m_textScrollingChars[NUM_PLAYERS][MAX_RANKING_NAME_LENGTH];
BitmapText m_textCategory[NUM_PLAYERS];
MenuTimer m_Timer;
TransitionFade m_Fade;
RageSound m_soundStep;
float m_fFakeBeat;
CString m_sSelectedName[NUM_PLAYERS];
bool m_bStillEnteringName[NUM_PLAYERS];
vector<int> m_ColToStringIndex[NUM_PLAYERS];
};