1 #ifndef ATHENA_NO_SAVES
22 #include "Athena/Global.hpp"
27 const atUint8 SD_KEY [16] = {0xab, 0x01, 0xb9, 0xd8, 0xe1, 0x62, 0x2b, 0x08, 0xaf, 0xba, 0xd8, 0x4d, 0xbf, 0xc2, 0xa5, 0x5d};
28 const atUint8 SD_IV [16] = {0x21, 0x67, 0x12, 0xe6, 0xaa, 0x1f, 0x68, 0x9f, 0x95, 0xc5, 0xa2, 0x23, 0x24, 0xdc, 0x6a, 0x98};
29 const atUint8 MD5_BLANKER[16] = {0x0e, 0x65, 0x37, 0x81, 0x99, 0xbe, 0x45, 0x17, 0xab, 0x06, 0xec, 0x22, 0x45, 0x1a, 0x57, 0x93};
55 GroupRW = (GroupRead | GroupWrite),
56 OwnerRW = (OwnerRead | OwnerWrite)
107 atUint8*
data()
const;
227 atUint8 m_permissions;
228 atUint8 m_attributes;
230 std::string m_filename;
234 std::vector<WiiFile*> m_children;
239 #endif // ATHENA_NO_SAVES
std::string fullpath()
fullpath
WiiFile * child(const std::string &name)
child
void setData(const atUint8 *data)
setData
void removeChild(const std::string &name)
removeChild
Permission
The Wii uses a bastardized unix permissions system so these flags reflect the file's individual permi...
atUint32 fileCount()
fileCount
Wii file container class.
bool isDirectory() const
isDirectory
atUint8 attributes() const
attributes
void setType(Type type)
setType
bool isFile() const
isFile
void setAttributes(const atUint8 attr)
setAttributes
void setPermissions(const atUint8 permissions)
setPermissions
void setLength(const int len)
setLength
atUint8 * data() const
data
std::vector< WiiFile * > children()
children
std::vector< WiiFile * > allChildren()
allChildren
int length() const
length
std::string filename() const
filename
Mask to get the Other group permissions.
void addChild(WiiFile *file)
addChild
void setParent(WiiFile *parent)
setParent
atUint8 permissions() const
permissions
void setFilename(const std::string &filename)
setFilename