#include <windows.h>
#include <string.h>

long FAR PASCAL _export WndProc(HWND, UINT, UINT, LONG);
BOOL FAR PASCAL _export AboutDlgProc(HWND, UINT, UINT, LONG);
BOOL FAR PASCAL _export HouseRulesDlgProc(HWND, UINT, UINT, LONG);
int  DoDealButton(HWND);
void DoOkButton(HWND);
void RepaintScreen(HDC);

#define APP_NAME          "PAIGOW"
#define APP_WINDOW_TITLE  "PAIGOW++"

//Main Window Dimensions
#define APP_LENGTH   640
#define APP_WIDTH    500

#define PROCESSED_MESSAGE  0

//horizontal position to write description

#define DEALER_FIVE_RIGHT 130
#define PLAYER_FIVE_RIGHT 130

#define BOTHXSPACING 20

#define DONOTCALCULATE 0
#define CALCULATE 1

//This name must exactly match the resource name
#define MENU_NAME "MENU"

extern int debug, setdealer, setplayer;			// debugging variables

struct boxes {
	int left;
	int right;
	int top;
	int bottom;
};

#define BOXXSPACING	90


// Windows Specific

extern char szAppName[];

//For selection boxes

extern int box_status[10];

//Button ID's

#define DEAL_BUTTON_ID  0
#define OK_BUTTON_ID    1

//Menu ID's

#define EXIT_MENU_CHOICE         13
#define HOUSE_RULES_MENU_CHOICE  15
#define STATS_MENU_CHOICE        17
#define ABOUT_MENU_CHOICE        21
#define DEBUG_MENU_CHOICE        22

//Color Macros
#define RGB_RED      RGB(255, 0, 0)
#define RGB_GREEN    RGB(0, 255, 0)
#define RGB_BLUE     RGB(0, 0, 255)

