summaryrefslogtreecommitdiff
path: root/src/newgrf_text.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-16 12:35:16 +0000
committerrubidium <rubidium@openttd.org>2010-11-16 12:35:16 +0000
commite84c52e6620eed63ad1202a83e0a2e5a1b98fda5 (patch)
treea49279a447428ed087f4814ca938b68173df3b45 /src/newgrf_text.h
parentb00858473c9f4908042fc85c9787c2aad263f9bd (diff)
downloadopenttd-e84c52e6620eed63ad1202a83e0a2e5a1b98fda5.tar.xz
(svn r21207) -Codechange: replace the magic 0x00DE constant with something less magic
Diffstat (limited to 'src/newgrf_text.h')
-rw-r--r--src/newgrf_text.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/newgrf_text.h b/src/newgrf_text.h
index 6f4ed1206..2865bf706 100644
--- a/src/newgrf_text.h
+++ b/src/newgrf_text.h
@@ -12,8 +12,12 @@
#ifndef NEWGRF_TEXT_H
#define NEWGRF_TEXT_H
+#include "string_type.h"
#include "strings_type.h"
+/** This character, the thorn ('รพ'), indicates a unicode string to NFO. */
+static const WChar NFO_UTF8_IDENTIFIER = 0x00DE;
+
StringID AddGRFString(uint32 grfid, uint16 stringid, byte langid, bool new_scheme, const char *text_to_add, StringID def_string);
StringID GetGRFStringID(uint32 grfid, uint16 stringid);
const char *GetGRFStringFromGRFText(const struct GRFText *text);