2
#ifndef __H_GAME_UTILS__
3
#define __H_GAME_UTILS__
8
* This file contains a set of utility functions.
12
* Sets the renderer draw colour to the color inputted, and returns the old
15
SDL_Color game_color_set_draw_color (SDL_Renderer * renderer,
16
const SDL_Color color);
18
SDL_Color game_color_create_color (int r, int g, int b, int a);
20
SDL_Rect game_rect_create_rect (int x, int y, int h, int w);
22
SDL_Rect * game_rect_new (int x, int y, int h, int w);