diff options
author | yexo <yexo@openttd.org> | 2010-12-09 20:57:52 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-12-09 20:57:52 +0000 |
commit | 475ac872c938a2ca4edd33d7992462e44695e363 (patch) | |
tree | 6975160ec922b85e0cc66da593d27dd42cfa2371 /src/strings_func.h | |
parent | 8a194a2b42ee81cbcc448a187b2865abb21107bb (diff) | |
download | openttd-475ac872c938a2ca4edd33d7992462e44695e363.tar.xz |
(svn r21444) -Codechange: compute the type of elements in the argv string array on the fly and compare it with the type set by strgen
Diffstat (limited to 'src/strings_func.h')
-rw-r--r-- | src/strings_func.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/strings_func.h b/src/strings_func.h index ac51f696e..9c4adfb1d 100644 --- a/src/strings_func.h +++ b/src/strings_func.h @@ -13,10 +13,11 @@ #define STRINGS_FUNC_H #include "strings_type.h" +#include "string_type.h" char *InlineString(char *buf, StringID string); char *GetString(char *buffr, StringID string, const char *last); -char *GetStringWithArgs(char *buffr, uint string, int64 *argv, const int64 *argve, const char *last); +char *GetStringWithArgs(char *buffr, uint string, int64 *argv, const int64 *argve, const char *last, WChar *argt = NULL); const char *GetStringPtr(StringID string); void InjectDParam(uint amount); |