Age | Commit message (Collapse) | Author |
|
Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come.
|
|
The last parameter should point to the end of the buffer (eg lastof(buf))
Courtesy of Tron.
|
|
which should be
integral to strings.c
|
|
|
|
strings.h as well, but you would need to include openttd.h and that opens a whole new can of worms.
|
|
functions that don't change their pointer parameters
- change a lot of byte player types to PlayerID
- beautify header files, same "#endif /* filename */" ending
|
|
scattering it in several unrelated files
|
|
|
|
|
|
- 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.
|
|
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.
|
|
are just confusing and just do the same thing as GetParamInt32
|
|
|
|
|
|
new header (though i think some of these function don't belong into strings.c)
|