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
408 B
23 lines
408 B
#pragma once |
|
|
|
#include <cstdint> |
|
#include <string_view> |
|
|
|
#ifdef USE_SDL3 |
|
#include <SDL3/SDL_iostream.h> |
|
#else |
|
#include <SDL.h> |
|
#endif |
|
|
|
#include "mpq/mpq_reader.hpp" |
|
|
|
namespace devilution { |
|
|
|
#ifdef USE_SDL3 |
|
SDL_IOStream * |
|
#else |
|
SDL_RWops * |
|
#endif |
|
SDL_RWops_FromMpqFile(MpqArchive &mpqArchive, uint32_t fileNumber, std::string_view filename, bool threadsafe); |
|
|
|
} // namespace devilution
|
|
|