mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-24 15:09:10 +00:00
(svn r2815) Store the currency information in one central place instead of scattering it in several unrelated files
This commit is contained in:
15
variables.h
15
variables.h
@@ -37,21 +37,6 @@ VARDEF GameOptions _opt_newgame;
|
||||
// Pointer to one of the two _opt OR _opt_newgame structs
|
||||
VARDEF GameOptions *_opt_ptr;
|
||||
|
||||
enum {
|
||||
CF_NOEURO = 0,
|
||||
CF_ISEURO = 1,
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
uint16 rate;
|
||||
char separator;
|
||||
uint16 to_euro;
|
||||
char prefix[16];
|
||||
char suffix[16];
|
||||
} CurrencySpec;
|
||||
|
||||
VARDEF CurrencySpec _currency_specs[24];
|
||||
|
||||
// Current date
|
||||
VARDEF uint16 _date;
|
||||
VARDEF uint16 _date_fract;
|
||||
|
Reference in New Issue
Block a user