Refactor xmake.lua and make some warnings as errors
This commit is contained in:
@@ -215,7 +215,8 @@ namespace Nz
|
||||
}
|
||||
else
|
||||
{
|
||||
constexpr std::size_t blockSize = 4 * 1024;
|
||||
// File size isn't know, read it block by block until the end of stream
|
||||
constexpr std::size_t blockSize = 4u * 1024;
|
||||
|
||||
while (!stream.EndOfStream())
|
||||
{
|
||||
|
||||
@@ -82,11 +82,11 @@ namespace Nz
|
||||
};
|
||||
|
||||
mutable std::vector<VertexStruct_XYZ_Color_UV> m_vertices;
|
||||
std::vector<Tile> m_tiles;
|
||||
std::vector<Layer> m_layers;
|
||||
Vector2ui m_mapSize;
|
||||
std::vector<Tile> m_tiles;
|
||||
Vector2f m_origin;
|
||||
Vector2f m_tileSize;
|
||||
Vector2ui m_mapSize;
|
||||
bool m_isometricModeEnabled;
|
||||
mutable bool m_shouldRebuildVertices;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user