Commit Graph

10 Commits (69ee8a6840e869974ec40ab84dec42f7d5f403ee)

Author SHA1 Message Date
tron 7c67a5e365 (svn r6122) Fix an off-by-two error in r6108: it should be the index for the last element in the array 18 years ago
belugas 473885c615 (svn r6108) -NewGRF Feature: Implement currencies replacment via grf file.
All properties can now be modified i.e:
Introduction date for euro conversion
Currency name, decimal separator, currency symbol (before or after amount)
and the rate compared to the base currency, the british pound
18 years ago
bjarni 3a93c4290b (svn r5964) -Feature: FS#131 Slovenian currency (MeusH) 18 years ago
rubidium 894d9fc12f (svn r5934) -Cleanup: forgot some conversions to Year and to Date
-Cleanup: use _cur_year instead of _date for some (year based) comparisons
-Cleanup: remove a magic number in favour of another (less) magic number
18 years ago
peter1138 28eec97d8f (svn r4487) - Codechange: replace the custom currency magic number 23 with a define 18 years ago
tron f0e3072b6c (svn r2994) Another small hack regarding currencies: add a #define to emulate a variable, that holds the current currency; again this should increase readability 19 years ago
Darkvater 4a58250cb9 (svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
- change a lot of byte player types to PlayerID
- beautify header files, same "#endif /* filename */" ending
19 years ago
tron 3f162fc49a (svn r2830) Move CheckSwitchToEuro() to currency.[ch] and hide the truth about the custom currency behind a #define 19 years ago
tron a1a91eb7f7 (svn r2816) Forgot an Id tag and an #include 19 years ago
tron b62887b973 (svn r2815) Store the currency information in one central place instead of scattering it in several unrelated files 19 years ago