The NEW Pong Game V13.2.1
An interesting implemnettaion of the pong game
Loading...
Searching...
No Matches
macros.hpp
Go to the documentation of this file.
1
8#ifndef MACROS_HPP
9#define MACROS_HPP
10
11#include <string>
12
16const int WINDOW_WIDTH = 800;
17const int WINDOW_HEIGHT = 600;
22#define GAME_NAME "The NEW Pong"
23
27#define AI_MODE 1
28#define TWO_PLAYERS_MODE 2
29#define STORYTIME_MODE 3
30#define FUN_MODE 4
31#define GAME_SAVED 5
36#define BALL_TYPE_SELECTION 2
37#define AI_MODE_SELECTION 1
42#define AI_MODE_EASY 0
43#define AI_MODE_NORMAL 1
44#define AI_MODE_HARD 2
49const SDL_Color white = {255, 255, 255, 255};
50const SDL_Color black = {0, 0, 0, 255};
51const SDL_Color yellow = {255, 255, 0, 255};
52const SDL_Color orange = {255, 165, 0, 255};
53const SDL_Color red = {220, 20, 60, 255};
54const SDL_Color green = {34, 139, 34, 255};
55const SDL_Color blue = {0, 0, 255, 255};
56const SDL_Color purple = {128, 0, 128, 255};
58#endif
const SDL_Color red
Definition macros.hpp:53
const SDL_Color yellow
Definition macros.hpp:51
const SDL_Color white
Color constants.
Definition macros.hpp:49
const SDL_Color green
Definition macros.hpp:54
const SDL_Color black
Definition macros.hpp:50
const int WINDOW_WIDTH
Window dimensions constants.
Definition macros.hpp:16
const SDL_Color orange
Definition macros.hpp:52
const SDL_Color purple
Definition macros.hpp:56
const int WINDOW_HEIGHT
Definition macros.hpp:17
const SDL_Color blue
Definition macros.hpp:55