peter1138
f660d48e6a
(svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come.
18 years ago
Darkvater
494c56475f
(svn r6884) -Codechange: Add strict bounds checking in string formatting system.
...
The last parameter should point to the end of the buffer (eg lastof(buf))
Courtesy of Tron.
18 years ago
Darkvater
9f73fce941
(svn r6169) -Codechange: Use GetString() instead of GetStringWithArgs() which should be
...
integral to strings.c
18 years ago
Darkvater
ea0fbc1118
(svn r6158) -Revert r6139 as that breaks strings with cases. Thanks michi_cc
18 years ago
Darkvater
3201dca9ac
(svn r6139) -Codechange: strings are StringID. This should be changed in strings.h as well, but you would need to include openttd.h and that opens a whole new can of worms.
18 years ago
Darkvater
4a58250cb9
(svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
...
- change a lot of byte player types to PlayerID
- beautify header files, same "#endif /* filename */" ending
19 years ago
tron
b62887b973
(svn r2815) Store the currency information in one central place instead of scattering it in several unrelated files
19 years ago
tron
df27c8b2a0
(svn r2718) Forgot one file
19 years ago
tron
647cbd6bdd
(svn r2701) Insert Id tags into all source files
19 years ago
ludde
a419ed0bd4
(svn r2597) Feature: [string system] Support cases.
...
- 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.
20 years ago
ludde
275e2f477a
(svn r2572) - Codechange: [string] Changed string system so it's not as 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.
20 years ago
ludde
20b7c66f7f
(svn r2565) Fix: Remove GetParamInt8, GetParamInt16, GetParamUint16.. they are just confusing and just do the same thing as GetParamInt32
20 years ago
tron
4d55d8a4bd
(svn r2057) Add InlineString() to make _userstring construction a bit cleaner.
20 years ago
tron
e4913f1de8
(svn r1816) Use char instead of byte for string formatting
20 years ago
tron
d3f84347ac
(svn r1813) Declare functions implemented in strings.c in their own shiny new header (though i think some of these function don't belong into strings.c)
20 years ago