2004-08-31 16:41:58 +00:00
|
|
|
#include "ScreenEvaluation.h"
|
2004-09-01 04:09:36 +00:00
|
|
|
#include "NetworkSyncManager.h"
|
|
|
|
|
#include "Quad.h"
|
|
|
|
|
#include "BitmapText.h"
|
2004-09-02 23:53:26 +00:00
|
|
|
#include "ScreenMessage.h"
|
2004-08-31 16:41:58 +00:00
|
|
|
|
|
|
|
|
class ScreenNetEvaluation: public ScreenEvaluation
|
|
|
|
|
{
|
|
|
|
|
public:
|
2004-09-06 21:28:56 +00:00
|
|
|
ScreenNetEvaluation (const CString& sClassName);
|
2005-02-23 06:29:05 +00:00
|
|
|
virtual void Init();
|
|
|
|
|
|
2004-09-01 04:09:36 +00:00
|
|
|
protected:
|
2005-09-23 00:44:52 +00:00
|
|
|
virtual void MenuLeft( const InputEventPlus &input );
|
|
|
|
|
virtual void MenuUp( const InputEventPlus &input );
|
|
|
|
|
virtual void MenuRight( const InputEventPlus &input );
|
|
|
|
|
virtual void MenuDown( const InputEventPlus &input );
|
2004-09-02 23:53:26 +00:00
|
|
|
virtual void HandleScreenMessage( const ScreenMessage SM );
|
2004-09-03 15:33:00 +00:00
|
|
|
virtual void TweenOffScreen( );
|
2004-09-01 04:09:36 +00:00
|
|
|
|
|
|
|
|
void UpdateStats( );
|
|
|
|
|
private:
|
|
|
|
|
Quad m_rectUsersBG;
|
|
|
|
|
|
2004-12-08 05:35:03 +00:00
|
|
|
vector<BitmapText> m_textUsers;
|
2004-09-01 04:09:36 +00:00
|
|
|
int m_iCurrentPlayer;
|
|
|
|
|
int m_iActivePlayers;
|
|
|
|
|
|
|
|
|
|
PlayerNumber m_pActivePlayer;
|
2004-09-02 23:53:26 +00:00
|
|
|
|
|
|
|
|
bool m_bHasStats;
|
2005-01-10 00:35:43 +00:00
|
|
|
|
|
|
|
|
int m_iShowSide;
|
|
|
|
|
|
|
|
|
|
void RedoUserTexts();
|
2004-09-06 06:25:21 +00:00
|
|
|
};
|