04ffb0d4dd
Renamed some of the state functions to include the word 'on'. Also replaced the switch statement in set_hand() with a lookup table access. This lookup table contains the chips, mult and display name for a given hand. Some may not like these changes, so we can easily roll back if need be.
14 lines
285 B
C
14 lines
285 B
C
#ifndef SPLASH_SCREEN_H
|
|
#define SPLASH_SCREEN_H
|
|
|
|
#include <tonc.h>
|
|
|
|
#define SPLASH_FPS 60
|
|
#define SPLASH_DURATION_SECONDS 10
|
|
#define SPLASH_DURATION_FRAMES (SPLASH_FPS * SPLASH_DURATION_SECONDS)
|
|
|
|
void splash_screen_on_init();
|
|
void splash_screen_on_update();
|
|
|
|
#endif // SPLASH_SCREEN_H
|