# Copyright 2002-2006 by Eric House (xwords@eehouse.org).  All rights
# reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

LANGCODE:it
LANGNAME:Italian

# deal with DOS files
LANGFILTER: tr -d '\r'
LANGFILTER: | sed -e 's/[[:lower:]]*/\U&/'
LANGFILTER: | grep -x '[A-IL-VZ]\{2,15\}'
LANGFILTER: | sort -u

D2DARGS: -r -term 10 -nosort

LANGINFO: <p>Italian is treated the same as English but for
LANGINFO: missing letters J, K, W, X and Y.</p>


# High bit means "official".  Next 7 bits are an enum where
# Italian==0xA.  Low byte is padding
XLOC_HEADER:0x8A00

# tile values taken from http://www.gtoal.com/wordgames/details/italian/
<BEGIN_TILES>
{"_"}	  0		   2
'A|a'     1        13
'B|b'     5        3
'C|c'     4        4
'D|d'     5        3
'E|e'     1        13
'F|f'     8        2
'G|g'     5        3
'H|h'     8        2
'I|i'     1        13
'J|j'     1        0
'K|k'     1        0
'L|l'     3        5
'M|m'     3        5
'N|n'     2        6
'O|o'     1        13
'P|p'     5        3
'Q|q'     10       1
'R|r'     2        6
'S|s'     2        6
'T|t'     2        6
'U|u'     3        5
'V|v'     4        4
'W|w'     1        0
'X|x'     1        0
'Y|y'     1        0
'Z|z'     8        2
<END_TILES>
