Skip to content

Commit

Permalink
Move the "New Game" menu entry, so that it's not first and hopefully …
Browse files Browse the repository at this point in the history
…more

difficult to choose by accident.  Update the version number.
  • Loading branch information
pfedor committed Dec 10, 2009
1 parent aad5ac4 commit 62fa35d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.jfedor.frozenbubble"
android:versionCode="4"
android:versionName="1.3">
android:versionCode="5"
android:versionName="1.4">
<uses-sdk android:minSdkVersion="2" />
<application android:label="@string/app_name"
android:icon="@drawable/app_frozen_bubble">
Expand Down
20 changes: 10 additions & 10 deletions src/org/jfedor/frozenbubble/FrozenBubble.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ public class FrozenBubble extends Activity
public final static int GAME_NORMAL = 0;
public final static int GAME_COLORBLIND = 1;

public final static int MENU_NEW_GAME = 1;
public final static int MENU_COLORBLIND_MODE_ON = 2;
public final static int MENU_COLORBLIND_MODE_OFF = 3;
public final static int MENU_FULLSCREEN_ON = 4;
public final static int MENU_FULLSCREEN_OFF = 5;
public final static int MENU_SOUND_ON = 6;
public final static int MENU_SOUND_OFF = 7;
public final static int MENU_DONT_RUSH_ME = 8;
public final static int MENU_RUSH_ME = 9;
public final static int MENU_COLORBLIND_MODE_ON = 1;
public final static int MENU_COLORBLIND_MODE_OFF = 2;
public final static int MENU_FULLSCREEN_ON = 3;
public final static int MENU_FULLSCREEN_OFF = 4;
public final static int MENU_SOUND_ON = 5;
public final static int MENU_SOUND_OFF = 6;
public final static int MENU_DONT_RUSH_ME = 7;
public final static int MENU_RUSH_ME = 8;
public final static int MENU_NEW_GAME = 9;
public final static int MENU_ABOUT = 10;

public final static String PREFS_NAME = "frozenbubble";
Expand All @@ -126,7 +126,6 @@ public class FrozenBubble extends Activity
public boolean onCreateOptionsMenu(Menu menu)
{
super.onCreateOptionsMenu(menu);
menu.add(0, MENU_NEW_GAME, 0, R.string.menu_new_game);
menu.add(0, MENU_COLORBLIND_MODE_ON, 0,
R.string.menu_colorblind_mode_on);
menu.add(0, MENU_COLORBLIND_MODE_OFF, 0,
Expand All @@ -137,6 +136,7 @@ public boolean onCreateOptionsMenu(Menu menu)
menu.add(0, MENU_SOUND_OFF, 0, R.string.menu_sound_off);
menu.add(0, MENU_DONT_RUSH_ME, 0, R.string.menu_dont_rush_me);
menu.add(0, MENU_RUSH_ME, 0, R.string.menu_rush_me);
menu.add(0, MENU_NEW_GAME, 0, R.string.menu_new_game);
menu.add(0, MENU_ABOUT, 0, R.string.menu_about);
return true;
}
Expand Down

0 comments on commit 62fa35d

Please sign in to comment.