30 lines
710 B
C
30 lines
710 B
C
|
#ifndef DEF_MAIN_H
|
||
|
|
||
|
#define DEF_MAIN_H
|
||
|
|
||
|
/* [LIB] Internes
|
||
|
=========================================================*/
|
||
|
#include <iostream>
|
||
|
#include <ctime>
|
||
|
#include <thread>
|
||
|
|
||
|
/* [LIB] Externes
|
||
|
=========================================================*/
|
||
|
#include "xSDL.h" // Librairie perso
|
||
|
|
||
|
/* [NS] Namespace
|
||
|
=========================================================*/
|
||
|
using namespace std;
|
||
|
|
||
|
/* [CONST] Constantes et enumerations
|
||
|
=========================================================*/
|
||
|
#define WIN_WIDTH 1200
|
||
|
#define WIN_HEIGHT 800
|
||
|
|
||
|
#define FPS 60
|
||
|
|
||
|
/* [FONCTIONS] Fonctions du corps
|
||
|
=========================================================*/
|
||
|
void quitEventHandler(SDL_Event *e);
|
||
|
|
||
|
#endif
|