summaryrefslogtreecommitdiff
path: root/src/strings.cpp
AgeCommit message (Collapse)Author
2011-04-17(svn r22336) -Fix (r22304): {DECIMAL} printed too many thousand separators.frosch
2011-04-09(svn r22304) -Add: {DECIMAL} string code to print decimal fractions.frosch
2011-04-09(svn r22303) -Codechange: Simplify the 'zerofill' parameter of ↵frosch
FormatNumber() and reduce usage of magic numbers.
2011-03-24(svn r22273) -Fix (r22271) [FS#4562]: fix was incorrectyexo
2011-03-22(svn r22271) -Fix (r22258) [FS#4562]: cargo en-route display in station was ↵yexo
broken
2011-03-22(svn r22270) -Codechange: initialize some temporary arrays on the same line ↵yexo
as they're declared so the size doesn't have to be declared manually. Also detect the size of those arrays automatically by using a template
2011-03-18(svn r22258) -Codechange: introduce a wrapper class to clean up the ↵yexo
arguments to FormatString
2011-02-27(svn r22153) -Fix [FS#4536]: The Greek translation didn't work as it ↵rubidium
breached the 200.000 bytes "limit" for loading language files
2011-02-25(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'alberth
2011-02-11(svn r22056) -Fix [FS#4408]: metric and imperial HP are not the same. As ↵rubidium
imperial HP are used internally, set a conversion rate for metric HP -Change: make the imperial HP to kW conversions a bit more precise
2011-02-10(svn r22054) -Codechange: support for rounding the converted units to their ↵rubidium
closest integral value instead of flooring
2011-02-09(svn r22037) -Codechange: remove some unneeded (hidden) castingrubidium
2011-02-09(svn r22036) -Codechange: rename units to match coding style, and give ↵rubidium
conversion variables a more descriptive name
2011-02-09(svn r22035) -Codechange: refactor (display) unit conversion to happen at a ↵rubidium
single place
2011-02-05(svn r21986) -Codechange: Add helper function to test whether an engine is ↵frosch
still associated to a GRF.
2011-01-21(svn r21885) -Fix [FS#4422]: NewGRF string codes 0x80 and 0x81 were broken ↵yexo
since the typechecking of string parameters
2011-01-21(svn r21875) -Codechange: indentation of some comments was wrongsmatz
2011-01-18(svn r21845) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updates [d-m].
2010-12-21(svn r21556) -Fix [FS#4320]: argt wasn't updated when argv was updated due ↵rubidium
to ARG_INDEX, so there was a mismatch between argt's offset and argv's offset causing trouble when getting the gender of a string
2010-12-19(svn r21541) -Add: {DATE_SHORT} and {DATE_LONG} can now have casessmatz
2010-12-09(svn r21446) -Doc: doxygen comments for some functions in strings.cppyexo
2010-12-09(svn r21445) -Fix: [NewGRF] fix gender choice lists in newgrf strings.yexo
Change: strgen no longer writes the type of a string for a gender choice list
2010-12-09(svn r21444) -Codechange: compute the type of elements in the argv string ↵yexo
array on the fly and compare it with the type set by strgen
2010-12-09(svn r21441) -Codechange: check all accesses to the argv array so a bad ↵yexo
NewGRF can 'only' trigger an assert but no longer cause an invalid memory read
2010-12-09(svn r21440) -Codechange: pass a pointer to just past the end of the argv ↵yexo
array around in FormatString and friends
2010-12-08(svn r21435) -Fix: NewGRF strings that referenced a value that was set by a ↵yexo
string command later in the string failed
2010-11-27(svn r21343) -Add: Function that compares strings using case insensitive ↵terkhen
natural sort.
2010-11-27(svn r21342) -Add: Sort some lists again after a language change.terkhen
2010-11-25(svn r21328) -Fix: pass the case id when resolving NewGRF strings as wellrubidium
2010-11-25(svn r21321) -Fix (r21298): use the correct font sizes when checking for ↵glx
missing glyphs
2010-11-23(svn r21298) -Fix [FS#4261]: fonts set in openttd.cfg were not properly ↵glx
checked for missing glyphs on language change
2010-11-20(svn r21273) -Codechange: Return values should start at the same line.alberth
2010-11-17(svn r21222) -Codechange: unify some string drawing and make it use the ↵rubidium
proper infrastructure for that...
2010-11-16(svn r21215) -Codechange: store the plural form in the plural (choice) listsrubidium
2010-11-13(svn r21177) -Codechange: change UniqueLanguageFile into GetLanguagerubidium
2010-11-13(svn r21165) -Codechange: move the case/gender meta data into the language ↵rubidium
metadata struct as well
2010-11-13(svn r21164) -Codechange: replace the hardcoded array of language metadata ↵rubidium
with a list
2010-11-13(svn r21163) -Codechange: pass a LanguageMetadata struct instead of its ↵rubidium
index to ReadLanguagePack, and simplify one of its callers
2010-11-13(svn r21162) -Codechange: move the config "field" for the language file out ↵rubidium
of dynlang
2010-11-13(svn r21161) -Codechange: make the currently used language easier accessiblerubidium
2010-11-13(svn r21160) -Codechange: reuse the strgen LanguageHeader to store some ↵rubidium
metadata about a language, and keep the language metadata in memory instead of loading it several times from disk
2010-11-13(svn r21157) -Codechange: remove information about the text direction out of ↵rubidium
the language "list"
2010-11-10(svn r21134) -Change: perform some more stringent validity checking on the ↵rubidium
language files
2010-11-10(svn r21132) -Codechange: unify the language file version/validity checkingrubidium
2010-11-07(svn r21113) -Codechange: remove the amount of places where the language ↵rubidium
pack identifier magic value is
2010-10-22(svn r21009) -Fix: for the compact notation 1.000.000k and 1.000M would be ↵rubidium
shown depending on the initial (and later rounded) value. Make everything that would round to 1.000.000k be drawn as 1.000M as well.
2010-10-22(svn r21007) -Fix: don't consider the text direction character when ↵rubidium
searching for missing glyphs
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-02(svn r20296) -Fix: Fallback font selection due to missing glyphs did not ↵alberth
work as intended.
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch