summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/bubbles.c4
-rw-r--r--apps/plugins/calculator.c2
-rw-r--r--apps/plugins/chessbox/chessbox.c1
-rw-r--r--apps/plugins/doom/p_ceilng.c3
-rw-r--r--apps/plugins/doom/p_floor.c1
-rw-r--r--apps/plugins/goban/goban.c1
-rw-r--r--apps/plugins/imageviewer/imageviewer.c2
-rw-r--r--apps/plugins/lrcplayer.c1
-rw-r--r--apps/plugins/metronome.c2
-rw-r--r--apps/plugins/mpegplayer/libmpeg2/header.c1
-rw-r--r--apps/plugins/random_folder_advance_config.c1
-rw-r--r--apps/plugins/rocklife.c1
-rw-r--r--apps/plugins/rockpaint.c1
13 files changed, 20 insertions, 1 deletions
diff --git a/apps/plugins/bubbles.c b/apps/plugins/bubbles.c
index ffc814e7a0..88d7228d72 100644
--- a/apps/plugins/bubbles.c
+++ b/apps/plugins/bubbles.c
@@ -76,7 +76,7 @@ enum {
76#endif 76#endif
77 77
78#define ANGLE_STEP 2 78#define ANGLE_STEP 2
79#define ANGLE_STEP_REP 4 79#define ANGLE_STEP_REP 6
80 80
81#define BUBBLES_QUIT1 PLA_EXIT 81#define BUBBLES_QUIT1 PLA_EXIT
82#define BUBBLES_QUIT2 PLA_CANCEL 82#define BUBBLES_QUIT2 PLA_CANCEL
@@ -2367,12 +2367,14 @@ static int bubbles_handlebuttons(struct game_context* bb, bool animblock,
2367 switch(button){ 2367 switch(button){
2368 case BUBBLES_LEFT_REP: 2368 case BUBBLES_LEFT_REP:
2369 if(bb->angle > MIN_ANGLE) bb->angle -= ANGLE_STEP_REP; 2369 if(bb->angle > MIN_ANGLE) bb->angle -= ANGLE_STEP_REP;
2370 break;
2370 case BUBBLES_LEFT: /* change angle to the left */ 2371 case BUBBLES_LEFT: /* change angle to the left */
2371 if(bb->angle > MIN_ANGLE) bb->angle -= ANGLE_STEP; 2372 if(bb->angle > MIN_ANGLE) bb->angle -= ANGLE_STEP;
2372 break; 2373 break;
2373 2374
2374 case BUBBLES_RIGHT_REP: 2375 case BUBBLES_RIGHT_REP:
2375 if(bb->angle < MAX_ANGLE) bb->angle += ANGLE_STEP_REP; 2376 if(bb->angle < MAX_ANGLE) bb->angle += ANGLE_STEP_REP;
2377 break;
2376 case BUBBLES_RIGHT: /* change angle to the right */ 2378 case BUBBLES_RIGHT: /* change angle to the right */
2377 if(bb->angle < MAX_ANGLE) bb->angle += ANGLE_STEP; 2379 if(bb->angle < MAX_ANGLE) bb->angle += ANGLE_STEP;
2378 break; 2380 break;
diff --git a/apps/plugins/calculator.c b/apps/plugins/calculator.c
index bd09330529..5bab15d7ed 100644
--- a/apps/plugins/calculator.c
+++ b/apps/plugins/calculator.c
@@ -755,6 +755,7 @@ double strtod(const char *nptr, char **endptr)
755 case '.': 755 case '.':
756 case '\'': 756 case '\'':
757 end=1; 757 end=1;
758 /* fallthrough */
758 default: 759 default:
759 nptr++; 760 nptr++;
760 } 761 }
@@ -1687,6 +1688,7 @@ static void typingProcess(void){
1687 clearInput(); 1688 clearInput();
1688 *typingbufPointer = '0'; 1689 *typingbufPointer = '0';
1689 typingbufPointer++; 1690 typingbufPointer++;
1691 /* Fallthrough */
1690 case cal_typing: 1692 case cal_typing:
1691 calStatus = cal_dotted; 1693 calStatus = cal_dotted;
1692 *typingbufPointer = '.'; 1694 *typingbufPointer = '.';
diff --git a/apps/plugins/chessbox/chessbox.c b/apps/plugins/chessbox/chessbox.c
index 397fd0e559..13df4f177e 100644
--- a/apps/plugins/chessbox/chessbox.c
+++ b/apps/plugins/chessbox/chessbox.c
@@ -780,6 +780,7 @@ static bool cb_start_viewer(const char* filename){
780 break; 780 break;
781 case COMMAND_QUIT: 781 case COMMAND_QUIT:
782 exit_app = true; 782 exit_app = true;
783 /* fallthrough */
783 case COMMAND_RETURN: 784 case COMMAND_RETURN:
784 exit_viewer = true; 785 exit_viewer = true;
785 break; 786 break;
diff --git a/apps/plugins/doom/p_ceilng.c b/apps/plugins/doom/p_ceilng.c
index db5a701b1a..f83bdc0260 100644
--- a/apps/plugins/doom/p_ceilng.c
+++ b/apps/plugins/doom/p_ceilng.c
@@ -121,6 +121,7 @@ void T_MoveCeiling (ceiling_t* ceiling)
121 // crushers reverse direction at the top 121 // crushers reverse direction at the top
122 case silentCrushAndRaise: 122 case silentCrushAndRaise:
123 S_StartSound((mobj_t *)&ceiling->sector->soundorg,sfx_pstop); 123 S_StartSound((mobj_t *)&ceiling->sector->soundorg,sfx_pstop);
124 /* fallthrough */
124 case genSilentCrusher: 125 case genSilentCrusher:
125 case genCrusher: 126 case genCrusher:
126 case fastCrushAndRaise: 127 case fastCrushAndRaise:
@@ -177,8 +178,10 @@ void T_MoveCeiling (ceiling_t* ceiling)
177 // except generalized ones, reset speed, start back up 178 // except generalized ones, reset speed, start back up
178 case silentCrushAndRaise: 179 case silentCrushAndRaise:
179 S_StartSound((mobj_t *)&ceiling->sector->soundorg,sfx_pstop); 180 S_StartSound((mobj_t *)&ceiling->sector->soundorg,sfx_pstop);
181 /* fallthrough */
180 case crushAndRaise: 182 case crushAndRaise:
181 ceiling->speed = CEILSPEED; 183 ceiling->speed = CEILSPEED;
184 /* fallthrough */
182 case fastCrushAndRaise: 185 case fastCrushAndRaise:
183 ceiling->direction = 1; 186 ceiling->direction = 1;
184 break; 187 break;
diff --git a/apps/plugins/doom/p_floor.c b/apps/plugins/doom/p_floor.c
index f4dbcd04f5..953e4dd09d 100644
--- a/apps/plugins/doom/p_floor.c
+++ b/apps/plugins/doom/p_floor.c
@@ -503,6 +503,7 @@ int EV_DoFloor
503 503
504 case raiseFloorCrush: 504 case raiseFloorCrush:
505 floor->crush = true; 505 floor->crush = true;
506 /* fallthrough */
506 case raiseFloor: 507 case raiseFloor:
507 floor->direction = 1; 508 floor->direction = 1;
508 floor->sector = sec; 509 floor->sector = sec;
diff --git a/apps/plugins/goban/goban.c b/apps/plugins/goban/goban.c
index 7b378eebff..b041f7cd73 100644
--- a/apps/plugins/goban/goban.c
+++ b/apps/plugins/goban/goban.c
@@ -524,6 +524,7 @@ plugin_start (const void *parameter)
524 524
525 case BUTTON_NONE: 525 case BUTTON_NONE:
526 is_idle = true; 526 is_idle = true;
527 /* fallthrough */
527 default: 528 default:
528 if (rb->default_event_handler (btn) == SYS_USB_CONNECTED) 529 if (rb->default_event_handler (btn) == SYS_USB_CONNECTED)
529 { 530 {
diff --git a/apps/plugins/imageviewer/imageviewer.c b/apps/plugins/imageviewer/imageviewer.c
index 4b1a982438..508cf1a5b5 100644
--- a/apps/plugins/imageviewer/imageviewer.c
+++ b/apps/plugins/imageviewer/imageviewer.c
@@ -600,6 +600,7 @@ static int scroll_bmp(struct image_info *info)
600 if (entries > 1 && info->width <= LCD_WIDTH 600 if (entries > 1 && info->width <= LCD_WIDTH
601 && info->height <= LCD_HEIGHT) 601 && info->height <= LCD_HEIGHT)
602 return change_filename(DIR_PREV); 602 return change_filename(DIR_PREV);
603 /* fallthrough */
603 case IMGVIEW_LEFT | BUTTON_REPEAT: 604 case IMGVIEW_LEFT | BUTTON_REPEAT:
604 pan_view_left(info); 605 pan_view_left(info);
605 break; 606 break;
@@ -608,6 +609,7 @@ static int scroll_bmp(struct image_info *info)
608 if (entries > 1 && info->width <= LCD_WIDTH 609 if (entries > 1 && info->width <= LCD_WIDTH
609 && info->height <= LCD_HEIGHT) 610 && info->height <= LCD_HEIGHT)
610 return change_filename(DIR_NEXT); 611 return change_filename(DIR_NEXT);
612 /* fallthrough */
611 case IMGVIEW_RIGHT | BUTTON_REPEAT: 613 case IMGVIEW_RIGHT | BUTTON_REPEAT:
612 pan_view_right(info); 614 pan_view_right(info);
613 break; 615 break;
diff --git a/apps/plugins/lrcplayer.c b/apps/plugins/lrcplayer.c
index 2abfbef6c9..225f0c8689 100644
--- a/apps/plugins/lrcplayer.c
+++ b/apps/plugins/lrcplayer.c
@@ -227,6 +227,7 @@ static int lrc_set_time(const char *title, const char *unit, long *pval,
227 case PLA_UP_REPEAT: 227 case PLA_UP_REPEAT:
228 case PLA_DOWN_REPEAT: 228 case PLA_DOWN_REPEAT:
229 mult *= 10; 229 mult *= 10;
230 /* fallthrough */
230 case PLA_DOWN: 231 case PLA_DOWN:
231 case PLA_UP: 232 case PLA_UP:
232 if (button == PLA_DOWN_REPEAT || button == PLA_DOWN) 233 if (button == PLA_DOWN_REPEAT || button == PLA_DOWN)
diff --git a/apps/plugins/metronome.c b/apps/plugins/metronome.c
index a6b4181df2..157d116ff9 100644
--- a/apps/plugins/metronome.c
+++ b/apps/plugins/metronome.c
@@ -1663,11 +1663,13 @@ enum plugin_status plugin_start(const void* file)
1663 break; 1663 break;
1664 case METRONOME_LEFT: 1664 case METRONOME_LEFT:
1665 bpm_step_counter = 0; 1665 bpm_step_counter = 0;
1666 /* fallthrough */
1666 case METRONOME_LEFT_REP: 1667 case METRONOME_LEFT_REP:
1667 change_bpm(-1); 1668 change_bpm(-1);
1668 break; 1669 break;
1669 case METRONOME_RIGHT: 1670 case METRONOME_RIGHT:
1670 bpm_step_counter = 0; 1671 bpm_step_counter = 0;
1672 /* fallthrough */
1671 case METRONOME_RIGHT_REP: 1673 case METRONOME_RIGHT_REP:
1672 change_bpm(1); 1674 change_bpm(1);
1673 break; 1675 break;
diff --git a/apps/plugins/mpegplayer/libmpeg2/header.c b/apps/plugins/mpegplayer/libmpeg2/header.c
index 001cafe7d5..b40193a338 100644
--- a/apps/plugins/mpegplayer/libmpeg2/header.c
+++ b/apps/plugins/mpegplayer/libmpeg2/header.c
@@ -307,6 +307,7 @@ static int sequence_ext (mpeg2dec_t * mpeg2dec)
307 return 1; 307 return 1;
308 case 2: /* 4:2:0 */ 308 case 2: /* 4:2:0 */
309 sequence->chroma_height >>= 1; 309 sequence->chroma_height >>= 1;
310 /* fallthrough */
310 case 4: /* 4:2:2 */ 311 case 4: /* 4:2:2 */
311 sequence->chroma_width >>= 1; 312 sequence->chroma_width >>= 1;
312 } 313 }
diff --git a/apps/plugins/random_folder_advance_config.c b/apps/plugins/random_folder_advance_config.c
index c9dce0223b..ca0d5f397d 100644
--- a/apps/plugins/random_folder_advance_config.c
+++ b/apps/plugins/random_folder_advance_config.c
@@ -366,6 +366,7 @@ static int edit_list(void)
366 { 366 {
367 case 0: 367 case 0:
368 save_list(); 368 save_list();
369 /* fallthrough */
369 case 1: 370 case 1:
370 exit = true; 371 exit = true;
371 ret = -2; 372 ret = -2;
diff --git a/apps/plugins/rocklife.c b/apps/plugins/rocklife.c
index 0be48dcce8..99297abd0f 100644
--- a/apps/plugins/rocklife.c
+++ b/apps/plugins/rocklife.c
@@ -150,6 +150,7 @@ static bool load_cellfile(const char *file, char *pgrid){
150 switch(c) { 150 switch(c) {
151 case '!': 151 case '!':
152 comment = true; 152 comment = true;
153 break;
153 case '.': 154 case '.':
154 if (!comment) 155 if (!comment)
155 x++; 156 x++;
diff --git a/apps/plugins/rockpaint.c b/apps/plugins/rockpaint.c
index a0d9b26ec2..09fa2c8c5f 100644
--- a/apps/plugins/rockpaint.c
+++ b/apps/plugins/rockpaint.c
@@ -1907,6 +1907,7 @@ static void draw_text( int x, int y )
1907 rb->lcd_set_foreground( rp_colors[ drawcolor ] ); 1907 rb->lcd_set_foreground( rp_colors[ drawcolor ] );
1908 buffer_putsxyofs( save_buffer, COLS, ROWS, x, y, 0, 1908 buffer_putsxyofs( save_buffer, COLS, ROWS, x, y, 0,
1909 buffer->text.text ); 1909 buffer->text.text );
1910 /* fallthrough */
1910 case TEXT_MENU_CANCEL: 1911 case TEXT_MENU_CANCEL:
1911 default: 1912 default:
1912 restore_screen(); 1913 restore_screen();