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.
18 lines
551 B
18 lines
551 B
#pragma once |
|
|
|
#include <cstdint> |
|
#include <fstream> |
|
#include <memory> |
|
|
|
#include "miniwin/miniwin.h" |
|
|
|
namespace devilution { |
|
|
|
bool FileExists(const char *path); |
|
bool GetFileSize(const char *path, std::uintmax_t *size); |
|
bool ResizeFile(const char *path, std::uintmax_t size); |
|
void RemoveFile(const char *lpFileName); |
|
std::unique_ptr<std::fstream> CreateFileStream(const char *path, std::ios::openmode mode); |
|
bool SFileOpenArchiveDiablo(const char *szMpqName, DWORD dwPriority, DWORD dwFlags, HANDLE *phMpq); |
|
|
|
} // namespace devilution
|
|
|