lab.cpp/SDL#4/xSDL.h

32 lines
797 B
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"
#endif