/* '='='=' '@' '='='='='='='='='=' '@' '='='='='='='='='=' '@' '='='='| */
/* ='='=' '@'@' '='='='='='='='=' '@'@' '='='='='='='='=' '@'@' '='='=| */
/* '='=' '@':'@' '='='='='='='=' '@':'@' '='='='='='='=' '@':'@' '='='| */
/* ='=' '@':':'@' '='='='='='=' '@':':'@' '='='='='='=' '@':':'@' '='=| */
/* '=' '@':':':'@' '='='='='=' '@':':':'@' '='='='='=' '@':':':'@' '='| */
/* =' '@':':':':'@' '='='='=' '@':':':':'@' '='='='=' '@':':':':'@' '=| */
/* ' '@':'                                                       '@' '| */
/*  '@'         3rd Year Project - ROY SCHESTOWITZ - 2002          @' | */
/* '@                                                               @'| */
/* @':':':':':':':':'@' ' '@':':':':':':':':'@' ' '@':':':':':':':':'@| */
/* ':':':':':':':':':'@' '@':':':':':':':':':'@' '@':':':':':':':':':'| */
/* :':':':':':':':':':'@'@':':':':':':':':':':'@'@':':':':':':':':':':| */
/* ':':':': : :':':':':'@':':':':': : :':':':':'@':':':':': : :':':':'| */
/*  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
/*              Name:           loaders.h                               */
/*              Version:        0.6.6                                   */
/*              Date:           12/2/2003                               */
/*                                                                      */
/*              Prototypes for misc. functions that load data           */
/*                                                                      */
/*  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */



/************************************************************************/
/**********************  INCLUDES  **************************************/
/************************************************************************/


/************************************************************************/
/**********************  DEFINES  ***************************************/
/************************************************************************/

#define LOAD_BLK_LENGTH 128	/* size of buffer to read data from file         */
#define SAVED_FILE_SIZE 110	/* the expected size of the saved or loaded file */
#define GAME_SAVE_HEADER 7373	/* the header describing an Othello Master game  */
#define GAME_SAVE_VERSION 140	/* the identifying number for the version of     */
				/* the saved game format                         */
#define OPENING_LIB_LENGTH 6800	/* size of opening library buffer                */
				/* holds up to 100 entries                       */

/************************************************************************/
/**********************  DATA STRUCTURES  *******************************/
/************************************************************************/


/************************************************************************/
/**********************  PROTOTYPES  ************************************/
/************************************************************************/

GLubyte *glmReadPPM ( char *filename, int *width, int *height );
int save_game ( int );
int load_game ( int );
int load_game_from_filename ( char *filename );
int save_game_to_filename ( char *filename );
int load_opening_library_file ( char *filename );


/*                                                                      */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  */
/*                     end of loaders.h                                 */
/************************************************************************/

