po: Fix a mistake in Dutch translation.
[wine.git] / dlls / cards / cards.h
blob40a8d9d0b0bfb88a1aa019fabf177f74abe08bde
1 /*
2 * Cards dll definitions
4 * Copyright (C) 2004 Sami Nopanen
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __CARDS_H__
22 #define __CARDS_H__
24 /* Card suits */
25 #define CARD_SUIT_CLUBS 0
26 #define CARD_SUIT_DIAMONDS 1
27 #define CARD_SUIT_HEARTS 2
28 #define CARD_SUIT_SPADES 3
31 /* 0-51 = normal 52 cards of deck */
32 /* 52 = ghost card mask */
33 /* 53-68 = card backs */
34 #define CARD_FREE_MASK 52
35 #define CARD_BACK_CROSSHATCH 53
36 #define CARD_BACK_WEAVE1 54
37 #define CARD_BACK_WEAVE2 55
38 #define CARD_BACK_ROBOT 56
39 #define CARD_BACK_FLOWERS 57
40 #define CARD_BACK_VINE1 58
41 #define CARD_BACK_VINE2 59
42 #define CARD_BACK_FISH1 60
43 #define CARD_BACK_FISH2 61
44 #define CARD_BACK_SHELLS 62
45 #define CARD_BACK_CASTLE 63
46 #define CARD_BACK_ISLAND 64
47 #define CARD_BACK_CARDHAND 65
48 #define CARD_BACK_UNUSED 66
49 #define CARD_BACK_THE_X 67
50 #define CARD_BACK_THE_O 68
52 #define CARD_MAX 68
54 /* Drawing modes */
55 #define MODE_FACEUP 0
56 #define MODE_FACEDOWN 1
57 #define MODE_HILITE 2
58 #define MODE_GHOST 3
59 #define MODE_REMOVE 4
60 #define MODE_INVISIBLEGHOST 5
61 #define MODE_DECKX 6
62 #define MODE_DECKO 7
64 #define MODEFLAG_DONT_ROUND_CORNERS 0x80000000
66 /* As defined by CARD_SUIT_* */
67 #define SUIT_FROM_CARD(card) (card & 3)
68 /* 0 = ace, ..., 12 = king */
69 #define FACE_FROM_CARD(card) (card >> 2)
71 #endif