SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
include
Game
System
ResourceInfo.hpp
1
#pragma once
2
3
#include <revolution.h>
4
5
class
ResFileInfo
{
6
public
:
7
ResFileInfo
();
8
9
void
setName(
const
char
*,
bool
);
10
11
void
* mResource;
// _0
12
u32 _4;
13
u32 _8;
14
u32 _C;
15
char
* mName;
// _10
16
u32 mHashCode;
// _14
17
};
18
19
class
ResTable
{
20
public
:
21
ResTable
();
22
23
void
newFileInfoTable(u32);
24
ResFileInfo
* add(
const
char
*,
void
*,
bool
);
25
const
char
* getResName(u32)
const
;
26
void
* getRes(u32)
const
;
27
void
* getRes(
const
char
*)
const
;
28
ResFileInfo
* findFileInfo(
const
char
*)
const
;
29
ResFileInfo
* getFileInfo(u32)
const
;
30
bool
isExistRes(
const
char
*)
const
;
31
int
getResIndex(
const
char
*)
const
;
32
const
char
* findResName(
const
void
*)
const
;
33
const
char
* getResName(
const
void
*)
const
;
34
35
ResFileInfo
* mFileInfoTable;
// _0
36
u32 mCount;
// _4
37
38
private
:
39
void
* findRes(
const
char
*)
const
;
40
};
ResFileInfo
Definition
ResourceInfo.hpp:5
ResTable
Definition
ResourceInfo.hpp:19
Generated by
1.10.0