athena/include/Athena/MCFile.hpp

37 lines
618 B
C++
Raw Permalink Normal View History

2015-03-01 20:42:39 +00:00
#ifndef MCFILE_HPP
#define MCFILE_HPP
2013-07-21 03:57:20 +00:00
#include "Athena/Global.hpp"
2014-04-20 09:14:15 +00:00
namespace Athena
2013-07-21 03:57:20 +00:00
{
class MCSlot;
2013-07-21 03:57:20 +00:00
/*! \class MCFile
* \brief The Minish Cap data container class class
*
* Contains all relevant data for a The Minish Cap save,
* file.
*/
class MCFile
{
public:
static const char VERSION_EU_JP[33];
static const char VERSION_US[33];
enum SlotType
{
New = 0x54494E49,
Valid = 0x4D435A33,
Deleted = 0x466C6544
};
2013-07-21 03:57:20 +00:00
MCFile();
static atUint8* unscramble(atUint8* data, atUint64 length);
2013-07-21 03:57:20 +00:00
private:
MCSlot* m_slots[3];
2013-07-21 03:57:20 +00:00
};
} // zelda
2015-03-01 20:42:39 +00:00
#endif // MCFILE_HPP