blob: 7147742bb64fa112b03c39f24cd230cbfe4809b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* This is the official place to get screen height
and width from
*/
extern unsigned long g_width, g_height;
/* Initialise Graphics library
- offscreen points to width * height * 4 bytes of
offscreen memory
- width, height give the dimensions of offscreen
*/
void Gfx_init( void* offscreen, int width, int height );
/* Deinitialise Graphics library
*/
void Gfx_destroy( void );
/* Clear offscreen bitmap
*/
void Gfx_clear( void );
/* Draw one ball to offscreen
- x,y position of ball
- radius size of ball
- r,g,b color of ball [0..255]
*/
void Gfx_kuller( int x, int y, int radius, unsigned long r, unsigned long g, unsigned long b );
|