(svn r21207) -Codechange: replace the magic 0x00DE constant with something less magic

This commit is contained in:
rubidium
2010-11-16 12:35:16 +00:00
parent b00858473c
commit e84c52e662
2 changed files with 6 additions and 2 deletions

View File

@@ -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);