Remove Windows build things and make adjustments for CMake v3.23.0-rc3

This commit is contained in:
Elnu 2022-03-13 12:24:01 -07:00
parent 477a72195c
commit 074faeb05a
19 changed files with 34 additions and 84 deletions

View file

@ -1,6 +1,6 @@
#pragma once
#include <BlockType.hpp>
#include "BlockType.hpp"
class Block {
public:

View file

@ -7,7 +7,7 @@ class BlockType {
public:
TileType* tile_type;
std::vector<std::vector<bool>> grid;
unsigned int width, height, starting_line;
uint 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, unsigned int number, int x, int y);
void render(sf::RenderWindow* window, uint number, int x, int y);
private:
sf::Sprite sprite;
};