Athena IO Library
Main Page
Classes
Files
File List
ALTTPFileReader.hpp
1
#ifndef ALTTP_FILE_READER_HPP
2
#define ALTTP_FILE_READER_HPP
3
4
#include <string>
5
#include "athena/Types.hpp"
6
#include "athena/MemoryReader.hpp"
7
#include "athena/ALTTPQuest.hpp"
8
9
namespace
athena
10
{
11
class
ALTTPFile;
12
13
namespace
io
14
{
22
class
ALTTPFileReader
:
protected
MemoryCopyReader
23
{
24
MEMORYCOPYREADER_BASE();
25
26
public
:
32
ALTTPFileReader
(atUint8*, atUint64);
33
38
ALTTPFileReader
(
const
std::string&);
39
44
ALTTPFile
*
readFile
();
45
private
:
46
ALTTPRoomFlags
* readRoomFlags();
47
ALTTPOverworldEvent
* readOverworldEvent();
48
ALTTPDungeonItemFlags
readDungeonFlags();
49
};
50
51
}
// io
52
}
// zelda
53
#endif // ALTTP_FILE_READER_HPP
athena::ALTTPFile
A Link to the Past data container class class.
Definition:
ALTTPFile.hpp:18
athena::io::ALTTPFileReader
A Link to the Past save data reader class.
Definition:
ALTTPFileReader.hpp:22
athena::ALTTPRoomFlags
Definition:
ALTTPStructs.hpp:10
athena
Definition:
ALTTPEnums.hpp:6
athena::io::MemoryCopyReader
Definition:
MemoryReader.hpp:95
athena::io::ALTTPFileReader::readFile
ALTTPFile * readFile()
Reads the SRAM data from the buffer.
athena::ALTTPDungeonItemFlags
Definition:
ALTTPStructs.hpp:90
athena::io::ALTTPFileReader::ALTTPFileReader
ALTTPFileReader(atUint8 *, atUint64)
This constructor takes an existing buffer to read from.
athena::ALTTPOverworldEvent
Definition:
ALTTPStructs.hpp:30
include
athena
ALTTPFileReader.hpp
Generated on Sat Sep 17 2016 13:10:08 for Athena IO Library by
1.8.11