diff --git a/source/utils/asset.cpp b/source/utils/asset.cpp index 4c2b6bc..daa448a 100644 --- a/source/utils/asset.cpp +++ b/source/utils/asset.cpp @@ -48,7 +48,7 @@ bool Asset::check() printf("\n** Checking files.\n"); // Comprueba la lista de ficheros clasificandolos por tipo - for (int type = 0; type < maxAssetType; ++type) + for (int type = 0; type < t_maxAssetType; ++type) { // Comprueba si hay ficheros de ese tipo bool any = false; @@ -117,39 +117,39 @@ std::string Asset::getTypeName(int type) { switch (type) { - case bitmap: + case t_bitmap: return "BITMAP"; break; - case music: + case t_music: return "MUSIC"; break; - case sound: + case t_sound: return "SOUND"; break; - case font: + case t_font: return "FONT"; break; - case lang: + case t_lang: return "LANG"; break; - case data: + case t_data: return "DATA"; break; - case room: + case t_room: return "ROOM"; break; - case enemy: + case t_enemy: return "ENEMY"; break; - case item: + case t_item: return "ITEM"; break;