Commit Graph

53 Commits (43980639de7bd654a20982830798927b88d195d6)

Author SHA1 Message Date
Patric Stout 68f9925cd4
Codechange: use \u to indicate unicode chars in strings (#8379)
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 :)
4 years ago
Ilayaraja 48d2eb703c
Add: INR currency (#8136)
Co-authored-by: ilayarja97 <ilayarja97@gmail.com>
4 years ago
S. D. Cloudt 13cc8a0cee Cleanup: Removed SVN headers 5 years ago
iigmir 5b09323a58 Add: Currency: NTD, CNY, HKD 5 years ago
Nikolas Nyby 0f9d1019e6 Add: Mexican Peso currency
OpenTTD doesn't have any pesos, so I've added Mexican pesos,
at its current exchange rate: 1GBP = 24.39MXN, rounded to 24.
5 years ago
ScumbagDog 16cf577b61 Feature: Added New Russian Ruble as currency (#6678) 6 years ago
planetmaker 1b5696b50f (svn r26989) -Change [FS#6135]: Introduction of Euro in Lithuania is 2015 (devastator) 10 years ago
rubidium 0463dbdc9e (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 10 years ago
frosch e3947c8019 (svn r26262) -Fix (r25075, r25076): Custom currency was reset on game start. 11 years ago
planetmaker 303ebbb6e4 (svn r25076) -Add [FS#5212]: Georgian Lari and Iranian Rial as currencies 11 years ago
planetmaker fae3cbae9f (svn r25075) -Codechange: Allow for more than 32 currencies 11 years ago
planetmaker c22bbf5293 (svn r25072) -Codechange: Don't require the custom currency to be the last defined one 11 years ago
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
frosch a8c88f43b6 (svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and NewsFlag instead. 12 years ago
michi_cc 6d5f864e25 (svn r24148) -Add [FS#4907]: South Korean and South African currencies. (PaulC) 12 years ago
michi_cc 181de38ae3 (svn r24133) -Add [FS#4984]: Lithuanian currency. (devastator) 12 years ago
smatz 92d6c10b06 (svn r23196) -Fix: GCC 4.7 compilation 13 years ago
rubidium c3427b0e56 (svn r23056) -Change: use the currency -> euro conversion rate for 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 13 years ago
rubidium 8a58b8680c (svn r22813) -Fix [FS#4575]: make naming of currencies more consistent 13 years ago
rubidium 312e525e33 (svn r22812) -Fix: incorrect currency code 13 years ago
rubidium fb5ecb9499 (svn r22411) -Document: another bunch of bits 13 years ago
rubidium 6cf67eff15 (svn r21670) -Fix (prospective): EEK->EUR@2011 14 years ago
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
rubidium 9d29c54b03 (svn r19867) -Change: use non-breaking spaces for currency pre-/postfixes. 14 years ago
rubidium 062dd0e24c (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 14 years ago
rubidium 0971f666eb (svn r18434) -Change [FS#565]: use zł instead of zl for the Polish Zloty. 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 4b2592dbc0 (svn r17062) -Change: unify the naming of some 125 strings 15 years ago
frosch a4557c7da4 (svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted. 15 years ago
rubidium 802d31aab6 (svn r16144) -Fix (r16129): setting the custom digit grouping separator required to restart OpenTTD to take effect. Now also support non 1 ASCII character custom grouping separators. 15 years ago
rubidium ff05dc8446 (svn r16129) -Feature-ish: configurable digit group separator per language with user override. 15 years ago
rubidium 13d6412c22 (svn r16041) -Fix [FS#774]: the currency abbreviation for the Romanian Leu is now RON. 15 years ago
glx ea2c50281e (svn r15762) -Codechange: inlined utf8 chars are not handled properly on eastern version of windows so escape them 15 years ago
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 15 years ago
frosch 27105127f6 (svn r15409) -Update: Currencies
Remove intermediate currency "New Turkish lira".
  Add Euro introduction date for Slovakia.
  Remove Euro introduction date for Hungary.
16 years ago
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 16 years ago
rubidium 11da45ee55 (svn r14949) -Cleanup: pointer coding style 16 years ago
rubidium aa126066b7 (svn r14595) -Add: Estonian currency.
-Change: Slovenia switched to the Euro in 2007.
16 years ago
belugas f2f2bcf23c (svn r14105) -Fix: Some typos that are more grammatical errors, as it seems.
Provided by ln
I've added a little fix on currency.cpp too, why not :)
16 years ago
rubidium 9e811a2f8b (svn r13386) -Fix: global currency/units setting being overriden when loading a savegame. 16 years ago
rubidium 923e21129c (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 16 years ago
rubidium 8c9cc415e3 (svn r13255) -Codechange: move _opt to _settings. 16 years ago
rubidium 76b8970a33 (svn r13100) -Codechange: reduce the amount of parameters passed via AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls. 16 years ago
rubidium d03994098b (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 16 years ago
rubidium eeabab4555 (svn r12459) -Codechange: split news.h into news_type.h and news_func.h. 16 years ago
rubidium dc87b05e8c (svn r11834) -Codechange: only include settings_type.h if needed. 17 years ago
rubidium d4e6a6bf57 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
rubidium b9046c97fb (svn r11702) -Codechange: move all date related stuff to date*. 17 years ago
belugas 683aae8abf (svn r9467) -Fix(FS#703,6108): When resetting the array of currencies, the custom currency was reset too, thus loosing the setting a user could have used for it.(glx) 17 years ago
rubidium 36bb92ae24 (svn r9050) -Codechange: Foo(void) -> Foo() 17 years ago