Tuxánci 2
Successor to Tuxánci
 
Loading...
Searching...
No Matches
menu.h
Go to the documentation of this file.
1/*
2 * Tuxánci 2 - Successor to Tuxánci
3 * Copyright (C) 2026 Connor Thomson
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <https://www.gnu.org/licenses/>.
17 */
18
23
24#ifndef MENU_SCREEN_H
25#define MENU_SCREEN_H
26
27#include "raylib.h"
28
34
36
37void menuUpdate(void);
38void menuDraw(const char* title);
39
40void setupMenuScreen(void);
41void drawMenuScreen(void);
42void drawMenuScreen3D(void);
43void enterMenuScreen(void);
44void updateMenuScreen(void);
45
46#endif // MENU_SCREEN_H
GameMenu currentMenu
Set the starting menu.
Definition menu.c:35
void drawMenuScreen3D(void)
Unused.
Definition menu.c:102
void menuDraw(const char *title)
Draw menu window.
Definition menu.c:53
void menuUpdate(void)
Update/Tick menu.
Definition menu.c:44
void setupMenuScreen(void)
Setup menu screen (only use in screen.h)
Definition menu.c:38
void enterMenuScreen(void)
Unused.
Definition menu.c:105
void updateMenuScreen(void)
Update menu screen (use only in screen.c)
Definition menu.c:108
void drawMenuScreen(void)
Draw menu screen (use only in screen.c)
Definition menu.c:78
GameMenu
Definition menu.h:29
@ PLAY
Play menu.
Definition menu.h:31
@ NO_MENU
No menu.
Definition menu.h:30
@ SINGLEPLAYER
Singleplayer menu.
Definition menu.h:32