/***************************************************************************
 *
 * ball.c
 *
 ***************************************************************************
 *
 *
 *
 ***************************************************************************/

#ifndef BALLROT_H_INCLUDED
#define BALLROT_H_INCLUDED

/*
 * includes
 */

/*
 * defines
 */

#define BALL_FLIP_X		1
#define BALL_FLIP_Y		2

/*
 * typedefs
 */

/*
 * structures
 */

/*
 * globals
 */

extern unsigned char ***ballMap;

/*
 * function prototypes
 */

extern void BallRotOpen(void);
extern void BallRotClose(void);
extern int  BallRotGetId(long *mat,int *flg,long *rollMat);
extern void BallRotRender(int x,int y,int z,long *mat,Gfx **dl,dyn *d);

#endif
