Commit Graph

13 Commits (4ccdb0686f3b401199efc975e8ce9f75bbcde0d7)

Author SHA1 Message Date
belugas b51d58a44c (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 f9ea48bf3d (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 79971ac119 (svn r6453) -Feature: FS#305 Turkish currency (jnmbk) 18 years ago
tron 1ca21fb8d9 (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 c9b32982fc (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 5513c6997f (svn r5964) -Feature: FS#131 Slovenian currency (MeusH) 18 years ago
rubidium 7cfd3eb618 (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 5ddf986c8d (svn r4487) - Codechange: replace the custom currency magic number 23 with a define 18 years ago
tron 6249dd46ad (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 8e6a911700 (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 14e80ca159 (svn r2830) Move CheckSwitchToEuro() to currency.[ch] and hide the truth about the custom currency behind a #define 19 years ago
tron ddb58492f3 (svn r2816) Forgot an Id tag and an #include 19 years ago
tron baca040df0 (svn r2815) Store the currency information in one central place instead of scattering it in several unrelated files 19 years ago