#ifndef VIEWPORT_H #define VIEWPORT_H #include struct viewport { Sint16 x; Sint16 y; Uint16 w; Uint16 h; SDL_Surface *screen; }; struct viewport *init_viewport(Uint16 width, Uint16 height, int bpp); #endif