/*
  cubedata.h - 03/04/97
 */

#ifndef CUBEDATA_H
#define CUBEDATA_H

/******************************************/
/* The number of units that x,y and z are */
#define CUBE_SIZE 3

/*********************************/
/* The number of shapes you have */
#define NUM_SHAPES 6


/******************************************************************************
 * Everything's my fault from here on
 *****************************************************************************/

#define CONT_WIDTH  CUBE_SIZE
#define CONT_HEIGHT CUBE_SIZE
#define CONT_DEPTH  CUBE_SIZE

#if CONT_WIDTH < 9
typedef unsigned char ROW;
#elif CONT_WIDTH < 17
typedef unsigned short int ROW;
#elif CONT_WIDTH < 33
typedef unsigned long int ROW;
#elif CONT_WIDTH > 32
#error "This program can't cope with a cube that size!"
#endif

#define ROW_SIZE sizeof(ROW)
#define BITS_PER_ROW (8*ROW_SIZE)

#endif
