xTetris-Game
|
Go to the source code of this file.
Functions | |
void | welcome (void) |
Print the intro screen. | |
void | goodbye (void) |
Print the end screen. | |
void | printMenuItems (int start, int end, int selected) |
Print main menu. | |
void | printMainMenu (int *opt) |
Print main menu. | |
void | printPlayerMode (int *opt) |
Print player mode menu. | |
void | printGuide (void) |
Print the rules menu. | |
void | printCredits (void) |
Print the credits menu. | |
void | printCurrentMenu (int *menu, int *opt) |
Call the print of the current menu. | |
int | choiceCtrl (int menu, int opt, int min, int max) |
Create the board. | |
int choiceCtrl | ( | int | menu, |
int | opt, | ||
int | min, | ||
int | max ) |
Create the board.
[in] | menu | Define the current menu. |
[in] | opt | Define the current option selected. |
[in] | min | Lowest value of option in current menu. |
[in] | max | Highest value of option in current menu. |
Definition at line 126 of file gameMenu.c.
void goodbye | ( | void | ) |
Print the end screen.
Definition at line 35 of file gameMenu.c.
void printCredits | ( | void | ) |
Print the credits menu.
Definition at line 103 of file gameMenu.c.
void printCurrentMenu | ( | int * | menu, |
int * | opt ) |
Call the print of the current menu.
[in] | menu | Define the current menu. |
[in] | opt | Define the current option selected. |
Definition at line 113 of file gameMenu.c.
void printGuide | ( | void | ) |
Print the rules menu.
Definition at line 88 of file gameMenu.c.
void printMainMenu | ( | int * | opt | ) |
Print main menu.
[in] | opt | Define the selected option in the menu at that moment. |
Definition at line 76 of file gameMenu.c.
void printMenuItems | ( | int | start, |
int | end, | ||
int | selected ) |
Print main menu.
[in] | start | Define the first menu item that need to be printed. |
[in] | end | Define the last menu item that need to be printed. |
[in] | selected | Define wich item is currently selected. |
Definition at line 54 of file gameMenu.c.
void printPlayerMode | ( | int * | opt | ) |
Print player mode menu.
[in] | opt | Define the selected option in the menu at that moment. |
Definition at line 81 of file gameMenu.c.
void welcome | ( | void | ) |
Print the intro screen.
Definition at line 12 of file gameMenu.c.