void init_screen(char nb_bit)
this function init gdl and the gpsdk,
parametter must be 8 or 16, it's the color deep
void count_and_draw_fps(void)
this function draw at 10,10 screen pos
the fps, the frame time and the key pressed (only use this function
one time per frame)
short count_fps(void)
this function count and return the frame
per second value (only use this function one time per frame)
void flip_screen(void)
this function flip work and draw buffer
unsigned char *get_gpg(char *filename)
this function write by yenaphe open, alow
memory and load the specified gpg file, return the pointer to
the alowed memory
note : this function can also load .sef
files
|