V0.2.1b: backed out of changes window, for now
This commit is contained in:
parent
3a69679a71
commit
21da2b392a
|
@ -8,6 +8,7 @@ import com.shatteredpixel.shatteredpixeldungeon.GamesInProgress;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.ShatteredPixelDungeon;
|
import com.shatteredpixel.shatteredpixeldungeon.ShatteredPixelDungeon;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroClass;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroClass;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.ui.RedButton;
|
import com.shatteredpixel.shatteredpixeldungeon.ui.RedButton;
|
||||||
|
import com.shatteredpixel.shatteredpixeldungeon.windows.WndChanges;
|
||||||
import com.watabou.noosa.BitmapTextMultiline;
|
import com.watabou.noosa.BitmapTextMultiline;
|
||||||
import com.watabou.noosa.Camera;
|
import com.watabou.noosa.Camera;
|
||||||
import com.watabou.noosa.Game;
|
import com.watabou.noosa.Game;
|
||||||
|
@ -104,25 +105,22 @@ public class WelcomeScene extends PixelScene {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
if (gameversion == 0){
|
/* to be added in a later update
|
||||||
okay.setRect(text.x, text.y + text.height() + 5, 55, 18);
|
okay.setRect(text.x, text.y + text.height() + 5, 55, 18);
|
||||||
add(okay);
|
add(okay);
|
||||||
|
|
||||||
RedButton changes = new RedButton("Changes") {
|
RedButton changes = new RedButton("Changes") {
|
||||||
@Override
|
@Override
|
||||||
protected void onClick() {
|
protected void onClick() {
|
||||||
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(LNK));
|
parent.add(new WndChanges());
|
||||||
Game.instance.startActivity(intent);
|
}
|
||||||
}
|
};
|
||||||
};
|
|
||||||
|
|
||||||
changes.setRect(text.x + 65, text.y + text.height() + 5, 55, 18);
|
changes.setRect(text.x + 65, text.y + text.height() + 5, 55, 18);
|
||||||
add(changes);
|
add(changes);*/
|
||||||
|
|
||||||
} else {
|
|
||||||
okay.setRect(text.x, text.y + text.height() + 5, 120, 18);
|
okay.setRect(text.x, text.y + text.height() + 5, 120, 18);
|
||||||
add(okay);
|
add(okay);
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Archs archs = new Archs();
|
Archs archs = new Archs();
|
||||||
|
|
|
@ -10,6 +10,7 @@ import com.watabou.noosa.ui.Component;
|
||||||
/**
|
/**
|
||||||
* Created by debenhame on 14/10/2014.
|
* 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 {
|
public class WndChanges extends Window {
|
||||||
|
|
||||||
private static final int WIDTH = 112;
|
private static final int WIDTH = 112;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user