summaryrefslogtreecommitdiff
path: root/currency.h
blob: bd13d95fdf9f232f1a918a81a6a642bed5886dfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef CURRENCY_H
#define CURRENCY_H

enum {
	CF_NOEURO = 0,
	CF_ISEURO = 1,
};

typedef struct {
	uint16 rate;
	char separator;
	uint16 to_euro;
	char prefix[16];
	char suffix[16];
} CurrencySpec;

extern CurrencySpec _currency_specs[];
extern const StringID _currency_string_list[];

uint GetMaskOfAllowedCurrencies(void);
uint GetCurrentCurrencyRate(void);

#endif