summaryrefslogtreecommitdiff
path: root/strings.h
AgeCommit message (Collapse)Author
2006-11-16(svn r7182) -Feature: Merge utf8 branch. This brings us support for ↵peter1138
Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come.
2006-10-21(svn r6884) -Codechange: Add strict bounds checking in string formatting system.Darkvater
The last parameter should point to the end of the buffer (eg lastof(buf)) Courtesy of Tron.
2006-08-27(svn r6169) -Codechange: Use GetString() instead of GetStringWithArgs() ↵Darkvater
which should be integral to strings.c
2006-08-26(svn r6158) -Revert r6139 as that breaks strings with cases. Thanks michi_ccDarkvater
2006-08-26(svn r6139) -Codechange: strings are StringID. This should be changed in ↵Darkvater
strings.h as well, but you would need to include openttd.h and that opens a whole new can of worms.
2005-09-18(svn r2962) - const correctness for all Get* functions and most Draw* ↵Darkvater
functions that don't change their pointer parameters - change a lot of byte player types to PlayerID - beautify header files, same "#endif /* filename */" ending
2005-08-06(svn r2815) Store the currency information in one central place instead of ↵tron
scattering it in several unrelated files
2005-07-26(svn r2718) Forgot one filetron
2005-07-24(svn r2701) Insert Id tags into all source filestron
2005-07-17(svn r2597) Feature: [string system] Support cases.ludde
- Cases are used to change a string, such as Coal Mine, depending on the surrounding context. - Cases are defined like "STR_4802_COAL_MINE.ack :Coala Mina" - All cases need to be listed on the top of the file like this "##case ack" - When using the string, type {STRING.ack} to choose the "ack" version of Coal mine. - Also combined the strgen arrays into a struct, and fixed a bug with SetXY.
2005-07-15(svn r2572) - Codechange: [string] Changed string system so it's not as ↵ludde
dependent on decode_parameters - Feature: [strgen] Allow changing the order of parameters in translated strings. - Use {1:TOWN} syntax to set the order. - Codechange: [strgen] Rewrote lots of strgen internals.
2005-07-14(svn r2565) Fix: Remove GetParamInt8, GetParamInt16, GetParamUint16.. they ↵ludde
are just confusing and just do the same thing as GetParamInt32
2005-03-25(svn r2057) Add InlineString() to make _userstring construction a bit cleaner.tron
2005-02-06(svn r1816) Use char instead of byte for string formattingtron
2005-02-06(svn r1813) Declare functions implemented in strings.c in their own shiny ↵tron
new header (though i think some of these function don't belong into strings.c)