From b72e1fb67d529a87e5ed08ae047151d70429248b Mon Sep 17 00:00:00 2001 From: ludde Date: Sun, 17 Jul 2005 10:18:23 +0000 Subject: (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. --- strings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'strings.h') diff --git a/strings.h b/strings.h index beb49735b..e60e50830 100644 --- a/strings.h +++ b/strings.h @@ -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); -- cgit v1.2.3-54-g00ecf