ScreenPrompt cleanup

This commit is contained in:
Chris Danford
2005-03-23 06:13:28 +00:00
parent 322344473c
commit 7c6ed89975
5 changed files with 113 additions and 71 deletions
+7 -1
View File
@@ -32,6 +32,7 @@ public:
virtual void HandleScreenMessage( const ScreenMessage SM );
static PromptAnswer s_LastAnswer;
static bool s_bCancelledLast;
protected:
bool CanGoLeft() { return m_Answer > 0; }
@@ -56,10 +57,13 @@ protected:
void MenuBack( PlayerNumber pn );
void MenuStart( PlayerNumber pn );
void End( bool bCancelled );
void PositionCursor();
CString m_sText;
BGAnimation m_Background;
BitmapText m_textQuestion;
Quad m_rectAnswerBox;
AutoActor m_sprCursor;
BitmapText m_textAnswer[NUM_PROMPT_ANSWERS];
PromptType m_PromptType;
PromptAnswer m_Answer;
@@ -67,8 +71,10 @@ protected:
void(*m_pOnYes)(void*);
void(*m_pOnNo)(void*);
void* m_pCallbackData;
Transition m_In;
Transition m_Out;
Transition m_Cancel;
RageSound m_sndChange;
};