Files @ r8018:0bb6be7b55d7
Branch filter:

Location: cpp/openttd-patchpack/source/src/table/unicode.h

belugas
(svn r11578) -Codechange: Introduce the window default flag WDF_TEXTENTRY which specifies that the window holding it is actually one that enables an edit box.
Use this flag when dispatching a key event instead of using some hard coded window IDs.
This should ease a little bit the creation of new edit aware windows.
/* $Id$ */


struct DefaultUnicodeMapping {
	WChar code; ///< Unicode value
	byte key;   ///< Character index of sprite
};


/* Default unicode mapping table for sprite based glyphs.
 * This table allows us use unicode characters even though the glyphs don't
 * exist, or are in the wrong place, in the standard sprite fonts.
 * This is not used for FreeType rendering */

static DefaultUnicodeMapping _default_unicode_map[] = {
	{ 0x010D, 0x63 }, /* Small letter c with caron */
	{ 0x0160, 0xA6 }, /* Capital letter s with caron */
	{ 0x0161, 0xA8 }, /* Small letter s with caron */
	{ 0x017E, 0xB8 }, /* Small letter z with caron */
	{ 0x20AC, 0xA4 }, /* Euro symbol */
};