git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9795 c06c8d41-db1a-0410-9941-cceddc491573
KXOOY4E74FMK2WJRLLLZXHHVMTIQIUQHKXEYB73P7F5TKA52Q6QQC
JQK4F4RTKVQWIF5YKFPH7IHF7UREBOY2NOFQ7J3O44KYPCNHNL5AC
7NDXS36TE7QVXTXJWMYSVG5UHCCLPIO4VL6NXFGTDK3ZNKE3A2IAC
HYS3HXTXATFPN7GLN3WBGDCP22UT2D3JBVUS7SP5FE7L54TDCJRQC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
QSRRV725GCNDOMIDS36NYAA65MOLDMAZSENVSZ3PNOLBFSGHH7BQC
NY5JJY33IHF5EKTLPDFVYTN3PFNKV4A3MAH5MRQ3AWH53L2HFIQQC
snprintf(buf, sizeof buf, "Str %2d", you.strength);
{
if (you.duration[DUR_DIVINE_STAMINA] || you.duration[DUR_MIGHT])
{
snprintf(buf, sizeof buf, "Str <lightblue>%2d</lightblue>",
you.strength);
}
else
snprintf(buf, sizeof buf, "Str %2d", you.strength);
}
snprintf(buf, sizeof buf, "Str <yellow>%2d</yellow> (%d)",
you.strength, you.max_strength);
if (you.duration[DUR_DIVINE_STAMINA] || you.duration[DUR_MIGHT])
{
snprintf(buf, sizeof buf, "Str <lightblue>%2d (%d)</lightblue>",
you.strength, you.max_strength);
}
else
snprintf(buf, sizeof buf, "Str <yellow>%2d</yellow> (%d)",
you.strength, you.max_strength);
snprintf(buf, sizeof buf, "Int <yellow>%2d</yellow> (%d)",
you.intel, you.max_intel);
if (you.duration[DUR_DIVINE_STAMINA])
{
snprintf(buf, sizeof buf, "Int <lightblue>%2d (%d)</lightblue>",
you.intel, you.max_intel);
}
else
snprintf(buf, sizeof buf, "Int <yellow>%2d</yellow> (%d)",
you.intel, you.max_intel);
snprintf(buf, sizeof buf, "Dex <yellow>%2d</yellow> (%d)",
you.dex, you.max_dex);
if (you.duration[DUR_DIVINE_STAMINA])
{
snprintf(buf, sizeof buf, "Dex <lightblue>%2d (%d)</lightblue>",
you.dex, you.max_dex);
}
else
snprintf(buf, sizeof buf, "Dex <yellow>%2d</yellow> (%d)",
you.dex, you.max_dex);