rayzor
view src/gfx.h @ 17:79609d482762
the renderer renders, also fixed an unnoticed matrix conversion problem between scenegraph and min3d
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 14 Apr 2014 07:34:45 +0300 |
parents | 2a5340a6eee4 |
children |
line source
1 #ifndef GFX_H_
2 #define GFX_H_
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 void *set_video_mode(int xsz, int ysz, int bpp);
9 int set_text_mode(void);
11 int get_color_depth(void);
12 int get_color_bits(int *rbits, int *gbits, int *bbits);
13 int get_color_shift(int *rshift, int *gshift, int *bshift);
14 int get_color_mask(unsigned int *rmask, unsigned int *gmask, unsigned int *bmask);
16 void set_palette(int idx, int r, int g, int b);
18 void wait_vsync(void);
20 #ifdef __cplusplus
21 }
22 #endif
24 #endif /* GFX_H_ */