it builds kinda, but .loc file is fucked and missing asset copying

replaced miles sound system
replaced .arc format with a folder
This commit is contained in:
DrPerkyLegit
2026-06-23 11:45:34 -04:00
parent c2a44a93b9
commit 17db5c8e14
32 changed files with 98470 additions and 15247 deletions

View File

@@ -0,0 +1,28 @@
#pragma once
#include <vector>
#include <unordered_map>
#include <windows.h>
#include "../Minecraft.World/ArrayWithLength.h"
using namespace std;
class FolderFile
{
private:
wstring m_folderPath;
unordered_map<wstring, wstring> m_filePaths; // filename -> full path
void _buildFileIndex();
void _buildFileIndexRecursive(const wstring& currentPath, const wstring& relativePath);
public:
FolderFile(wstring folderPath);
~FolderFile();
vector<wstring>* getFileList();
bool hasFile(const wstring& filename);
int getFileSize(const wstring& filename);
byteArray getFile(const wstring& filename);
};