mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-10 06:44:29 +00:00
Time played display setting
This commit is contained in:
parent
69729046bf
commit
d91f197119
@ -376,9 +376,12 @@ namespace MWGui
|
|||||||
text
|
text
|
||||||
<< mCurrentSlot->mProfile.mInGameTime.mDay << " "
|
<< mCurrentSlot->mProfile.mInGameTime.mDay << " "
|
||||||
<< MWBase::Environment::get().getWorld()->getMonthName(mCurrentSlot->mProfile.mInGameTime.mMonth)
|
<< 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());
|
mInfoText->setCaptionWithReplacing(text.str());
|
||||||
|
|
||||||
|
@ -177,6 +177,8 @@ show owned = 0
|
|||||||
character =
|
character =
|
||||||
# Save when resting
|
# Save when resting
|
||||||
autosave = true
|
autosave = true
|
||||||
|
# display time played
|
||||||
|
timeplayed = false
|
||||||
|
|
||||||
[Windows]
|
[Windows]
|
||||||
inventory x = 0
|
inventory x = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user