X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwinboard.h;h=e2e41828992ea8f4cb2d3b7040743b81f3c60036;hb=6a4ae36fae56e66f3fd0517a249db2bc4f7118f9;hp=932ae6696590e4d429388e722dbda4ea5e35aedc;hpb=5654074cc0c4862da48eab55d7793803253dfa9c;p=xboard.git diff --git a/winboard/winboard.h b/winboard/winboard.h index 932ae66..e2e4182 100644 --- a/winboard/winboard.h +++ b/winboard/winboard.h @@ -5,7 +5,7 @@ * Massachusetts. * * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, - * 2007, 2008, 2009, 2010 Free Software Foundation, Inc. + * 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. * * Enhancements Copyright 2005 Alessandro Scotti * @@ -85,6 +85,7 @@ typedef struct { typedef struct { char* name; void* data; + int flag; // [HGM] needed to indicate if data was malloc'ed or not } MySound; typedef struct { @@ -131,8 +132,11 @@ VOID ParseFontName(char *name, MyFontParams *mfp); void InitComboStrings(HANDLE hwndCombo, char **cd); BOOLEAN MyLoadSound(MySound *ms); BOOLEAN MyPlaySound(MySound *ms); -VOID ExitArgError(char *msg, char *badArg); +VOID ExitArgError(char *msg, char *badArg, Boolean quit); void SaveSettings(char* name); +BOOL BrowseForFolder( const char * title, char * path ); +VOID TourneyPopup(); +VOID LoadEnginePopUp(); /* Constants */ @@ -149,8 +153,6 @@ void SaveSettings(char* name); /* It's gross that these are needed. */ #define ACTION_POS 4 /* Posn of "Action" on menu bar */ #define OPTIONS_POS 6 /* Posn of "Options" on menu bar */ -#define ICS_POS 12 /* Posn of "ICS " on Options menu */ -#define SOUNDS_POS 11 /* Posn of "Sounds" on Options menu */ /* end grossness */ extern MyFont *font[NUM_SIZES][NUM_FONTS];