src/tron/gMenus.h File Reference

#include "uMenu.h"

Include dependency graph for gMenus.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void sg_PlayerMenu ()
void sg_ConsoleInput ()

Variables

uMenu sg_screenMenu


Function Documentation

void sg_ConsoleInput (  ) 

Definition at line 666 of file gMenus.cpp.

References do_con(), and st_ToDo().

Referenced by con_func().

00666                       {
00667 #ifndef DEDICATED
00668     st_ToDo(&do_con);
00669 #endif
00670 }

Here is the call graph for this function:

Here is the caller graph for this function:

void sg_PlayerMenu (  ) 

Definition at line 1055 of file gMenus.cpp.

References uMenu::Enter(), MAX_PLAYERS, MAX_VIEWPORTS, tOutput::SetTemplateParameter(), and sg_PlayerMenu().

01055                     {
01056     uMenu Player_men("$player_mainmenu_text");
01057 
01058 
01059     uMenuItemFunction vp_selec(&Player_men,
01060                                "$viewport_assign_text",
01061                                "$viewport_assign_help",
01062                                &viewport_menu_x);
01063 
01064     ArmageTron_viewport_menuitem vp(&Player_men);
01065     uMenuItemFunctionInt  *names[MAX_PLAYERS];
01066 
01067     int i;
01068 
01069     for(i=MAX_PLAYERS-1;i>=0;i--){
01070         tOutput title;
01071         title.SetTemplateParameter(1, i+1);
01072         title << "$player_menu_text";
01073 
01074         tOutput help;
01075         help.SetTemplateParameter(1, i+1);
01076         help << "$player_menu_help";
01077 
01078         names[i]=new uMenuItemFunctionInt(&Player_men,
01079                                           title,
01080                                           help,
01081                                           sg_PlayerMenu,i);
01082     }
01083 
01084 
01085     Player_men.Enter();
01086 
01087     //  ePlayerNetID::Update();
01088     for(i=MAX_VIEWPORTS-1;i>=0;i--){
01089         delete names[i];
01090     }
01091 }

Here is the call graph for this function:


Variable Documentation

uMenu sg_screenMenu

Definition at line 56 of file gMenus.cpp.

Referenced by MainMenu().


Generated on Sat Mar 15 23:17:40 2008 for Armagetron Advanced by  doxygen 1.5.4