v2.5.0: renamed badges scene to journal scene

This commit is contained in:
Evan Debenham
2024-07-04 17:33:16 -04:00
parent ebaace5f94
commit 53139c9e5c
3 changed files with 11 additions and 11 deletions

View File

@@ -15,7 +15,7 @@ scenes.amuletscene.exit=Let's call it a day
scenes.amuletscene.stay=I'm not done yet
scenes.amuletscene.text=You finally hold it in your hands, the Amulet of Yendor! With the power of this amulet nothing will be able to stand in your way! You have conquered the dungeon and succeeded in your quest!\n\nOr, perhaps you're not ready yet? You can also decide to just hold onto the amulet, stay a mere mortal a little longer, and perhaps leave the dungeon the old fashioned way...
scenes.badgesscene.title=Your Badges
scenes.badgesscene.title=Journal
scenes.changesscene.title=Change History
scenes.changesscene.new=New Content

View File

@@ -40,7 +40,7 @@ import com.watabou.noosa.Camera;
import com.watabou.noosa.NinePatch;
import com.watabou.noosa.audio.Music;
public class BadgesScene extends PixelScene {
public class JournalScene extends PixelScene {
public static final int WIDTH_P = 126;
public static final int WIDTH_L = 216;

View File

@@ -148,13 +148,13 @@ public class TitleScene extends PixelScene {
add(btnRankings);
Dungeon.daily = Dungeon.dailyReplay = false;
StyledButton btnBadges = new StyledButton(GREY_TR, Messages.get(this, "badges")){
StyledButton btnBadges = new StyledButton(GREY_TR, "Journal"){
@Override
protected void onClick() {
ShatteredPixelDungeon.switchNoFade( BadgesScene.class );
ShatteredPixelDungeon.switchNoFade( JournalScene.class );
}
};
btnBadges.icon(Icons.get(Icons.BADGES));
btnBadges.icon(Icons.get(Icons.JOURNAL));
add(btnBadges);
StyledButton btnNews = new NewsButton(GREY_TR, Messages.get(this, "news"));
@@ -187,11 +187,11 @@ public class TitleScene extends PixelScene {
align(btnPlay);
btnSupport.setRect(btnPlay.right()+2, btnPlay.top(), btnPlay.width(), BTN_HEIGHT);
btnRankings.setRect(btnPlay.left(), btnPlay.bottom()+ GAP, (btnPlay.width()*.67f)-1, BTN_HEIGHT);
btnBadges.setRect(btnRankings.left(), btnRankings.bottom()+GAP, btnRankings.width(), BTN_HEIGHT);
btnNews.setRect(btnRankings.right()+2, btnRankings.top(), btnRankings.width(), BTN_HEIGHT);
btnChanges.setRect(btnNews.left(), btnNews.bottom() + GAP, btnRankings.width(), BTN_HEIGHT);
btnSettings.setRect(btnNews.right()+2, btnNews.top(), btnRankings.width(), BTN_HEIGHT);
btnAbout.setRect(btnSettings.left(), btnSettings.bottom() + GAP, btnRankings.width(), BTN_HEIGHT);
btnBadges.setRect(btnRankings.right()+2, btnRankings.top(), btnRankings.width(), BTN_HEIGHT);
btnNews.setRect(btnBadges.right()+2, btnBadges.top(), btnRankings.width(), BTN_HEIGHT);
btnSettings.setRect(btnRankings.left(), btnRankings.bottom() + GAP, btnRankings.width(), BTN_HEIGHT);
btnChanges.setRect(btnSettings.right()+2, btnSettings.top(), btnRankings.width(), BTN_HEIGHT);
btnAbout.setRect(btnChanges.right()+2, btnSettings.top(), btnRankings.width(), BTN_HEIGHT);
} else {
btnPlay.setRect(title.x, topRegion+GAP, title.width(), BTN_HEIGHT);
align(btnPlay);
@@ -219,7 +219,7 @@ public class TitleScene extends PixelScene {
fadeIn();
}
private void placeTorch( float x, float y ) {
Fireball fb = new Fireball();
fb.setPos( x, y );