-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMeta.cpp
executable file
·39 lines (30 loc) · 1.16 KB
/
Meta.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include "Meta.h"
extern const int S_WIDTH = 800;
extern const int S_HEIGHT = 600;
extern const int FPS = 60;
extern const int CARD_SPRITE_WIDTH = 79;
extern const int CARD_SPRITE_HEIGHT = 123;
extern const int CARD_FACE_DOWN = 0;
extern const int CARD_FACE_UP = 1;
extern const int SUIT_CLUBS = 0;
extern const int SUIT_DIAMONDS = 1;
extern const int SUIT_HEARTS = 2;
extern const int SUIT_SPADES = 3;
extern const int SUIT_BLANK = 4;
extern const int SUIT_RED = 1;
extern const int SUIT_BLACK = 2;
extern const int STATE_ANIMATION = 0;
extern const int STATE_PLAYING = 1;
extern const int STATE_ANIMATION_INITIALIZING_DECK = 0;
extern const int STATE_ANIMATION_RETURN_CARD = 1;
extern const int STATE_ANIMATION_MOVE_AND_FLIP_CARD = 2;
extern const int STATE_ANIMATION_MOVING_CARD = 3;
extern const int STATE_ANIMATION_FLIP_CARD = 4;
extern const int STATE_ANIMATION_FLIP_DECK = 5;
extern const int STATE_ANIMATION_SOLVE_DECK = 6;
extern const float VERT_CARD_SPACING = 22.0f;
extern const float HORZ_CARD_SPACING = 22.0f;
extern const int DECK = 0;
extern const int HOME = 1;
extern const int PLAY_FIELD = 2;
extern const int EMPTY_SPOT = 3;