Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
LoadScreen Class Referenceabstract

#include <LoadScreen.h>

Inherited by ChallengeLoadScreen, GameSpyLoadScreen, MapTransferLoadScreen, MultiPlayerLoadScreen, ShellGameLoadScreen, and SinglePlayerLoadScreen.

Public Member Functions

 LoadScreen (void)
 
virtual ~LoadScreen (void)
 
virtual void init (GameInfo *game)=0
 Init the loadscreen.
 
virtual void reset (void)=0
 Reset the system.
 
virtual void update (void)=0
 Update the state of the slider bars.
 
virtual void update (Int percent)
 Update the state of the slider bars.
 
virtual void processProgress (Int playerId, Int percentage)=0
 
virtual void setProgressRange (Int min, Int max)=0
 

Protected Member Functions

void setLoadScreen (GameWindow *g)
 

Protected Attributes

GameWindowm_loadScreen
 The GameWindow that is our loadscreen.
 

Detailed Description

Definition at line 57 of file LoadScreen.h.

Constructor & Destructor Documentation

◆ LoadScreen()

LoadScreen::LoadScreen ( void )

Definition at line 150 of file LoadScreen.cpp.

◆ ~LoadScreen()

LoadScreen::~LoadScreen ( void )
virtual

Definition at line 155 of file LoadScreen.cpp.

Member Function Documentation

◆ init()

virtual void LoadScreen::init ( GameInfo * game)
pure virtual

◆ processProgress()

virtual void LoadScreen::processProgress ( Int playerId,
Int percentage )
pure virtual

◆ reset()

virtual void LoadScreen::reset ( void )
pure virtual

◆ setLoadScreen()

void LoadScreen::setLoadScreen ( GameWindow * g)
inlineprotected

Definition at line 70 of file LoadScreen.h.

◆ setProgressRange()

virtual void LoadScreen::setProgressRange ( Int min,
Int max )
pure virtual

◆ update() [1/2]

void LoadScreen::update ( Int percent)
virtual

Update the state of the slider bars.

Reimplemented in ChallengeLoadScreen, GameSpyLoadScreen, MapTransferLoadScreen, MultiPlayerLoadScreen, ShellGameLoadScreen, and SinglePlayerLoadScreen.

Definition at line 164 of file LoadScreen.cpp.

◆ update() [2/2]

virtual void LoadScreen::update ( void )
pure virtual

Member Data Documentation

◆ m_loadScreen

GameWindow* LoadScreen::m_loadScreen
protected

The GameWindow that is our loadscreen.

Definition at line 71 of file LoadScreen.h.


The documentation for this class was generated from the following files: