summaryrefslogtreecommitdiff
path: root/src/strings.cpp
AgeCommit message (Collapse)Author
2011-12-10(svn r23474) -Codechange: move the declaration error related functions to ↵rubidium
error.h
2011-12-10(svn r23472) -Fix [FS#4877]: the monospace font broke the bootstrap GUI's ↵rubidium
ability to find a font
2011-11-23(svn r23297) -Add: {CARGO_TINY} (Rubidium)truebrain
2011-11-20(svn r23276) -Codechange: add the answer for the question whether we're ↵rubidium
looking for monospace fonts in the searcher
2011-11-20(svn r23275) -Codechange: allow loading of the monospace (freetype) font at ↵rubidium
another moment than the other fonts
2011-11-20(svn r23273) -Codechange: allow passing a MissingGlyphSearcher to ↵rubidium
CheckForMissingGlyphs (default to the language pack strings)
2011-11-20(svn r23271) -Codechange: don't repeatedly initialise and free the freetype ↵rubidium
library
2011-11-19(svn r23270) -Fix (r23267): compile failure without freetyperubidium
2011-11-19(svn r23269) -Codechange: rename some control/string codes/IDs to be more ↵rubidium
consistent
2011-11-19(svn r23267) -Codechange: unify the font name setting of the font cacherubidium
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