Functions and constants for the splash screen intro. More...
#include <tonc.h>Go to the source code of this file.
Macros | |
Splash screen timing variables | |
Constants for timing the duration of the splash screen. | |
| #define | SPLASH_FPS 60 |
| #define | SPLASH_DURATION_SECONDS 10 |
| #define | SPLASH_DURATION_FRAMES (SPLASH_FPS * SPLASH_DURATION_SECONDS) |
Functions | |
| void | splash_screen_on_init (void) |
| Initialize the splash screen by printing the splash screen text. | |
| void | splash_screen_on_update (void) |
| Update splash screen timers and print the remaining time accordingly. | |
| void | splash_screen_on_exit (void) |
| Exit the splash screen. | |
Functions and constants for the splash screen intro.
Definition in file splash_screen.h.
| #define SPLASH_DURATION_FRAMES (SPLASH_FPS * SPLASH_DURATION_SECONDS) |
Definition at line 20 of file splash_screen.h.
| #define SPLASH_DURATION_SECONDS 10 |
Definition at line 19 of file splash_screen.h.
| #define SPLASH_FPS 60 |
Definition at line 18 of file splash_screen.h.
| void splash_screen_on_exit | ( | void | ) |
Exit the splash screen.
Definition at line 55 of file splash_screen.c.
| void splash_screen_on_init | ( | void | ) |
Initialize the splash screen by printing the splash screen text.
Definition at line 14 of file splash_screen.c.
| void splash_screen_on_update | ( | void | ) |
Update splash screen timers and print the remaining time accordingly.
Definition at line 30 of file splash_screen.c.