Commit Graph

13 Commits (59555cbfcefeb27805cc7f8c134b0b860eb6a2bc)

Author SHA1 Message Date
belugas aeb7c0916c (svn r6485) -NewGRF Feature: Match the order of TTDPatch's currencies with those used in OTTD.
This will not reorder OTTD's currencies, but will make it so that
currencies affected by a grf will be those aimed by the writer.
18 years ago
belugas d1508bbd6c (svn r6454) -Fix(r6108) : Allow custom currency to display both prefix and suffix
-Codechange : Divide rate of conversion from grf by 1000, to match OTTD internal system
18 years ago
belugas 326e74055e (svn r6453) -Feature: FS#305 Turkish currency (jnmbk) 18 years ago
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