2022-03-01 15:38:52 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "game/game.hpp"
|
|
|
|
|
|
|
|
namespace fastfiles
|
|
|
|
{
|
2022-10-12 17:40:17 -04:00
|
|
|
bool exists(const std::string& zone, bool ignore_usermap = false);
|
2022-08-16 18:23:36 -04:00
|
|
|
|
2022-03-01 15:38:52 -05:00
|
|
|
std::string get_current_fastfile();
|
2022-03-13 10:31:57 -04:00
|
|
|
|
|
|
|
void enum_assets(const game::XAssetType type,
|
|
|
|
const std::function<void(game::XAssetHeader)>& callback, const bool includeOverride);
|
2022-09-10 20:21:38 -04:00
|
|
|
|
|
|
|
void close_fastfile_handles();
|
2022-10-10 23:11:54 -04:00
|
|
|
|
|
|
|
void set_usermap(const std::string& usermap);
|
|
|
|
void clear_usermap();
|
|
|
|
std::optional<std::string> get_current_usermap();
|
|
|
|
bool usermap_exists(const std::string& name);
|
|
|
|
bool is_stock_map(const std::string& name);
|
2022-03-01 15:38:52 -05:00
|
|
|
}
|