Get Windows compilation partially working
This commit is contained in:
parent
e18094174f
commit
38bd97148a
11 changed files with 89 additions and 36 deletions
|
@ -7,9 +7,9 @@ BlockType::BlockType(TileType* _tile_type, const std::vector<std::vector<bool>>
|
|||
// Used for alignment in "next block" area
|
||||
width = 0;
|
||||
starting_line = 0;
|
||||
for (uint y = 0; y < grid.size(); y++) {
|
||||
for (unsigned int y = 0; y < grid.size(); y++) {
|
||||
bool has_content = false;
|
||||
for (uint x = 0; x < grid[y].size(); x++) {
|
||||
for (unsigned int x = 0; x < grid[y].size(); x++) {
|
||||
if (grid[y][x]) {
|
||||
width = std::max({width, x + 1});
|
||||
has_content = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue