Public Member Functions | |
virtual void | Render (REAL x, REAL y, REAL alpha=1, bool selected=0) |
virtual void | Enter () |
gServerStartMenuItem (gServerMenu *men) | |
virtual | ~gServerStartMenuItem () |
Definition at line 164 of file gServerBrowser.cpp.
gServerStartMenuItem::gServerStartMenuItem | ( | gServerMenu * | men | ) |
Definition at line 888 of file gServerBrowser.cpp.
00889 :gBrowserMenuItem(men, *sg_StartHelpText) 00890 {}
gServerStartMenuItem::~gServerStartMenuItem | ( | ) | [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 }
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 }