From 18d6f6e0d8c702bf2098285a8dd3a77247ebcb0d Mon Sep 17 00:00:00 2001 From: Murilo Soares Pereira Date: Fri, 9 Apr 2010 00:58:30 -0300 Subject: [PATCH] Added card's stacks coordinates. --- lib/display.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/lib/display.h b/lib/display.h index 4100c41..f0d1fc6 100644 --- a/lib/display.h +++ b/lib/display.h @@ -14,6 +14,33 @@ #define RED_ON_WHITE 2 #define WHITE_ON_BLUE 3 +#define STOCK_STARTING_X 1 +#define STOCK_STARTING_Y 1 +#define WASTE_PILE_STARTING_X 9 +#define WASTE_PILE_STARTING_Y 1 +#define FOUNDATION_0_STARTING_X 25 +#define FOUNDATION_0_STARTING_Y 1 +#define FOUNDATION_1_STARTING_X 33 +#define FOUNDATION_1_STARTING_Y 1 +#define FOUNDATION_2_STARTING_X 41 +#define FOUNDATION_2_STARTING_Y 1 +#define FOUNDATION_3_STARTING_X 49 +#define FOUNDATION_3_STARTING_Y 1 +#define MANEUVRE_0_STARTING_X 1 +#define MANEUVRE_0_STARTING_Y 7 +#define MANEUVRE_1_STARTING_X 9 +#define MANEUVRE_1_STARTING_Y 7 +#define MANEUVRE_2_STARTING_X 17 +#define MANEUVRE_2_STARTING_Y 7 +#define MANEUVRE_3_STARTING_X 25 +#define MANEUVRE_3_STARTING_Y 7 +#define MANEUVRE_4_STARTING_X 33 +#define MANEUVRE_4_STARTING_Y 7 +#define MANEUVRE_5_STARTING_X 41 +#define MANEUVRE_5_STARTING_Y 7 +#define MANEUVRE_6_STARTING_X 49 +#define MANEUVRE_6_STARTING_Y 7 + void init_curses(); void draw_empty_stacks(); void initialize_game();