4 Super Tux - Screen Functions
7 bill@newbreedsoftware.com
8 http://www.newbreedsoftware.com/supertux/
10 April 11, 2000 - March 15, 2004
13 #ifndef SUPERTUX_SCREEN_H
14 #define SUPERTUX_SCREEN_H
18 #include <SDL_opengl.h>
22 #define NO_UPDATE false
25 #define IGNORE_ALPHA 1
27 void drawline(int x1, int y1, int x2, int y2, int r, int g, int b, int a);
28 void clearscreen(int r, int g, int b);
29 void drawgradient(int top_r, int top_g, int top_b, int bot_r, int bot_g, int bot_b);
30 void fillrect(float x, float y, float w, float h, int r, int g, int b, int a);
31 void updatescreen(void);
32 void flipscreen(void);
33 void update_rect(SDL_Surface *scr, Sint32 x, Sint32 y, Sint32 w, Sint32 h);
35 #endif /*SUPERTUX_SCREEN_H*/