summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2010-04-20 08:16:00 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2010-04-20 08:16:00 +0000
commit5db5de541806fd14f2dcf54a3825fce6792f933e (patch)
tree969c09d7107b04506e23b7947f07b41ef4337840
parent16e89a4aaede40613ca4a3016d48d4548988a90d (diff)
downloadrockbox-5db5de541806fd14f2dcf54a3825fce6792f933e.tar.gz
rockbox-5db5de541806fd14f2dcf54a3825fce6792f933e.zip
Brickmania: No need to init these global variables, as they are set later on
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25686 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/brickmania.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c
index a72ca716c5..9d3fa8602a 100644
--- a/apps/plugins/brickmania.c
+++ b/apps/plugins/brickmania.c
@@ -968,16 +968,16 @@ struct rect
*
*/
-static enum game_state game_state = ST_READY;
+static enum game_state game_state;
static int pad_pos_x;
static int life;
-static int score=0,vscore=0;
-static bool flip_sides=false;
-static int level=0;
-static int brick_on_board=0;
-static int used_balls=1;
-static int used_fires=0;
-static int used_powers=0;
+static int score,vscore;
+static bool flip_sides;
+static int level;
+static int brick_on_board;
+static int used_balls;
+static int used_fires;
+static int used_powers;
static int difficulty = NORMAL;
static int pad_width;
static int flip_sides_delay;