19 lines
324 B
C
19 lines
324 B
C
#pragma once
|
|
|
|
#include "SDL2/SDL.h"
|
|
#include <stdlib.h> /* srand, rand */
|
|
|
|
#define SCREEN_WIDTH 480
|
|
#define SCREEN_HEIGHT 360
|
|
#define NUM_BALLS 100
|
|
#define BALL_SIZE 36
|
|
#define NUM_FRAMES 4
|
|
#define BG_R 96
|
|
#define BG_G 96
|
|
#define BG_B 96
|
|
#define TEXTURE_FILE "resources/soccer_ball.png"
|
|
|
|
struct color_t
|
|
{
|
|
int r, g, b;
|
|
}; |