mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-05 02:17:05 +00:00
NEVERHOOD: Make most of fields of ResourceFileEntry private
This commit is contained in:
parent
3ef0d14b2c
commit
fdccec381d
@ -30,10 +30,20 @@
|
||||
|
||||
namespace Neverhood {
|
||||
|
||||
struct ResourceFileEntry {
|
||||
class ResourceMan;
|
||||
struct ResourceHandle;
|
||||
|
||||
class ResourceFileEntry {
|
||||
private:
|
||||
int resourceHandle;
|
||||
BlbArchive *archive;
|
||||
BlbArchiveEntry *archiveEntry;
|
||||
|
||||
friend class ResourceHandle;
|
||||
friend class ResourceMan;
|
||||
|
||||
public:
|
||||
ResourceFileEntry() : resourceHandle(-1), archive(nullptr), archiveEntry(nullptr) {}
|
||||
};
|
||||
|
||||
struct Resource {
|
||||
@ -47,8 +57,6 @@ struct ResourceData {
|
||||
ResourceData() : data(NULL), dataRefCount() {}
|
||||
};
|
||||
|
||||
class ResourceMan;
|
||||
|
||||
struct ResourceHandle {
|
||||
friend class ResourceMan;
|
||||
public:
|
||||
|
Loading…
x
Reference in New Issue
Block a user