cleanup, hide some implementation
This commit is contained in:
@@ -284,21 +284,17 @@ void ScreenOptions::Init( InputMode im, OptionRow OptionRows[], int iNumOptionLi
|
|||||||
GetExplanationTitle( r );
|
GetExplanationTitle( r );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
CHECKPOINT;
|
CHECKPOINT;
|
||||||
|
|
||||||
PositionItems();
|
PositionItems();
|
||||||
PositionUnderlines();
|
PositionUnderlines();
|
||||||
PositionIcons();
|
PositionIcons();
|
||||||
CHECKPOINT;
|
|
||||||
RefreshIcons();
|
RefreshIcons();
|
||||||
CHECKPOINT;
|
|
||||||
PositionCursors();
|
PositionCursors();
|
||||||
CHECKPOINT;
|
|
||||||
UpdateEnabledDisabled();
|
UpdateEnabledDisabled();
|
||||||
CHECKPOINT;
|
|
||||||
for( p=0; p<NUM_PLAYERS; p++ )
|
for( p=0; p<NUM_PLAYERS; p++ )
|
||||||
OnChange( (PlayerNumber)p );
|
OnChange( (PlayerNumber)p );
|
||||||
|
|
||||||
CHECKPOINT;
|
CHECKPOINT;
|
||||||
|
|
||||||
/* It's tweening into position, but on the initial tween-in we only want to
|
/* It's tweening into position, but on the initial tween-in we only want to
|
||||||
|
|||||||
@@ -100,13 +100,16 @@ protected:
|
|||||||
OptionRow* m_OptionRow;
|
OptionRow* m_OptionRow;
|
||||||
|
|
||||||
protected: // derived classes need access to these
|
protected: // derived classes need access to these
|
||||||
int m_iSelectedOption[NUM_PLAYERS][MAX_OPTION_LINES];
|
int m_iSelectedOption[NUM_PLAYERS][MAX_OPTION_LINES];
|
||||||
int m_iCurrentRow[NUM_PLAYERS];
|
int m_iNumOptionRows;
|
||||||
|
int m_iCurrentRow[NUM_PLAYERS];
|
||||||
|
|
||||||
|
OptionIcon m_OptionIcons[NUM_PLAYERS][MAX_OPTION_LINES];
|
||||||
|
|
||||||
|
private:
|
||||||
|
|
||||||
InputMode m_InputMode;
|
InputMode m_InputMode;
|
||||||
|
|
||||||
int m_iNumOptionRows;
|
|
||||||
|
|
||||||
ActorFrame m_framePage;
|
ActorFrame m_framePage;
|
||||||
AutoActor m_sprPage;
|
AutoActor m_sprPage;
|
||||||
AutoActor m_sprFrame;
|
AutoActor m_sprFrame;
|
||||||
@@ -122,7 +125,6 @@ protected: // derived classes need access to these
|
|||||||
|
|
||||||
|
|
||||||
OptionsCursor m_Underline[NUM_PLAYERS][MAX_OPTION_LINES];
|
OptionsCursor m_Underline[NUM_PLAYERS][MAX_OPTION_LINES];
|
||||||
OptionIcon m_OptionIcons[NUM_PLAYERS][MAX_OPTION_LINES];
|
|
||||||
OptionsCursor m_Highlight[NUM_PLAYERS];
|
OptionsCursor m_Highlight[NUM_PLAYERS];
|
||||||
Sprite m_sprLineHighlight[NUM_PLAYERS];
|
Sprite m_sprLineHighlight[NUM_PLAYERS];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user