diff options
Diffstat (limited to 'apps/plugins/jackpot.c')
| -rw-r--r-- | apps/plugins/jackpot.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/plugins/jackpot.c b/apps/plugins/jackpot.c index abf1cf8..08eeb2c 100644 --- a/apps/plugins/jackpot.c +++ b/apps/plugins/jackpot.c @@ -110,14 +110,14 @@ void patterns_deinit(struct screen* display) #endif /* HAVE_LCD_CHARCELLS */ /*Call when the program exit*/ -void jackpot_exit(void) +static void jackpot_exit(void) { #ifdef HAVE_LCD_CHARCELLS patterns_deinit(rb->screens[SCREEN_MAIN]); #endif /* HAVE_LCD_CHARCELLS */ } -void jackpot_init(struct jackpot* game) +static void jackpot_init(struct jackpot* game) { int i,j; game->money=20; @@ -128,7 +128,7 @@ void jackpot_init(struct jackpot* game) } } -int jackpot_get_result(struct jackpot* game) +static int jackpot_get_result(struct jackpot* game) { int i=NB_SLOTS-1; int multiple=1; @@ -141,7 +141,7 @@ int jackpot_get_result(struct jackpot* game) return(result); } -int jackpot_get_gain(struct jackpot* game) +static int jackpot_get_gain(struct jackpot* game) { switch (jackpot_get_result(game)) { @@ -164,7 +164,7 @@ int jackpot_get_gain(struct jackpot* game) return(0); } -void jackpot_display_slot_machine(struct jackpot* game, struct screen* display) +static void jackpot_display_slot_machine(struct jackpot* game, struct screen* display) { char str[20]; int i; @@ -215,7 +215,7 @@ void jackpot_display_slot_machine(struct jackpot* game, struct screen* display) } -void jackpot_info_message(struct screen* display, char* message) +static void jackpot_info_message(struct screen* display, char* message) { #ifdef HAVE_LCD_CHARCELLS display->puts_scroll(0,1,message); @@ -232,7 +232,7 @@ void jackpot_info_message(struct screen* display, char* message) #endif /* HAVE_LCD_CHARCELLS */ } -void jackpot_print_turn_result(struct jackpot* game, +static void jackpot_print_turn_result(struct jackpot* game, int gain, struct screen* display) { char str[20]; @@ -250,7 +250,7 @@ void jackpot_print_turn_result(struct jackpot* game, display->update(); } -void jackpot_play_turn(struct jackpot* game) +static void jackpot_play_turn(struct jackpot* game) { /* How many pattern? */ int nb_turns[NB_SLOTS]; |