lab.cpp/SDL#5/xSDL.h

40 lines
1.0 KiB
C++

#ifndef DEF_XSDL_H
#define DEF_XSDL_H
/* [LIBS] Internes
=========================================================*/
#include "SDL.h"
#include "SDL_image.h"
#include <vector>
#include <mutex>
#include <thread>
#include <cmath>
#include <unistd.h>
/* [DEF] Definitions basiques
=========================================================*/
#define SPRITE_ANIM_ONCE 0x1
#define SPRITE_ANIM_INFINITE 0x10
#define SPRITE_ANIM_REVERSE 0x100
/* [NS] Namespace
=========================================================*/
using namespace std;
/* [HEADERS] Inclusion des .h des sous-libs
=========================================================*/
#include "xSDL/xManager.h"
#include "xSDL/xSprite.h"
#include "xSDL/xSpriteGroup.h"
#include "xSDL/xSpriteAnimation.h"
/* [BODIES] Inclusion des .cpp des sous-libs
=========================================================*/
#include "xSDL/xManager.cpp"
#include "xSDL/xSprite.cpp"
#include "xSDL/xSpriteGroup.cpp"
#include "xSDL/xSpriteAnimation.cpp"
#endif