C# Class SharpQuake.Menu

M_functions
Show file Open project: Memorix101/SharpQuake

Public Properties

Property Type Description
EnterSound bool
ReturnMenu MenuBase
ReturnOnError bool
ReturnReason string

Public Methods

Method Description
BuildTranslationTable ( int top, int bottom ) : void

M_BuildTranslationTable

Draw ( ) : void

M_Draw

DrawCharacter ( int cx, int line, int num ) : void

M_DrawCharacter

DrawCheckbox ( int x, int y, bool on ) : void

M_DrawCheckbox

DrawPic ( int x, int y, glpic_t pic ) : void
DrawSlider ( int x, int y, float range ) : void

M_DrawSlider

DrawTextBox ( int x, int y, int width, int lines ) : void

M_DrawTextBox

DrawTransPic ( int x, int y, glpic_t pic ) : void
DrawTransPicTranslate ( int x, int y, glpic_t pic ) : void

M_DrawTransPicTranslate

Init ( ) : void
KeyDown ( int key ) : void

M_Keydown

Print ( int cx, int cy, string str ) : void

M_Print

PrintWhite ( int cx, int cy, string str ) : void

M_PrintWhite

ToggleMenu_f ( ) : void

M_ToggleMenu_f

Private Methods

Method Description
Menu_Help_f ( ) : void

M_Menu_Help_f

Menu_Keys_f ( ) : void

M_Menu_Keys_f

Menu_Load_f ( ) : void
Menu_Main_f ( ) : void

M_Menu_Main_f

Menu_MultiPlayer_f ( ) : void
Menu_Options_f ( ) : void
Menu_Quit_f ( ) : void

M_Menu_Quit_f

Menu_Save_f ( ) : void
Menu_Setup_f ( ) : void
Menu_SinglePlayer_f ( ) : void

M_Menu_SinglePlayer_f

Menu_Video_f ( ) : void

M_Menu_Video_f

Method Details

BuildTranslationTable() public static method

M_BuildTranslationTable
public static BuildTranslationTable ( int top, int bottom ) : void
top int
bottom int
return void

Draw() public static method

M_Draw
public static Draw ( ) : void
return void

DrawCharacter() public static method

M_DrawCharacter
public static DrawCharacter ( int cx, int line, int num ) : void
cx int
line int
num int
return void

DrawCheckbox() public static method

M_DrawCheckbox
public static DrawCheckbox ( int x, int y, bool on ) : void
x int
y int
on bool
return void

DrawPic() public static method

public static DrawPic ( int x, int y, glpic_t pic ) : void
x int
y int
pic glpic_t
return void

DrawSlider() public static method

M_DrawSlider
public static DrawSlider ( int x, int y, float range ) : void
x int
y int
range float
return void

DrawTextBox() public static method

M_DrawTextBox
public static DrawTextBox ( int x, int y, int width, int lines ) : void
x int
y int
width int
lines int
return void

DrawTransPic() public static method

public static DrawTransPic ( int x, int y, glpic_t pic ) : void
x int
y int
pic glpic_t
return void

DrawTransPicTranslate() public static method

M_DrawTransPicTranslate
public static DrawTransPicTranslate ( int x, int y, glpic_t pic ) : void
x int
y int
pic glpic_t
return void

Init() public static method

public static Init ( ) : void
return void

KeyDown() public static method

M_Keydown
public static KeyDown ( int key ) : void
key int
return void

Print() public static method

M_Print
public static Print ( int cx, int cy, string str ) : void
cx int
cy int
str string
return void

PrintWhite() public static method

M_PrintWhite
public static PrintWhite ( int cx, int cy, string str ) : void
cx int
cy int
str string
return void

ToggleMenu_f() public static method

M_ToggleMenu_f
public static ToggleMenu_f ( ) : void
return void

Property Details

EnterSound public static property

public static bool EnterSound
return bool

ReturnMenu public static property

public static MenuBase,SharpQuake ReturnMenu
return MenuBase

ReturnOnError public static property

public static bool ReturnOnError
return bool

ReturnReason public static property

public static string ReturnReason
return string