diff options
author | rubidium <rubidium@openttd.org> | 2011-12-17 18:34:03 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-12-17 18:34:03 +0000 |
commit | 1f083c3ac8961158cf7788a625e1786960d590d4 (patch) | |
tree | f7c33084901af698c52c51c72c9009d5f5e5711e /src/strgen/strgen.h | |
parent | c97b2a5224e350380e5f31b0612bf057d1a689ab (diff) | |
download | openttd-1f083c3ac8961158cf7788a625e1786960d590d4.tar.xz |
(svn r23576) -Codechange: split the base of strgen with the strgen code that creates the actual .lng files
Diffstat (limited to 'src/strgen/strgen.h')
-rw-r--r-- | src/strgen/strgen.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/strgen/strgen.h b/src/strgen/strgen.h index 80737f6eb..b3584ab5f 100644 --- a/src/strgen/strgen.h +++ b/src/strgen/strgen.h @@ -138,4 +138,14 @@ struct LanguageWriter { void WriteLang(const StringData &data); }; +void CDECL strgen_warning(const char *s, ...) WARN_FORMAT(1, 2); +void CDECL strgen_error(const char *s, ...) WARN_FORMAT(1, 2); +void NORETURN CDECL strgen_fatal(const char *s, ...) WARN_FORMAT(1, 2); +char *ParseWord(char **buf); + +extern const char *_file; +extern int _cur_line; +extern int _errors, _warnings, _show_todo; +extern LanguagePackHeader _lang; + #endif /* STRGEN_H */ |