added header files

This commit is contained in:
nosch
2025-08-31 03:21:47 +02:00
parent 0a6b44e6af
commit 1695d91cf8
6 changed files with 97 additions and 24 deletions
+25
View File
@@ -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