Get Windows compilation partially working

This commit is contained in:
Elnu 2022-03-11 21:25:04 -08:00
parent e18094174f
commit 38bd97148a
11 changed files with 89 additions and 36 deletions

View file

@ -1,13 +1,13 @@
#pragma once
#include <TileType.hpp>
#include "TileType.hpp"
#include <vector>
class BlockType {
public:
TileType* tile_type;
std::vector<std::vector<bool>> grid;
uint width, height, starting_line;
unsigned int width, height, starting_line;
bool rotate;
BlockType(TileType* _tile_type, const std::vector<std::vector<bool>> _grid, bool _rotate = true);

View file

@ -12,7 +12,7 @@ class NumberRenderer {
sf::IntRect _comma_rect,
std::initializer_list<sf::IntRect> _numeral_rects
);
void render(sf::RenderWindow* window, uint number, int x, int y);
void render(sf::RenderWindow* window, unsigned int number, int x, int y);
private:
sf::Sprite sprite;
};

View file

@ -2,7 +2,7 @@
#include <SFML/Graphics/Rect.hpp>
#include <Config.hpp>
#include "Config.hpp"
class TileType {
public: