Entities are now constructable

Added utility function to display error window
Added textures
Added font
Added a way to choose resources location
This commit is contained in:
trotFunky 2019-06-07 22:20:34 +02:00
parent a775d846d7
commit 06841915f0
17 changed files with 155 additions and 39 deletions

View file

@ -6,12 +6,19 @@
#define PROJECT_MAAT_UTILS_H
#include <cstdint>
#include <string>
#include <SFML/Graphics.hpp>
#include <iostream>
namespace pro_maat
{
static constexpr uint8_t pixelsPerUnit = 20;
static constexpr uint8_t pixelsPerUnit = 25;
static constexpr char levelFolder[] = "resources/";
static constexpr char textureFolder[] = "resources/";
static constexpr char fontFolder[] = "resources/";
void errorWindow(const std::string& error);
}