Tuxánci 2
Successor to Tuxánci
 
Loading...
Searching...
No Matches
screen.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 SCREEN_H
25#define SCREEN_H
26
28typedef enum {
32
34
35void screenUpdate(void);
36void screenDraw(void);
37void screenDraw3D(void);
38
39#endif // SCREEN_H
GameScreen currentScreen
Set starting currentScreen.
Definition screen.c:33
void screenDraw(void)
Draw the selected currentScreen.
Definition screen.c:36
void screenDraw3D(void)
Draw the 3D scene of the selected currentScreen.
Definition screen.c:52
void screenUpdate(void)
Update the selected currentScreen.
Definition screen.c:66
GameScreen
Diffrent screens you can go to.
Definition screen.h:28
@ MAINMENU
Main menu (the inital screen)
Definition screen.h:29
@ MENU
Menu (used when a menu window is on the screen)
Definition screen.h:30