Remove Windows build things and make adjustments for CMake v3.23.0-rc3
This commit is contained in:
parent
477a72195c
commit
074faeb05a
19 changed files with 34 additions and 84 deletions
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <BlockType.hpp>
|
||||
#include "BlockType.hpp"
|
||||
|
||||
class Block {
|
||||
public:
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue