do this with ActorFrame
This commit is contained in:
@@ -189,7 +189,6 @@ ScreenNameEntryTraditional::ScreenNameEntryTraditional( CString sClassName ) : S
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
FOV.Load( m_sName, "FOV" );
|
|
||||||
ALPHABET_GAP_X.Load( m_sName, "AlphabetGapX" );
|
ALPHABET_GAP_X.Load( m_sName, "AlphabetGapX" );
|
||||||
NUM_ALPHABET_DISPLAYED.Load( m_sName, "NumAlphabetDisplayed" );
|
NUM_ALPHABET_DISPLAYED.Load( m_sName, "NumAlphabetDisplayed" );
|
||||||
MAX_RANKING_NAME_LENGTH.Load( m_sName, "MaxRankingNameLength" );
|
MAX_RANKING_NAME_LENGTH.Load( m_sName, "MaxRankingNameLength" );
|
||||||
@@ -510,16 +509,6 @@ void ScreenNameEntryTraditional::Update( float fDelta )
|
|||||||
ScreenWithMenuElements::Update(fDelta);
|
ScreenWithMenuElements::Update(fDelta);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScreenNameEntryTraditional::DrawPrimitives()
|
|
||||||
{
|
|
||||||
DISPLAY->CameraPushMatrix();
|
|
||||||
DISPLAY->LoadMenuPerspective( FOV, SCREEN_CENTER_X, SCREEN_CENTER_Y );
|
|
||||||
|
|
||||||
ScreenWithMenuElements::DrawPrimitives();
|
|
||||||
|
|
||||||
DISPLAY->CameraPopMatrix();
|
|
||||||
}
|
|
||||||
|
|
||||||
void ScreenNameEntryTraditional::Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI )
|
void ScreenNameEntryTraditional::Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI )
|
||||||
{
|
{
|
||||||
if( IsTransitioning() )
|
if( IsTransitioning() )
|
||||||
|
|||||||
@@ -46,7 +46,6 @@ public:
|
|||||||
virtual ~ScreenNameEntryTraditional();
|
virtual ~ScreenNameEntryTraditional();
|
||||||
|
|
||||||
void Update( float fDeltaTime );
|
void Update( float fDeltaTime );
|
||||||
void DrawPrimitives();
|
|
||||||
void HandleScreenMessage( const ScreenMessage SM );
|
void HandleScreenMessage( const ScreenMessage SM );
|
||||||
void Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI );
|
void Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI );
|
||||||
|
|
||||||
@@ -65,7 +64,6 @@ private:
|
|||||||
void SelectChar( PlayerNumber pn, int c );
|
void SelectChar( PlayerNumber pn, int c );
|
||||||
void Backspace( PlayerNumber pn );
|
void Backspace( PlayerNumber pn );
|
||||||
|
|
||||||
ThemeMetric<float> FOV;
|
|
||||||
ThemeMetric<float> ALPHABET_GAP_X;
|
ThemeMetric<float> ALPHABET_GAP_X;
|
||||||
ThemeMetric<int> NUM_ALPHABET_DISPLAYED;
|
ThemeMetric<int> NUM_ALPHABET_DISPLAYED;
|
||||||
ThemeMetric<int> MAX_RANKING_NAME_LENGTH;
|
ThemeMetric<int> MAX_RANKING_NAME_LENGTH;
|
||||||
|
|||||||
Reference in New Issue
Block a user