/* * graphics.h * * Graphics functions. * */ #include "SDL.h" #import "config.h" #import "camera.h" // Graphics state. typedef struct { SDL_Surface *screen; camera *cam; } graphics; // Initialize the graphics sytem. graphics *new_graphics(graphics_settings settings); // Clear the screen in preparation for drawing. void clear_screen();