Textures work

This commit is contained in:
Ben Kyd
2019-10-07 12:10:49 +01:00
parent feb895a5d8
commit c55e3ec240
12 changed files with 134 additions and 12 deletions

View File

@@ -1,12 +1,18 @@
#include "block.hpp"
std::vector<std::shared_ptr> BlockAtlas() {
static bool Constructed = false;
#include "../config.hpp"
if (!Constructed) {
// Texture winding order - top, bottom, left, right, front, back
}
// std::vector<std::pair<int, std::string>> TextureIdsAndPaths {
// {1, "dirt.png"},
// {2, "grass_side.png"},
// {3, "grass_top.png"}
// };
std::vector<std::shared_ptr<Block>> BlockAtlas() {
}