summaryrefslogtreecommitdiff
path: root/src/resources/db/unitsdb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-01 01:26:24 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-01 01:26:24 +0300
commitaca306abdee1921d5536fc1e10aea110f599d471 (patch)
tree75d7cce3b9d66193529b8046139e0060bbcaac65 /src/resources/db/unitsdb.h
parent24902ba328260cb496c62e236a644ebb990e3fd4 (diff)
downloadmv-aca306abdee1921d5536fc1e10aea110f599d471.tar.gz
mv-aca306abdee1921d5536fc1e10aea110f599d471.tar.bz2
mv-aca306abdee1921d5536fc1e10aea110f599d471.tar.xz
mv-aca306abdee1921d5536fc1e10aea110f599d471.zip
Use npc currency in buy dialog.
Diffstat (limited to 'src/resources/db/unitsdb.h')
-rw-r--r--src/resources/db/unitsdb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resources/db/unitsdb.h b/src/resources/db/unitsdb.h
index 7a913cc16..689e7a6ad 100644
--- a/src/resources/db/unitsdb.h
+++ b/src/resources/db/unitsdb.h
@@ -48,6 +48,12 @@ class UnitsDb final
static std::string formatCurrency(const int value) A_WARN_UNUSED;
/**
+ * Formats the given number in the correct currency format.
+ */
+ static std::string formatCurrency(std::string name,
+ const int value) A_WARN_UNUSED;
+
+ /**
* Formats the given number in the correct weight/mass format.
*/
static std::string formatWeight(const int value) A_WARN_UNUSED;