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

@ -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 (unsigned int y = 0; y < grid.size(); y++) {
for (uint y = 0; y < grid.size(); y++) {
bool has_content = false;
for (unsigned int x = 0; x < grid[y].size(); x++) {
for (uint x = 0; x < grid[y].size(); x++) {
if (grid[y][x]) {
width = std::max({width, x + 1});
has_content = true;