diff options
author | ludde <ludde@openttd.org> | 2005-07-17 10:18:23 +0000 |
---|---|---|
committer | ludde <ludde@openttd.org> | 2005-07-17 10:18:23 +0000 |
commit | a419ed0bd4bf3bcc1355646516aceab214293f28 (patch) | |
tree | 580baeafb9253f5b2902966d68b1ff63ebe346fc /strings.h | |
parent | e7fa78d60bb78d3752fd1735d91f36641375c490 (diff) | |
download | openttd-a419ed0bd4bf3bcc1355646516aceab214293f28.tar.xz |
(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.
Diffstat (limited to 'strings.h')
-rw-r--r-- | strings.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ static inline char* InlineString(char* buf, uint16 string) } char *GetString(char *buffr, uint16 string); -char *GetStringWithArgs(char *buffr, uint16 string, const int32 *argv); +char *GetStringWithArgs(char *buffr, uint string, const int32 *argv); void InjectDParam(int amount); int32 GetParamInt32(void); |