typedef struct
{
    unsigned long long int width,height;
    long long int handle_x,handle_y;
    GLuint texture;
    SDL_Surface *surface;
    GLuint mask;
} Image;

void bb_fatal_error(char *msg);

typedef struct
{
    long long int width,height;
    long long int width_frames,height_frames;
    long long int handle_x,handle_y;
    GLuint *textures;
    SDL_Surface *surface;
    GLuint mask_color;
    unsigned long long int **masks;
    unsigned long long int mask_width;
    unsigned long long int mask_height;
} Image;

void bb_fatal_error(char *msg);

Change definition of Image struct so all width/height fields are signed integers. Add fields to Image struct that deal with collision masking.
Change definition of Image struct so all width/height fields are signed integers.
Add fields to Image struct that deal with collision masking.
