|
casse-brick latest
Ce projet est réalisé dans le cadre du cours de Programmation Avancée en M1 Informatique de l'université de Strasbourg.
|
#include <SDL2/SDL.h>#include <SDL_image.h>#include <SDL2/SDL_timer.h>#include "WALL.h"#include "platform.h"#include "hexagon.h"#include "grille.h"#include "triangle.h"#include "CollisionManager.h"#include "Ball.h"#include <iostream>#include <memory>Go to the source code of this file.
Macros | |
| #define | WIDTH 800 |
| #define | HEIGHT 600 |
| #define | DELAY 3000 |
Functions | |
| int | main (int argc, char **argv) |
| The main function of the game. | |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
The main function of the game.
This function initializes SDL, sets up the game window and renderer, creates game objects, handles user input, and runs the game loop until the user quits.
| argc | The number of command-line arguments. |
| argv | An array of command-line arguments. |