/* graphics.h */

/* Handles graphics for Bombz */

#ifndef __graphics_h
#define __graphics_h

/* Load graphics */
void graphics_load(char *filename);

/* A 'graphic' of 16 * 16 pixels */
typedef struct {
  char bytes[256];
} graphic;

/* What each graphic represents */
typedef enum {
  graphic_BLANK,
  graphic_STEEL,
  graphic_BRICK,
  graphic_EARTH,
  graphic_BOMBOFF,
  graphic_BOMBON,
  graphic_DETONATOR,
  graphic_LEFT,
  graphic_RIGHT,
  graphic_UP,
  graphic_DOWN,
  graphic_EXPLO1,
  graphic_EXPLO2,
  graphic_EXPLO3,
  graphic_EXPLO4,
  graphic_EXPLO5,
  graphic_EXPLO6
} graphics_graphics;

/* Where the graphics are stored */
extern graphic *graphics_pool;

#endif
