#ifndef DEFINES_H #define DEFINES_H extern "C" { #include #include "SDL/SDL.h" } #ifndef DEBUG_MSG #define DEBUG_MSG// printf #endif #define GAME_BACKGROUND_R (255) #define GAME_BACKGROUND_G (255) #define GAME_BACKGROUND_B (255) #define MESSAGE_TEXT_R (107) #define MESSAGE_TEXT_G (107) #define MESSAGE_TEXT_B (71) #define MESSAGE_BACKGROUND_R (255) #define MESSAGE_BACKGROUND_G (255) #define MESSAGE_BACKGROUND_B (207) int Deal_Min(int a, int b); int Deal_Max(int a, int b); int Deal_NumberOfDigits(int n); void Deal_itoa(int n, char buffer[], int nBufferSize); void draw_rectangle(SDL_Surface* Surface, Uint32 color, Uint16 x, Uint16 y, Uint16 width, Uint16 height, Uint8 lnpx ); #endif