diff --git a/source/manage_hiscore_table.hpp b/source/manage_hiscore_table.hpp index 2e99643..40449fc 100644 --- a/source/manage_hiscore_table.hpp +++ b/source/manage_hiscore_table.hpp @@ -51,9 +51,9 @@ class ManageHiScoreTable { static auto calculateChecksum(const Table& table) -> unsigned int; // Calcula checksum de la tabla // Métodos auxiliares para loadFromFile - auto validateMagicNumber(SDL_IOStream* file, const std::string& file_path) -> bool; - auto validateVersion(SDL_IOStream* file, const std::string& file_path) -> bool; - auto readTableSize(SDL_IOStream* file, const std::string& file_path, int& table_size) -> bool; - auto readEntry(SDL_IOStream* file, const std::string& file_path, int index, HiScoreEntry& entry) -> bool; - auto verifyChecksum(SDL_IOStream* file, const std::string& file_path, const Table& temp_table) -> bool; + static auto validateMagicNumber(SDL_IOStream* file, const std::string& file_path) -> bool; + static auto validateVersion(SDL_IOStream* file, const std::string& file_path) -> bool; + static auto readTableSize(SDL_IOStream* file, const std::string& file_path, int& table_size) -> bool; + static auto readEntry(SDL_IOStream* file, const std::string& file_path, int index, HiScoreEntry& entry) -> bool; + static auto verifyChecksum(SDL_IOStream* file, const std::string& file_path, const Table& temp_table) -> bool; }; \ No newline at end of file