Example implementation of graphics initialization using SDL graphics environment. More...
Functions | |
void | get_display_information (DISPLAYINFO *di) |
INT16 | sdl_init_expt_graphics () |
void | sdl_close_expt_graphics () |
INT16 | get_input_key (InputEvent *key_input) |
int | writeImage (char *outfilename, IMAGETYPE format, EYEBITMAP *bitmap) |
Variables | |
SDL_Surface * | mainWindow = NULL |
full screen window for all our drawings. | |
Example implementation of graphics initialization using SDL graphics environment.
In this file, we detect display information, initialize graphics or close graphics, write image and save image to disk.