summaryrefslogtreecommitdiff
path: root/src/strings_func.h
AgeCommit message (Collapse)Author
2017-02-26(svn r27758) -Change: Increase the maximum number of GameScript texts to ↵frosch
64k, and NewGRF texts to 512k.
2017-02-26(svn r27756) -Codechange: Add StringTab enumfrosch
2017-02-26(svn r27755) -Codechange: Move TAB_SIZE to strings_type.h and use it ↵frosch
consistently.
2017-02-26(svn r27754) -Codechange: Add GetStringTab(), GetStringIndex() and ↵frosch
MakeStringID() to access the structure of StringIDs.
2014-01-12(svn r26238) -Codechange: Use StringParameters::GetDataLeft to check for ↵frosch
left space in the param array.
2014-01-12(svn r26237) -Cleanup: Remove unused SCC_STRING_ID.frosch
2013-06-01(svn r25313) -Fix: Do not assume '8' to be the broadest digit, but test all ↵frosch
of them.
2012-12-08(svn r24801) -Codechange: Add functions to set integral DParams to suitable ↵frosch
values for size computations.
2012-10-14(svn r24593) -Fix [FS#5333]: crash when a gamescript provided too many ↵yexo
parameters to a GSText object
2012-02-14(svn r23945) -Fix: Better rounding when converting internal speed to ↵michi_cc
displayed speed.
2011-12-20(svn r23644) -Fix [FS#4899]: prevent game scripts using StringIDs that are ↵rubidium
not coming from themselves, so the game script doesn't "accidentally" try to display an invalid string or try to display a town name in from an unknown town name generator
2011-12-10(svn r23478) -Codechange: add a method to copy string parameters *and* its ↵rubidium
raw strings
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 r23273) -Codechange: allow passing a MissingGlyphSearcher to ↵rubidium
CheckForMissingGlyphs (default to the language pack strings)
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-10-20(svn r23042) -Codechange: make case_index an explicit parameter of ↵yexo
GetStringWithArgs instead of hiding it in the stringid parameter
2011-04-30(svn r22385) -Fix [FS#4603]: strnatcmp is in string.cpp, so it ought to be ↵rubidium
declared in string_func.h.
2011-04-10(svn r22313) -Cleanup (r22312): Remove some dead code.frosch
2011-03-18(svn r22258) -Codechange: introduce a wrapper class to clean up the ↵yexo
arguments to FormatString
2010-12-22(svn r21593) -Codechange: endif comment correcttions.alberth
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 r21440) -Codechange: pass a pointer to just past the end of the argv ↵yexo
array around in FormatString and friends
2010-11-27(svn r21343) -Add: Function that compares strings using case insensitive ↵terkhen
natural sort.
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 r21157) -Codechange: remove information about the text direction out of ↵rubidium
the language "list"
2009-10-17(svn r17790) -Feature: translatable base sound/graphics set descriptionsrubidium
2009-09-22(svn r17612) -Feature: possibility to choose (randomise or enter custom) ↵smatz
town name before its creation (original patch by Terkhen)
2009-09-19(svn r17579) -Fix: remove doxygen docs for removed parameters, or change ↵rubidium
@param to @tparam if necessary
2009-09-13(svn r17526) -Codechange: use QSortT instead of qsort for sorting the ↵rubidium
language list in the network GUI
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-25(svn r16946) -Doc: Adding docs for some string parameter manipulation functions.alberth
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz
2008-09-28(svn r14410) -Codechange: one can't inject a negative number of parameters, ↵rubidium
so enforce this by using a uint.
2008-07-17(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they ↵rubidium
were printed, otherwise the text could change due to the few number of slots that could be used to bind. -Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
2008-04-19(svn r12782) -Codechange: remove some functions from functions.h and do not ↵rubidium
statically 'waste' memory when the old name array is not needed anymore.
2008-01-29(svn r12015) -Fix [FS#1716] (Revert r11422): Patch in FS#1430 avoided ↵peter1138
instead of fixed the problem. GetStringWithArgs() discards information that SCC_GENDER_LIST needs to work. Now use pointers to retrieve GRF strings, so that GetStringPtr() will work correctly. This is advantageous as now no buffer copy is made when using all GRF strings.
2008-01-17(svn r11896) -Fix (r11886): a missing const broke compilation with MSVCglx
2008-01-17(svn r11886) -Add: sort the strings in languages dropdownglx
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium