Fix paths

This commit is contained in:
octorock
2022-12-21 23:40:27 +01:00
parent ec0678872f
commit c280188436
179 changed files with 1080 additions and 1076 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ void DungeonMapAsset::buildToBinary() {
file.close();
auto output_file = util::open_file(buildPath, "w");
char byte = 0;
int byte = 0;
size_t pixels = 0;
for (size_t i = 0; i < static_cast<size_t>(fileSize); i++) {
switch (data[i]) {
+1 -1
View File
@@ -282,7 +282,7 @@ std::unique_ptr<BaseAsset> getAssetHandlerByType(const std::filesystem::path& pa
assetHandler = std::make_unique<PaletteAsset>(path, start, size, asset);
} else if (type == "metatilemap" ||
type == "metatileset_types" || type == "metatileset" ||
type == "map_mapping1" || type == "map_mapping2" || type == "tileset_mapping3" ||
type == "map_mapping1" || type == "map_mapping2" ||
type == "map_collision") {
assetHandler = std::make_unique<MapAsset>(path, start, size, asset);
} else if (type == "dungeon_map") {