Import from seb-0702.tar.gz
[neverball-archive.git] / src / image.h
blob64ba1cbc12eb43e079f7689c589af4049d56b786
1 /*
2 * Copyright (C) 2003 Robert Kooima
4 * SUPER EMPTY BALL is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
15 #ifndef IMAGE_H
16 #define IMAGE_H
18 #include <SDL/SDL.h>
20 #include "gl.h"
22 /*---------------------------------------------------------------------------*/
24 struct image
26 SDL_Surface *s;
27 GLuint o;
30 int image_load(struct image *, const char *);
31 int image_test(struct image *);
32 void image_free(struct image *);
33 void image_bind(struct image *);
34 void image_rect(struct image *, double, double, double, double, double);
36 /*---------------------------------------------------------------------------*/
38 #endif