summaryrefslogtreecommitdiff
path: root/src/currency.cpp
AgeCommit message (Collapse)Author
2021-02-19Add: Indonesia Rupiah as in-game currency (#8616)Tegas Aziz
The exchange rate is actually more like 19,000, but OpenTTD doesn't handle such high exchange rates kindly.
2020-12-14Codechange: use \u to indicate unicode chars in strings (#8379)Patric Stout
With \x, we sometimes had to do the "" trick, as the length is not predefined. With C++11 bringing \u to the specs, which has a preset length, we no longer need the "" trick. We set the strings to u8, to ensure all compilers use UTF-8 encoding for the \u characters. This was triggered by newer CLangs, which start to warn if you use "" in the middle of a string, wondering if that was your intention. It is a good question. And this is our answer :)
2020-05-11Add: INR currency (#8136)Ilayaraja
Co-authored-by: ilayarja97 <ilayarja97@gmail.com>
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-06-09Add: Currency: NTD, CNY, HKDiigmir
2019-01-12Add: Mexican Peso currencyNikolas Nyby
OpenTTD doesn't have any pesos, so I've added Mexican pesos, at its current exchange rate: 1GBP = 24.39MXN, rounded to 24.
2018-08-04Feature: Added New Russian Ruble as currency (#6678)ScumbagDog
2014-10-10(svn r26989) -Change [FS#6135]: Introduction of Euro in Lithuania is 2015 ↵planetmaker
(devastator)
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-01-15(svn r26262) -Fix (r25075, r25076): Custom currency was reset on game start.frosch
2013-03-09(svn r25076) -Add [FS#5212]: Georgian Lari and Iranian Rial as currenciesplanetmaker
2013-03-09(svn r25075) -Codechange: Allow for more than 32 currenciesplanetmaker
2013-03-09(svn r25072) -Codechange: Don't require the custom currency to be the last ↵planetmaker
defined one
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-05-26(svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and ↵frosch
NewsFlag instead.
2012-04-17(svn r24148) -Add [FS#4907]: South Korean and South African currencies. (PaulC)michi_cc
2012-04-17(svn r24133) -Add [FS#4984]: Lithuanian currency. (devastator)michi_cc
2011-11-12(svn r23196) -Fix: GCC 4.7 compilationsmatz
2011-10-25(svn r23056) -Change: use the currency -> euro conversion rate for ↵rubidium
currencies that have been replaced with the euro, so when the switch happens the conversion rate at that point is roughly that of the real world conversion rate
2011-08-22(svn r22813) -Fix [FS#4575]: make naming of currencies more consistentrubidium
2011-08-22(svn r22812) -Fix: incorrect currency coderubidium
2011-05-02(svn r22411) -Document: another bunch of bitsrubidium
2010-12-31(svn r21670) -Fix (prospective): EEK->EUR@2011rubidium
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-05-20(svn r19867) -Change: use non-breaking spaces for currency pre-/postfixes.rubidium
2010-05-13(svn r19814) -Codechange: give some more unnamed enums a name, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2009-12-08(svn r18434) -Change [FS#565]: use zł instead of zl for the Polish Zloty.rubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-04(svn r17062) -Change: unify the naming of some 125 stringsrubidium
2009-05-24(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced ↵frosch
vehicles/stations/industries are deleted.
2009-04-25(svn r16144) -Fix (r16129): setting the custom digit grouping separator ↵rubidium
required to restart OpenTTD to take effect. Now also support non 1 ASCII character custom grouping separators.
2009-04-23(svn r16129) -Feature-ish: configurable digit group separator per language ↵rubidium
with user override.
2009-04-12(svn r16041) -Fix [FS#774]: the currency abbreviation for the Romanian Leu ↵rubidium
is now RON.
2009-03-18(svn r15762) -Codechange: inlined utf8 chars are not handled properly on ↵glx
eastern version of windows so escape them
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-02-08(svn r15409) -Update: Currenciesfrosch
Remove intermediate currency "New Turkish lira". Add Euro introduction date for Slovakia. Remove Euro introduction date for Hungary.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2008-11-19(svn r14595) -Add: Estonian currency.rubidium
-Change: Slovenia switched to the Euro in 2007.
2008-08-20(svn r14105) -Fix: Some typos that are more grammatical errors, as it seems.belugas
Provided by ln I've added a little fix on currency.cpp too, why not :)
2008-06-05(svn r13386) -Fix: global currency/units setting being overriden when ↵rubidium
loading a savegame.
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-05-15(svn r13100) -Codechange: reduce the amount of parameters passed via ↵rubidium
AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-03-28(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.rubidium
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-03-25(svn r9467) -Fix(FS#703,6108): When resetting the array of currencies, the ↵belugas
custom currency was reset too, thus loosing the setting a user could have used for it.(glx)