From 14e80ca15968476fffdbc64c5dc5edae9145c0d8 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 7 Aug 2005 12:41:57 +0000 Subject: (svn r2830) Move CheckSwitchToEuro() to currency.[ch] and hide the truth about the custom currency behind a #define --- currency.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'currency.h') diff --git a/currency.h b/currency.h index 7c368267d..5b3300773 100644 --- a/currency.h +++ b/currency.h @@ -19,7 +19,11 @@ typedef struct { extern CurrencySpec _currency_specs[]; extern const StringID _currency_string_list[]; +// XXX small hack, but makes the rest of the code a bit nicer to read +#define _custom_currency (_currency_specs[23]) + uint GetMaskOfAllowedCurrencies(void); uint GetCurrentCurrencyRate(void); +void CheckSwitchToEuro(void); #endif -- cgit v1.2.3-54-g00ecf