gServerStartMenuItem Class Reference

Inheritance diagram for gServerStartMenuItem:

Inheritance graph
[legend]
Collaboration diagram for gServerStartMenuItem:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void Render (REAL x, REAL y, REAL alpha=1, bool selected=0)
virtual void Enter ()
 gServerStartMenuItem (gServerMenu *men)
virtual ~gServerStartMenuItem ()


Detailed Description

Definition at line 164 of file gServerBrowser.cpp.


Constructor & Destructor Documentation

gServerStartMenuItem::gServerStartMenuItem ( gServerMenu men  ) 

Definition at line 888 of file gServerBrowser.cpp.

00889         :gBrowserMenuItem(men, *sg_StartHelpText)
00890 {}

gServerStartMenuItem::~gServerStartMenuItem (  )  [virtual]

Definition at line 892 of file gServerBrowser.cpp.

00893 {
00894 }


Member Function Documentation

void gServerStartMenuItem::Render ( REAL  x,
REAL  y,
REAL  alpha = 1,
bool  selected = 0 
) [virtual]

Reimplemented from uMenuItem.

Definition at line 858 of file gServerBrowser.cpp.

References displace, uMenuItem::menu, uMenuItem::SetColor(), and shrink.

00859 {
00860 #ifndef DEDICATED
00861     // REAL time=tSysTimeFloat()*10;
00862 
00863     SetColor( selected, alpha );
00864 
00865     tString s;
00866     s << tOutput("$network_master_start");
00867     static_cast<gServerMenu*>(menu)->Render(y*shrink + displace,
00868                                             s,
00869                                             tString(), tString(), tString());
00870 #endif
00871 }

Here is the call graph for this function:

void gServerStartMenuItem::Enter (  )  [virtual]

Reimplemented from uMenuItem.

Definition at line 873 of file gServerBrowser.cpp.

References uMenu::Exit(), nServerInfo::GetFromLANContinuouslyStop(), uMenuItem::menu, and sg_HostGameMenu().

00874 {
00875     nServerInfo::GetFromLANContinuouslyStop();
00876 
00877     menu->Exit();
00878 
00879     //  gLogo::SetBig(false);
00880     //  gLogo::SetSpinning(true);
00881     // gLogo::SetDisplayed(false);
00882 
00883     sg_HostGameMenu();
00884 }

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Sat Mar 15 23:45:35 2008 for Armagetron Advanced by  doxygen 1.5.4