diff --git a/source/core/rendering/gif.cpp b/source/core/rendering/gif.cpp index 77846cc..6fac8f2 100644 --- a/source/core/rendering/gif.cpp +++ b/source/core/rendering/gif.cpp @@ -15,7 +15,7 @@ namespace GIF { } // Inicializa el diccionario LZW con los valores iniciales - inline void initializeDictionary(std::vector& dictionary, int code_length, int& dictionary_ind) { // NOLINT(readability-identifier-naming) + inline void initializeDictionary(std::vector& dictionary, int code_length, int& dictionary_ind) { int size = 1 << code_length; dictionary.resize(1 << (code_length + 1)); for (dictionary_ind = 0; dictionary_ind < size; dictionary_ind++) { @@ -55,7 +55,7 @@ namespace GIF { } // Agrega una nueva entrada al diccionario - inline void addDictionaryEntry(std::vector& dictionary, int& dictionary_ind, int& code_length, int prev, int code) { // NOLINT(readability-identifier-naming) + inline void addDictionaryEntry(std::vector& dictionary, int& dictionary_ind, int& code_length, int prev, int code) { uint8_t first_byte; if (code == dictionary_ind) { first_byte = findFirstByte(dictionary, prev); diff --git a/source/core/resources/resource_pack.cpp b/source/core/resources/resource_pack.cpp index 95a8175..5c70feb 100644 --- a/source/core/resources/resource_pack.cpp +++ b/source/core/resources/resource_pack.cpp @@ -21,7 +21,7 @@ namespace Resource { } // XOR encryption (symmetric - same function for encrypt/decrypt) - void Pack::encryptData(std::vector& data, const std::string& key) { // NOLINT(readability-identifier-naming) + void Pack::encryptData(std::vector& data, const std::string& key) { if (key.empty()) { return; } @@ -30,7 +30,7 @@ namespace Resource { } } - void Pack::decryptData(std::vector& data, const std::string& key) { // NOLINT(readability-identifier-naming) + void Pack::decryptData(std::vector& data, const std::string& key) { // XOR is symmetric encryptData(data, key); } @@ -81,7 +81,7 @@ namespace Resource { // Add all files from a directory recursively auto Pack::addDirectory(const std::string& dir_path, const std::string& base_path) -> bool { - namespace fs = std::filesystem; // NOLINT(readability-identifier-naming) + namespace fs = std::filesystem; if (!fs::exists(dir_path) || !fs::is_directory(dir_path)) { std::cerr << "ResourcePack: Directory not found: " << dir_path << '\n'; diff --git a/source/game/editor/map_editor.hpp b/source/game/editor/map_editor.hpp index 31befa6..81e721b 100644 --- a/source/game/editor/map_editor.hpp +++ b/source/game/editor/map_editor.hpp @@ -65,7 +65,7 @@ class MapEditor { void openTilePicker(const std::string& tileset_name, int current_tile); private: - static MapEditor* instance_; // NOLINT(readability-identifier-naming) [SINGLETON] Objeto privado + static MapEditor* instance_; MapEditor(); // Constructor ~MapEditor(); // Destructor diff --git a/source/game/gameplay/enemy_manager.cpp b/source/game/gameplay/enemy_manager.cpp index 70d63fd..6b28e0e 100644 --- a/source/game/gameplay/enemy_manager.cpp +++ b/source/game/gameplay/enemy_manager.cpp @@ -6,7 +6,7 @@ #include "utils/utils.hpp" // Para checkCollision // Añade un enemigo a la colección -void EnemyManager::addEnemy(std::shared_ptr enemy) { // NOLINT(readability-identifier-naming) +void EnemyManager::addEnemy(std::shared_ptr enemy) { enemies_.push_back(std::move(enemy)); } diff --git a/source/game/gameplay/item_manager.cpp b/source/game/gameplay/item_manager.cpp index 10ea9cd..ebbe075 100644 --- a/source/game/gameplay/item_manager.cpp +++ b/source/game/gameplay/item_manager.cpp @@ -14,7 +14,7 @@ ItemManager::ItemManager(std::string room_name, std::shared_ptr item) { // NOLINT(readability-identifier-naming) +void ItemManager::addItem(std::shared_ptr item) { items_.push_back(std::move(item)); }