/* 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 );