Files
itgmania212121/stepmania/src/ScreenNetEvaluation.h
T
Glenn Maynard b51b0cfb4c Use Init() for all screens, so we can set state before the base class
members are loaded--they'll see resets, score finalization, etc.  It
also results in smaller code, due to a g++ bug that causes constructors
to be emitted several times.
2005-02-23 06:29:05 +00:00

37 lines
893 B
C++

#include "ScreenEvaluation.h"
#include "NetworkSyncManager.h"
#include "Quad.h"
#include "BitmapText.h"
#include "ScreenMessage.h"
class ScreenNetEvaluation: public ScreenEvaluation
{
public:
ScreenNetEvaluation (const CString& sClassName);
virtual void Init();
protected:
virtual void MenuLeft( PlayerNumber pn, const InputEventType type );
virtual void MenuUp( PlayerNumber pn, const InputEventType type );
virtual void MenuRight( PlayerNumber pn, const InputEventType type );
virtual void MenuDown( PlayerNumber pn, const InputEventType type );
virtual void HandleScreenMessage( const ScreenMessage SM );
virtual void TweenOffScreen( );
void UpdateStats( );
private:
Quad m_rectUsersBG;
vector<BitmapText> m_textUsers;
int m_iCurrentPlayer;
int m_iActivePlayers;
PlayerNumber m_pActivePlayer;
bool m_bHasStats;
int m_iShowSide;
void RedoUserTexts();
};