Get Windows compilation partially working
This commit is contained in:
parent
e18094174f
commit
38bd97148a
11 changed files with 89 additions and 36 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include <SFML/Graphics/Rect.hpp>
|
||||
|
||||
#include <Config.hpp>
|
||||
#include "Config.hpp"
|
||||
|
||||
class TileType {
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue