mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-28 02:31:48 +01:00
24 lines
487 B
C++
24 lines
487 B
C++
#pragma once
|
|
|
|
class CDirectory
|
|
{
|
|
public:
|
|
struct DirectoryInfo {
|
|
uint32 offset;
|
|
uint32 size;
|
|
char name[24];
|
|
};
|
|
DirectoryInfo *entries;
|
|
int32 maxEntries;
|
|
int32 numEntries;
|
|
|
|
CDirectory(int32 maxEntries);
|
|
~CDirectory(void);
|
|
|
|
void ReadDirFile(const char *filename);
|
|
bool WriteDirFile(const char *filename);
|
|
void AddItem(const DirectoryInfo &dirinfo);
|
|
void AddItem(const DirectoryInfo &dirinfo, int32 imgId);
|
|
bool FindItem(const char *name, uint32 &offset, uint32 &size);
|
|
};
|