diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/scenes/WelcomeScene.java b/src/com/shatteredpixel/shatteredpixeldungeon/scenes/WelcomeScene.java index 3aa153b47..543c73817 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/scenes/WelcomeScene.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/scenes/WelcomeScene.java @@ -8,6 +8,7 @@ import com.shatteredpixel.shatteredpixeldungeon.GamesInProgress; import com.shatteredpixel.shatteredpixeldungeon.ShatteredPixelDungeon; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroClass; import com.shatteredpixel.shatteredpixeldungeon.ui.RedButton; +import com.shatteredpixel.shatteredpixeldungeon.windows.WndChanges; import com.watabou.noosa.BitmapTextMultiline; import com.watabou.noosa.Camera; import com.watabou.noosa.Game; @@ -104,25 +105,22 @@ public class WelcomeScene extends PixelScene { } }; - if (gameversion == 0){ - okay.setRect(text.x, text.y + text.height() + 5, 55, 18); - add(okay); + /* to be added in a later update + okay.setRect(text.x, text.y + text.height() + 5, 55, 18); + add(okay); - RedButton changes = new RedButton("Changes") { - @Override - protected void onClick() { - Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(LNK)); - Game.instance.startActivity(intent); - } - }; + RedButton changes = new RedButton("Changes") { + @Override + protected void onClick() { + parent.add(new WndChanges()); + } + }; - changes.setRect(text.x + 65, text.y + text.height() + 5, 55, 18); - add(changes); + changes.setRect(text.x + 65, text.y + text.height() + 5, 55, 18); + add(changes);*/ - } else { okay.setRect(text.x, text.y + text.height() + 5, 120, 18); add(okay); - } Archs archs = new Archs(); diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndChanges.java b/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndChanges.java index a0a888714..6fc37e06f 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndChanges.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndChanges.java @@ -10,6 +10,7 @@ import com.watabou.noosa.ui.Component; /** * Created by debenhame on 14/10/2014. */ +//TODO: this is completely broken at the moment. Better to get the patch out now, get this done for next update! public class WndChanges extends Window { private static final int WIDTH = 112;