diff options
author | peter1138 <peter1138@openttd.org> | 2006-11-16 22:05:33 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-11-16 22:05:33 +0000 |
commit | 1a4f1c8177f7ee351cb0096e3456d055b97dc60a (patch) | |
tree | 4fb6c0fac873efffc85cef437baa70d50d51fdfb /strings.h | |
parent | 40d647ddde652bb8f1c7b4215279cc82d01ca38f (diff) | |
download | openttd-1a4f1c8177f7ee351cb0096e3456d055b97dc60a.tar.xz |
(svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come.
Diffstat (limited to 'strings.h')
-rw-r--r-- | strings.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -3,14 +3,7 @@ #ifndef STRINGS_H #define STRINGS_H -static inline char* InlineString(char* buf, uint16 string) -{ - *buf++ = '\x81'; - *buf++ = string & 0xFF; - *buf++ = string >> 8; - return buf; -} - +char *InlineString(char *buf, uint16 string); char *GetString(char *buffr, uint16 string, const char* last); extern char _userstring[128]; |