mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
fix Slovak makefile for new wordlist
This commit is contained in:
parent
0960ed4963
commit
2a54c9ed20
3 changed files with 7 additions and 6 deletions
|
@ -1262,7 +1262,6 @@ board_setBlankValue( BoardCtxt* board, XP_U16 player, XP_U16 col, XP_U16 row,
|
|||
return draw;
|
||||
}
|
||||
|
||||
|
||||
#ifdef XWFEATURE_MINIWIN
|
||||
/* Find a rectangle either centered on the board or pinned to the point at
|
||||
* which the mouse went down.
|
||||
|
|
|
@ -1362,7 +1362,7 @@ model_packTilesUtil( ModelCtxt* model, PoolContext* pool,
|
|||
/* setup async query for blank value, but while at it return a reasonable
|
||||
default. */
|
||||
Tile
|
||||
model_askBlankTile( ModelCtxt* model, XP_U16 turn, XP_U16 col, XP_U16 row)
|
||||
model_askBlankTile( ModelCtxt* model, XP_U16 turn, XP_U16 col, XP_U16 row )
|
||||
{
|
||||
XP_U16 nUsed = MAX_UNIQUE_TILES;
|
||||
const XP_UCHAR* tfaces[MAX_UNIQUE_TILES];
|
||||
|
@ -1390,7 +1390,8 @@ model_moveTrayToBoard( ModelCtxt* model, XP_S16 turn, XP_U16 col, XP_U16 row,
|
|||
tile = blankFace;
|
||||
} else {
|
||||
XP_ASSERT( turn >= 0 );
|
||||
tile = TILE_BLANK_BIT | model_askBlankTile( model, (XP_U16)turn, col, row );
|
||||
tile = TILE_BLANK_BIT
|
||||
| model_askBlankTile( model, (XP_U16)turn, col, row );
|
||||
}
|
||||
tile |= TILE_BLANK_BIT;
|
||||
}
|
||||
|
|
|
@ -18,16 +18,17 @@
|
|||
XWLANG = Slovak
|
||||
LANGCODE = sk_SK
|
||||
ENC = UTF-8
|
||||
DICTNOTE = "from http://scrabble.hrejsi.cz/pravidla/blex.htm"
|
||||
DICTNOTE = "compiled by a user from Slovak Scrabble Association dictionaries (Slovenský Spolok Scrabble) at www.hramescrabble.sk"
|
||||
|
||||
TARGET_TYPE ?= WINCE
|
||||
|
||||
include ../Makefile.langcommon
|
||||
|
||||
SOURCEDICT ?= $(XWDICTPATH)/Slovak/slovnik_scrabble.dict.gz
|
||||
SOURCEDICT ?= $(XWDICTPATH)/Slovak/Scrabble_SK.dict
|
||||
|
||||
$(XWLANG)Main.dict.gz: $(SOURCEDICT) Makefile
|
||||
zcat $< | tr -d '\r' | \
|
||||
cat $< | tr -d '\r' | \
|
||||
tr [aáäbcčdďeéfghiíjklĺľmnňoôóprŕsštťuúvxyýzž] [AÁÄBCČDĎEÉFGHIÍJKLĹĽMNŇOÔÓPRŔSŠTŤUÚVXYÝZŽ] | \
|
||||
sed 's,.,\U\0,g' | \
|
||||
grep '^[AÁÄBCČDĎEÉFGHIÍJKLĹĽMNŇOÔÓPRŔSŠTŤUÚVXYÝZŽ]*$$' | \
|
||||
gzip -c > $@
|
||||
|
|
Loading…
Reference in a new issue