You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
473 B

#pragma once
#include <string_view>
#include "mpq/mpq_reader.hpp"
// Forward-declare the SDL type for the active SDL version.
#ifdef USE_SDL3
struct SDL_IOStream;
using SdlRwopsType = SDL_IOStream;
#else
struct SDL_RWops;
using SdlRwopsType = SDL_RWops;
#endif
namespace devilution {
SdlRwopsType *SDL_RWops_FromMpqFile(MpqArchive &archive,
uint32_t hashIndex,
std::string_view filename,
bool threadsafe);
} // namespace devilution