summaryrefslogtreecommitdiff
path: root/variables.h
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-12-22 13:19:26 +0000
committerdominik <dominik@openttd.org>2004-12-22 13:19:26 +0000
commit4f4fa940d816af32ca9fb34458b3359e53d74f4b (patch)
tree849dd228026826b8163c4b72bee611082a3ffb5f /variables.h
parent46af99b8c0b21cd7bc8f404ba518a268241dfb8b (diff)
downloadopenttd-4f4fa940d816af32ca9fb34458b3359e53d74f4b.tar.xz
(svn r1215) Feature: You can now make a custom currency by chosing "Custom..."
Diffstat (limited to 'variables.h')
-rw-r--r--variables.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/variables.h b/variables.h
index afaa72905..2d9c2ff2c 100644
--- a/variables.h
+++ b/variables.h
@@ -36,6 +36,21 @@ VARDEF GameOptions _opt;
// These are the options for the new game
VARDEF GameOptions _new_opt;
+enum {
+ CF_NOEURO = 0,
+ CF_ISEURO = 1,
+};
+
+typedef struct {
+ uint16 rate;
+ char separator;
+ uint16 to_euro;
+ char pre[16];
+ char post[16];
+} CurrencySpec;
+
+CurrencySpec _currency_specs[24];
+
// Current date
VARDEF uint16 _date;
VARDEF uint16 _date_fract;