RhythmGame 1.4.3
Loading...
Searching...
No Matches
dxa.h
Go to the documentation of this file.
1#pragma once
2
3#include <filesystem>
4#include <map>
5#include <memory>
6#include <string>
7
8// Taken from Lunatic Vibes
9
10namespace support {
12{
13 size_t size{};
14 std::shared_ptr<uint8_t[]> data;
15};
16
17using DXArchive = std::map<std::string, DXArchiveSegment>;
18
19auto
20normalizeDxaPath(const std::filesystem::path& path) -> std::string;
21auto
22extractDxaToMem(const std::filesystem::path& path) -> DXArchive;
23auto
24extractDxaToFile(const std::filesystem::path& path) -> int;
25} // namespace support
QString path
Definition Lr2SkinParser.cpp:87
Contains various helper classes and functions.
Definition Capitalize.h:9
std::map< std::string, DXArchiveSegment > DXArchive
Definition dxa.h:17
DXArchive extractDxaToMem(const std::filesystem::path &path)
Definition dxa.cpp:465
auto normalizeDxaPath(const std::filesystem::path &path) -> std::string
Definition dxa.cpp:447
int extractDxaToFile(const std::filesystem::path &path)
Definition dxa.cpp:481
Definition dxa.h:12
size_t size
Definition dxa.h:13
std::shared_ptr< uint8_t[]> data
Definition dxa.h:14