Tetris/global.hpp

20 lines
416 B
C++
Raw Normal View History

2014-11-07 20:47:50 +01:00
#ifndef GLOBAL_HPP_INCLUDED
#define GLOBAL_HPP_INCLUDED
#include <SDL/SDL.h>
#include <SDL/SDL_ttf.h>
#include <sstream>
#include <cstdio>
#include "resource.hpp"
void drawQuad ( SDL_Surface* screen, short int x, short int y, int color );
void apply_surface ( int x, int y, SDL_Surface * source, SDL_Surface * destination, SDL_Rect * clip = NULL );
SDL_Color make_color ( Uint8 r, Uint8 g, Uint8 b );
#endif