#pragma once

#include <cstdint>
#include <string>
#include <vector>

namespace ResourceHelper {
    bool initializeResourceSystem(const std::string& pack_file = "resources.pack", bool enable_fallback = true);
    void shutdownResourceSystem();

    std::vector<uint8_t> loadFile(const std::string& filepath);

    bool shouldUseResourcePack(const std::string& filepath);
    std::string getPackPath(const std::string& asset_path);
}  // namespace ResourceHelper
