Add: Abstraction for ScreenNetSelects... And the new room screen.

This commit is contained in:
Charles Lohr
2004-11-16 23:12:58 +00:00
parent ff8101e87d
commit cccf06e7b0
10 changed files with 547 additions and 19 deletions
+2 -18
View File
@@ -3,6 +3,7 @@
#ifndef SCREENNETSELECTMUSIC_H
#define SCREENNETSELECTMUSIC_H
#include "ScreenNetSelectBase.h"
#include "ScreenWithMenuElements.h"
#include "Sprite.h"
#include "Quad.h"
@@ -14,13 +15,11 @@
#include "Difficulty.h"
#include "DifficultyMeter.h"
class ScreenNetSelectMusic : public ScreenWithMenuElements
class ScreenNetSelectMusic : public ScreenNetSelectBase
{
public:
ScreenNetSelectMusic( const CString& sName );
virtual void DrawPrimitives();
virtual void Update( float fDeltaTime );
virtual void Input( const DeviceInput& DeviceI, const InputEventType type,
const GameInput& GameI, const MenuInput& MenuI,
const StyleInput& StyleI );
@@ -61,18 +60,7 @@ protected:
void MusicChanged();
void TweenOffScreen();
void UpdateUsers();
private:
//Chatting
BitmapText m_textChatInput;
BitmapText m_textChatOutput;
BitmapText m_textOutHidden;
Quad m_rectChatInputBox;
Quad m_rectChatOutputBox;
CString m_sTextInput;
CString m_actualText;
//Selection
Quad m_rectSelection;
@@ -93,10 +81,6 @@ private:
BitmapText m_textSubtitle;
BitmapText m_textGroup;
//Users Rect
Quad m_rectUsersBG;
vector <BitmapText> m_textUsers;
//Difficulty Icon(s)
DifficultyIcon m_DifficultyIcon[NUM_PLAYERS];
Difficulty m_DC[NUM_PLAYERS];