(986a3bf)
#include "fs/virtfs/zipreader.h"
#include "fs/paths.h"
#include "fs/virtfs/zipentry.h"
#include "fs/virtfs/ziplocalheader.h"
#include "utils/cast.h"
#include "utils/checkutils.h"
#include "utils/delete2.h"
#include "utils/stringutils.h"
#include <zlib.h>
#include <SDL_endian.h>
#include "debug.h"
Go to the source code of this file.
◆ readVal
#define readVal |
( |
|
val, |
|
|
|
sz, |
|
|
|
msg |
|
) |
| |
Value: cnt = fread(static_cast<void*>(val), 1, sz, arcFile); \
if (cnt != (sz)) \
{ \
reportAlways(
"Error reading " msg " in file %s", \
archiveName.c_str()) \
delete2(header) \
delete [] buf; \
fclose(arcFile); \
return false; \
}
bool msg(InputEvent &event)
Definition at line 50 of file zipreader.cpp.
◆ swapVal16
◆ swapVal32
◆ dirSeparator
Definition at line 43 of file fs.cpp.
Referenced by VirtFs::enumerateFiles(), VirtFs::exists(), VirtFs::getDirs(), VirtFs::getDirSeparator(), VirtFs::getFiles(), VirtFs::getFilesWithDir(), VirtFs::getRealDir(), VirtFs::isDirectory(), VirtFs::mountDir(), VirtFs::mountDirInternal(), VirtFs::mountZip2(), VirtFs::ZipReader::readArchiveInfo(), VirtFs::unmountDirInternal(), VirtFs::unmountZip2(), and VirtFs::updateDirSeparator().