Tuxánci 2
Successor to Tuxánci
 
Loading...
Searching...
No Matches
menu.h File Reference

Menu system. More...

#include "raylib.h"

Go to the source code of this file.

Enumerations

enum  GameMenu { NO_MENU , PLAY , SINGLEPLAYER }
 

Functions

void menuUpdate (void)
 Update/Tick menu.
 
void menuDraw (const char *title)
 Draw menu window.
 
void setupMenuScreen (void)
 Setup menu screen (only use in screen.h)
 
void drawMenuScreen (void)
 Draw menu screen (use only in screen.c)
 
void drawMenuScreen3D (void)
 Unused.
 
void enterMenuScreen (void)
 Unused.
 
void updateMenuScreen (void)
 Update menu screen (use only in screen.c)
 

Variables

GameMenu currentMenu
 Set the starting menu.
 

Detailed Description

Menu system.

Enumeration Type Documentation

◆ GameMenu

enum GameMenu
Enumerator
NO_MENU 

No menu.

PLAY 

Play menu.

SINGLEPLAYER 

Singleplayer menu.

Function Documentation

◆ menuDraw()

void menuDraw ( const char * title)

Draw menu window.

Parameters
titleTitle of the menu window