summaryrefslogtreecommitdiff
path: root/apps/plugins/invadrox.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/invadrox.c')
-rw-r--r--apps/plugins/invadrox.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/apps/plugins/invadrox.c b/apps/plugins/invadrox.c
index 39fba9eb76..94d079f2b4 100644
--- a/apps/plugins/invadrox.c
+++ b/apps/plugins/invadrox.c
@@ -740,7 +740,7 @@ static inline fb_data get_pixel(int x, int y)
740 740
741 741
742/* Draw "digits" least significant digits of num at (x,y) */ 742/* Draw "digits" least significant digits of num at (x,y) */
743void draw_number(int x, int y, int num, int digits) 743static void draw_number(int x, int y, int num, int digits)
744{ 744{
745 int i; 745 int i;
746 int d; 746 int d;
@@ -770,13 +770,13 @@ static inline void draw_score(void)
770} 770}
771 771
772 772
773void draw_level(void) 773static void draw_level(void)
774{ 774{
775 draw_number(LEVEL_X + 2 * NUM_SPACING, PLAYFIELD_Y + 2, level, 2); 775 draw_number(LEVEL_X + 2 * NUM_SPACING, PLAYFIELD_Y + 2, level, 2);
776} 776}
777 777
778 778
779void draw_lives(void) 779static void draw_lives(void)
780{ 780{
781 int i; 781 int i;
782 /* Lives num */ 782 /* Lives num */
@@ -872,7 +872,7 @@ static inline bool next_alien(void)
872 * Set curr_alien to first alive. 872 * Set curr_alien to first alive.
873 * Return false if no-one is left alive. 873 * Return false if no-one is left alive.
874 */ 874 */
875bool first_alien(void) 875static bool first_alien(void)
876{ 876{
877 int i, y; 877 int i, y;
878 878
@@ -892,7 +892,7 @@ bool first_alien(void)
892} 892}
893 893
894 894
895bool move_aliens(void) 895static bool move_aliens(void)
896{ 896{
897 int x, y, old_x, old_y; 897 int x, y, old_x, old_y;
898 898
@@ -1023,7 +1023,7 @@ static inline void fire_alpha(int xc, int yc, fb_data color)
1023} 1023}
1024 1024
1025 1025
1026void move_fire(void) 1026static void move_fire(void)
1027{ 1027{
1028 bool hit_green = false; 1028 bool hit_green = false;
1029 bool hit_white = false; 1029 bool hit_white = false;
@@ -1244,7 +1244,7 @@ static inline void draw_bomb(int i)
1244} 1244}
1245 1245
1246 1246
1247void move_bombs(void) 1247static void move_bombs(void)
1248{ 1248{
1249 int i, j, bomber; 1249 int i, j, bomber;
1250 bool abort; 1250 bool abort;
@@ -1410,7 +1410,7 @@ static inline void move_ship(void)
1410 1410
1411 1411
1412/* Unidentified Flying Object */ 1412/* Unidentified Flying Object */
1413void move_ufo(void) 1413static void move_ufo(void)
1414{ 1414{
1415 static int ufo_speed; 1415 static int ufo_speed;
1416 static int counter; 1416 static int counter;
@@ -1483,7 +1483,7 @@ void move_ufo(void)
1483} 1483}
1484 1484
1485 1485
1486void draw_background(void) 1486static void draw_background(void)
1487{ 1487{
1488 1488
1489 rb->lcd_bitmap(invadrox_background, 0, 0, LCD_WIDTH, LCD_HEIGHT); 1489 rb->lcd_bitmap(invadrox_background, 0, 0, LCD_WIDTH, LCD_HEIGHT);
@@ -1491,7 +1491,7 @@ void draw_background(void)
1491} 1491}
1492 1492
1493 1493
1494void new_level(void) 1494static void new_level(void)
1495{ 1495{
1496 int i; 1496 int i;
1497 1497
@@ -1604,7 +1604,7 @@ void new_level(void)
1604} 1604}
1605 1605
1606 1606
1607void init_invadrox(void) 1607static void init_invadrox(void)
1608{ 1608{
1609 int i; 1609 int i;
1610 1610
@@ -1756,7 +1756,7 @@ check_usb:
1756} 1756}
1757 1757
1758 1758
1759void game_loop(void) 1759static void game_loop(void)
1760{ 1760{
1761 int i, end; 1761 int i, end;
1762 1762