summaryrefslogtreecommitdiff
path: root/src/strings.cpp
AgeCommit message (Collapse)Author
2011-11-19(svn r23265) -Codechange: replace the setfallbackfont callback function with ↵rubidium
a class to call back
2011-11-17(svn r23242) -Codechange: allow ignoring the sprite font completely when ↵rubidium
checking whether the font supports a language
2011-11-16(svn r23237) -Fix: ignore special characters, such as the train "character", ↵rubidium
when determining a fallback font
2011-10-20(svn r23044) -Codechange: reorder parameter order so we can make use of the ↵yexo
default=0 more often
2011-10-20(svn r23043) -Fix: allow the use of cases only for those cases where strgen ↵yexo
allows them and reset the case_index properly after {DATE} and {DATE_LONG} codes
2011-10-20(svn r23042) -Codechange: make case_index an explicit parameter of ↵yexo
GetStringWithArgs instead of hiding it in the stringid parameter
2011-10-20(svn r23041) -Codechange: rename slightly unclear parameter nameyexo
2011-10-14(svn r23029) -Fix: [NewGRF] support for cases in strings was brokenyexo
2011-10-14(svn r23028) -Fix: when using a gender choice list there was still a value ↵yexo
popped twice from the newgrf textstack
2011-10-12(svn r23027) -Fix: in some cases NewGRF string arguments were popped twice ↵yexo
from the newgrf textstack
2011-09-23(svn r22955) -Fix: guard from reading outside the silly name listrubidium
2011-08-21(svn r22806) -Codechange: store the number of untranslated strings in the ↵rubidium
language file
2011-08-20(svn r22776) -Codechange: Unify the naming of NewGRF string codes; always ↵frosch
include the size of the parameter on the stack. (based on patch by Hirundo)
2011-05-02(svn r22411) -Document: another bunch of bitsrubidium
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