added header files
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#ifndef TEXTURES_HPP
|
||||
#define TEXTURES_HPP
|
||||
|
||||
#include "../../include/raylib-cpp.hpp"
|
||||
#include <vector>
|
||||
|
||||
typedef int ID;
|
||||
|
||||
struct TextureAtlas {
|
||||
std::vector<Texture>atlas;
|
||||
|
||||
Texture GetTexture(ID id);
|
||||
void LoadImage(const char *path);
|
||||
void AddTexture(Texture texture);
|
||||
TextureAtlas();
|
||||
|
||||
|
||||
};
|
||||
|
||||
extern Texture defaultTexture;
|
||||
extern TextureAtlas entityTextures;
|
||||
|
||||
void GenDefaulTexture();
|
||||
|
||||
#endif // !TEXTURES_HPP
|
||||
Reference in New Issue
Block a user