Time played display setting

This commit is contained in:
Jeffrey Haines 2015-08-19 11:31:43 -04:00
parent 69729046bf
commit d91f197119
2 changed files with 7 additions and 2 deletions

View file

@ -376,9 +376,12 @@ namespace MWGui
text
<< mCurrentSlot->mProfile.mInGameTime.mDay << " "
<< MWBase::Environment::get().getWorld()->getMonthName(mCurrentSlot->mProfile.mInGameTime.mMonth)
<< " " << hour << " " << (pm ? "#{sSaveMenuHelp05}" : "#{sSaveMenuHelp04}")<< "\n";
<< " " << hour << " " << (pm ? "#{sSaveMenuHelp05}" : "#{sSaveMenuHelp04}");
text << "Time played: " << formatTimeplayed((int)floor(mCurrentSlot->mProfile.mTimePlayed));
if (Settings::Manager::getBool("timeplayed","Saves"))
{
text << "\n" << "Time played: " << formatTimeplayed((int)floor(mCurrentSlot->mProfile.mTimePlayed));
}
mInfoText->setCaptionWithReplacing(text.str());

View file

@ -177,6 +177,8 @@ show owned = 0
character =
# Save when resting
autosave = true
# display time played
timeplayed = false
[Windows]
inventory x = 0