Skip to content

Commit

Permalink
seed related fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jagt committed Sep 21, 2013
1 parent e8b8b42 commit c0cc5bb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion brogue/IO.c
Original file line number Diff line number Diff line change
Expand Up @@ -3422,7 +3422,7 @@ void printHighScores(boolean hiliteMostRecent) {

void printSeed() {
char buf[COLS];
sprintf(buf, "Dungeon seed #%lu; turn #%lu", rogue.seed, rogue.playerTurnNumber);
sprintf(buf, "随机数种子 #%lu; 回合数 #%lu", rogue.seed, rogue.playerTurnNumber);
message(buf, false);
}

Expand Down
2 changes: 1 addition & 1 deletion brogue/Items.c
Original file line number Diff line number Diff line change
Expand Up @@ -1678,7 +1678,7 @@ void itemDetails(char *buf, item *theItem) {
sprintf(buf2, "这件武器的真实力量在你用它杀死%i个敌人后会显现出来。",
theItem->charges);
} else {
sprintf(buf2, "这件装备的真是力量在你穿着它%i回合后会显现出来。",
sprintf(buf2, "这件装备的真实力量在你穿着它%i回合后会显现出来。",
theItem->charges);
}
strcat(buf, buf2);
Expand Down
4 changes: 2 additions & 2 deletions brogue/MainMenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -740,8 +740,8 @@ void mainBrogueJunction() {
} else {
sprintf(seedDefault, "%lu", previousGameSeed);
}
if (getInputTextString(buf, "输入指定的随机数种子来生成地下城:",
log10(ULONG_MAX) + 1,
if (getInputTextString(buf, "输入随机数种子生成地下城:",
log10(ULONG_MAX) + 1 + 6, // pad for header text
seedDefault,
"",
TEXT_INPUT_NUMBERS,
Expand Down

0 comments on commit c0cc5bb

Please sign in to comment.