Initial import.
[neverball] / share / image.h
1 #ifndef IMAGE_H
2 #define IMAGE_H
3
4 #include <SDL.h>
5 #include <SDL_ttf.h>
6
7 #include "glext.h"
8
9 /*---------------------------------------------------------------------------*/
10
11 void   image_snap(char *);
12 void   image_size(int *, int *, int, int);
13
14 void         image_swab (SDL_Surface *);
15 void         image_white(SDL_Surface *);
16 SDL_Surface *image_scale(SDL_Surface *, int);
17
18 GLuint make_image_from_surf(int *, int *, SDL_Surface *);
19 GLuint make_image_from_file(int *, int *,
20                             int *, int *, const char *);
21 GLuint make_image_from_font(int *, int *,
22                             int *, int *, const char *, TTF_Font *, int);
23
24 /*---------------------------------------------------------------------------*/
25
26 #endif