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
commit38b8b7848f169db08549b97954fd8810a3d0f3bd (patch)
tree849dd228026826b8163c4b72bee611082a3ffb5f /variables.h
parent4e38703e8cdc63c33b1f70079ac250a0415ce0f8 (diff)
downloadopenttd-38b8b7848f169db08549b97954fd8810a3d0f3bd.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;