A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
MultiDvdArchive.hh
1#pragma once
2
3#include "game/system/DvdArchive.hh"
4
5const char *const SZS_EXTENSION = ".szs";
6
7namespace System {
8
10public:
11 enum class Format {
12 Double,
13 Single,
14 None,
15 };
16
17 MultiDvdArchive(u16 archiveCount = 1);
19
20 void *getFile(const char *filename, size_t *size) const;
21 void load(const char *filename);
22 void load(const MultiDvdArchive *other);
23 void rip(const char *filename);
24
25 void clear();
26 void unmount();
27
28 [[nodiscard]] bool isLoaded() const;
29 [[nodiscard]] u16 rippedArchiveCount() const;
30
31private:
32 DvdArchive *m_archives;
33 void **m_fileStarts;
34 size_t *m_fileSizes;
35 char **m_suffixes;
36 Format *m_formats;
37 u16 m_archiveCount;
38};
39
40} // namespace System
High-level handling for generic system operations, such as input reading, race configuration,...
Definition CourseMap.cc:5