4 Super Tux - Screen Functions
7 bill@newbreedsoftware.com
8 http://www.newbreedsoftware.com/supertux/
10 April 11, 2000 - February 1, 2004
13 #ifndef SUPERTUX_SCREEN_H
14 #define SUPERTUX_SCREEN_H
18 #include <SDL_opengl.h>
25 #define IGNORE_ALPHA 1
27 void load_and_display_image(char * file);
28 void clearscreen(int r, int g, int b);
29 void fillrect(float x, float y, float w, float h, int r, int g, int b, int a);
30 void updatescreen(void);
31 void flipscreen(void);
32 SDL_Surface * load_image(char * file, int use_alpha);
33 void erasetext(char * text, int x, int y, texture_type * surf, int update, int shadowsize);
34 void erasecenteredtext(char * text, int y, texture_type * surf, int update, int shadowsize);
35 void update_rect(SDL_Surface *scr, Sint32 x, Sint32 y, Sint32 w, Sint32 h);
37 #endif /*SUPERTUX_SCREEN_H*/