diff --git a/docs/_a_l_t_t_p_enums_8hpp_source.html b/docs/_a_l_t_t_p_enums_8hpp_source.html new file mode 100644 index 0000000..9257cd1 --- /dev/null +++ b/docs/_a_l_t_t_p_enums_8hpp_source.html @@ -0,0 +1,234 @@ + + + + + + +Athena IO Library: include/Athena/ALTTPEnums.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ALTTPEnums.hpp
+
+
+
1 // This file is part of libAthena.
+
2 //
+
3 // libAthena is free software: you can redistribute it and/or modify
+
4 // it under the terms of the GNU General Public License as published by
+
5 // the Free Software Foundation, either version 3 of the License, or
+
6 // (at your option) any later version.
+
7 //
+
8 // libAthena is distributed in the hope that it will be useful,
+
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
11 // GNU General Public License for more details.
+
12 //
+
13 // You should have received a copy of the GNU General Public License
+
14 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
15 
+
16 #ifndef ALTTP_ENUMS_HPP
+
17 #define ALTTP_ENUMS_HPP
+
18 
+
19 #ifndef __DOXYGEN_IGNORE__
+
20 
+
21 #include "Types.hpp"
+
22 
+
23 namespace Athena
+
24 {
+
25 
+
26 enum BowType : char
+
27 {
+
28  BowNone,
+
29  BowArrows,
+
30  BowSilverArrows
+
31 };
+
32 
+
33 enum BoomerangType : char
+
34 {
+
35  BoomerangNone,
+
36  BoomerangBlue,
+
37  BoomerangRed
+
38 };
+
39 
+
40 enum MagicType : char
+
41 {
+
42  MagicNone,
+
43  MagicMushroom,
+
44  MagicPowder
+
45 };
+
46 
+
47 enum ArmorType : char
+
48 {
+
49  GreenJerkin,
+
50  BlueMail,
+
51  RedMail
+
52 };
+
53 
+
54 enum BottleType : char
+
55 {
+
56  BottleNone,
+
57  BottleMushroom, // No Use
+
58  BottleEmpty,
+
59  BottleRedPotion,
+
60  BottleBluePotion,
+
61  BottleFairy,
+
62  BottleBee,
+
63  BottleGoodBee
+
64 };
+
65 
+
66 
+
67 enum ALTTPStartLocation
+
68 {
+
69  LinksHouse = 0x00,
+
70  Sanctuary = 0x01,
+
71  Any = 0x05
+
72 };
+
73 
+
74 enum ALTTPProgressIndicator
+
75 {
+
76  LinkInBed,
+
77  InCastleWithSword,
+
78  CompletedFirstDungeon,
+
79  BeatenAghanim
+
80 };
+
81 
+
82 enum ALTTPMapIcon
+
83 {
+
84  Nothing = 0x00, //?
+
85  CrossInKakariko = 0x01, //?
+
86  CrossAtFirstDungeon = 0x02, //
+
87  Pendant = 0x03,
+
88  MasterSword = 0x04,
+
89  AganhimCastle = 0x05,
+
90  Crystal1 = 0x06,
+
91  AllCrystals = 0x07,
+
92  AganhimGanonTower = 0x08
+
93 };
+
94 
+
95 enum ALTTPTagAlong
+
96 {
+
97  Noone,
+
98  Zelda,
+
99  Unknown1,
+
100  Oldman,
+
101  ZeldaMessage,
+
102  Blind,
+
103  DwarfFrog,
+
104  DwarfLW,
+
105  Kiki,
+
106  Unknown2,
+
107  TheifsChest,
+
108  AfterBoss
+
109 };
+
110 
+
111 } // zelda
+
112 #endif // __DOXYGEN_IGNORE__
+
113 #endif // ALTTP_ENUMS_HPP
+ +
+
+ + + + diff --git a/docs/_a_l_t_t_p_file_8hpp_source.html b/docs/_a_l_t_t_p_file_8hpp_source.html new file mode 100644 index 0000000..b3b97f0 --- /dev/null +++ b/docs/_a_l_t_t_p_file_8hpp_source.html @@ -0,0 +1,182 @@ + + + + + + +Athena IO Library: include/Athena/ALTTPFile.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ALTTPFile.hpp
+
+
+
1 #ifndef ATHENA_NO_SAVES
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef ALTTP_FILE_HPP
+
18 #define ALTTP_FILE_HPP
+
19 
+
20 #include "Athena/Types.hpp"
+
21 #include <vector>
+
22 
+
23 namespace Athena
+
24 {
+
25 
+
26 class ALTTPQuest;
+
27 
+
34 class ALTTPFile
+
35 {
+
36 public:
+
41  typedef std::vector<ALTTPQuest*>::iterator QuestIter;
+
42 
+
47  ALTTPFile();
+
48 
+
54  ALTTPFile(std::vector<ALTTPQuest*> questList, std::vector<ALTTPQuest*> backupList);
+
55 
+
56 
+
63  void setQuest(atUint32 id, ALTTPQuest* val);
+
68  std::vector<ALTTPQuest*> questList() const;
+
69 
+
77  ALTTPQuest* quest(atUint32 id) const;
+
78 
+
83  atUint32 questCount() const;
+
84 
+
85 private:
+
86 
+
87  std::vector<ALTTPQuest*> m_quests;
+
88  std::vector<ALTTPQuest*> m_backup;
+
89 };
+
90 
+
91 } // zelda
+
92 #endif // ALTTP_FILE_HPP
+
93 #endif // ATHENA_NO_SAVES
+
void setQuest(atUint32 id, ALTTPQuest *val)
Sets a quest at the given index.
+
ALTTPFile()
Default constructor.
+
ALTTPQuest * quest(atUint32 id) const
Returns a quest at the given index.
+
A Link to the Past Quest container class.
Definition: ALTTPQuest.hpp:35
+
std::vector< ALTTPQuest * > questList() const
Returns the primary quest list.
+
std::vector< ALTTPQuest * >::iterator QuestIter
Quest Iterator.
Definition: ALTTPFile.hpp:41
+ +
A Link to the Past data container class class.
Definition: ALTTPFile.hpp:34
+
atUint32 questCount() const
Returns the number of primary quests.
+
+
+ + + + diff --git a/docs/_a_l_t_t_p_file_reader_8hpp_source.html b/docs/_a_l_t_t_p_file_reader_8hpp_source.html new file mode 100644 index 0000000..1bb8ddc --- /dev/null +++ b/docs/_a_l_t_t_p_file_reader_8hpp_source.html @@ -0,0 +1,179 @@ + + + + + + +Athena IO Library: include/Athena/ALTTPFileReader.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ALTTPFileReader.hpp
+
+
+
1 #ifndef ATHENA_NO_SAVES
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef ALTTP_FILE_READER_HPP
+
18 #define ALTTP_FILE_READER_HPP
+
19 
+
20 #include <string>
+
21 #include "Athena/Types.hpp"
+
22 #include "Athena/MemoryReader.hpp"
+
23 #include "Athena/ALTTPQuest.hpp"
+
24 
+
25 namespace Athena
+
26 {
+
27 class ALTTPFile;
+
28 
+
29 namespace io
+
30 {
+
38 class ALTTPFileReader : protected MemoryReader
+
39 {
+
40  MEMORYREADER_BASE();
+
41 
+
42 public:
+
48  ALTTPFileReader(atUint8*, atUint64);
+
49 
+
54  ALTTPFileReader(const std::string&);
+
55 
+ +
61 private:
+
62  ALTTPRoomFlags* readRoomFlags();
+
63  ALTTPOverworldEvent* readOverworldEvent();
+
64  ALTTPDungeonItemFlags readDungeonFlags();
+
65 };
+
66 
+
67 } // io
+
68 } // zelda
+
69 #endif // ALTTP_FILE_READER_HPP
+
70 #endif // ATHENA_NO_SAVES
+ +
A Link to the Past save data reader class.
+ +
ALTTPFileReader(atUint8 *, atUint64)
This constructor takes an existing buffer to read from.
+ +
ALTTPFile * readFile()
Reads the SRAM data from the buffer.
+ +
A Link to the Past data container class class.
Definition: ALTTPFile.hpp:34
+ +
+
+ + + + diff --git a/docs/_a_l_t_t_p_file_writer_8hpp_source.html b/docs/_a_l_t_t_p_file_writer_8hpp_source.html new file mode 100644 index 0000000..d153912 --- /dev/null +++ b/docs/_a_l_t_t_p_file_writer_8hpp_source.html @@ -0,0 +1,181 @@ + + + + + + +Athena IO Library: include/Athena/ALTTPFileWriter.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ALTTPFileWriter.hpp
+
+
+
1 #ifndef ATHENA_NO_SAVES
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef ALTTP_FILE_WRITER_HPP
+
18 #define ALTTP_FILE_WRITER_HPP
+
19 
+
20 #include <string>
+
21 #include "Athena/MemoryWriter.hpp"
+
22 #include "Athena/ALTTPQuest.hpp"
+
23 
+
24 namespace Athena
+
25 {
+
26 class ALTTPFile;
+
27 
+
28 namespace io
+
29 {
+
37 class ALTTPFileWriter : protected MemoryWriter
+
38 {
+
39  MEMORYWRITER_BASE();
+
40 
+
41 public:
+
47  ALTTPFileWriter(atUint8*, atUint64);
+
48 
+
53  ALTTPFileWriter(const std::string&);
+
54 
+
59  void writeFile(ALTTPFile* file);
+
60 
+
61 private:
+
62  void writeRoomFlags(ALTTPRoomFlags*);
+
63  void writeOverworldEvent(ALTTPOverworldEvent*);
+
64  void writeDungeonItems(ALTTPDungeonItemFlags);
+
65  atUint16 calculateChecksum(atUint32 game);
+
66 };
+
67 
+
68 } // io
+
69 } // zelda
+
70 
+
71 #endif // ALTTP_FILE_WRITER_HPP
+
72 #endif // ATHENA_NO_SAVES
+
void writeFile(ALTTPFile *file)
Writes the given SRAM data to a file on disk.
+ + +
ALTTPFileWriter(atUint8 *, atUint64)
This constructor takes an existing buffer to write to.
+ +
A Link to the Past save data writer class.
+ +
A Link to the Past data container class class.
Definition: ALTTPFile.hpp:34
+ +
+
+ + + + diff --git a/docs/_a_l_t_t_p_quest_8hpp_source.html b/docs/_a_l_t_t_p_quest_8hpp_source.html new file mode 100644 index 0000000..e9a4f8f --- /dev/null +++ b/docs/_a_l_t_t_p_quest_8hpp_source.html @@ -0,0 +1,502 @@ + + + + + + +Athena IO Library: include/Athena/ALTTPQuest.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ALTTPQuest.hpp
+
+
+
1 #ifndef ATHENA_NO_SAVES
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef ALTTP_QUEST_HPP
+
18 #define ALTTP_QUEST_HPP
+
19 
+
20 #include "Types.hpp"
+
21 #include <string>
+
22 #include <vector>
+
23 #include "Athena/ALTTPStructs.hpp"
+
24 #include "Athena/ALTTPEnums.hpp"
+
25 
+
26 namespace Athena
+
27 {
+
28 
+ +
36 {
+
37 public:
+
41  ALTTPQuest();
+
42  ~ALTTPQuest();
+
43 
+
48  void setRoomFlags(std::vector<ALTTPRoomFlags*> flags);
+
49 
+
55  void setRoomFlags(ALTTPRoomFlags* rf, atUint32 id);
+
56 
+
61  std::vector<ALTTPRoomFlags*> roomFlags();
+
62 
+
68  ALTTPRoomFlags* roomFlags(atUint32 id);
+
69 
+
74  void setOverworldEvents(std::vector<ALTTPOverworldEvent*> events);
+
75 
+
81  void setOverworldEvents(ALTTPOverworldEvent* ow, atUint32 id);
+
82 
+
87  std::vector<ALTTPOverworldEvent*> overworldEvents() const;
+
88 
+
94  ALTTPOverworldEvent* overworldEvent(atUint32 id) const;
+
95 
+
100  void setInventory(ALTTPInventory* inv);
+
101 
+
106  ALTTPInventory* inventory() const;
+
107 
+
112  void setRupeeMax(atUint16 val);
+
113 
+
118  atUint16 rupeeMax() const;
+
119 
+
124  void setRupeeCurrent(atUint16 val);
+
125 
+
130  atUint16 rupeeCurrent() const;
+
131 
+ +
137 
+ +
143 
+
148  void setBigKeys(ALTTPDungeonItemFlags flags);
+
149 
+ +
155 
+ +
161 
+ +
167 
+
172  void setWishingPond(atUint16 val);
+
173 
+
178  atUint16 wishingPond() const;
+
179 
+
184  void setHealthMax(atUint8 val);
+
185 
+
190  atUint8 healthMax() const;
+
191 
+
196  void setHealth(atUint8 val);
+
197 
+
202  atUint8 health() const;
+
203 
+
208  void setMagicPower(atUint8 val);
+
209 
+
214  atUint8 magicPower() const;
+
215 
+
220  void setKeys(atUint8 val);
+
221 
+
226  atUint8 keys() const;
+
227 
+
232  void setBombUpgrades(atUint8 val);
+
233 
+
238  atUint8 bombUpgrades() const;
+
239 
+
244  void setArrowUpgrades(atUint8 val);
+
245 
+
250  atUint8 arrowUpgrades() const;
+
251 
+
256  void setHealthFiller(atUint8 val);
+
257 
+
262  atUint8 healthFiller() const;
+
263 
+
268  void setMagicFiller(atUint8 val);
+
269 
+
274  atUint8 magicFiller() const;
+
275 
+
280  void setPendants(ALTTPPendants val);
+
281 
+
286  ALTTPPendants pendants() const;
+
287 
+
292  void setBombFiller(atUint8 val);
+
293 
+
298  atUint8 bombFiller() const;
+
299 
+
304  void setArrowFiller(atUint8 val);
+
305 
+
310  atUint8 arrowFiller() const;
+
311 
+
316  void setArrows(atUint8 val);
+
317 
+
322  atUint8 arrows() const;
+
323 
+ +
329 
+ +
335 
+
340  void setCrystals(ALTTPCrystals val);
+
341  \
+
342 
+
347  ALTTPCrystals crystals() const;
+
348 
+
353  void setMagicUsage(ALTTPMagicUsage val);
+
354 
+
359  ALTTPMagicUsage magicUsage() const;
+
360 
+
365  void setDungeonKeys(std::vector<atUint8> val);
+
366 
+
372  void setDungeonKeys(atUint32 id, atUint8 val);
+
373 
+
379  atUint8 dungeonKeys(atUint32 id) const;
+
380 
+
385  atUint32 dungeonCount() const;
+
386 
+
391  void setProgressIndicator(ALTTPProgressIndicator val);
+
392 
+
397  ALTTPProgressIndicator progressIndicator() const;
+
398 
+ +
404 
+ +
410 
+
415  void setMapIcon(ALTTPMapIcon val);
+
416 
+
421  ALTTPMapIcon mapIcon() const;
+
422 
+
427  void setStartLocation(ALTTPStartLocation val);
+
428 
+
433  ALTTPStartLocation startLocation() const;
+
434 
+ +
440 
+ +
446 
+ +
452 
+ +
458 
+
463  void setTagAlong(ALTTPTagAlong val);
+
464 
+
469  ALTTPTagAlong tagAlong() const;
+
470 
+
475  void setOldManFlags(std::vector<atUint8> flags);
+
476 
+
482  void setOldManFlag(atUint32 id, atUint8 val);
+
483 
+
489  atUint8 oldManFlag(atUint32 id);
+
490 
+
495  atUint32 oldManFlagCount() const;
+
496 
+
501  void setBombFlag(atUint8 flag);
+
502 
+
507  atUint8 bombFlag() const;
+
508 
+
513  void setUnknown1(std::vector<atUint8> flags);
+
514 
+
520  void setUnknown1(atUint32 id, atUint8 val);
+
521 
+
527  atUint8 unknown1(atUint32 id);
+
528 
+
533  atUint32 unknown1Count() const;
+
534 
+
539  void setPlayerName(std::vector<atUint16> playerName);
+
544  void setPlayerName(const std::string& playerName);
+
549  std::vector<atUint16> playerName() const;
+
554  std::string playerNameToString() const;
+
555 
+
560  void setValid(bool val);
+
561 
+
566  bool valid();
+
567 
+
572  void setDungeonDeathTotals(std::vector<atUint16> val);
+
573 
+
579  void setDungeonDeathTotal(atUint32 id, atUint16 val);
+
580 
+
586  atUint16 dungeonDeathTotal(atUint32 id) const;
+
587 
+
592  atUint16 dungeonDeathTotalCount() const;
+
593 
+
598  void setUnknown2(atUint16 val);
+
599 
+
604  atUint16 unknown2() const;
+
605 
+
610  void setDeathSaveCount(atUint16 val);
+
611 
+
616  atUint16 deathSaveCount() const;
+
617 
+
622  void setPostGameDeathCounter(atInt16 val);
+
623 
+
628  atInt16 postGameDeathCounter() const;
+
629 
+
634  void setChecksum(atUint16 checksum);
+
635 
+
640  atUint16 checksum() const;
+
641 private:
+
642  std::vector<ALTTPRoomFlags*> m_roomFlags;
+
643  std::vector<ALTTPOverworldEvent*> m_overworldEvents;
+
644  ALTTPInventory* m_inventory;
+
645  atUint16 m_rupeeMax;
+
646  atUint16 m_rupeeCurrent;
+
647  ALTTPDungeonItemFlags m_compasses;
+
648  ALTTPDungeonItemFlags m_bigKeys;
+
649  ALTTPDungeonItemFlags m_dungeonMaps;
+
650  atUint16 m_wishingPond;
+
651  atUint8 m_healthMax;
+
652  atUint8 m_health;
+
653  atUint8 m_magicPower;
+
654  atUint8 m_keys;
+
655  atUint8 m_bombUpgrades;
+
656  atUint8 m_arrowUpgrades;
+
657  atUint8 m_heartFiller;
+
658  atUint8 m_magicFiller;
+
659  ALTTPPendants m_pendants;
+
660  atUint8 m_bombFiller;
+
661  atUint8 m_arrowFiller;
+
662  atUint8 m_arrows;
+
663  ALTTPAbilities m_abilityFlags;
+
664  ALTTPCrystals m_crystals;
+
665  ALTTPMagicUsage m_magicUsage;
+
666  std::vector<atUint8> m_dungeonKeys;
+
667  ALTTPProgressIndicator m_progressIndicator;
+
668  ALTTPProgressFlags1 m_progressFlags1;
+
669  ALTTPMapIcon m_mapIcon;
+
670  ALTTPStartLocation m_startLocation;
+
671  ALTTPProgressFlags2 m_progressFlags2;
+
672  ALTTPLightDarkWorldIndicator m_lightDarkWorldIndicator;
+
673  ALTTPTagAlong m_tagAlong;
+
674  std::vector<atUint8> m_oldManFlags;
+
675  atUint8 m_bombFlag;
+
676  std::vector<atUint8> m_unknown1;
+
677  std::vector<atUint16> m_playerName;
+
678  bool m_valid;
+
679  std::vector<atUint16> m_dungeonDeathTotals;
+
680  atUint16 m_unknown2;
+
681  atUint16 m_deathSaveCount;
+
682  atInt16 m_postGameDeathCounter;
+
683  atUint16 m_checksum;
+
684 };
+
685 
+
686 } // zelda
+
687 
+
688 #endif // ALTTP_QUEST_HPP
+
689 #endif // ATHENA_NO_SAVES
+
void setProgressFlags2(ALTTPProgressFlags2 val)
setProgressFlags2
+
atUint16 dungeonDeathTotal(atUint32 id) const
dungeonDeathTotal
+
atUint16 checksum() const
checksum
+
std::vector< ALTTPOverworldEvent * > overworldEvents() const
overworldEvents
+
void setAbilityFlags(ALTTPAbilities val)
setAbilityFlags
+
void setStartLocation(ALTTPStartLocation val)
setStartLocation
+
atUint32 unknown1Count() const
unknown1Count
+
atUint8 health() const
health
+
void setDungeonKeys(std::vector< atUint8 > val)
setDungeonKeys
+
void setMagicUsage(ALTTPMagicUsage val)
setMagicUsage
+
void setLightDarkWorldIndicator(ALTTPLightDarkWorldIndicator val)
setLightDarkWorldIndicator
+
void setDeathSaveCount(atUint16 val)
setDeathSaveCount
+ +
void setMapIcon(ALTTPMapIcon val)
setMapIcon
+
ALTTPMagicUsage magicUsage() const
magicUsage
+
atUint8 healthFiller() const
healthFiller
+
atUint8 healthMax() const
healthMax
+
atUint8 bombUpgrades() const
bombUpgrades
+
void setBombFiller(atUint8 val)
setBombFiller
+
ALTTPLightDarkWorldIndicator lightDarkWorldIndicator() const
lightDarkWorldIndicator
+ +
void setHealthFiller(atUint8 val)
setHealthFiller
+
atUint8 unknown1(atUint32 id)
unknown1
+
ALTTPDungeonItemFlags compasses() const
compasses
+
ALTTPPendants pendants() const
pendants
+ +
atUint32 oldManFlagCount() const
oldManFlagCount
+
ALTTPProgressIndicator progressIndicator() const
progressIndicator
+
std::vector< atUint16 > playerName() const
playerName
+
atInt16 postGameDeathCounter() const
postGameDeathCounter
+
atUint16 rupeeCurrent() const
rupeeCurrent
+
ALTTPQuest()
ALTTPQuest.
+
atUint8 magicPower() const
magicPower
+
void setBombFlag(atUint8 flag)
setBombFlag
+
atUint8 arrowUpgrades() const
arrowUpgrades
+
void setHealthMax(atUint8 val)
setHealthMax
+
atUint8 arrows() const
arrows
+
void setOverworldEvents(std::vector< ALTTPOverworldEvent * > events)
setOverworldEvents
+ +
atUint32 dungeonCount() const
dungeonCount
+
void setMagicFiller(atUint8 val)
setMagicFiller
+
atUint8 bombFlag() const
bombFlag
+
ALTTPDungeonItemFlags bigKeys() const
bigKeys
+
void setHealth(atUint8 val)
setHealth
+
ALTTPOverworldEvent * overworldEvent(atUint32 id) const
overworldEvent
+
atUint8 oldManFlag(atUint32 id)
oldManFlag
+ +
void setWishingPond(atUint16 val)
setWishingPond
+ +
void setKeys(atUint8 val)
setKeys
+
void setValid(bool val)
setValid
+
void setRupeeCurrent(atUint16 val)
setRupeeCurrent
+
void setDungeonDeathTotal(atUint32 id, atUint16 val)
setDungeonDeathTotal
+
ALTTPProgressFlags2 progressFlags2() const
progressFlags2
+
void setRupeeMax(atUint16 val)
setRupeeMax
+
atUint8 bombFiller() const
bombFiller
+
std::string playerNameToString() const
playerNameToString
+
void setOldManFlag(atUint32 id, atUint8 val)
setOldManFlag
+
ALTTPStartLocation startLocation() const
startLocation
+
ALTTPAbilities abilityFlags() const
abilityFlags
+
ALTTPDungeonItemFlags dungeonMaps() const
dungeonMaps
+
void setRoomFlags(std::vector< ALTTPRoomFlags * > flags)
setRoomFlags
+
void setMagicPower(atUint8 val)
setMagicPower
+ +
void setCompasses(ALTTPDungeonItemFlags flags)
setCompasses
+
atUint16 dungeonDeathTotalCount() const
dungeonDeathTotalCount
+ +
void setUnknown1(std::vector< atUint8 > flags)
setUnknown1
+
std::vector< ALTTPRoomFlags * > roomFlags()
roomFlags
+
void setProgressIndicator(ALTTPProgressIndicator val)
setProgressIndicator
+
ALTTPProgressFlags1 progressFlags1() const
progressFlags1
+
atUint16 rupeeMax() const
rupeeMax
+
void setArrows(atUint8 val)
setArrows
+
void setPostGameDeathCounter(atInt16 val)
setPostGameDeathCounter
+
bool valid()
valid
+
void setInventory(ALTTPInventory *inv)
setInventory
+
void setOldManFlags(std::vector< atUint8 > flags)
setOldManFlags
+
void setProgressFlags1(ALTTPProgressFlags1 val)
setProgressFlags1
+
ALTTPCrystals crystals() const
crystals
+
void setUnknown2(atUint16 val)
setUnknown2
+
void setTagAlong(ALTTPTagAlong val)
setTagAlong
+
void setPendants(ALTTPPendants val)
setPendants
+
atUint8 magicFiller() const
magicFiller
+ +
void setDungeonMaps(ALTTPDungeonItemFlags flags)
setDungeonMaps
+
void setChecksum(atUint16 checksum)
setChecksum
+ +
ALTTPMapIcon mapIcon() const
mapIcon
+
atUint8 dungeonKeys(atUint32 id) const
dungeonKeys
+
A Link to the Past Quest container class.
Definition: ALTTPQuest.hpp:35
+
void setArrowUpgrades(atUint8 val)
setArrowUpgrades
+
atUint8 keys() const
keys
+
atUint16 wishingPond() const
wishingPond
+
ALTTPInventory * inventory() const
inventory
+ +
void setDungeonDeathTotals(std::vector< atUint16 > val)
setDungeonDeathTotals
+
void setArrowFiller(atUint8 val)
setArrowFiller
+
void setPlayerName(std::vector< atUint16 > playerName)
setPlayerName
+ +
void setCrystals(ALTTPCrystals val)
setCrystals
+
atUint16 unknown2() const
unknown2
+
atUint8 arrowFiller() const
arrowFiller
+
void setBigKeys(ALTTPDungeonItemFlags flags)
setBigKeys
+
void setBombUpgrades(atUint8 val)
setBombUpgrades
+
atUint16 deathSaveCount() const
deathSaveCount
+
ALTTPTagAlong tagAlong() const
tagAlong
+
+
+ + + + diff --git a/docs/_a_l_t_t_p_structs_8hpp_source.html b/docs/_a_l_t_t_p_structs_8hpp_source.html new file mode 100644 index 0000000..e718193 --- /dev/null +++ b/docs/_a_l_t_t_p_structs_8hpp_source.html @@ -0,0 +1,348 @@ + + + + + + +Athena IO Library: include/Athena/ALTTPStructs.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ALTTPStructs.hpp
+
+
+
1 // This file is part of libAthena.
+
2 //
+
3 // libAthena is free software: you can redistribute it and/or modify
+
4 // it under the terms of the GNU General Public License as published by
+
5 // the Free Software Foundation, either version 3 of the License, or
+
6 // (at your option) any later version.
+
7 //
+
8 // libAthena is distributed in the hope that it will be useful,
+
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
11 // GNU General Public License for more details.
+
12 //
+
13 // You should have received a copy of the GNU General Public License
+
14 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
15 
+
16 #ifndef ALTTP_STRUCTS_HPP
+
17 #define ALTTP_STRUCTS_HPP
+
18 
+
19 #ifndef __DOXYGEN_IGNORE__
+
20 
+
21 #include <string>
+
22 #include "Athena/Types.hpp"
+
23 
+
24 namespace Athena
+
25 {
+
26 
+ +
28 {
+
29  bool Chest1: 1;
+
30  bool Chest2: 1;
+
31  bool Chest3: 1;
+
32  bool Chest4: 1;
+
33  bool Quadrant1: 1;
+
34  bool Quadrant2: 1;
+
35  bool Quadrant3: 1;
+
36  bool Quadrant4: 1;
+
37  bool Door1: 1;
+
38  bool Door2: 1;
+
39  bool Door3: 1;
+
40  bool Door4: 1;
+
41  bool BossBattleWon: 1;
+
42  bool Key: 1;
+
43  bool KeyOrChest: 1;
+
44  bool ChestOrTile: 1;
+
45 };
+
46 
+ +
48 {
+
49  bool Unused1: 1;
+
50  bool HeartPiece: 1;
+
51  bool Overlay: 1;
+
52  bool Unused2: 1;
+
53  bool Unused3: 1;
+
54  bool Unused4: 1;
+
55  bool Set: 1;
+
56  bool Unused5: 1;
+
57 };
+
58 
+ +
60 {
+
61  char Bow;
+
62  char Boomerang;
+
63  bool Hookshot;
+
64  char Bombs; // Bomb count
+
65  char Magic;
+
66  bool FireRod;
+
67  bool IceRod;
+
68  bool Bombos;
+
69  bool Ether;
+
70  bool Quake;
+
71  bool Torch;
+
72  bool Hammer;
+
73  char Flute;
+
74  bool BugNet;
+
75  bool Book;
+
76  bool Bottles;
+
77  bool Somaria;
+
78  bool Byrna;
+
79  bool MagicCape;
+
80  char MagicMirror;
+
81  char Gloves;
+
82  char Boots;
+
83  bool Flippers;
+
84  bool MoonPearl;
+
85  char Unused; //?
+
86  char Sword;
+
87  char Shield;
+
88  char Armor;
+
89  char BottleTypes[4];
+
90 };
+
91 
+ +
95 {
+
96  bool Unused1: 1;
+
97  bool Unused2: 1;
+
98  bool Unused3: 1;
+
99  bool Unused4: 1;
+
100  bool Unused5: 1;
+
101  bool Unused6: 1;
+
102  bool IsDarkWorld: 1;
+
103  bool Unused7: 1;
+
104 };
+
105 
+
106 
+ +
108 {
+
109  union
+
110  {
+
111  struct
+
112  {
+
113  bool Unused1: 1;
+
114  bool Unused2: 1;
+
115  bool GanonsTower: 1;
+
116  bool TurtleRock: 1;
+
117  bool GargoylesDomain: 1;
+
118  bool TowerOfHera: 1;
+
119  bool IcePalace: 1;
+
120  bool SkullWoods: 1;
+
121  };
+
122  atUint8 flags1;
+
123  };
+
124 
+
125  union
+
126  {
+
127  struct
+
128  {
+
129  bool MiseryMire: 1;
+
130  bool DarkPalace: 1;
+
131  bool SwampPalace: 1;
+
132  bool HyruleCastle2: 1; // unused in orignal game
+
133  bool DesertPalace: 1;
+
134  bool EasternPalace: 1;
+
135  bool HyruleCastle: 1; // unused exist in original game
+
136  bool SewerPassage: 1; // unused exist in original game
+
137  };
+
138  atUint8 flags2;
+
139  };
+
140 };
+
141 
+ +
143 {
+
144  bool Courage: 1;
+
145  bool Wisdom: 1;
+
146  bool Power: 1;
+
147  bool Unused1: 1;
+
148  bool Unused2: 1;
+
149  bool Unused3: 1;
+
150  bool Unused4: 1;
+
151  bool Unused5: 1;
+
152 };
+
153 
+ +
155 {
+
156  bool Nothing: 1; //?
+
157  bool Swim: 1;
+
158  bool Dash: 1;
+
159  bool Pull: 1;
+
160  bool Unknown1: 1; //---
+
161  bool Talk: 1;
+
162  bool Read: 1;
+
163  bool Unknown2: 1; //---
+
164 };
+
165 
+ +
167 {
+
168  bool MiseryMire: 1;
+
169  bool DarkPalace: 1;
+
170  bool IcePalace: 1;
+
171  bool TurtleRock: 1;
+
172  bool SwampPalace: 1;
+
173  bool GargoyleDomain: 1;
+
174  bool SkullWoods: 1;
+
175 };
+
176 
+ +
178 {
+
179  bool Normal: 1;
+
180  bool Half: 1;
+
181  bool Quarter: 1;
+
182  bool Unused1: 1;
+
183  bool Unused2: 1;
+
184  bool Unused3: 1;
+
185  bool Unused4: 1;
+
186  bool Unused5: 1;
+
187 };
+
188 
+
189 
+ +
191 {
+
192  bool UncleSecretPassage: 1;
+
193  bool DyingPriest: 1; //?
+
194  bool ZeldaSanctuary: 1; //?
+
195  bool Unused1: 1;
+
196  bool UncleLeftHouse: 1;
+
197  bool BookOfMudora: 1; //? Math says it's a guess need to investigate
+
198  bool DwarfPartner: 1; //?
+
199  bool Unused2: 1;
+
200 };
+
201 
+
202 
+ +
204 {
+
205  bool BottleFromBum: 1;
+
206  bool BottleFromSalesMen: 1;
+
207  bool Unused1: 1; //?
+
208  bool FluteBoy: 1;
+
209  bool ThiefsChest: 1;
+
210  bool SavedSmithPartner: 1;
+
211  bool Unused2: 1; //?
+
212  bool SmithsHaveSword: 1;
+
213 };
+
214 
+
215 }
+
216 
+
217 #endif // __DOXYGEN_IGNORE__
+
218 #endif // ALTTP_STRUCTS_HPP
+ + + + + + + + + + + + +
+
+ + + + diff --git a/docs/_checksums_8hpp_source.html b/docs/_checksums_8hpp_source.html new file mode 100644 index 0000000..4e1fca2 --- /dev/null +++ b/docs/_checksums_8hpp_source.html @@ -0,0 +1,151 @@ + + + + + + +Athena IO Library: include/Athena/Checksums.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Checksums.hpp
+
+
+
1 // This file is part of libAthena.
+
2 //
+
3 // libAthena is free software: you can redistribute it and/or modify
+
4 // it under the terms of the GNU General Public License as published by
+
5 // the Free Software Foundation, either version 3 of the License, or
+
6 // (at your option) any later version.
+
7 //
+
8 // libAthena is distributed in the hope that it will be useful,
+
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
11 // GNU General Public License for more details.
+
12 //
+
13 // You should have received a copy of the GNU General Public License
+
14 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
15 
+
16 #ifndef CHECKSUMS_HPP
+
17 #define CHECKSUMS_HPP
+
18 
+
19 #include "Athena/Global.hpp"
+
20 
+
21 namespace Athena
+
22 {
+
23 namespace Checksums
+
24 {
+
25 atUint32 crc32(const atUint8* data, atUint64 length, atUint32 seed = 0xFFFFFFFF);
+
26 atUint16 crc16CCITT(const atUint8* data, atUint64 length, atUint16 seed = 0xFFFF, atUint16 final = 0);
+
27 atUint16 crc16(const atUint8* data, atUint64 length);
+
28 }
+
29 }
+
30 #endif // CHECKSUMS_HPP
+ +
+
+ + + + diff --git a/docs/_compression_8hpp_source.html b/docs/_compression_8hpp_source.html new file mode 100644 index 0000000..3b35ba5 --- /dev/null +++ b/docs/_compression_8hpp_source.html @@ -0,0 +1,164 @@ + + + + + + +Athena IO Library: include/Athena/Compression.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Compression.hpp
+
+
+
1 // This file is part of libAthena.
+
2 //
+
3 // libAthena is free software: you can redistribute it and/or modify
+
4 // it under the terms of the GNU General Public License as published by
+
5 // the Free Software Foundation, either version 3 of the License, or
+
6 // (at your option) any later version.
+
7 //
+
8 // libAthena is distributed in the hope that it will be useful,
+
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
11 // GNU General Public License for more details.
+
12 //
+
13 // You should have received a copy of the GNU General Public License
+
14 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
15 
+
16 #ifndef COMPRESSION_HPP
+
17 #define COMPRESSION_HPP
+
18 
+
19 #include "Athena/Global.hpp"
+
20 
+
21 namespace Athena
+
22 {
+
23 namespace io
+
24 {
+
25 namespace Compression
+
26 {
+
27 // Zlib compression
+
28 atInt32 decompressZlib(const atUint8* src, atUint32 srcLen, atUint8* dst, atUint32 dstLen);
+
29 atInt32 compressZlib(const atUint8* src, atUint32 srcLen, atUint8* dst, atUint32 dstLen);
+
30 
+
31 // lzo compression
+
32 atInt32 decompressLZO(const atUint8* source, atInt32 sourceSize, atUint8* dst, atInt32& dstSize);
+
33 
+
34 // Yaz0 encoding
+
35 atUint32 yaz0Decode(const atUint8* src, atUint8* dst, atUint32 uncompressedSize);
+
36 atUint32 yaz0Encode(const atUint8* src, atUint32 srcSize, atUint8* data);
+
37 
+
38 atUint32 decompressLZ77(const atUint8* src, atUint32 srcLen, atUint8** dst);
+
39 atUint32 compressLZ77(const atUint8* src, atUint32 srcLen, atUint8** dst, bool extended = false);
+
40 }
+
41 }
+
42 }
+
43 #endif // COMPRESSION_HPP
+ +
+
+ + + + diff --git a/docs/_dir_8hpp_source.html b/docs/_dir_8hpp_source.html new file mode 100644 index 0000000..89fca80 --- /dev/null +++ b/docs/_dir_8hpp_source.html @@ -0,0 +1,156 @@ + + + + + + +Athena IO Library: include/Athena/Dir.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Dir.hpp
+
+
+
1 #ifndef DIR_HPP
+
2 #define DIR_HPP
+
3 
+
4 #include "Athena/FileInfo.hpp"
+
5 #include <stdio.h>
+
6 
+
7 namespace Athena
+
8 {
+
9 class Dir
+
10 {
+
11 public:
+
12  explicit Dir(const std::string& path);
+
13 
+
14  std::string absolutePath() const;
+
15  static inline std::string absolutePath(const std::string& path)
+
16  { return Dir(path).absolutePath(); }
+
17 
+
18  bool isDir() const;
+
19  static bool isDir(const std::string dir)
+
20  { return Dir(dir).isDir(); }
+
21 
+
22  std::vector<FileInfo> files() const;
+
23 
+
24  bool cd(const std::string& path);
+
25  bool rm(const std::string& path);
+
26  bool touch();
+
27  static bool mkdir(const std::string& dir, mode_t mode = 0755);
+
28  static bool mkpath(const std::string& path, mode_t mode = 0755);
+
29 private:
+
30  std::string m_path;
+
31 };
+
32 }
+
33 
+
34 #endif // DIR_HPP
+ + +
+
+ + + + diff --git a/docs/_exception_8hpp_source.html b/docs/_exception_8hpp_source.html new file mode 100644 index 0000000..9b394ea --- /dev/null +++ b/docs/_exception_8hpp_source.html @@ -0,0 +1,244 @@ + + + + + + +Athena IO Library: include/Athena/Exception.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Exception.hpp
+
+
+
1 // This file is part of libAthena.
+
2 //
+
3 // libAthena is free software: you can redistribute it and/or modify
+
4 // it under the terms of the GNU General Public License as published by
+
5 // the Free Software Foundation, either version 3 of the License, or
+
6 // (at your option) any later version.
+
7 //
+
8 // libAthena is distributed in the hope that it will be useful,
+
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
11 // GNU General Public License for more details.
+
12 //
+
13 // You should have received a copy of the GNU General Public License
+
14 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
15 
+
16 #ifndef EXCEPTION_HPP
+
17 #define EXCEPTION_HPP
+
18 
+
19 #include <string>
+
20 #include <stdarg.h>
+
21 #include "Athena/Utility.hpp"
+
22 #include "Athena/Global.hpp"
+
23 
+
24 #define __STRX(x) #x
+
25 #define __STR(x) __STRX(x)
+
26 #define __LINE_STRING__ __STR(__LINE__)
+
27 
+
28 namespace Athena
+
29 {
+
30 namespace error
+
31 {
+
38 class Exception
+
39 {
+
40 public:
+
44  inline Exception(const std::string& message, const std::string& file, const std::string& function, const int line) :
+
45  m_message(message),
+
46  m_file(file),
+
47  m_function(function),
+
48  m_line(line),
+
49  m_exceptionName("Exception")
+
50  {
+
51  }
+
52 
+
56  inline std::string message() const
+
57  {
+
58  return m_exceptionName + (m_message.empty() ? "" : ": " + m_message);
+
59  }
+
60 
+
61  inline std::string file() const
+
62  {
+
63  return m_file;
+
64  }
+
65 
+
66  inline std::string function() const
+
67  {
+
68  return m_function;
+
69  }
+
70 
+
71  inline int line() const
+
72  {
+
73  return m_line;
+
74  }
+
75 
+
76  inline std::string formattedMessage() const
+
77  {
+
78  return Athena::utility::sprintf("%s : %s (%i) %s", m_file.c_str(), m_function.c_str(), m_line, message().c_str());
+
79  }
+
80 protected:
+
81  std::string m_message;
+
82  std::string m_file;
+
83  std::string m_function;
+
84  int m_line;
+
85  std::string m_exceptionName;
+
86 };
+
87 } // error
+
88 } // Athena
+
89 #ifdef _MSC_VER
+
90 #define THROW_EXCEPTION(args,...) \
+
91 do { \
+
92  if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, __VA_ARGS__); return; \
+
93  } else { std::string msg = Athena::utility::sprintf(__VA_ARGS__); \
+
94  throw Athena::error::Exception(std::string("Exception: ")+msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \
+
95  } \
+
96 } while(0)
+
97 #elif defined(__GNUC__)
+
98 #define THROW_EXCEPTION(args...) \
+
99 do { \
+
100  if (atGetExceptionHandler()) { atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, args); return; \
+
101  } else { \
+
102  std::string msg = Athena::utility::sprintf(args); \
+
103  throw Athena::error::Exception(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \
+
104  } \
+
105 } while(0)
+
106 #endif
+
107 
+
108 #ifdef _MSC_VER
+
109 #define THROW_EXCEPTION_RETURN(ret, args,...) \
+
110 do { \
+
111  if (atGetExceptionHandler()) \
+
112  { \
+
113  atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, __VA_ARGS__); \
+
114  return ret; \
+
115  } else { \
+
116  std::string msg = Athena::utility::sprintf(__VA_ARGS__); \
+
117  throw Athena::error::Exception(std::string("Exception: ")+msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \
+
118  } \
+
119 } while(0)
+
120 #elif defined(__GNUC__)
+
121 #define THROW_EXCEPTION_RETURN(ret, args...) \
+
122 do { \
+
123  if (atGetExceptionHandler()) { atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, args); return ret; \
+
124  } else { \
+
125  std::string msg = Athena::utility::sprintf(args); \
+
126  throw Athena::error::Exception(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \
+
127  } \
+
128 } while(0)
+
129 #endif
+
130 
+
131 #endif // EXCEPTION_HPP
+
Exception(const std::string &message, const std::string &file, const std::string &function, const int line)
The constructor for an Exception.
Definition: Exception.hpp:44
+
std::string message() const
Returns the Error message of the exception.
Definition: Exception.hpp:56
+
std::string m_message
The error message string.
Definition: Exception.hpp:81
+ +
The baseclass for all Exceptions.
Definition: Exception.hpp:38
+
+
+ + + + diff --git a/docs/_file_info_8hpp_source.html b/docs/_file_info_8hpp_source.html new file mode 100644 index 0000000..ac2b74e --- /dev/null +++ b/docs/_file_info_8hpp_source.html @@ -0,0 +1,181 @@ + + + + + + +Athena IO Library: include/Athena/FileInfo.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
FileInfo.hpp
+
+
+
1 #ifndef FILEINFO_HPP
+
2 #define FILEINFO_HPP
+
3 
+
4 #include <string>
+
5 
+
6 #include "Athena/Global.hpp"
+
7 
+
8 namespace Athena
+
9 {
+
10 class FileInfo
+
11 {
+
12 public:
+
13  explicit FileInfo(const std::string& path = std::string());
+
14 
+
15  std::string absolutePath() const;
+
16  static inline std::string absolutePath(const std::string& lnk)
+
17  { return FileInfo(lnk).absolutePath(); }
+
18 
+
19  std::string absoluteFilePath() const;
+
20  static inline std::string absoluteFilePath(const std::string& path)
+
21  { return FileInfo(path).absoluteFilePath(); }
+
22 
+
23  std::string filename() const;
+
24  static inline std::string filename(const std::string path)
+
25  { return FileInfo(path).filename(); }
+
26 
+
27  std::string path() const;
+
28  static inline std::string path(const std::string path)
+
29  { return FileInfo(path).path(); }
+
30 
+
31  std::string extension() const;
+
32  static inline std::string extension(const std::string path)
+
33  { return FileInfo(path).extension(); }
+
34 
+
35  atUint64 size() const;
+
36  static inline atUint64 size(const std::string path)
+
37  { return FileInfo(path).size(); }
+
38 
+
39  bool exists() const;
+
40  static inline bool exists(const std::string& path)
+
41  { return FileInfo(path).exists(); }
+
42 
+
43  bool isLink() const;
+
44  static inline bool isLink(const std::string& lnk)
+
45  { return FileInfo(lnk).isLink(); }
+
46  bool isFile() const;
+
47  static inline bool isFile(const std::string& path)
+
48  { return FileInfo(path).isFile(); }
+
49 
+
50  bool touch() const;
+
51  static inline bool touch(const std::string& path)
+
52  { return FileInfo(path).touch(); }
+
53 
+
54 private:
+
55  std::string m_path;
+
56 };
+
57 }
+
58 
+
59 #endif // FILEINFO_HPP
+ + +
+
+ + + + diff --git a/docs/_file_not_found_exception_8hpp_source.html b/docs/_file_not_found_exception_8hpp_source.html new file mode 100644 index 0000000..196cb7a --- /dev/null +++ b/docs/_file_not_found_exception_8hpp_source.html @@ -0,0 +1,194 @@ + + + + + + +Athena IO Library: include/Athena/FileNotFoundException.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
FileNotFoundException.hpp
+
+
+
1 // This file is part of libAthena.
+
2 //
+
3 // libAthena is free software: you can redistribute it and/or modify
+
4 // it under the terms of the GNU General Public License as published by
+
5 // the Free Software Foundation, either version 3 of the License, or
+
6 // (at your option) any later version.
+
7 //
+
8 // libAthena is distributed in the hope that it will be useful,
+
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
11 // GNU General Public License for more details.
+
12 //
+
13 // You should have received a copy of the GNU General Public License
+
14 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
15 
+
16 #ifndef FILENOTFOUNDEXCEPTION_HPP
+
17 #define FILENOTFOUNDEXCEPTION_HPP
+
18 
+
19 #include "Athena/Exception.hpp"
+
20 
+
21 namespace Athena
+
22 {
+
23 namespace error
+
24 {
+ +
34 {
+
35 public:
+
39  inline FileNotFoundException(const std::string& filename, const std::string& file, const std::string& function, const int line) :
+
40  Exception(std::string("FileNotFoundException: Could not find file \"") + filename + std::string("\", please check that it exists."), file, function, line),
+
41  m_filename(filename)
+
42  {
+
43  m_exceptionName = "FileNotFoundException";
+
44  }
+
45 
+
49  inline std::string filename() const { return m_filename; }
+
50 private:
+
51  std::string m_filename;
+
52 };
+
53 } // error
+
54 } // Athena
+
55 
+
56 #ifndef THROW_FILE_NOT_FOUND_EXCEPTION
+
57 #define THROW_FILE_NOT_FOUND_EXCEPTION(msg) \
+
58  do { \
+
59  if (atGetExceptionHandler()) \
+
60  { \
+
61  atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, msg); \
+
62  return; \
+
63  } \
+
64  else \
+
65  throw Athena::error::FileNotFoundException(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \
+
66 } while(0)
+
67 #endif
+
68 
+
69 #ifndef THROW_FILE_NOT_FOUND_EXCEPTION_RETURN
+
70 #define THROW_FILE_NOT_FOUND_EXCEPTION_RETURN(ret, msg) \
+
71  do { \
+
72  if (atGetExceptionHandler()) \
+
73  { \
+
74  atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, msg); \
+
75  return ret; \
+
76  } \
+
77  else \
+
78  throw Athena::error::FileNotFoundException(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \
+
79 } while(0)
+
80 #endif
+
81 
+
82 
+
83 #endif // FILENOTFOUNDEXCEPTION_HPP
+
FileNotFoundException(const std::string &filename, const std::string &file, const std::string &function, const int line)
The constructor for an FileNotFoundException.
+
std::string filename() const
Returns the path of the offending file.
+
An excpeption thrown when a file could not be found at the given path.
+ +
The baseclass for all Exceptions.
Definition: Exception.hpp:38
+
+
+ + + + diff --git a/docs/_file_reader_8hpp_source.html b/docs/_file_reader_8hpp_source.html new file mode 100644 index 0000000..8d8032a --- /dev/null +++ b/docs/_file_reader_8hpp_source.html @@ -0,0 +1,209 @@ + + + + + + +Athena IO Library: include/Athena/FileReader.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
FileReader.hpp
+
+
+
1 // This file is part of libAthena.
+
2 //
+
3 // libAthena is free software: you can redistribute it and/or modify
+
4 // it under the terms of the GNU General Public License as published by
+
5 // the Free Software Foundation, either version 3 of the License, or
+
6 // (at your option) any later version.
+
7 //
+
8 // libAthena is distributed in the hope that it will be useful,
+
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
11 // GNU General Public License for more details.
+
12 //
+
13 // You should have received a copy of the GNU General Public License
+
14 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
15 
+
16 #ifndef FILESTREAM_HPP
+
17 #define FILESTREAM_HPP
+
18 
+
19 #include "Athena/IStreamReader.hpp"
+
20 #include <string>
+
21 #include <stdio.h>
+
22 
+
23 namespace Athena
+
24 {
+
25 namespace io
+
26 {
+
27 class FileReader : public IStreamReader
+
28 {
+
29 public:
+
30  FileReader(const std::string& filename);
+
31  virtual ~FileReader();
+
32  std::string filename() const;
+
33 
+
34  void setEndian(Endian endian);
+
35  Endian endian() const;
+
36  bool isBigEndian() const;
+
37  bool isLittleEndian() const;
+
38  void open();
+
39  void close();
+
40  bool isOpen() const;
+
41  bool save();
+
42  void seek(atInt64 pos, SeekOrigin origin = SeekOrigin::Current);
+
43  inline void seekAlign32() {seek(ROUND_UP_32(position()), SeekOrigin::Begin);}
+
44  bool atEnd() const;
+
45  atUint64 position() const;
+
46  atUint64 length() const;
+
47 
+
48 
+
49  void seekBit(int);
+
50  bool readBit();
+
51  atUint8 readUByte();
+
52  atInt8 readByte();
+
53  atUint8* readUBytes(atUint64 len);
+
54  atInt8* readBytes(atUint64 len);
+
55  atUint64 readBytesToBuf(void* buf, atUint64 len) {return readUBytesToBuf(buf, len);}
+
56  atUint64 readUBytesToBuf(void* buf, atUint64 len);
+
57  atUint16 readUint16();
+
58  atInt16 readInt16();
+
59  atUint32 readUint32();
+
60  atInt32 readInt32();
+
61  atUint64 readUint64();
+
62  atInt64 readInt64();
+
63  double readDouble();
+
64  float readFloat();
+
65  bool readBool();
+
66  std::string readString(atInt32 maxlen = -1);
+
67  std::string readUnicode(atInt32 maxlen = -1);
+
68 protected:
+
69  std::string m_filename;
+
70  FILE* m_fileHandle;
+
71  Endian m_endian;
+
72  atUint8 m_currentByte;
+
73  atUint8 m_bitShift;
+
74  bool m_bitValid;
+
75 };
+
76 } // io
+
77 } // Athena
+
78 
+
79 #ifndef FILEREADER_BASE
+
80 #define FILEREADER_BASE() \
+
81 private: \
+
82  typedef Athena::io::FileReader base
+
83 
+
84 #endif // FILEREADER_BASE
+
85 
+
86 #endif // FILESTREAM_HPP
+ + + +
+
+ + + + diff --git a/docs/_file_writer_8hpp_source.html b/docs/_file_writer_8hpp_source.html new file mode 100644 index 0000000..bc82bfd --- /dev/null +++ b/docs/_file_writer_8hpp_source.html @@ -0,0 +1,205 @@ + + + + + + +Athena IO Library: include/Athena/FileWriter.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
FileWriter.hpp
+
+
+
1 // This file is part of libAthena.
+
2 //
+
3 // libAthena is free software: you can redistribute it and/or modify
+
4 // it under the terms of the GNU General Public License as published by
+
5 // the Free Software Foundation, either version 3 of the License, or
+
6 // (at your option) any later version.
+
7 //
+
8 // libAthena is distributed in the hope that it will be useful,
+
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
11 // GNU General Public License for more details.
+
12 //
+
13 // You should have received a copy of the GNU General Public License
+
14 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
15 
+
16 #ifndef FILEWRITER_HPP
+
17 #define FILEWRITER_HPP
+
18 
+
19 #include "Athena/IStreamWriter.hpp"
+
20 #include <stdio.h>
+
21 
+
22 namespace Athena
+
23 {
+
24 namespace io
+
25 {
+
26 class FileWriter : public IStreamWriter
+
27 {
+
28 public:
+
29  FileWriter(const std::string& filename, bool overwrite = true);
+
30  virtual ~FileWriter();
+
31 
+
32  void setEndian(Endian endian);
+
33  Endian endian() const;
+
34  bool isBigEndian() const;
+
35  bool isLittleEndian() const;
+
36  void open(bool overwrite = true);
+
37  void close();
+
38  bool isOpen() const;
+
39  void seek(atInt64 pos, SeekOrigin origin = SeekOrigin::Current);
+
40  inline void seekAlign32() {seek(ROUND_UP_32(position()), SeekOrigin::Begin);}
+
41  bool atEnd() const;
+
42  atUint64 position() const;
+
43  atUint64 length() const;
+
44 
+
45  void writeBit(bool val);
+
46  void seekBit(int bit);
+
47  void writeUByte(atUint8 val);
+
48  void writeByte(atInt8 val);
+
49  void writeUBytes(atUint8* data, atUint64 len);
+
50  void writeBytes(atInt8* data, atUint64 len);
+
51  void writeUint16(atUint16 val);
+
52  void writeInt16(atInt16 val);
+
53  void writeUint32(atUint32 val);
+
54  void writeInt32(atInt32 val);
+
55  void writeUint64(atUint64 val);
+
56  void writeInt64(atInt64 val);
+
57  void writeDouble(double val);
+
58  void writeFloat(float val);
+
59  void writeBool(bool val);
+
60  void writeString(const std::string& val);
+
61  void writeUnicode(const std::string& str);
+
62  void fill(atInt8 byte, atUint64 len);
+
63  void fill(atUint8 byte, atUint64 len);
+
64 private:
+
65  std::string m_filename;
+
66  FILE* m_fileHandle;
+
67  Endian m_endian;
+
68  atUint8 m_currentByte;
+
69  atUint64 m_bytePosition;
+
70  atUint8 m_bitShift;
+
71  bool m_bitValid;
+
72 };
+
73 }
+
74 } // Athena
+
75 
+
76 #ifndef FILEWRITER_BASE
+
77 #define FILEWRITER_BASE() \
+
78 private: \
+
79  typedef Athena::io::FileWriter base;
+
80 
+
81 #endif // FILEWRITER_BASE
+
82 #endif // FILEWRITER_HPP
+ + + +
+
+ + + + diff --git a/docs/_global_8hpp_source.html b/docs/_global_8hpp_source.html new file mode 100644 index 0000000..dc37d62 --- /dev/null +++ b/docs/_global_8hpp_source.html @@ -0,0 +1,248 @@ + + + + + + +Athena IO Library: include/Athena/Global.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Global.hpp
+
+
+
1 // This file is part of libAthena.
+
2 //
+
3 // libAthena is free software: you can redistribute it and/or modify
+
4 // it under the terms of the GNU General Public License as published by
+
5 // the Free Software Foundation, either version 3 of the License, or
+
6 // (at your option) any later version.
+
7 //
+
8 // libAthena is distributed in the hope that it will be useful,
+
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
11 // GNU General Public License for more details.
+
12 //
+
13 // You should have received a copy of the GNU General Public License
+
14 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
15 
+
16 #ifndef GLOBAL_HPP
+
17 #define GLOBAL_HPP
+
18 
+
19 #include "Athena/Types.hpp"
+
20 #include "Athena/Utility.hpp"
+
21 #include <iostream>
+
22 
+
23 #ifdef _MSC_VER
+
24 #pragma warning(disable : 4996)
+
25 #endif
+
26 
+
27 #ifndef AT_PRETTY_FUNCTION
+
28 # if defined(__PRETTY_FUNCTION__) || defined(__GNUC__)
+
29 # define AT_PRETTY_FUNCTION __PRETTY_FUNCTION__
+
30 # elif defined(__FUNCSIG__)
+
31 # define AT_PRETTY_FUNCTION __FUNCSIG__
+
32 # elif defined(__FUNCTION__)
+
33 # define AT_PRETTY_FUNCTION __FUNCTION__
+
34 # elif defined(__FUNC__)
+
35 # define AT_PRETTY_FUNCTION __FUNC__
+
36 # elif defined(__func__)
+
37 # define AT_PRETTY_FUNCTION __func__
+
38 # else
+
39 # define AT_PRETTY_FUNCTION "<unknown>"
+
40 # endif
+
41 #endif
+
42 
+
43 
+
44 #ifdef GEKKO
+
45 #include "gekko_support.h"
+
46 typedef struct stat stat64_t;
+
47 #define stat64 stat
+
48 #else
+
49 typedef struct stat64 stat64_t;
+
50 #endif
+
51 
+
52 #ifndef aDebug
+
53 #define aDebug() \
+
54  std::cout << __FILE__ << "(" << __LINE__ << ") " << AT_PRETTY_FUNCTION << ": "
+
55 #endif
+
56 #ifndef aError
+
57 #define aError() \
+
58  std::cerr << __FILE__ << "(" << __LINE__ << ") " << AT_PRETTY_FUNCTION << ": "
+
59 #endif
+
60 
+
61 #ifndef aPrint
+
62 #define aPrint() std::cout
+
63 #endif
+
64 
+
65 #define aEnd() '\n'
+
66 
+
67 #ifndef BLOCKSZ
+
68 #define BLOCKSZ 512
+
69 #endif
+
70 
+
71 #define ROUND_UP_32(val) (((val) + 31) & ~31)
+
72 #define ROUND_UP_16(val) (((val) + 15) & ~15)
+
73 
+
74 namespace Athena
+
75 {
+
76 enum class SeekOrigin
+
77 {
+
78  Begin,
+
79  Current,
+
80  End
+
81 };
+
82 
+
83 enum class Endian
+
84 {
+
85  LittleEndian,
+
86  BigEndian
+
87 };
+
88 
+
89 #ifndef ATHENA_NO_SAKURA
+
90 namespace Sakura
+
91 {
+
92 
+
93 template <typename T>
+
94 class Vector2D
+
95 {
+
96 public:
+
97  T x;
+
98  T y;
+
99 
+
100  Vector2D()
+
101  : x(0),
+
102  y(0)
+
103  {
+
104  }
+
105 
+
106  Vector2D(T x, T y)
+
107  : x(x),
+
108  y(y)
+
109  {
+
110  }
+
111 };
+
112 
+
113 typedef Vector2D<int> Vector2Di;
+
114 typedef Vector2D<float> Vector2Df;
+
115 } // Sakura
+
116 #endif // ATHENA_NO_SAKURA
+
117 } // Athena
+
118 
+
119 typedef void (*atEXCEPTION_HANDLER)(const std::string& file, const std::string& function, int line, const std::string&, ...);
+
120 
+
121 atEXCEPTION_HANDLER atGetExceptionHandler();
+
122 void atSetExceptionHandler(atEXCEPTION_HANDLER func);
+
123 
+
124 std::ostream& operator<<(std::ostream& os, const Athena::SeekOrigin& origin);
+
125 std::ostream& operator<<(std::ostream& os, const Athena::Endian& endian);
+
126 #endif // GLOBAL_HPP
+ + +
+
+ + + + diff --git a/docs/_i_o_exception_8hpp_source.html b/docs/_i_o_exception_8hpp_source.html new file mode 100644 index 0000000..0241031 --- /dev/null +++ b/docs/_i_o_exception_8hpp_source.html @@ -0,0 +1,209 @@ + + + + + + +Athena IO Library: include/Athena/IOException.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IOException.hpp
+
+
+
1 // This file is part of libAthena.
+
2 //
+
3 // libAthena is free software: you can redistribute it and/or modify
+
4 // it under the terms of the GNU General Public License as published by
+
5 // the Free Software Foundation, either version 3 of the License, or
+
6 // (at your option) any later version.
+
7 //
+
8 // libAthena is distributed in the hope that it will be useful,
+
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
11 // GNU General Public License for more details.
+
12 //
+
13 // You should have received a copy of the GNU General Public License
+
14 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
15 
+
16 #ifndef IOEXCEPTION_HPP
+
17 #define IOEXCEPTION_HPP
+
18 
+
19 #include "Athena/Exception.hpp"
+
20 
+
21 
+
22 namespace Athena
+
23 {
+
24 namespace error
+
25 {
+
36 class IOException : public Exception
+
37 {
+
38 public:
+
42  inline IOException(const std::string& message, const std::string& file, const std::string& function, const int line) :
+
43  Exception(message, file, function, line)
+
44  {
+
45  m_exceptionName = "IOException";
+
46  }
+
47 };
+
48 
+
49 } // error
+
50 } // Athena
+
51 
+
52 #ifdef _MSC_VER
+
53 #define THROW_IO_EXCEPTION(args, ...) \
+
54  do { \
+
55  if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, __VA_ARGS__); return; \
+
56  } else {
+
57 std::string msg = Athena::utility::sprintf(args, __VA_ARGS__);
+
58 \
+
59 throw Athena::error::IOException(std::string("IOException: ") + msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__);
+
60 \
+
61 } \
+
62 
+
63 } while (0)
+
64 #elif defined(__GNUC__)
+
65 #define THROW_IO_EXCEPTION(args...) \
+
66  do { \
+
67  if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, args); return; \
+
68  } else { std::string msg = Athena::utility::sprintf(args); \
+
69  throw Athena::error::IOException(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \
+
70  } \
+
71  } while(0)
+
72 #endif
+
73 
+
74 #ifdef _MSC_VER
+
75 #define THROW_IO_EXCEPTION_RETURN(ret, args, ...) \
+
76  do { \
+
77  if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, __VA_ARGS__); return ret; \
+
78  } else {
+
79  std::string msg = Athena::utility::sprintf(args, __VA_ARGS__);
+
80 
+
81 \
+
82 throw Athena::error::IOException(std::string("IOException: ") + msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__);
+
83 \
+
84 } \
+
85 
+
86 } while (0)
+
87 #elif defined(__GNUC__)
+
88 #define THROW_IO_EXCEPTION_RETURN(ret, args...) \
+
89  do { \
+
90  if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, args); return ret; \
+
91  } else { std::string msg = Athena::utility::sprintf(args); \
+
92  throw Athena::error::IOException(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \
+
93  } \
+
94  } while(0)
+
95 #endif
+
96 
+
97 #endif // IOEXCEPTION_HPP
+
IOException(const std::string &message, const std::string &file, const std::string &function, const int line)
The constructor for an IOException.
Definition: IOException.hpp:42
+
std::string message() const
Returns the Error message of the exception.
Definition: Exception.hpp:56
+
An excpeption thrown on inappropriate IO calls.
Definition: IOException.hpp:36
+ +
The baseclass for all Exceptions.
Definition: Exception.hpp:38
+
+
+ + + + diff --git a/docs/_i_stream_8hpp_source.html b/docs/_i_stream_8hpp_source.html new file mode 100644 index 0000000..a459fb1 --- /dev/null +++ b/docs/_i_stream_8hpp_source.html @@ -0,0 +1,168 @@ + + + + + + +Athena IO Library: include/Athena/IStream.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IStream.hpp
+
+
+
1 // This file is part of libAthena.
+
2 //
+
3 // libAthena is free software: you can redistribute it and/or modify
+
4 // it under the terms of the GNU General Public License as published by
+
5 // the Free Software Foundation, either version 3 of the License, or
+
6 // (at your option) any later version.
+
7 //
+
8 // libAthena is distributed in the hope that it will be useful,
+
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
11 // GNU General Public License for more details.
+
12 //
+
13 // You should have received a copy of the GNU General Public License
+
14 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
15 
+
16 #ifndef STREAM_HPP
+
17 #define STREAM_HPP
+
18 
+
19 #include "Global.hpp"
+
20 #include "Athena/NotImplementedException.hpp"
+
21 
+
22 namespace Athena
+
23 {
+
24 namespace io
+
25 {
+
26 std::ostream& operator<<(std::ostream& os, Endian& endian);
+
27 
+
28 class IStream
+
29 {
+
30 public:
+
31  virtual ~IStream() {}
+
32 
+
33  virtual void setEndian(Endian) = 0;
+
34  virtual Endian endian() const = 0;
+
35  virtual bool isBigEndian() const = 0;
+
36  virtual bool isLittleEndian()const = 0;
+
37  virtual bool isOpen() const = 0;
+
38  virtual void seek(atInt64, SeekOrigin) = 0;
+
39  virtual bool atEnd() const = 0;
+
40  virtual atUint64 position() const = 0;
+
41  virtual atUint64 length() const = 0;
+
42  virtual void seekBit(int) = 0;
+
43 };
+
44 }
+
45 }
+
46 #endif // STREAM_HPP
+ + +
+
+ + + + diff --git a/docs/_i_stream_reader_8hpp_source.html b/docs/_i_stream_reader_8hpp_source.html new file mode 100644 index 0000000..88a60ab --- /dev/null +++ b/docs/_i_stream_reader_8hpp_source.html @@ -0,0 +1,170 @@ + + + + + + +Athena IO Library: include/Athena/IStreamReader.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IStreamReader.hpp
+
+
+
1 #ifndef ISTREAMREADER_HPP
+
2 #define ISTREAMREADER_HPP
+
3 
+
4 #include "IStream.hpp"
+
5 
+
6 namespace Athena
+
7 {
+
8 namespace io
+
9 {
+
10 class IStreamReader : public IStream
+
11 {
+
12 public:
+
13  virtual ~IStreamReader() {}
+
14  virtual void setEndian(Endian) = 0;
+
15  virtual Endian endian() const = 0;
+
16  virtual bool isBigEndian() const = 0;
+
17  virtual bool isLittleEndian()const = 0;
+
18  virtual bool isOpen() const = 0;
+
19  virtual void seek(atInt64, SeekOrigin) = 0;
+
20  virtual void seekAlign32() = 0;
+
21  virtual bool atEnd() const = 0;
+
22  virtual atUint64 position() const = 0;
+
23  virtual atUint64 length() const = 0;
+
24  virtual void seekBit(int) = 0;
+
25  virtual bool readBit() = 0;
+
26  virtual atUint8 readUByte() = 0;
+
27  virtual atInt8 readByte() = 0;
+
28  virtual atUint8* readUBytes(atUint64) = 0;
+
29  virtual atInt8* readBytes(atUint64) = 0;
+
30  virtual atUint64 readUBytesToBuf(void*, atUint64) = 0;
+
31  virtual atUint64 readBytesToBuf(void*, atUint64) = 0;
+
32  virtual atUint16 readUint16() = 0;
+
33  virtual atInt16 readInt16() = 0;
+
34  virtual atUint32 readUint32() = 0;
+
35  virtual atInt32 readInt32() = 0;
+
36  virtual atUint64 readUint64() = 0;
+
37  virtual atInt64 readInt64() = 0;
+
38  virtual double readDouble() = 0;
+
39  virtual float readFloat() = 0;
+
40  virtual bool readBool() = 0;
+
41  virtual std::string readUnicode(atInt32 = -1) = 0;
+
42  virtual std::string readString(atInt32 = -1) = 0;
+
43 };
+
44 }
+
45 }
+
46 #endif // ISTREAMREADER
+
47 
+ + + +
+
+ + + + diff --git a/docs/_i_stream_writer_8hpp_source.html b/docs/_i_stream_writer_8hpp_source.html new file mode 100644 index 0000000..cde52fc --- /dev/null +++ b/docs/_i_stream_writer_8hpp_source.html @@ -0,0 +1,170 @@ + + + + + + +Athena IO Library: include/Athena/IStreamWriter.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
IStreamWriter.hpp
+
+
+
1 #ifndef ISTREAMWRITER_HPP
+
2 #define ISTREAMWRITER_HPP
+
3 
+
4 #include "IStream.hpp"
+
5 
+
6 namespace Athena
+
7 {
+
8 namespace io
+
9 {
+
10 class IStreamWriter : public IStream
+
11 {
+
12 public:
+
13  virtual ~IStreamWriter() {}
+
14  virtual void setEndian(Endian) = 0;
+
15  virtual Endian endian() const = 0;
+
16  virtual bool isBigEndian() const = 0;
+
17  virtual bool isLittleEndian()const = 0;
+
18  virtual bool isOpen() const = 0;
+
19  virtual void seek(atInt64, SeekOrigin) = 0;
+
20  virtual void seekAlign32() = 0;
+
21  virtual bool atEnd() const = 0;
+
22  virtual atUint64 position() const = 0;
+
23  virtual atUint64 length() const = 0;
+
24  virtual void seekBit(int) = 0;
+
25  virtual void writeBit(bool) = 0;
+
26  virtual void writeUByte(atUint8) = 0;
+
27  virtual void writeByte(atInt8) = 0;
+
28  virtual void writeUBytes(atUint8*, atUint64) = 0;
+
29  virtual void writeBytes(atInt8*, atUint64) = 0;
+
30  virtual void writeUint16(atUint16) = 0;
+
31  virtual void writeInt16(atInt16) = 0;
+
32  virtual void writeUint32(atUint32) = 0;
+
33  virtual void writeInt32(atInt32) = 0;
+
34  virtual void writeUint64(atUint64) = 0;
+
35  virtual void writeInt64(atInt64) = 0;
+
36  virtual void writeDouble(double) = 0;
+
37  virtual void writeFloat(float) = 0;
+
38  virtual void writeBool(bool) = 0;
+
39  virtual void writeString(const std::string&) = 0;
+
40  virtual void writeUnicode(const std::string&) = 0;
+
41  virtual void fill(atUint8, atUint64) = 0;
+
42  virtual void fill(atInt8, atUint64) = 0;
+
43 };
+
44 }
+
45 }
+
46 #endif // STREAMWRITER_HPP
+
47 
+ + + +
+
+ + + + diff --git a/docs/_invalid_data_exception_8hpp_source.html b/docs/_invalid_data_exception_8hpp_source.html new file mode 100644 index 0000000..ab06597 --- /dev/null +++ b/docs/_invalid_data_exception_8hpp_source.html @@ -0,0 +1,195 @@ + + + + + + +Athena IO Library: include/Athena/InvalidDataException.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InvalidDataException.hpp
+
+
+
1 // This file is part of libAthena.
+
2 //
+
3 // libAthena is free software: you can redistribute it and/or modify
+
4 // it under the terms of the GNU General Public License as published by
+
5 // the Free Software Foundation, either version 3 of the License, or
+
6 // (at your option) any later version.
+
7 //
+
8 // libAthena is distributed in the hope that it will be useful,
+
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
11 // GNU General Public License for more details.
+
12 //
+
13 // You should have received a copy of the GNU General Public License
+
14 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
15 
+
16 #ifndef INVALIDDATAEXCEPTION_HPP
+
17 #define INVALIDDATAEXCEPTION_HPP
+
18 
+
19 #include "Athena/Exception.hpp"
+
20 #include <sstream>
+
21 
+
22 namespace Athena
+
23 {
+
24 namespace error
+
25 {
+ +
36 {
+
37 public:
+
38  inline InvalidDataException(const std::string& error, const std::string& file, const std::string& function, const int line)
+
39  : Exception(("InvalidDataException") + error, file, function, line)
+
40  {
+
41  m_exceptionName = "InvalidDataException";
+
42  }
+
43 };
+
44 } // error
+
45 } // Athena
+
46 
+
47 #ifdef _MSC_VER
+
48 #define THROW_INVALID_DATA_EXCEPTION(args, ...) \
+
49  do { \
+
50  if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, __VA_ARGS__); return; } \
+
51  else { std::string msg = Athena::utility::sprintf(args, __VA_ARGS__); \
+
52  throw Athena::error::InvalidDataException(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \
+
53  } \
+
54  } while(0)
+
55 #elif defined(__GNUC__)
+
56 #define THROW_INVALID_DATA_EXCEPTION(args...) \
+
57  do { if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, args); return; } \
+
58  else { std::string msg = Athena::utility::sprintf(args); \
+
59  throw Athena::error::InvalidDataException(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \
+
60  } \
+
61  } while(0)
+
62 #endif
+
63 
+
64 #ifdef _MSC_VER
+
65 #define THROW_INVALID_DATA_EXCEPTION(args, ...) \
+
66  do { \
+
67  if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, __VA_ARGS__); return; } \
+
68  else { std::string msg = Athena::utility::sprintf(args, __VA_ARGS__); \
+
69  throw Athena::error::InvalidDataException(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \
+
70  } \
+
71  } while(0)
+
72 #elif defined(__GNUC__)
+
73 #define THROW_INVALID_DATA_EXCEPTION_RETURN(ret, args...) \
+
74  do { if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, args); return ret; } \
+
75  else { std::string msg = Athena::utility::sprintf(args); \
+
76  throw Athena::error::InvalidDataException(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \
+
77  } \
+
78  } while(0)
+
79 #endif
+
80 #endif // INVALIDDATAEXCEPTION_HPP
+
Exception(const std::string &message, const std::string &file, const std::string &function, const int line)
The constructor for an Exception.
Definition: Exception.hpp:44
+
An exception thrown on Invalid Data calls.
+ +
The baseclass for all Exceptions.
Definition: Exception.hpp:38
+
+
+ + + + diff --git a/docs/_invalid_operation_exception_8hpp_source.html b/docs/_invalid_operation_exception_8hpp_source.html new file mode 100644 index 0000000..695b950 --- /dev/null +++ b/docs/_invalid_operation_exception_8hpp_source.html @@ -0,0 +1,208 @@ + + + + + + +Athena IO Library: include/Athena/InvalidOperationException.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InvalidOperationException.hpp
+
+
+
1 // This file is part of libAthena.
+
2 //
+
3 // libAthena is free software: you can redistribute it and/or modify
+
4 // it under the terms of the GNU General Public License as published by
+
5 // the Free Software Foundation, either version 3 of the License, or
+
6 // (at your option) any later version.
+
7 //
+
8 // libAthena is distributed in the hope that it will be useful,
+
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
11 // GNU General Public License for more details.
+
12 //
+
13 // You should have received a copy of the GNU General Public License
+
14 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
15 
+
16 #ifndef INVALID_OPERATION_EXCEPTION_HPP
+
17 #define INVALID_OPERATION_EXCEPTION_HPP
+
18 
+
19 #include <string>
+
20 #include <stdarg.h>
+
21 #include "Athena/Exception.hpp"
+
22 
+
23 namespace Athena
+
24 {
+
25 namespace error
+
26 {
+ +
37 {
+
38 public:
+
42  inline InvalidOperationException(const std::string& message, const std::string& file, const std::string& function, const int line) :
+
43  Exception(message, file, function, line)
+
44  {
+
45  m_exceptionName = "InvalidOperationException";
+
46  }
+
47 };
+
48 } // error
+
49 } // Athena
+
50 
+
51 #ifdef _MSC_VER
+
52 #define THROW_INVALID_OPERATION_EXCEPTION(args, ...) \
+
53  do { \
+
54  if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, __VA_ARGS__); return; \
+
55  } else {
+
56 std::string msg = Athena::utility::sprintf(args, __VA_ARGS__);
+
57 \
+
58 throw Athena::error::InvalidOperationException(std::string("InvalidOperationException: ") + msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__);
+
59 \
+
60 } \
+
61 
+
62 } while (0)
+
63 #elif defined (__GNUC__)
+
64 #define THROW_INVALID_OPERATION_EXCEPTION(args...) \
+
65  do { \
+
66  if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, args); return; \
+
67  } else { std::string msg = Athena::utility::sprintf(args); \
+
68  throw Athena::error::InvalidOperationException(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \
+
69  } \
+
70  } while(0)
+
71 #endif
+
72 
+
73 #ifdef _MSC_VER
+
74 #define THROW_INVALID_OPERATION_EXCEPTIONRETURN(ret, args, ...) \
+
75  do { \
+
76  if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, __VA_ARGS__); return ret; \
+
77  } else {
+
78  std::string msg = Athena::utility::sprintf(args, __VA_ARGS__);
+
79 
+
80 \
+
81 throw Athena::error::InvalidOperationException(std::string("InvalidOperationException: ") + msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__);
+
82 \
+
83 } \
+
84 
+
85 } while (0)
+
86 #elif defined(__GNUC__)
+
87 #define THROW_INVALID_OPERATION_EXCEPTION_RETURN(ret, args...) \
+
88  do { \
+
89  if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, args); return ret; \
+
90  } else { std::string msg = Athena::utility::sprintf(args); \
+
91  throw Athena::error::InvalidOperationException(msg, __FILE__, AT_PRETTY_FUNCTION, __LINE__); \
+
92  } \
+
93  } while(0)
+
94 #endif
+
95 #endif // INVALID_OPERATION_EXCEPTION_HPP
+
InvalidOperationException(const std::string &message, const std::string &file, const std::string &function, const int line)
The constructor for an InvalidOperationException.
+
std::string message() const
Returns the Error message of the exception.
Definition: Exception.hpp:56
+
An excpeption thrown on Invalid Operations calls.
+ +
The baseclass for all Exceptions.
Definition: Exception.hpp:38
+
+
+ + + + diff --git a/docs/_m_c_file_8hpp_source.html b/docs/_m_c_file_8hpp_source.html new file mode 100644 index 0000000..5276343 --- /dev/null +++ b/docs/_m_c_file_8hpp_source.html @@ -0,0 +1,168 @@ + + + + + + +Athena IO Library: include/Athena/MCFile.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
MCFile.hpp
+
+
+
1 // This file is part of libAthena.
+
2 //
+
3 // libAthena is free software: you can redistribute it and/or modify
+
4 // it under the terms of the GNU General Public License as published by
+
5 // the Free Software Foundation, either version 3 of the License, or
+
6 // (at your option) any later version.
+
7 //
+
8 // libAthena is distributed in the hope that it will be useful,
+
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
11 // GNU General Public License for more details.
+
12 //
+
13 // You should have received a copy of the GNU General Public License
+
14 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
15 
+
16 #ifndef MCFILE_HPP
+
17 #define MCFILE_HPP
+
18 
+
19 #include "Athena/Global.hpp"
+
20 
+
21 namespace Athena
+
22 {
+
23 
+
24 class MCSlot;
+
31 class MCFile
+
32 {
+
33 public:
+
34  static const char VERSION_EU_JP[33];
+
35  static const char VERSION_US[33];
+
36  enum SlotType
+
37  {
+
38  New = 0x54494E49,
+
39  Valid = 0x4D435A33,
+
40  Deleted = 0x466C6544
+
41  };
+
42 
+
43  MCFile();
+
44 
+
45  static atUint8* unscramble(atUint8* data, atUint64 length);
+
46 private:
+
47  MCSlot* m_slots[3];
+
48 };
+
49 
+
50 } // zelda
+
51 #endif // MCFILE_HPP
+
The Minish Cap data container class class.
Definition: MCFile.hpp:31
+ + +
+
+ + + + diff --git a/docs/_m_c_file_reader_8hpp_source.html b/docs/_m_c_file_reader_8hpp_source.html new file mode 100644 index 0000000..969951c --- /dev/null +++ b/docs/_m_c_file_reader_8hpp_source.html @@ -0,0 +1,171 @@ + + + + + + +Athena IO Library: include/Athena/MCFileReader.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
MCFileReader.hpp
+
+
+
1 #ifndef ATHENA_NO_SAVES
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef MCFILEREADER_HPP
+
18 #define MCFILEREADER_HPP
+
19 
+
20 #include "Athena/MemoryReader.hpp"
+
21 
+
22 namespace Athena
+
23 {
+
24 
+
25 class MCFile;
+
26 
+
27 namespace io
+
28 {
+
29 
+
37 class MCFileReader : public MemoryReader
+
38 {
+
39  MEMORYREADER_BASE();
+
40 public:
+
47  MCFileReader(atUint8*, atUint64);
+
48 
+
54  MCFileReader(const std::string&);
+
55 
+
61  MCFile* readFile();
+
62 };
+
63 
+
64 } // io
+
65 } // zelda
+
66 
+
67 #endif // MCFILEREADER_HPP
+
68 #endif // ATHENA_NO_SAVES
+
The Minish Cap Save save data reader class.
+
MCFileReader(atUint8 *, atUint64)
This constructor takes an existing buffer to read from.
+
The Minish Cap data container class class.
Definition: MCFile.hpp:31
+
MCFile * readFile()
Reads the save data from the buffer.
+ + +
+
+ + + + diff --git a/docs/_m_c_file_writer_8hpp_source.html b/docs/_m_c_file_writer_8hpp_source.html new file mode 100644 index 0000000..e85385e --- /dev/null +++ b/docs/_m_c_file_writer_8hpp_source.html @@ -0,0 +1,178 @@ + + + + + + +Athena IO Library: include/Athena/MCFileWriter.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
MCFileWriter.hpp
+
+
+
1 #ifndef ATHENA_NO_SAVES
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef MCFILEWRITER_HPP
+
18 #define MCFILEWRITER_HPP
+
19 
+
20 #include "Athena/Types.hpp"
+
21 #include "Athena/MemoryWriter.hpp"
+
22 
+
23 namespace Athena
+
24 {
+
25 
+
26 class MCFile;
+
27 
+
28 namespace io
+
29 {
+
30 
+
38 class MCFileWriter : protected MemoryWriter
+
39 {
+
40  MEMORYWRITER_BASE();
+
41 public:
+
48  MCFileWriter(atUint8*, atUint64);
+
49 
+
55  MCFileWriter(const std::string&);
+
56 
+
62  void writeFile(MCFile* file);
+
63 
+
64  static atUint16 calculateChecksum(atUint8* data, atUint32 length);
+
65 private:
+
66  atUint16 calculateSlotChecksum(atUint32 game);
+
67 };
+
68 
+
69 } // io
+
70 } // zelda
+
71 
+
72 #endif // MCFILEWRITER_HPP
+
73 #endif // ATHENA_NO_SAVES
+
void writeFile(MCFile *file)
Writes the given save data to a file on disk.
+
The Minish Cap data container class class.
Definition: MCFile.hpp:31
+
MCFileWriter(atUint8 *, atUint64)
This constructor takes an existing buffer to write to.
+
atUint64 length() const
Returns whether or not the stream is at the end.
+ +
The Minish Cap Save save data writer class.
+
atUint8 * data() const
Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it's perfectly...
+ +
+
+ + + + diff --git a/docs/_m_c_slot_8hpp_source.html b/docs/_m_c_slot_8hpp_source.html new file mode 100644 index 0000000..84c4ec0 --- /dev/null +++ b/docs/_m_c_slot_8hpp_source.html @@ -0,0 +1,142 @@ + + + + + + +Athena IO Library: include/Athena/MCSlot.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
MCSlot.hpp
+
+
+
1 #ifndef MCSLOT_HPP
+
2 #define MCSLOT_HPP
+
3 
+
4 #include "Athena/Global.hpp"
+
5 #include "Athena/ZQuestFile.hpp"
+
6 
+
7 namespace Athena
+
8 {
+
9 class MCSlot : public ZQuestFile
+
10 {
+
11 public:
+
12  MCSlot(atUint8* data, atUint32 length);
+
13 };
+
14 
+
15 } // Athena
+
16 
+
17 #endif // MCSLOT_HPP
+
atUint8 * data() const
data
+ + +
ZQuestFile is an export format for save data.
Definition: ZQuestFile.hpp:33
+
atUint32 length() const
length
+
+
+ + + + diff --git a/docs/_memory_reader_8hpp_source.html b/docs/_memory_reader_8hpp_source.html new file mode 100644 index 0000000..3735e52 --- /dev/null +++ b/docs/_memory_reader_8hpp_source.html @@ -0,0 +1,280 @@ + + + + + + +Athena IO Library: include/Athena/MemoryReader.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
MemoryReader.hpp
+
+
+
1 // This file is part of libAthena.
+
2 //
+
3 // libAthena is free software: you can redistribute it and/or modify
+
4 // it under the terms of the GNU General Public License as published by
+
5 // the Free Software Foundation, either version 3 of the License, or
+
6 // (at your option) any later version.
+
7 //
+
8 // libAthena is distributed in the hope that it will be useful,
+
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
11 // GNU General Public License for more details.
+
12 //
+
13 // You should have received a copy of the GNU General Public License
+
14 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
15 
+
16 #ifndef MEMORYREADER_HPP
+
17 #define MEMORYREADER_HPP
+
18 
+
19 #include "Athena/IStreamReader.hpp"
+
20 #include <string>
+
21 #include <functional>
+
22 
+
23 namespace Athena
+
24 {
+
25 namespace io
+
26 {
+ +
36 {
+
37 public:
+
43  MemoryReader(const atUint8* data, atUint64 length);
+
44 
+
49  MemoryReader(const std::string& filename, std::function<void(int)> progressFun = nullptr);
+
50 
+
51  virtual ~MemoryReader();
+
52 
+
57  void setEndian(Endian endian);
+
58 
+
63  Endian endian() const;
+
64 
+
69  bool isBigEndian() const;
+
70 
+
75  bool isLittleEndian()const;
+
76 
+
81  bool isOpen() const;
+
82 
+
88  void seek(atInt64 pos, SeekOrigin origin = SeekOrigin::Current);
+
89 
+
92  inline void seekAlign32() {seek(ROUND_UP_32(m_position), SeekOrigin::Begin);}
+
93 
+
98  bool atEnd() const;
+
99 
+
104  atUint64 position() const;
+
105 
+
110  atUint64 length() const;
+
111 
+
121  void setData(const atUint8* data, atUint64 length);
+
122 
+
123 
+
131  atUint8* data() const;
+
132 
+
138  void setFilepath(const std::string& filepath);
+
139 
+
143  std::string filepath() const;
+
144 
+
149  void seekBit(int bit);
+
150 
+
155  bool readBit();
+
156 
+
161  atInt8 readByte();
+
162 
+
167  atUint8 readUByte();
+
168 
+
173  inline atInt8* readBytes(atUint64 length) {return (atInt8*)readUBytes(length);}
+
174 
+
179  atUint8* readUBytes(atUint64 length);
+
180 
+
181  atUint64 readBytesToBuf(void* buf, atUint64 len) {return readUBytesToBuf(buf, len);}
+
182  atUint64 readUBytesToBuf(void* buf, atUint64 len);
+
183 
+
192  atInt16 readInt16();
+
193 
+
202  atUint16 readUint16();
+
203 
+
212  atInt32 readInt32();
+
213 
+
222  atUint32 readUint32();
+
223 
+
232  atInt64 readInt64();
+
233 
+
242  atUint64 readUint64();
+
243 
+
252  float readFloat();
+
253 
+
262  double readDouble();
+
263 
+
269  bool readBool();
+
270 
+
276  std::string readUnicode(atInt32 maxlen = -1);
+
277 
+
283  std::string readString(atInt32 maxlen = -1);
+
284 
+
285  void setProgressCallback(std::function<void(int)> cb);
+
286 protected:
+
287  void loadData();
+
288  atUint8* m_data;
+
289  atUint64 m_length;
+
290  std::string m_filepath;
+
291  atUint64 m_position;
+
292  atUint64 m_bitPosition;
+
293  Endian m_endian;
+
294  std::function<void(int)> m_progressCallback;
+
295 };
+
296 
+
297 } // io
+
298 } // Athena
+
299 
+
300 #ifndef MEMORYREADER_BASE
+
301 #define MEMORYREADER_BASE() \
+
302 private: \
+
303  typedef Athena::io::MemoryReader base
+
304 
+
305 #endif // MEMORYREADER_BASE
+
306 
+
307 #endif // MEMORYREADER_HPP
+
bool atEnd() const
Returns whether or not the stream is at the end.
+
atUint64 position() const
Returns the current position in the stream.
+
void setEndian(Endian endian)
Sets the Endianss of the stream.
+
void seek(atInt64 pos, SeekOrigin origin=SeekOrigin::Current)
Sets the buffers position relative to the specified position. It seeks relative to the current posit...
+
bool isLittleEndian() const
Returns whether the stream is LittleEndian.
+
atUint16 readUint16()
Reads a Uint16 and swaps to proper endianness depending on platform and Stream settings, and advances the current position.
+
atInt8 readByte()
Reads a byte at the current position and advances the current position.
+
void seekAlign32()
Sets the buffers position relative to the next 32-byte aligned position.
+
atUint8 * readUBytes(atUint64 length)
Reads a byte at the current position and advances the current position.
+
atUint64 length() const
Returns whether or not the stream is at the end.
+
std::string readString(atInt32 maxlen=-1)
Reads a string and advances the position in the file.
+
atUint64 readUint64()
Reads a Uint64 and swaps to proper endianness depending on platform and Stream settings, and advances the current position.
+
std::string m_filepath
Path to the target file.
+
void seekBit(int bit)
Seeks to the specified bit within the current byte.
+
MemoryReader(const atUint8 *data, atUint64 length)
This constructor takes an existing buffer to read from.
+
double readDouble()
Reads a double and swaps to proper endianness depending on platform and Stream settings, and advances the current position.
+
atUint32 readUint32()
Reads a Uint32 and swaps to proper endianness depending on platform and Stream settings, and advances the current position.
+
bool isOpen() const
Retuns whether or not the Stream is open.
+
atInt64 readInt64()
Reads a Int64 and swaps to proper endianness depending on platform and Stream settings, and advances the current position.
+
atUint8 * data() const
Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it's perfectly...
+
float readFloat()
Reads a float and swaps to proper endianness depending on platform and Stream settings, and advances the current position.
+
bool readBit()
Reads a bit at the current position and advances the current position.
+
atUint8 readUByte()
Reads a byte at the current position and advances the current position.
+
void setFilepath(const std::string &filepath)
Sets the target file.
+
atInt8 * readBytes(atUint64 length)
Reads a byte at the current position and advances the current position.
+
atInt16 readInt16()
Reads a Int16 and swaps to proper endianness depending on platform and Stream settings, and advances the current position.
+ +
bool isBigEndian() const
Returns whether the stream is BigEndian.
+
bool readBool()
Reads a bool and advances the current position.
+
Endian endian() const
Returns the current Endianness of the stream.
+ +
atInt32 readInt32()
Reads a Int32 and swaps to proper endianness depending on platform and Stream settings, and advances the current position.
+ +
std::string filepath() const
Returns the target file.
+
std::string readUnicode(atInt32 maxlen=-1)
Reads a Unicode string and advances the position in the file.
+
void setData(const atUint8 *data, atUint64 length)
Sets the buffer to the given one, deleting the current one. BEWARE: As this deletes the current buff...
+
+
+ + + + diff --git a/docs/_memory_writer_8hpp_source.html b/docs/_memory_writer_8hpp_source.html new file mode 100644 index 0000000..aba94cc --- /dev/null +++ b/docs/_memory_writer_8hpp_source.html @@ -0,0 +1,285 @@ + + + + + + +Athena IO Library: include/Athena/MemoryWriter.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
MemoryWriter.hpp
+
+
+
1 // This file is part of libAthena.
+
2 //
+
3 // libAthena is free software: you can redistribute it and/or modify
+
4 // it under the terms of the GNU General Public License as published by
+
5 // the Free Software Foundation, either version 3 of the License, or
+
6 // (at your option) any later version.
+
7 //
+
8 // libAthena is distributed in the hope that it will be useful,
+
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
11 // GNU General Public License for more details.
+
12 //
+
13 // You should have received a copy of the GNU General Public License
+
14 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
15 
+
16 #ifndef MEMORYWRITER_HPP
+
17 #define MEMORYWRITER_HPP
+
18 
+
19 #include "Athena/IStreamWriter.hpp"
+
20 #include <string>
+
21 #include <functional>
+
22 
+
23 namespace Athena
+
24 {
+
25 namespace io
+
26 {
+
27 
+ +
37 {
+
38 public:
+
44  explicit MemoryWriter(atUint8* data = nullptr, atUint64 length = 0x10);
+
45 
+
50  MemoryWriter(const std::string& filename, std::function<void(int)> progressFun = nullptr);
+
51 
+
52  virtual ~MemoryWriter();
+
53 
+
58  void setEndian(Endian endian);
+
59 
+
64  Endian endian() const;
+
65 
+
70  bool isBigEndian() const;
+
71 
+
76  bool isLittleEndian()const;
+
77 
+
82  bool isOpen() const;
+
83 
+
89  void seek(atInt64 pos, SeekOrigin origin = SeekOrigin::Current);
+
90 
+
93  inline void seekAlign32() {seek(ROUND_UP_32(m_position), SeekOrigin::Begin);}
+
94 
+
95 
+
100  bool atEnd() const;
+
101 
+
102 
+
107  atUint64 position() const;
+
108 
+
113  atUint64 length() const;
+
114 
+
124  void setData(const atUint8* data, atUint64 length);
+
125 
+
126 
+
134  atUint8* data() const;
+
135 
+
140  void setFilepath(const std::string& filepath);
+
141 
+
145  std::string filepath() const;
+
146 
+
151  void save(const std::string& filename = "");
+
152 
+
157  void seekBit(int bit);
+
158 
+
163  void writeBit(bool val);
+
164 
+
168  void writeUByte(atUint8 val);
+
169 
+
174  void writeByte(atInt8 val);
+
175 
+
182  void writeUBytes(atUint8* data, atUint64 len);
+
183 
+
190  void writeBytes(atInt8* data, atUint64 len);
+
191 
+
198  void writeInt16(atInt16 val);
+
199 
+
206  void writeUint16(atUint16);
+
207 
+
214  void writeInt32(atInt32);
+
215 
+
222  void writeUint32(atUint32);
+
223 
+
230  void writeInt64(atInt64);
+
231 
+
238  void writeUint64(atUint64);
+
239 
+
246  void writeFloat(float);
+
247 
+
254  void writeDouble(double);
+
255 
+
262  void writeBool(bool);
+
263 
+
270  void writeUnicode(const std::string& str);
+
271 
+
277  void writeString(const std::string& str);
+
278 
+
279  void fill(atUint8 val, atUint64 length);
+
280  void fill(atInt8 val, atUint64 length);
+
281 
+
282  void setProgressCallback(std::function<void(int)> cb);
+
283 protected:
+
284  void loadData();
+
285  atUint8* m_data;
+
286  atUint64 m_length;
+
287  std::string m_filepath;
+
288  atUint64 m_position;
+
289  atUint64 m_bitPosition;
+
290  Endian m_endian;
+
291  std::function<void(int)> m_progressCallback;
+
292 private:
+
293  void resize(atUint64 newSize);
+
294 };
+
295 }
+
296 }
+
297 
+
298 #ifndef MEMORYWRITER_BASE
+
299 #define MEMORYWRITER_BASE() \
+
300  private: \
+
301  typedef Athena::io::MemoryWriter base
+
302 #endif // BINARYWRITER_BASE
+
303 #endif // MEMORYWRITER_HPP
+
void writeBool(bool)
Writes an bool to the buffer and advances the buffer. It also swaps the bytes depending on the platfo...
+
void setEndian(Endian endian)
Sets the Endianss of the stream.
+
void setData(const atUint8 *data, atUint64 length)
Sets the buffer to the given one, deleting the current one. BEWARE: As this deletes the current buff...
+
bool atEnd() const
Returns whether or not the stream is at the end.
+
Endian endian() const
Returns the current Endianness of the stream.
+
std::string filepath() const
Returns the target file.
+ +
void save(const std::string &filename="")
Saves the file to the specified file.
+
bool isBigEndian() const
Returns whether the stream is BigEndian.
+
void writeUint64(atUint64)
Writes an Uint64 to the buffer and advances the buffer. It also swaps the bytes depending on the plat...
+
void seekAlign32()
Sets the buffers position relative to the next 32-byte aligned position.
+
void setFilepath(const std::string &filepath)
Sets the target file.
+
void writeUnicode(const std::string &str)
Writes an unicode string to the buffer and advances the buffer. It also swaps the bytes depending on ...
+
void writeInt32(atInt32)
Writes an Int32 to the buffer and advances the buffer. It also swaps the bytes depending on the platf...
+
bool isLittleEndian() const
Returns whether the stream is LittleEndian.
+
void seek(atInt64 pos, SeekOrigin origin=SeekOrigin::Current)
Sets the buffers position relative to the specified position. It seeks relative to the current posit...
+
void writeBytes(atInt8 *data, atUint64 len)
Writes the given buffer with the specified length, buffers can be bigger than the length however it's...
+
void writeUByte(atUint8 val)
Writes a byte at the current position and advances the position by one byte.
+
atUint64 length() const
Returns whether or not the stream is at the end.
+
void writeUBytes(atUint8 *data, atUint64 len)
Writes the given buffer with the specified length, buffers can be bigger than the length however it's...
+
void writeInt16(atInt16 val)
Writes an Int16 to the buffer and advances the buffer. It also swaps the bytes depending on the platf...
+
void writeFloat(float)
Writes an float to the buffer and advances the buffer. It also swaps the bytes depending on the platf...
+
void writeInt64(atInt64)
Writes an Int64 to the buffer and advances the buffer. It also swaps the bytes depending on the platf...
+
void writeUint32(atUint32)
Writes an Uint32 to the buffer and advances the buffer. It also swaps the bytes depending on the plat...
+ +
bool isOpen() const
Retuns whether or not the Stream is open.
+
atUint64 position() const
Returns the current position in the stream.
+
void writeBit(bool val)
Writes a bit at the current position and advances the position by one bit.
+
atUint8 * data() const
Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it's perfectly...
+
void writeUint16(atUint16)
Writes an Uint16 to the buffer and advances the buffer. It also swaps the bytes depending on the plat...
+
void writeString(const std::string &str)
Writes an string to the buffer and advances the buffer.
+
void seekBit(int bit)
Seeks to the specified bit within the current byte.
+ +
void writeDouble(double)
Writes an double to the buffer and advances the buffer. It also swaps the bytes depending on the plat...
+
MemoryWriter(atUint8 *data=nullptr, atUint64 length=0x10)
This constructor takes an existing buffer to write to.
+
void writeByte(atInt8 val)
Writes a byte at the current position and advances the position by one byte.
+
std::string m_filepath
Path to the target file.
+
+
+ + + + diff --git a/docs/_not_implemented_exception_8hpp_source.html b/docs/_not_implemented_exception_8hpp_source.html new file mode 100644 index 0000000..c09991a --- /dev/null +++ b/docs/_not_implemented_exception_8hpp_source.html @@ -0,0 +1,177 @@ + + + + + + +Athena IO Library: include/Athena/NotImplementedException.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
NotImplementedException.hpp
+
+
+
1 // This file is part of libAthena.
+
2 //
+
3 // libAthena is free software: you can redistribute it and/or modify
+
4 // it under the terms of the GNU General Public License as published by
+
5 // the Free Software Foundation, either version 3 of the License, or
+
6 // (at your option) any later version.
+
7 //
+
8 // libAthena is distributed in the hope that it will be useful,
+
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
11 // GNU General Public License for more details.
+
12 //
+
13 // You should have received a copy of the GNU General Public License
+
14 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
15 
+
16 #ifndef NOTIMPLEMENTEDEXCEPTION_HPP
+
17 #define NOTIMPLEMENTEDEXCEPTION_HPP
+
18 
+
19 #include "Athena/Exception.hpp"
+
20 
+
21 namespace Athena
+
22 {
+
23 namespace error
+
24 {
+ +
26 {
+
27 public:
+
28  NotImplementedException(const std::string& message, const std::string& file, const std::string& function, const int line) :
+
29  Exception(message, file, function, line)
+
30  {
+
31  m_exceptionName = "NotImplementedException";
+
32  }
+
33 };
+
34 } // error
+
35 } // Athena
+
36 
+
37 #define THROW_NOT_IMPLEMENTED_EXCEPTION() \
+
38  do { \
+
39  if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, "NotImplementedException"); return; \
+
40  } else { \
+
41  throw Athena::error::NotImplementedException(std::string(), __FILE__, AT_PRETTY_FUNCTION, __LINE__); \
+
42  } \
+
43  } while(0)
+
44 
+
45 #define THROW_NOT_IMPLEMENTED_EXCEPTION_RETURN(ret) \
+
46  do { \
+
47  if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, "NotImplementedException"); return ret; \
+
48  } else { \
+
49  throw Athena::error::NotImplementedException(std::string(), __FILE__, AT_PRETTY_FUNCTION, __LINE__); \
+
50  } \
+
51  } while(0)
+
52 #endif // NOTIMPLEMENTEDEXCEPTION_HPP
+ +
Exception(const std::string &message, const std::string &file, const std::string &function, const int line)
The constructor for an Exception.
Definition: Exception.hpp:44
+
std::string message() const
Returns the Error message of the exception.
Definition: Exception.hpp:56
+ +
The baseclass for all Exceptions.
Definition: Exception.hpp:38
+
+
+ + + + diff --git a/docs/_p_h_y_s_f_s_file_reader_8hpp_source.html b/docs/_p_h_y_s_f_s_file_reader_8hpp_source.html new file mode 100644 index 0000000..ca2ffff --- /dev/null +++ b/docs/_p_h_y_s_f_s_file_reader_8hpp_source.html @@ -0,0 +1,182 @@ + + + + + + +Athena IO Library: include/Athena/PHYSFSFileReader.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
PHYSFSFileReader.hpp
+
+
+
1 #ifdef ATHENA_ENABLE_PHYSFS
+
2 #ifndef PHYSFSSTREAM_HPP
+
3 #define PHYSFSSTREAM_HPP
+
4 
+
5 #include "Athena/Stream.hpp"
+
6 #include <physfs.h>
+
7 
+
8 namespace Athena
+
9 {
+
10 namespace io
+
11 {
+
12 class PHYSFSFileReader : public Stream
+
13 {
+
14 public:
+
15  PHYSFSFileReader(const std::string& path);
+
16 
+
17  void setEndian(Endian);
+
18  Endian endian() const;
+
19  bool isBigEndian() const;
+
20  bool isLittleEndian() const;
+
21  atUint8* data();
+
22 
+
23  atUint64 length() const;
+
24 
+
25  atUint64 position() const;
+
26 
+
27  bool isOpen() const;
+
28 
+
29  void seek(atInt64 position, SeekOrigin origin);
+
30  atInt8 readByte();
+
31  atUint8 readUByte();
+
32  atUint8* readUBytes(atUint64 length);
+
33  atInt8* readBytes(atUint64 length);
+
34  atUint16 readUint16();
+
35  atInt16 readInt16();
+
36  atUint32 readUint32();
+
37  atInt32 readInt32();
+
38  atUint64 readUint64();
+
39  atInt64 readInt64();
+
40  double readDouble();
+
41  float readFloat();
+
42  bool readBool();
+
43 
+
44  bool atEnd() const;
+
45 
+
46  // TODO: Strings
+
47 private:
+
48  Endian m_endian;
+
49  std::string m_path;
+
50  atUint64 m_length;
+
51  PHYSFS_File* m_handle;
+
52 };
+
53 }
+
54 }
+
55 
+
56 #ifndef PHYSFSFILEREADER_BASE
+
57 #define PHYSFSFILEREADER_BASE() \
+
58  typedef Athena::io::PHYSFSFileReader base
+
59 #endif
+
60 #endif // PHYSFSSTREAM_HPP
+
61 #endif // ATHENA_ENABLE_PHYSFS
+ +
+
+ + + + diff --git a/docs/_skyward_sword_file_8hpp_source.html b/docs/_skyward_sword_file_8hpp_source.html new file mode 100644 index 0000000..7712500 --- /dev/null +++ b/docs/_skyward_sword_file_8hpp_source.html @@ -0,0 +1,189 @@ + + + + + + +Athena IO Library: include/Athena/SkywardSwordFile.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
SkywardSwordFile.hpp
+
+
+
1 #if !defined(ATHENA_NO_SAVES) && !defined(ATHENA_NO_ZQUEST)
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef SSFILE_HPP
+
18 #define SSFILE_HPP
+
19 
+
20 #include "Athena/Global.hpp"
+
21 
+
22 // standard lib
+
23 #include <vector>
+
24 
+
25 namespace Athena
+
26 {
+
27 class SkywardSwordQuest;
+
28 
+
29 enum class Region
+
30 {
+
31  NTSC,
+
32  NTSCJ,
+
33  PAL
+
34 };
+
35 
+ +
37 {
+
38 public:
+
39  enum MagicNumbers
+
40  {
+
41  USMagic = 0x534F5545,
+
42  JAMagic = 0x534F554A,
+
43  EUMagic = 0x534F5550
+
44  };
+
45 
+ +
47  SkywardSwordFile(std::vector<SkywardSwordQuest*> quests);
+ +
49 
+
50  void addQuest(SkywardSwordQuest* q);
+
51  SkywardSwordQuest* quest(atUint32 id);
+
52  std::vector<SkywardSwordQuest*> questList() const;
+
53 
+
54  void setRegion(Region region);
+
55  Region region() const;
+
56 
+
57 private:
+
58  Region m_region;
+
59  // A vector is a bit overkill
+
60  std::vector<SkywardSwordQuest*> m_quests;
+
61  atUint32 m_numQuests;
+
62 };
+
63 
+
64 }
+
65 #endif // SSFILE_HPP
+
66 #endif // ATHENA_NO_SAVES
+ + + +
+
+ + + + diff --git a/docs/_skyward_sword_file_reader_8hpp_source.html b/docs/_skyward_sword_file_reader_8hpp_source.html new file mode 100644 index 0000000..da5013b --- /dev/null +++ b/docs/_skyward_sword_file_reader_8hpp_source.html @@ -0,0 +1,167 @@ + + + + + + +Athena IO Library: include/Athena/SkywardSwordFileReader.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
SkywardSwordFileReader.hpp
+
+
+
1 #if !defined(ATHENA_NO_SAVES) && !defined(ATHENA_NO_ZQUEST)
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef SSFILEREADER_HPP
+
18 #define SSFILEREADER_HPP
+
19 
+
20 #include "Athena/MemoryReader.hpp"
+
21 
+
22 namespace Athena
+
23 {
+
24 class SkywardSwordFile;
+
25 namespace io
+
26 {
+ +
28 {
+
29  MEMORYREADER_BASE();
+
30 public:
+
31 
+
32  SkywardSwordFileReader(atUint8* data, atUint64 length);
+
33  SkywardSwordFileReader(const std::string& filename);
+
34 
+
35  SkywardSwordFile* read();
+
36 };
+
37 } // io
+
38 } // zelda
+
39 
+
40 #endif // SSFILEREADER_HPP
+
41 #endif // ATHENA_NO_SAVES
+ +
atUint64 length() const
Returns whether or not the stream is at the end.
+
atUint8 * data() const
Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it's perfectly...
+ + + +
+
+ + + + diff --git a/docs/_skyward_sword_file_writer_8hpp_source.html b/docs/_skyward_sword_file_writer_8hpp_source.html new file mode 100644 index 0000000..c182fcb --- /dev/null +++ b/docs/_skyward_sword_file_writer_8hpp_source.html @@ -0,0 +1,166 @@ + + + + + + +Athena IO Library: include/Athena/SkywardSwordFileWriter.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
SkywardSwordFileWriter.hpp
+
+
+
1 #if !defined(ATHENA_NO_SAVES) && !defined(ATHENA_NO_ZQUEST)
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef SSFILEWRITER_HPP
+
18 #define SSFILEWRITER_HPP
+
19 
+
20 #include "Athena/MemoryWriter.hpp"
+
21 
+
22 namespace Athena
+
23 {
+
24 class SkywardSwordFile;
+
25 
+
26 namespace io
+
27 {
+
28 
+ +
30 {
+
31  MEMORYWRITER_BASE();
+
32 public:
+
33  SkywardSwordFileWriter(atUint8* data, atUint64 len);
+
34  SkywardSwordFileWriter(const std::string& filename);
+
35 
+
36  void write(SkywardSwordFile* file);
+
37 };
+
38 }
+
39 }
+
40 #endif // SSFILEWRITER_HPP
+
41 #endif // ATHENA_NO_SAVES
+ + + +
atUint8 * data() const
Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it's perfectly...
+ +
+
+ + + + diff --git a/docs/_skyward_sword_quest_8hpp_source.html b/docs/_skyward_sword_quest_8hpp_source.html new file mode 100644 index 0000000..da0975a --- /dev/null +++ b/docs/_skyward_sword_quest_8hpp_source.html @@ -0,0 +1,200 @@ + + + + + + +Athena IO Library: include/Athena/SkywardSwordQuest.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
SkywardSwordQuest.hpp
+
+
+
1 #if !defined(ATHENA_NO_SAVES) && !defined(ATHENA_NO_ZQUEST)
+
2  // This file is part of libAthena.
+
3  //
+
4  // libAthena is free software: you can redistribute it and/or modify
+
5  // it under the terms of the GNU General Public License as published by
+
6  // the Free Software Foundation, either version 3 of the License, or
+
7  // (at your option) any later version.
+
8  //
+
9  // libAthena is distributed in the hope that it will be useful,
+
10  // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12  // GNU General Public License for more details.
+
13  //
+
14  // You should have received a copy of the GNU General Public License
+
15  // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef SKYWARDSWORDQUEST_HPP
+
18 #define SKYWARDSWORDQUEST_HPP
+
19 
+
20 #include "Athena/Global.hpp"
+
21 #include "Athena/ZQuestFile.hpp"
+
22 
+
23  namespace Athena
+
24  {
+
25 
+
26  // TODO: Handle game specific data
+ +
28  {
+
29  public:
+
30  enum AmmoType
+
31  {
+
32  Arrows,
+
33  Bombs,
+
34  Seeds
+
35  };
+
36 
+
37  SkywardSwordQuest(atUint8* data, atUint32 len);
+
38 
+
39  void setPlayerName(const std::string& name);
+
40  std::string playerName() const;
+
41 
+
42  void setRupeeCount(atUint16 value);
+
43  atUint16 rupeeCount();
+
44  void setAmmoCount(AmmoType type, atUint32 count);
+
45  atUint32 ammoCount(AmmoType type);
+
46  void setMaxHP(atUint16 val);
+
47  atUint16 maxHP();
+
48  float maxHearts();
+
49  void setSpawnHP(atUint16 val);
+
50  atUint16 spawnHP();
+
51  float spawnHearts();
+
52  void setCurrentHP(atUint16 val);
+
53  atUint16 currentHP();
+
54  float currentHearts();
+
55  std::string currentLocation();
+
56  std::string currentArea();
+
57  std::string currentLocationCopy();
+
58 
+
59  void setSkipData(const atUint8* data);
+
60  atUint8* skipData() const;
+
61 
+
62 
+
63  atUint32 slotChecksum();
+
64  atUint32 skipChecksum();
+
65  void fixChecksums();
+
66 
+
67  void setNew(bool isNew);
+
68  bool isNew() const;
+
69  private:
+
70  atUint8* m_skipData;
+
71  };
+
72 
+
73 
+
74  } // zelda
+
75 #endif // SSQUEST_HPP
+
76 #endif // ATHENA_NO_SAVES
+
atUint8 * data() const
data
+ + +
ZQuestFile is an export format for save data.
Definition: ZQuestFile.hpp:33
+
+
+ + + + diff --git a/docs/_sprite_8hpp_source.html b/docs/_sprite_8hpp_source.html new file mode 100644 index 0000000..04b3aa3 --- /dev/null +++ b/docs/_sprite_8hpp_source.html @@ -0,0 +1,268 @@ + + + + + + +Athena IO Library: include/Athena/Sprite.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Sprite.hpp
+
+
+
1 #ifndef ATHENA_NO_SAKURA
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef SSPRITE_HPP
+
18 #define SSPRITE_HPP
+
19 
+
20 #ifndef ATHENA_USE_QT
+
21 #include <vector>
+
22 #include <string>
+
23 #else
+
24 #include <QObject>
+
25 #include <QPoint>
+
26 #include <QString>
+
27 #include <QList>
+
28 #endif
+
29 #include "Athena/Global.hpp"
+
30 
+
31 namespace Athena
+
32 {
+
33 namespace Sakura
+
34 {
+
35 class SpriteFile;
+
36 class SpriteFrame;
+
37 
+
38 #ifndef ATHENA_USE_QT
+
39 class Sprite
+
40 {
+
41 #else
+
42 class Sprite : public QObject
+
43 {
+
44  Q_OBJECT
+
45  Q_PROPERTY(QString name READ name WRITE setName)
+
46  Q_PROPERTY(qreal currentState READ currentState WRITE setCurrentState)
+
47  Q_PROPERTY(qreal stateCount READ stateCount CONSTANT)
+
48 #endif
+
49 
+
50 public:
+
51  Sprite(SpriteFile* root);
+
52  Sprite(SpriteFile* root, const std::string& name);
+
53  virtual ~Sprite();
+
54 
+
55  virtual void setPosition(const float x, const float y);
+
56 #ifndef ATHENA_USE_QT
+
57  virtual void setPosition(const Vector2Df& pos);
+
58  virtual Vector2Df position() const;
+
59  void setName(const std::string& name);
+
60  std::string name() const;
+
61 #else
+
62  virtual void setPosition(const QPoint& pos);
+
63  virtual QPoint position() const;
+
64  void setName(const QString& name);
+
65  QString name() const;
+
66 #endif
+
67 
+
68  void addStateId(int id);
+
69 
+
75  int stateId(int index) const;
+
76  void setStateIds(std::vector<int> ids);
+
77 #ifndef ATHENA_USE_QT
+
78  std::vector<int> stateIds() const;
+
79 #else
+
80  QList<int> stateIds() const;
+
81 #endif
+
82  atUint32 stateCount() const;
+
83  void setCurrentState(atUint32 id);
+
84  atUint32 currentState() const;
+
85 
+
86  bool addFrame(SpriteFrame* Frame);
+
87  bool removeFrame(SpriteFrame* Frame);
+
88  SpriteFrame* Frame(atUint32 id);
+
89  void setFrame(atUint32 id);
+
90 #ifndef ATHENA_USE_QT
+
91  void setFrames(std::vector<SpriteFrame*> frames);
+
92 #else
+
93  void setFrames(QList<SpriteFrame*> frames);
+
94 #endif
+
95  atUint32 frameCount() const;
+
96 
+
97 #ifndef ATHENA_USE_QT
+
98  std::vector<SpriteFrame*> frames() const;
+
99 #else
+
100  QList<SpriteFrame*> frames() const;
+
101 #endif
+
102 
+
103  SpriteFile* container() const;
+
104 
+
105  void setCurrentFrame(SpriteFrame* frame);
+
106  void setCurrentFrame(atUint32 id);
+
107  SpriteFrame* currentFrame() const;
+
108 
+
109  void advanceFrame();
+
110  void retreatFrame();
+
111 
+
112  void setRoot(SpriteFile* root);
+
113  SpriteFile* root() const;
+
114 #ifdef ATHENA_USE_QT
+
115 signals:
+
116  void frameChanged(SpriteFrame* frame);
+
117  void nameChanged(QString);
+
118  void stateChanged(quint32);
+
119 #endif
+
120 private:
+
121  SpriteFile* m_root;
+
122 #ifndef ATHENA_USE_QT
+
123  std::string m_name;
+
124  Vector2Df m_position;
+
125  std::vector<int> m_stateIds;
+
126  std::vector<SpriteFrame*> m_frames;
+
127 #else
+
128  QString m_name;
+
129  QPoint m_position;
+
130  QList<int> m_stateIds;
+
131  QList<SpriteFrame*> m_frames;
+
132 #endif
+
133  atUint32 m_currentState;
+
134  atUint32 m_currentFrame;
+
135 };
+
136 
+
137 
+
138 } // Sakura
+
139 } // zelda
+
140 
+
141 #ifdef ATHENA_USE_QT
+
142 Q_DECLARE_METATYPE(Uint32)
+
143 Q_DECLARE_METATYPE(Athena::Sakura::Sprite*)
+
144 #endif
+
145 
+
146 #endif // SSPRITE_HPP
+
147 #endif // ATHENA_NO_SAKURA
+ + + + +
int stateId(int index) const
Returns the texture id of a given state.
+ +
+
+ + + + diff --git a/docs/_sprite_file_8hpp_source.html b/docs/_sprite_file_8hpp_source.html new file mode 100644 index 0000000..acf4974 --- /dev/null +++ b/docs/_sprite_file_8hpp_source.html @@ -0,0 +1,335 @@ + + + + + + +Athena IO Library: include/Athena/SpriteFile.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
SpriteFile.hpp
+
+
+
1 #ifndef ATHENA_NO_SAKURA
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef SSPRITEFILE_HPP
+
18 #define SSPRITEFILE_HPP
+
19 
+
20 #ifndef ATHENA_USE_QT
+
21 #include <vector>
+
22 #include <unordered_map>
+
23 #else
+
24 #include <QObject>
+
25 #include <QMap>
+
26 #include <QList>
+
27 #include <QSize>
+
28 #include <QPoint>
+
29 #endif
+
30 
+
31 #include <string>
+
32 #include "Athena/Global.hpp"
+
33 
+
34 namespace Athena
+
35 {
+
36 namespace Sakura
+
37 {
+
38 struct STexture
+
39 {
+
40  std::string Filepath;
+
41  bool Preload;
+
42 };
+
43 
+
44 class Sprite;
+
45 #ifndef ATHENA_USE_QT
+ +
47 {
+
48 #else
+
49 class SpriteFile : public QObject
+
50 {
+
51  Q_OBJECT
+
52 #endif
+
53 public:
+
57  static const atUint32 Major;
+
58 
+
62  static const atUint32 Minor;
+
63 
+
67  static const atUint32 Revision;
+
68 
+
72  static const atUint32 Build;
+
73 
+
77  static const atUint32 Version;
+
78 
+
82  static const atUint32 Magic;
+
83 
+
87  SpriteFile();
+
88 
+
96  SpriteFile(atUint32 width, atUint32 height, float originX, float originY);
+
97 
+
103 #ifndef ATHENA_USE_QT
+
104  SpriteFile(const Vector2Di& size, const Vector2Df& origin);
+
105 #else
+
106  SpriteFile(const QSize& size, const QPoint& origin);
+
107 #endif
+
108 
+
109  ~SpriteFile();
+
110 
+
111 #ifndef ATHENA_USE_QT
+
112 public:
+
113 #else
+
114 public slots:
+
115 #endif
+
116 
+
122  void setSize(atUint32 width, atUint32 height);
+
123 
+
128 #ifndef ATHENA_USE_QT
+
129  void setSize(const Vector2Di& size);
+
130 #else
+
131  void setSize(const QSize& size);
+
132 #endif
+
133 
+
138 #ifndef ATHENA_USE_QT
+
139  Vector2Di size() const;
+
140 #else
+
141  QSize size() const;
+
142 #endif
+
143 
+
148  atUint32 width() const;
+
149 
+
154  atUint32 height() const;
+
155 
+
161  void setOrigin(const float x, const float y);
+
162 
+
167 #ifndef ATHENA_USE_QT
+
168  void setOrigin(const Vector2Df& origin);
+
169 #else
+
170  void setOrigin(const QPoint& origin);
+
171 #endif
+
172 
+
177 #ifndef ATHENA_USE_QT
+
178  Vector2Df origin() const;
+
179 #else
+
180  QPoint origin() const;
+
181 #endif
+
182 
+
183 
+
188  float originX() const;
+
189 
+
194  float originY() const;
+
195 
+
200  bool addTexture(STexture* texture);
+
201 
+
206  void removeTexture(int id);
+
207 
+
213  STexture* texture(atUint32 id);
+
214 
+
215 #ifndef ATHENA_USE_QT
+
216  std::vector<STexture*> textures() const;
+
217 #else
+
218  QList<STexture*> textures() const;
+
219 #endif
+
220  atUint32 textureCount() const;
+
226 #ifndef ATHENA_USE_QT
+
227  void setTextures(std::vector<STexture*> textures);
+
228 #else
+
229  void setTextures(QList<STexture*> textures);
+
230 #endif
+
231 
+
232  void addSprite(Sprite* sprite);
+
233 
+
234 #ifndef ATHENA_USE_QT
+
235  void removeSprite(const std::string& name);
+
236 #else
+
237  void removeSprite(const QString& name);
+
238 #endif
+
239  void removeSprite(Sprite* sprite);
+
240 
+
241 #ifndef ATHENA_USE_QT
+
242  void setSprites(std::unordered_map<std::string, Sprite*> sprites);
+
243 #else
+
244  void setSprites(QMap<QString, Sprite*> sprites);
+
245 #endif
+
246 #ifndef ATHENA_USE_QT
+
247  Sprite* sprite(const std::string& name);
+
248  std::unordered_map<std::string, Sprite*> sprites() const;
+
249 #else
+
250  Sprite* sprite(const QString& name);
+
251  QMap<QString, Sprite*> sprites() const;
+
252 #endif
+
253 
+
254  atUint32 spriteCount() const;
+
255 
+
256 #ifdef ATHENA_USE_QT
+
257 signals:
+
258  void originChanged(QPoint);
+
259  void sizeChanged(QSize);
+
260 #endif
+
261 private:
+
262 #ifndef ATHENA_USE_QT
+
263  std::vector<STexture*> m_textures;
+
264  Vector2Di m_size;
+
265  Vector2Df m_origin;
+
266  std::unordered_map<std::string, Sprite*> m_sprites;
+
267 #else
+
268  QList<STexture*> m_textures;
+
269  QSize m_size;
+
270  QPoint m_origin;
+
271  QMap<QString, Sprite*> m_sprites;
+
272 #endif
+
273 };
+
274 } // Sakura
+
275 } // Zelda
+
276 
+
277 #ifdef ATHENA_USE_QT
+
278 Q_DECLARE_METATYPE(Athena::Sakura::SpriteFile*)
+
279 Q_DECLARE_METATYPE(Athena::Sakura::STexture*)
+
280 #endif
+
281 #endif // SSPRITE_HPP
+
282 
+
283 #endif // ATHENA_NO_SAKURA
+
284 
+ + +
void setSize(atUint32 width, atUint32 height)
setSize
+
float originY() const
originY
+
bool addTexture(STexture *texture)
addTexture
+
static const atUint32 Revision
Revision.
Definition: SpriteFile.hpp:67
+
void setTextures(std::vector< STexture * > textures)
setTextures
+
static const atUint32 Major
Major.
Definition: SpriteFile.hpp:57
+
Vector2Df origin() const
origin
+
float originX() const
originX
+ +
void removeTexture(int id)
removeTexture
+
static const atUint32 Magic
Magic.
Definition: SpriteFile.hpp:82
+ +
Vector2Di size() const
size
+ +
static const atUint32 Build
Patch.
Definition: SpriteFile.hpp:72
+
static const atUint32 Minor
Minor.
Definition: SpriteFile.hpp:62
+
static const atUint32 Version
Version.
Definition: SpriteFile.hpp:77
+ +
atUint32 width() const
width
+
void setOrigin(const float x, const float y)
setOrigin
+
STexture * texture(atUint32 id)
texture
+
atUint32 height() const
height
+
+
+ + + + diff --git a/docs/_sprite_file_reader_8hpp_source.html b/docs/_sprite_file_reader_8hpp_source.html new file mode 100644 index 0000000..de876c4 --- /dev/null +++ b/docs/_sprite_file_reader_8hpp_source.html @@ -0,0 +1,173 @@ + + + + + + +Athena IO Library: include/Athena/SpriteFileReader.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
SpriteFileReader.hpp
+
+
+
1 #ifndef ATHENA_NO_SAKURA
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef SSPRITEFILEREADER_HPP
+
18 #define SSPRITEFILEREADER_HPP
+
19 
+
20 #include "Athena/MemoryReader.hpp"
+
21 
+
22 namespace Athena
+
23 {
+
24 namespace Sakura
+
25 {
+
26 class SpriteFile;
+
27 } // Sakura
+
28 
+
29 namespace io
+
30 {
+
31 
+ +
33 {
+
34  MEMORYREADER_BASE();
+
35 public:
+
36  SpriteFileReader(atUint8* data, atUint64 length);
+
37  SpriteFileReader(const std::string& filepath);
+
38 
+
39  Sakura::SpriteFile* readFile();
+
40 };
+
41 } // io
+
42 } // zelda
+
43 
+
44 
+
45 #endif // SSPRITEFILEREADER_HPP
+
46 #endif // ATHENA_NO_SAKURA
+
atUint64 length() const
Returns whether or not the stream is at the end.
+
atUint8 * data() const
Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it's perfectly...
+ + + +
std::string filepath() const
Returns the target file.
+ +
+
+ + + + diff --git a/docs/_sprite_file_writer_8hpp_source.html b/docs/_sprite_file_writer_8hpp_source.html new file mode 100644 index 0000000..c3566af --- /dev/null +++ b/docs/_sprite_file_writer_8hpp_source.html @@ -0,0 +1,173 @@ + + + + + + +Athena IO Library: include/Athena/SpriteFileWriter.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
SpriteFileWriter.hpp
+
+
+
1 #ifndef ATHENA_NO_SAKURA
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef SSPRITEFILEWRITER_HPP
+
18 #define SSPRITEFILEWRITER_HPP
+
19 
+
20 #include "Athena/MemoryWriter.hpp"
+
21 
+
22 namespace Athena
+
23 {
+
24 namespace Sakura
+
25 {
+
26 class SpriteFile;
+
27 } // Sakura
+
28 
+
29 namespace io
+
30 {
+
31 
+ +
33 {
+
34  MEMORYWRITER_BASE();
+
35 public:
+
36  SpriteFileWriter(atUint8* data, atUint64 length);
+
37 
+
38  SpriteFileWriter(const std::string& filepath);
+
39 
+
40  void writeFile(Sakura::SpriteFile* file);
+
41 };
+
42 
+
43 } // io
+
44 } // zelda
+
45 #endif // SSPRITEFILEWRITER_HPP
+
46 #endif // ATHENA_NO_SAKURA
+
std::string filepath() const
Returns the target file.
+ +
atUint64 length() const
Returns whether or not the stream is at the end.
+ + +
atUint8 * data() const
Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it's perfectly...
+ +
+
+ + + + diff --git a/docs/_sprite_frame_8hpp_source.html b/docs/_sprite_frame_8hpp_source.html new file mode 100644 index 0000000..7c5f682 --- /dev/null +++ b/docs/_sprite_frame_8hpp_source.html @@ -0,0 +1,216 @@ + + + + + + +Athena IO Library: include/Athena/SpriteFrame.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
SpriteFrame.hpp
+
+
+
1 #ifndef ATHENA_NO_SAKURA
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef SSPRITEFRAME_HPP
+
18 #define SSPRITEFRAME_HPP
+
19 
+
20 
+
21 #include "Athena/Global.hpp"
+
22 
+
23 #ifndef ATHENA_USE_QT
+
24 #include <vector>
+
25 #else
+
26 #include <QObject>
+
27 #include <QList>
+
28 #endif
+
29 
+
30 namespace Athena
+
31 {
+
32 namespace Sakura
+
33 {
+
34 
+
35 class Sprite;
+
36 class SpritePart;
+
37 
+
38 #ifndef ATHENA_USE_QT
+ +
40 {
+
41 #else
+
42 class SpriteFrame : public QObject
+
43 {
+
44  Q_OBJECT
+
45  Q_PROPERTY(qreal frameTime READ frameTime WRITE setFrameTime)
+
46 #endif
+
47 public:
+
51  SpriteFrame();
+
52 
+
53  SpriteFrame(Sprite* root);
+
58  void setFrameTime(float frameTime);
+
59 
+
60 
+
65  float frameTime() const;
+
66 
+
67 #ifndef ATHENA_USE_QT
+
68  void setParts(std::vector<SpritePart*> parts);
+
69  std::vector<SpritePart*> parts() const;
+
70 #else
+
71  void setParts(QList<SpritePart*> parts);
+
72  QList<SpritePart*> parts() const;
+
73 #endif
+
74 
+
75  atUint32 partCount() const;
+
76 
+
77  void setRoot(Sprite* root);
+
78  Sprite* root() const;
+
79 #ifdef ATHENA_USE_QT
+
80 signals:
+
81  void frameTimeChanged(float);
+
82 #endif
+
83 private:
+
84  Sprite* m_root;
+
85  float m_frameTime;
+
86 #ifndef ATHENA_USE_QT
+
87  std::vector<SpritePart*> m_parts;
+
88 #else
+
89  QList<SpritePart*> m_parts;
+
90 #endif
+
91 };
+
92 
+
93 } // Sakura
+
94 } // zelda
+
95 
+
96 #ifdef ATHENA_USE_QT
+
97 Q_DECLARE_METATYPE(Athena::Sakura::SpriteFrame*);
+
98 #endif
+
99 
+
100 #endif // SSPRITEFRAME_HPP
+
101 #endif // ATHENA_NO_SAKURA
+ + +
void setFrameTime(float frameTime)
setFrameTime
+
SpriteFrame()
SSpriteFrame.
+ +
float frameTime() const
frameTime
+
+
+ + + + diff --git a/docs/_sprite_part_8hpp_source.html b/docs/_sprite_part_8hpp_source.html new file mode 100644 index 0000000..33c99c9 --- /dev/null +++ b/docs/_sprite_part_8hpp_source.html @@ -0,0 +1,296 @@ + + + + + + +Athena IO Library: include/Athena/SpritePart.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
SpritePart.hpp
+
+
+
1 #ifndef ATHENA_NO_SAKURA
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef SSPRITEPART_HPP
+
18 #define SSPRITEPART_HPP
+
19 
+
20 #include "Athena/Global.hpp"
+
21 #ifndef ATHENA_USE_QT
+
22 # include <vector>
+
23 #else
+
24 # include <QObject>
+
25 # include <QPoint>
+
26 # include <QSize>
+
27 # include <QString>
+
28 #endif
+
29 
+
30 #include <string>
+
31 
+
32 namespace Athena
+
33 {
+
34 namespace Sakura
+
35 {
+
36 class SpriteFrame;
+
37 
+
38 #ifndef ATHENA_USE_QT
+ +
40 {
+
41 #else
+
42 class SpritePart : public QObject
+
43 {
+
44  Q_OBJECT
+
45  Q_PROPERTY(QString name READ name WRITE setName)
+
46  Q_PROPERTY(bool hasCollision READ hasCollision WRITE setCollision)
+ +
48  Q_PROPERTY(bool flippedVertically READ flippedVertically WRITE setFlippedVertically)
+
49  Q_PROPERTY(QPoint offset READ offset WRITE setOffset)
+
50  Q_PROPERTY(QPoint textureOffset READ textureOffset WRITE setTextureOffset)
+
51  Q_PROPERTY(QSize size READ size WRITE setSize)
+
52 #endif
+
53 public:
+
54  SpritePart(SpriteFrame* root);
+
55  SpritePart(SpriteFrame* root, const std::string& name, bool hasCollision = false);
+
56  virtual ~SpritePart();
+
57 
+
58 
+
59 #ifndef ATHENA_USE_QT
+
60  void setName(const std::string& name);
+
61  std::string name() const;
+
62 #else
+
63  void setName(const QString& name);
+
64  QString name() const;
+
65 #endif
+
66 
+
67  void setCollision(bool col);
+
68  bool hasCollision() const;
+
69 
+
75  void setOffset(float x, float y);
+
76 
+
81 #ifndef ATHENA_USE_QT
+
82  void setOffset(const Vector2Df& offset);
+
83 #else
+
84  void setOffset(const QPoint& offset);
+
85 #endif
+
86 
+
91 #ifndef ATHENA_USE_QT
+
92  Vector2Df offset() const;
+
93 #else
+
94  QPoint offset() const;
+
95 #endif
+
96 
+
102  void setTextureOffset(float x, float y);
+
103 
+
108 #ifndef ATHENA_USE_QT
+
109  void setTextureOffset(const Vector2Df& offset);
+
110 #else
+
111  void setTextureOffset(const QPoint& offset);
+
112 #endif
+
113 
+
118 #ifndef ATHENA_USE_QT
+
119  Vector2Df textureOffset() const;
+
120 #else
+
121  QPoint textureOffset() const;
+
122 #endif
+
123 
+
129  void setSize(atUint32 width, atUint32 height);
+
130 
+
135 #ifndef ATHENA_USE_QT
+
136  void setSize(const Vector2Di& size);
+
137 #else
+
138  void setSize(const QSize& size);
+
139 #endif
+
140 
+
145 #ifndef ATHENA_USE_QT
+
146  Vector2Di size() const;
+
147 #else
+
148  QSize size() const;
+
149 #endif
+
150 
+
155  void setFlippedHorizontally(const bool val);
+
156 
+
161  bool flippedHorizontally() const;
+
162 
+
167  void setFlippedVertically(const bool val);
+
168 
+
173  bool flippedVertically() const;
+
174 
+
175  void setRoot(SpriteFrame* root);
+
176  SpriteFrame* root() const;
+
177 
+
178 #ifdef ATHENA_USE_QT
+
179 signals:
+
180  void nameChanged(QString);
+
181  void orientationChanged(bool, bool);
+
182  void offsetChanged(QPoint);
+
183  void textureOffsetChanged(QPoint);
+
184  void sizeChanged(QSize);
+
185  void collisionChanged(bool);
+
186 #endif
+
187 
+
188 private:
+
189  SpriteFrame* m_root;
+
190 #ifndef ATHENA_USE_QT
+
191  std::string m_name;
+
192 #else
+
193  QString m_name;
+
194 #endif
+
195  bool m_hasCollision;
+
196 #ifndef ATHENA_USE_QT
+
197  Vector2Df m_offset;
+
198  Vector2Df m_textureOffset;
+
199  Vector2Di m_size;
+
200 #else
+
201  QPoint m_offset;
+
202  QPoint m_textureOffset;
+
203  QSize m_size;
+
204 #endif
+
205  bool m_flippedH;
+
206  bool m_flippedV;
+
207  atUint32 m_frameIndex;
+
208 };
+
209 
+
210 }
+
211 }
+
212 #ifdef ATHENA_USE_QT
+
213 Q_DECLARE_METATYPE(Athena::Sakura::SpritePart*)
+
214 #endif
+
215 
+
216 #endif // SSPRITEPART_HPP
+
217 #endif // ATHENA_NO_SAKURA
+ + +
void setFlippedHorizontally(const bool val)
setFlippedHorizontally
+
void setTextureOffset(float x, float y)
setTextureOffset
+
Vector2Df textureOffset() const
textureOffset
+
void setOffset(float x, float y)
setOffset
+
void setSize(atUint32 width, atUint32 height)
setSize
+
Vector2Df offset() const
offset
+
bool flippedHorizontally() const
flippedHorizontally
+ + +
void setFlippedVertically(const bool val)
setFlippedVertically
+
bool flippedVertically() const
flippedVertically
+
Vector2Di size() const
size
+
+
+ + + + diff --git a/docs/_types_8hpp_source.html b/docs/_types_8hpp_source.html new file mode 100644 index 0000000..7fef518 --- /dev/null +++ b/docs/_types_8hpp_source.html @@ -0,0 +1,200 @@ + + + + + + +Athena IO Library: include/Athena/Types.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Types.hpp
+
+
+
1 // This file is part of libAthena.
+
2 //
+
3 // libAthena is free software: you can redistribute it and/or modify
+
4 // it under the terms of the GNU General Public License as published by
+
5 // the Free Software Foundation, either version 3 of the License, or
+
6 // (at your option) any later version.
+
7 //
+
8 // libAthena is distributed in the hope that it will be useful,
+
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
11 // GNU General Public License for more details.
+
12 //
+
13 // You should have received a copy of the GNU General Public License
+
14 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
15 
+
16 #ifndef TYPES_HPP
+
17 #define TYPES_HPP
+
18 #include <limits.h>
+
19 
+
20 // 8 bits integer types
+
21 #if UCHAR_MAX == 0xFF
+
22 typedef signed char atInt8;
+
23 typedef unsigned char atUint8;
+
24 #else
+
25 #error No 8 bits integer type for this platform
+
26 #endif
+
27 
+
28 // 16 bits integer types
+
29 #if USHRT_MAX == 0xFFFF
+
30 typedef signed short atInt16;
+
31 typedef unsigned short atUint16;
+
32 #elif UINT_MAX == 0xFFFF
+
33 typedef signed int atInt16;
+
34 typedef unsigned int atUint16;
+
35 #elif ULONG_MAX == 0xFFFF
+
36 typedef signed long atInt16;
+
37 typedef unsigned long atUint16;
+
38 #else
+
39 #error No 16 bits integer type for this platform
+
40 #endif
+
41 
+
42 // 32 bits integer types
+
43 #if USHRT_MAX == 0xFFFFFFFF
+
44 typedef signed short atInt32;
+
45 typedef unsigned short atUint32;
+
46 #elif UINT_MAX == 0xFFFFFFFF
+
47 typedef signed int atInt32;
+
48 typedef unsigned int atUint32;
+
49 #elif ULONG_MAX == 0xFFFFFFFF
+
50 typedef signed long atInt32;
+
51 typedef unsigned long atUint32;
+
52 #else
+
53 #error No 32 bits integer type for this platform
+
54 #endif
+
55 
+
56 typedef signed long long atInt64;
+
57 typedef unsigned long long atUint64;
+
58 
+
59 #ifndef NULL
+
60 #ifdef __cplusplus
+
61 #define NULL 0
+
62 #else // __cplusplus
+
63 #define NULL (void*)0
+
64 #endif
+
65 #endif // NULL
+
66 
+
67 #ifndef UNUSED
+
68 #define UNUSED(x) ((void)x)
+
69 #endif // UNUSED
+
70 
+
71 #ifdef __GNUC__
+
72 #define DEPRECATED(func) func __attribute__ ((deprecated))
+
73 #elif defined(_MSC_VER)
+
74 #define DEPRECATED(func) __declspec(deprecated) func
+
75 #else
+
76 #pragma message("WARNING: You need to implement DEPRECATED for this compiler")
+
77 #define DEPRECATED(func) func
+
78 #endif
+
79 
+
80 #endif // TYPES_HPP
+
+
+ + + + diff --git a/docs/_utility_8hpp_source.html b/docs/_utility_8hpp_source.html new file mode 100644 index 0000000..f6d94a9 --- /dev/null +++ b/docs/_utility_8hpp_source.html @@ -0,0 +1,350 @@ + + + + + + +Athena IO Library: include/Athena/Utility.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Utility.hpp
+
+
+
1 // This file is part of libAthena.
+
2 //
+
3 // libAthena is free software: you can redistribute it and/or modify
+
4 // it under the terms of the GNU General Public License as published by
+
5 // the Free Software Foundation, either version 3 of the License, or
+
6 // (at your option) any later version.
+
7 //
+
8 // libAthena is distributed in the hope that it will be useful,
+
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
11 // GNU General Public License for more details.
+
12 //
+
13 // You should have received a copy of the GNU General Public License
+
14 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
15 
+
16 
+
17 #ifndef __UTILITY_H__
+
18 #define __UTILITY_H__
+
19 
+
20 #include <string>
+
21 #include <vector>
+
22 #include <stdarg.h>
+
23 #include <string.h>
+
24 #include "Athena/Global.hpp"
+
25 #include "Athena/Types.hpp"
+
26 
+
27 namespace Athena
+
28 {
+
29 namespace utility
+
30 {
+
31 inline bool isEmpty(atInt8* buf, atUint32 size) {return !memcmp(buf, buf + 1, size - 1);}
+
32 bool isSystemBigEndian();
+
33 
+
34 inline atInt16 swap16(atInt16 val)
+
35 {
+
36 #if __GNUC__
+
37  return __builtin_bswap16(val);
+
38 #elif _WIN32
+
39  return _byteswap_ushort(val);
+
40 #else
+
41  return (val = (val << 8) | ((val >> 8) & 0xFF));
+
42 #endif
+
43 }
+
44 inline atUint16 swapU16(atUint16 val) {return (atUint16)swap16(val);}
+
45 inline atInt32 swap32(atInt32 val)
+
46 {
+
47 #if __GNUC__
+
48  return __builtin_bswap32(val);
+
49 #elif _WIN32
+
50  return _byteswap_ulong(val);
+
51 #else
+
52  val = (val & 0x0000FFFF) << 16 | (val & 0xFFFF0000) >> 16;
+
53  val = (val & 0x00FF00FF) << 8 | (val & 0xFF00FF00) >> 8;
+
54  return val;
+
55 #endif
+
56 }
+
57 inline atUint32 swapU32(atUint32 val) {return (atUint32)swap32(val);}
+
58 inline atInt64 swap64(atInt64 val)
+
59 {
+
60 #if __GNUC__
+
61  return __builtin_bswap64(val);
+
62 #elif _WIN32
+
63  return _byteswap_uint64(val);
+
64 #else
+
65  return (val = ((atInt64)((((atInt64)(val) & 0xFF00000000000000ULL) >> 56) |
+
66  (((atInt64)(val) & 0x00FF000000000000ULL) >> 40) |
+
67  (((atInt64)(val) & 0x0000FF0000000000ULL) >> 24) |
+
68  (((atInt64)(val) & 0x000000FF00000000ULL) >> 8) |
+
69  (((atInt64)(val) & 0x00000000FF000000ULL) << 8) |
+
70  (((atInt64)(val) & 0x0000000000FF0000ULL) << 24) |
+
71  (((atInt64)(val) & 0x000000000000FF00ULL) << 40) |
+
72  (((atInt64)(val) & 0x00000000000000FFULL) << 56))));
+
73 #endif
+
74 }
+
75 inline atUint64 swapU64(atUint64 val) {return (atUint64)swap64(val);}
+
76 inline float swapFloat(float val)
+
77 {
+
78  atInt32 ival = swap64(static_cast<atInt32>(val));
+
79  return static_cast<float>(ival);
+
80 }
+
81 inline double swapDouble(double val)
+
82 {
+
83  atInt64 ival = swap64(static_cast<atInt64>(val));
+
84  return static_cast<double>(ival);
+
85 }
+
86 inline atInt16 LittleInt16(atInt16& val)
+
87 {
+
88  if (Athena::utility::isSystemBigEndian())
+
89  val = Athena::utility::swap16(val);
+
90 
+
91  return val;
+
92 }
+
93 inline atUint16 LittleUint16(atUint16& val)
+
94 {
+
95  atInt16 ret = val;
+
96  LittleInt16(ret);
+
97  val = ret;
+
98 
+
99  return val;
+
100 }
+
101 inline atInt16 BigInt16(atInt16& val)
+
102 {
+
103  if (!Athena::utility::isSystemBigEndian())
+
104  val = Athena::utility::swap16(val);
+
105 
+
106  return val;
+
107 }
+
108 inline atUint16 BigUint16(atUint16& val)
+
109 {
+
110  atInt16 ret = val;
+
111  BigInt16(ret);
+
112  val = ret;
+
113 
+
114  return val;
+
115 }
+
116 inline atInt32 LittleInt32(atInt32& val)
+
117 {
+
118  if (Athena::utility::isSystemBigEndian())
+
119  val = Athena::utility::swap32(val);
+
120 
+
121  return val;
+
122 }
+
123 inline atUint32 LittleUint32(atUint32& val)
+
124 {
+
125  atInt32 ret = val;
+
126  LittleInt32(ret);
+
127  val = ret;
+
128 
+
129  return val;
+
130 }
+
131 inline atInt32 BigInt32(atInt32& val)
+
132 {
+
133  if (!Athena::utility::isSystemBigEndian())
+
134  val = Athena::utility::swap32(val);
+
135 
+
136  return val;
+
137 }
+
138 inline atUint32 BigUint32(atUint32& val)
+
139 {
+
140  atInt32 ret = val;
+
141  BigInt32(ret);
+
142  val = ret;
+
143 
+
144  return val;
+
145 }
+
146 inline atInt64 LittleInt64(atInt64& val)
+
147 {
+
148  if (Athena::utility::isSystemBigEndian())
+
149  val = Athena::utility::swap64(val);
+
150 
+
151  return val;
+
152 }
+
153 inline atUint64 LittleUint64(atUint64& val)
+
154 {
+
155  atInt64 ret = val;
+
156  LittleInt64(ret);
+
157  val = ret;
+
158 
+
159  return val;
+
160 }
+
161 inline atInt64 BigInt64(atInt64& val)
+
162 {
+
163  if (!Athena::utility::isSystemBigEndian())
+
164  val = Athena::utility::swap64(val);
+
165 
+
166  return val;
+
167 }
+
168 inline atUint64 BigUint64(atUint64& val)
+
169 {
+
170  atInt64 ret = val;
+
171  BigInt64(ret);
+
172  val = ret;
+
173 
+
174  return val;
+
175 }
+
176 
+
177 inline float LittleFloat(float& val)
+
178 {
+
179  if (Athena::utility::isSystemBigEndian())
+
180  val = Athena::utility::swapFloat(val);
+
181 
+
182  return val;
+
183 }
+
184 inline float BigFloat(float& val)
+
185 {
+
186  if (!Athena::utility::isSystemBigEndian())
+
187  val = Athena::utility::swapFloat(val);
+
188 
+
189  return val;
+
190 }
+
191 inline double LittleDouble(double& val)
+
192 {
+
193  if (Athena::utility::isSystemBigEndian())
+
194  val = Athena::utility::swapDouble(val);
+
195 
+
196  return val;
+
197 }
+
198 inline double BigDouble(double& val)
+
199 {
+
200  if (!Athena::utility::isSystemBigEndian())
+
201  val = Athena::utility::swapDouble(val);
+
202 
+
203  return val;
+
204 }
+
205 
+
206 void fillRandom(atUint8 * rndArea, atUint64 count);
+
207 std::vector<std::string> split(const std::string &s, char delim);
+
208 atUint64 rand64();
+
209 std::string join(const std::vector<std::string>& elems, const std::string& delims);
+
210 void tolower(std::string& str);
+
211 void toupper(std::string& str);
+
212 std::string vsprintf(const char* fmt, va_list list);
+
213 std::string sprintf(const char* fmt, ...);
+
214 bool parseBool(const std::string& boolean, bool* valid = NULL);
+
215 
+
216 int countChar(const std::string& str, const char chr, int* lastOccur = NULL);
+
217 
+
218 // trim from start
+
219 std::string& ltrim(std::string& s);
+
220 
+
221 // trim from end
+
222 std::string& rtrim(std::string& s);
+
223 
+
224 // trim from both ends
+
225 std::string& trim(std::string& s);
+
226 atUint64 fileSize(const std::string& filename);
+
227 } // utility
+
228 } // Athena
+
229 #endif
+ +
+
+ + + + diff --git a/docs/_wii_banner_8hpp_source.html b/docs/_wii_banner_8hpp_source.html new file mode 100644 index 0000000..95a4adc --- /dev/null +++ b/docs/_wii_banner_8hpp_source.html @@ -0,0 +1,240 @@ + + + + + + +Athena IO Library: include/Athena/WiiBanner.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
WiiBanner.hpp
+
+
+
1 #ifndef ATHENA_NO_SAVES
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef WIIBANNER_H
+
18 #define WIIBANNER_H
+
19 
+
20 
+
21 #include <vector>
+
22 #include <string>
+
23 #include "Athena/Global.hpp"
+
24 
+
25 namespace Athena
+
26 {
+
27 class WiiImage;
+
33 class WiiBanner
+
34 {
+
35 public:
+
36  enum
+
37  {
+
38  NoCopy = 0x00000001,
+
39  Bounce = 0x00000010,
+
40  NoCopyBounce = NoCopy | Bounce
+
41  };
+
42 
+
46  WiiBanner();
+
55  WiiBanner(atUint32 gameId, const std::string& title, const std::string& subtitle, WiiImage* m_banner, std::vector<WiiImage*> icons);
+
56  virtual ~WiiBanner();
+
57 
+
62  void setGameID(atUint64 id);
+
63 
+
68  atUint64 gameID() const;
+
69 
+
74  void setBannerImage(WiiImage* banner);
+
75 
+
80  WiiImage* bannerImage() const;
+
81 
+
86  void setBannerSize(atUint32 size);
+
87 
+
92  atUint32 bannerSize() const;
+
93 
+
98  void setTitle(const std::string& title);
+
99 
+
104  std::string title() const;
+
105 
+
110  void setSubtitle(const std::string& subtitle);
+
111 
+
116  std::string subtitle() const;
+
117 
+
122  void addIcon(WiiImage* icon);
+
123 
+
129  void setIcon(atUint32 id, WiiImage* icon);
+
130 
+
136  WiiImage* getIcon(atUint32 id) const;
+
137 
+
142  std::vector<WiiImage*> icons() const;
+
143 
+
148  void setAnimationSpeed(atUint16 animSpeed);
+
149 
+
154  atUint16 animationSpeed() const;
+
155 
+
160  void setPermissions(atUint8 permissions);
+
161 
+
166  atUint8 permissions() const;
+
167 
+
172  void setFlags(atUint32 flags);
+
173 
+
178  atUint32 flags() const;
+
179 protected:
+
180 private:
+
181  atUint64 m_gameId;
+
182  WiiImage* m_banner;
+
183  atUint32 m_animSpeed;
+
184  atUint8 m_permissions;
+
185  atUint32 m_flags;
+
186  atUint32 m_bannerSize;
+
187  std::vector<WiiImage*> m_icons;
+
188  std::string m_title;
+
189  std::string m_subtitle;
+
190 };
+
191 } // zelda
+
192 
+
193 #endif // WIIBANNER_H
+
194 #endif // ATHENA_NO_SAVES
+
atUint32 flags() const
flags
+
The WiiImage class.
Definition: WiiImage.hpp:28
+
void setGameID(atUint64 id)
setGameID
+
std::string title() const
title
+
void setFlags(atUint32 flags)
setFlags
+
Wii banner container class.
Definition: WiiBanner.hpp:33
+
atUint64 gameID() const
gameID
+
void setAnimationSpeed(atUint16 animSpeed)
setAnimationSpeed
+
void setBannerImage(WiiImage *banner)
setBannerImage
+
void setSubtitle(const std::string &subtitle)
setSubtitle
+
WiiImage * getIcon(atUint32 id) const
getIcon
+
void setPermissions(atUint8 permissions)
setPermissions
+
void addIcon(WiiImage *icon)
addIcon
+
void setIcon(atUint32 id, WiiImage *icon)
setIcon
+
atUint16 animationSpeed() const
animationSpeed
+
atUint8 permissions() const
permissions
+
void setTitle(const std::string &title)
setTitle
+
atUint32 bannerSize() const
bannerSize
+
std::vector< WiiImage * > icons() const
icons
+
std::string subtitle() const
subtitle
+
void setBannerSize(atUint32 size)
setBannerSize
+
WiiBanner()
WiiBanner.
+
WiiImage * bannerImage() const
bannerImage
+ +
+
+ + + + diff --git a/docs/_wii_file_8hpp_source.html b/docs/_wii_file_8hpp_source.html new file mode 100644 index 0000000..f2261af --- /dev/null +++ b/docs/_wii_file_8hpp_source.html @@ -0,0 +1,267 @@ + + + + + + +Athena IO Library: include/Athena/WiiFile.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
WiiFile.hpp
+
+
+
1 #ifndef ATHENA_NO_SAVES
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef WIIFILE_H
+
18 #define WIIFILE_H
+
19 
+
20 #include <string>
+
21 #include <map>
+
22 #include "Athena/Global.hpp"
+
23 
+
24 namespace Athena
+
25 {
+
26 
+
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};
+
30 
+
36 class WiiFile
+
37 {
+
38 public:
+
39 
+ +
45  {
+
46  OtherRead = 0x01,
+
47  OtherWrite = 0x02,
+
48  GroupRead = 0x04,
+
49  GroupWrite = 0x08,
+
50  OwnerRead = 0x10,
+
51  OwnerWrite = 0x20,
+
52 
+
53  // Mask values;
+
54  OtherRW = (OtherRead | OtherWrite),
+
55  GroupRW = (GroupRead | GroupWrite),
+
56  OwnerRW = (OwnerRead | OwnerWrite)
+
57  };
+
58 
+
62  enum Type
+
63  {
+
64  File = 0x01,
+
65  Directory = 0x02
+
66  };
+
67 
+
68  WiiFile();
+
69 
+
74  WiiFile(const std::string& filename);
+
75 
+
83  WiiFile(const std::string& filename, atUint8 permissions, const atUint8* data, atUint32 length);
+
84  virtual ~WiiFile();
+
85 
+
90  void setFilename(const std::string& filename);
+
91 
+
96  std::string filename() const;
+
97 
+
102  void setData(const atUint8* data);
+
107  atUint8* data() const;
+
108 
+
113  void setLength(const int len);
+
114 
+
119  int length() const;
+
120 
+
125  void setPermissions(const atUint8 permissions);
+
126 
+
131  atUint8 permissions() const;
+
132 
+
137  void setAttributes(const atUint8 attr);
+
138 
+
143  atUint8 attributes() const;
+
144 
+
149  void setType(Type type);
+
150 
+
155  Type type() const;
+
156 
+
161  bool isDirectory() const;
+
162 
+
167  bool isFile() const;
+
168 
+
173  void addChild(WiiFile* file);
+
178  std::vector<WiiFile*> children();
+
184  WiiFile* child(const std::string& name);
+
189  void removeChild(const std::string& name);
+
194  void removeChild(WiiFile* file);
+
195 
+
200  WiiFile* parent();
+
201 
+
206  void setParent(WiiFile* parent);
+
207 
+
212  atUint32 fileCount();
+
213 
+
218  std::vector<WiiFile*> allChildren();
+
219 
+
224  std::string fullpath();
+
225 protected:
+
226 private:
+
227  atUint8 m_permissions;
+
228  atUint8 m_attributes;
+
229  Type m_type;
+
230  std::string m_filename;
+
231  int m_fileLen;
+
232  atUint8* m_fileData;
+
233  WiiFile* m_parent;
+
234  std::vector<WiiFile*> m_children;
+
235 };
+
236 
+
237 } // zelda
+
238 #endif // WIIFILE_H
+
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...
Definition: WiiFile.hpp:44
+
atUint32 fileCount()
fileCount
+
Wii file container class.
Definition: WiiFile.hpp:36
+
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
+
Type type() const
type
+
atUint8 * data() const
data
+
std::vector< WiiFile * > children()
children
+
Type
The Type enum.
Definition: WiiFile.hpp:62
+
std::vector< WiiFile * > allChildren()
allChildren
+
int length() const
length
+
std::string filename() const
filename
+
Mask to get the Other group permissions.
Definition: WiiFile.hpp:54
+
void addChild(WiiFile *file)
addChild
+ +
void setParent(WiiFile *parent)
setParent
+
atUint8 permissions() const
permissions
+
WiiFile * parent()
parent
+
void setFilename(const std::string &filename)
setFilename
+
+
+ + + + diff --git a/docs/_wii_image_8hpp_source.html b/docs/_wii_image_8hpp_source.html new file mode 100644 index 0000000..abfdf08 --- /dev/null +++ b/docs/_wii_image_8hpp_source.html @@ -0,0 +1,187 @@ + + + + + + +Athena IO Library: include/Athena/WiiImage.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
WiiImage.hpp
+
+
+
1 #ifndef ATHENA_NO_SAVES
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef WIIIMAGE_HPP
+
18 #define WIIIMAGE_HPP
+
19 
+
20 #include "Athena/Types.hpp"
+
21 
+
22 namespace Athena
+
23 {
+
24 
+
28 class WiiImage
+
29 {
+
30 public:
+
34  WiiImage();
+
41  WiiImage(atUint32 width, atUint32 height, atUint8* data);
+
42 
+
46  ~WiiImage();
+
47 
+
52  void setWidth(const atUint32 width);
+
53 
+
58  atUint32 width() const;
+
59 
+
64  void setHeight(const atUint32 height);
+
65 
+
70  atUint32 height() const;
+
71 
+
76  void setData(const atUint8* data);
+
77 
+
82  atUint8* data();
+
83 
+
88  atUint8* toRGBA();
+
89 
+
90 private:
+
91  atUint32 m_width;
+
92  atUint32 m_height;
+
93  atUint8* m_data;
+
94 };
+
95 
+
96 } // zelda
+
97 
+
98 #endif // WIIIMAGE_HPP
+
99 #endif // ATHENA_NO_SAVES
+
The WiiImage class.
Definition: WiiImage.hpp:28
+
atUint32 width() const
width
+
atUint8 * data()
data
+
atUint8 * toRGBA()
toRGBA
+
WiiImage()
WiiImage.
+
void setHeight(const atUint32 height)
setHeight
+
void setWidth(const atUint32 width)
setWidth
+
atUint32 height() const
height
+ +
~WiiImage()
~WiiImage
+
void setData(const atUint8 *data)
setData
+
+
+ + + + diff --git a/docs/_wii_save_8hpp_source.html b/docs/_wii_save_8hpp_source.html new file mode 100644 index 0000000..e9d5d9c --- /dev/null +++ b/docs/_wii_save_8hpp_source.html @@ -0,0 +1,200 @@ + + + + + + +Athena IO Library: include/Athena/WiiSave.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
WiiSave.hpp
+
+
+
1 #ifndef ATHENA_NO_SAVES
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef WIISAVE_HPP
+
18 #define WIISAVE_HPP
+
19 
+
20 #include <unordered_map>
+
21 #include <string>
+
22 #include "Athena/Global.hpp"
+
23 
+
24 namespace Athena
+
25 {
+
26 
+
27 class WiiFile;
+
28 class WiiBanner;
+
29 class WiiImage;
+
30 class BinaryReader;
+
31 class BinaryWriter;
+
32 
+
38 class WiiSave
+
39 {
+
40 public:
+
41 
+
45  typedef std::unordered_map<std::string, WiiFile*>::const_iterator FileIterator;
+
46 
+
50  WiiSave();
+
54  virtual ~WiiSave();
+
55 
+
61  void addFile(WiiFile* file);
+
62  void setRoot(WiiFile* root);
+
68  WiiFile* file(const std::string& filename);
+
69 
+
70  atUint32 fileCount() const;
+
75  WiiFile* root();
+
76 
+
81  void setBanner(WiiBanner* banner);
+
82 
+
87  WiiBanner* banner() const;
+
88 
+
89  std::vector<WiiFile*> allFiles() const;
+
90 
+
91 protected:
+
92 private:
+
93 
+
94  WiiFile* m_root;
+
95  WiiBanner* m_banner;
+
96 
+
97 };
+
98 
+
99 } // zelda
+
100 #endif // WIISAVE_HPP
+
101 #endif // ATHENA_NO_SAVES
+
102 
+
std::unordered_map< std::string, WiiFile * >::const_iterator FileIterator
FileIterator.
Definition: WiiSave.hpp:45
+
Wii banner container class.
Definition: WiiBanner.hpp:33
+
WiiSave()
WiiSave.
+
A Stream class for writing binary data.
+
WiiFile * file(const std::string &filename)
file
+
Wii file container class.
Definition: WiiFile.hpp:36
+
WiiFile * root()
fileList
+
A Stream class for reading binary data.
+
void addFile(WiiFile *file)
addFile
+
WiiBanner * banner() const
banner
+
void setBanner(WiiBanner *banner)
setBanner
+
Wii data.bin container class.
Definition: WiiSave.hpp:38
+ +
virtual ~WiiSave()
~WiiSave
+
+
+ + + + diff --git a/docs/_wii_save_reader_8hpp_source.html b/docs/_wii_save_reader_8hpp_source.html new file mode 100644 index 0000000..a47a231 --- /dev/null +++ b/docs/_wii_save_reader_8hpp_source.html @@ -0,0 +1,182 @@ + + + + + + +Athena IO Library: include/Athena/WiiSaveReader.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
WiiSaveReader.hpp
+
+
+
1 #ifndef ATHENA_NO_SAVES
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef WIISAVEREADER_HPP
+
18 #define WIISAVEREADER_HPP
+
19 
+
20 #include "Athena/Global.hpp"
+
21 #include "Athena/MemoryReader.hpp"
+
22 
+
23 namespace Athena
+
24 {
+
25 class WiiSave;
+
26 class WiiBanner;
+
27 class WiiFile;
+
28 class WiiImage;
+
29 
+
30 namespace io
+
31 {
+
32 
+
40 class WiiSaveReader : protected MemoryReader
+
41 {
+
42  MEMORYREADER_BASE();
+
43 public:
+
49  WiiSaveReader(const atUint8*, atUint64);
+
50 
+
55  WiiSaveReader(const std::string&);
+
56 
+
61  WiiSave* readSave();
+
62 private:
+
63  WiiBanner* readBanner();
+
64  WiiFile* readFile();
+
65  WiiImage* readImage(atUint32 width, atUint32 height);
+
66  void readCerts(atUint32 totalSize);
+
67  WiiFile* buildTree(std::vector<WiiFile*> files);
+
68 };
+
69 
+
70 } // io
+
71 } // zelda
+
72 #endif // WIISAVEREADER_HPP
+
73 #endif // ATHENA_NO_SAVES
+
The WiiImage class.
Definition: WiiImage.hpp:28
+
Wii banner container class.
Definition: WiiBanner.hpp:33
+
Wii file container class.
Definition: WiiFile.hpp:36
+ +
Wii data.bin container class.
Definition: WiiSave.hpp:38
+
WiiSave * readSave()
readSave
+ +
Wii data.bin reader class.
+
WiiSaveReader(const atUint8 *, atUint64)
This constructor takes an existing buffer to read from.
+
+
+ + + + diff --git a/docs/_wii_save_writer_8hpp_source.html b/docs/_wii_save_writer_8hpp_source.html new file mode 100644 index 0000000..0535e3b --- /dev/null +++ b/docs/_wii_save_writer_8hpp_source.html @@ -0,0 +1,181 @@ + + + + + + +Athena IO Library: include/Athena/WiiSaveWriter.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
WiiSaveWriter.hpp
+
+
+
1 #ifndef ATHENA_NO_SAVES
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef WIISAVEWRITER_HPP
+
18 #define WIISAVEWRITER_HPP
+
19 
+
20 #include "Athena/MemoryWriter.hpp"
+
21 
+
22 namespace Athena
+
23 {
+
24 class WiiSave;
+
25 class WiiBanner;
+
26 class WiiFile;
+
27 class WiiImage;
+
28 
+
29 namespace io
+
30 {
+
31 
+
39 class WiiSaveWriter : protected MemoryWriter
+
40 {
+
41  MEMORYWRITER_BASE();
+
42 public:
+
47  WiiSaveWriter(const std::string&);
+
48 
+
60  bool writeSave(WiiSave* save, atUint8* macAddress, atUint32 ngId, atUint8* ngPriv, atUint8* ngSig, atUint32 ngKeyId, const std::string& filepath = "");
+
61 
+
62 private:
+
63  void writeBanner(WiiBanner* banner);
+
64  atUint32 writeFile(WiiFile* file);
+
65  void writeImage(WiiImage* image);
+
66  void writeCerts(atUint32 filesSize, atUint32 ngId, atUint8* ngPriv, atUint8* ngSig, atUint32 ngKeyId);
+
67 };
+
68 
+
69 } // io
+
70 } // zelda
+
71 #endif // WIISAVEWRITER_HPP
+
72 #endif // ATHENA_NO_SAVES
+
Wii data.bin writer class.
+
The WiiImage class.
Definition: WiiImage.hpp:28
+
std::string filepath() const
Returns the target file.
+
void save(const std::string &filename="")
Saves the file to the specified file.
+
bool writeSave(WiiSave *save, atUint8 *macAddress, atUint32 ngId, atUint8 *ngPriv, atUint8 *ngSig, atUint32 ngKeyId, const std::string &filepath="")
writeSave
+
Wii banner container class.
Definition: WiiBanner.hpp:33
+
Wii file container class.
Definition: WiiFile.hpp:36
+ +
Wii data.bin container class.
Definition: WiiSave.hpp:38
+ +
WiiSaveWriter(const std::string &)
This constructor creates an instance from a file on disk.
+
+
+ + + + diff --git a/docs/_z_quest_file_8hpp_source.html b/docs/_z_quest_file_8hpp_source.html new file mode 100644 index 0000000..81bea1b --- /dev/null +++ b/docs/_z_quest_file_8hpp_source.html @@ -0,0 +1,259 @@ + + + + + + +Athena IO Library: include/Athena/ZQuestFile.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ZQuestFile.hpp
+
+
+
1 #ifndef ATHENA_NO_ZQUEST
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef ZQUEST_HPP
+
18 #define ZQUEST_HPP
+
19 
+
20 
+
21 #include "Athena/Global.hpp"
+
22 #include <string>
+
23 #include <vector>
+
24 
+
25 #define ZQUEST_VERSION_CHECK(major, minor, revision) \
+
26  (major | (minor << 8) | (revision << 16))
+
27 
+
28 namespace Athena
+
29 {
+ +
34 {
+
35 public:
+
39  static const atUint32 Major;
+
43  static const atUint32 Minor;
+
47  static const atUint32 Revision;
+
51  static const atUint32 Version;
+
52 
+
56  static const atUint32 Magic;
+
57 
+
62  enum Game
+
63  {
+ +
65  LoZ,
+
66  AoL,
+ +
68  LA,
+
69  OoT,
+ +
71  MM,
+
72  OoS,
+
73  OoA,
+
74  FS,
+
75  WW,
+
76  FSA,
+
77  MC,
+
78  TP,
+
79  PH,
+
80  ST,
+
81  SS,
+
82  ALBW,
+
83  // Add more games here
+
84 
+
85  // This must always be last
+ +
87  };
+
88 
+
92  ZQuestFile();
+
93 
+
101  ZQuestFile(Game game, Endian endian, atUint8* data, atUint32 length, const std::string& gameString = std::string());
+
102  ~ZQuestFile();
+
103 
+
108  void setGame(Game game);
+
109 
+
114  Game game() const;
+
115 
+
120  void setEndian(Endian endian);
+
121 
+
126  Endian endian() const;
+
127 
+
133  void setData(atUint8* data, atUint32 length);
+
134 
+
139  atUint8* data() const;
+
140 
+
145  atUint32 length() const;
+
146 
+
147  void setGameString(const std::string& gameString);
+
152  std::string gameString() const;
+
153 
+
154  static const std::vector<std::string> gameStringList();
+
155 protected:
+
156  Game m_game;
+
157  std::string m_gameString;
+
158  Endian m_endian;
+
159  atUint8* m_data;
+
160  atUint32 m_length;
+
161 
+
162  // Game strings support
+
163 };
+
164 } // zelda
+
165 
+
166 #endif // ZQUEST_HPP
+
167 #endif // ATHENA_NO_ZQUEST
+ +
Game game() const
game
+
void setData(atUint8 *data, atUint32 length)
setData
+
A Link to the Past.
Definition: ZQuestFile.hpp:67
+
Spirit Tracks.
Definition: ZQuestFile.hpp:80
+
void setEndian(Endian endian)
setEndian
+
ZQuestFile()
ZQuest.
+
Total number of supported games.
Definition: ZQuestFile.hpp:86
+ +
static const atUint32 Minor
The current minor version of the ZQuest format.
Definition: ZQuestFile.hpp:43
+
None or Unsupported.
Definition: ZQuestFile.hpp:64
+ +
Four Swords Adventures.
Definition: ZQuestFile.hpp:76
+
Majora's Mask.
Definition: ZQuestFile.hpp:71
+
atUint8 * data() const
data
+
Oracle of Season.
Definition: ZQuestFile.hpp:72
+
Adventure of Link.
Definition: ZQuestFile.hpp:66
+
Oracle of Ages.
Definition: ZQuestFile.hpp:73
+
Legend of Zelda.
Definition: ZQuestFile.hpp:65
+
Skyward Sword.
Definition: ZQuestFile.hpp:81
+
Links Awakening.
Definition: ZQuestFile.hpp:68
+
Ocarina of Time 3D.
Definition: ZQuestFile.hpp:70
+
static const atUint32 Major
The current major version of the ZQuest format.
Definition: ZQuestFile.hpp:39
+
Game
The list of games currently supported by ZQuest.
Definition: ZQuestFile.hpp:62
+
void setGame(Game game)
setGame
+
static const atUint32 Version
The current version of the ZQuest format.
Definition: ZQuestFile.hpp:51
+
Ocarin of Time.
Definition: ZQuestFile.hpp:69
+
Twilight Princess.
Definition: ZQuestFile.hpp:78
+
std::string gameString() const
gameString
+
Endian endian() const
endian
+
Phantom Hourglass.
Definition: ZQuestFile.hpp:79
+
static const atUint32 Revision
The current revision of the ZQuest format.
Definition: ZQuestFile.hpp:47
+
static const atUint32 Magic
The magic number used to identify the file e.g. "ZQS1".
Definition: ZQuestFile.hpp:56
+ +
ZQuestFile is an export format for save data.
Definition: ZQuestFile.hpp:33
+
atUint32 length() const
length
+
A Link Between Worlds.
Definition: ZQuestFile.hpp:82
+
+
+ + + + diff --git a/docs/_z_quest_file_reader_8hpp_source.html b/docs/_z_quest_file_reader_8hpp_source.html new file mode 100644 index 0000000..e99f02a --- /dev/null +++ b/docs/_z_quest_file_reader_8hpp_source.html @@ -0,0 +1,174 @@ + + + + + + +Athena IO Library: include/Athena/ZQuestFileReader.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ZQuestFileReader.hpp
+
+
+
1 #ifndef ATHENA_NO_ZQUEST
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef __ZQUESTFILEREADER_HPP__
+
18 #define __ZQUESTFILEREADER_HPP__
+
19 
+
20 #include "Athena/MemoryReader.hpp"
+
21 
+
22 namespace Athena
+
23 {
+
24 class ZQuestFile;
+
25 
+
26 namespace io
+
27 {
+
28 
+
32 class ZQuestFileReader : protected MemoryReader
+
33 {
+
34  MEMORYREADER_BASE();
+
35 
+
36 public:
+
42  ZQuestFileReader(atUint8* data, atUint64 length);
+
43 
+
48  ZQuestFileReader(const std::string& filename);
+
49 
+
54  ZQuestFile* read();
+
55 };
+
56 
+
57 } // io
+
58 } // zelda
+
59 
+
60 #endif // __ZQUESTFILEREADER_HPP__
+
61 
+
62 #endif // ATHENA_NO_ZQUEST
+
atUint64 length() const
Returns whether or not the stream is at the end.
+
The ZQuestFileReader class.
+
atUint8 * data() const
Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it's perfectly...
+
ZQuestFileReader(atUint8 *data, atUint64 length)
ZQuestFileReader.
+ +
ZQuestFile * read()
read
+ +
ZQuestFile is an export format for save data.
Definition: ZQuestFile.hpp:33
+
+
+ + + + diff --git a/docs/_z_quest_file_writer_8hpp_source.html b/docs/_z_quest_file_writer_8hpp_source.html new file mode 100644 index 0000000..0d85108 --- /dev/null +++ b/docs/_z_quest_file_writer_8hpp_source.html @@ -0,0 +1,173 @@ + + + + + + +Athena IO Library: include/Athena/ZQuestFileWriter.hpp Source File + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ZQuestFileWriter.hpp
+
+
+
1 #ifndef ATHENA_NO_ZQUEST
+
2 // This file is part of libAthena.
+
3 //
+
4 // libAthena is free software: you can redistribute it and/or modify
+
5 // it under the terms of the GNU General Public License as published by
+
6 // the Free Software Foundation, either version 3 of the License, or
+
7 // (at your option) any later version.
+
8 //
+
9 // libAthena is distributed in the hope that it will be useful,
+
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
+
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+
12 // GNU General Public License for more details.
+
13 //
+
14 // You should have received a copy of the GNU General Public License
+
15 // along with libAthena. If not, see <http://www.gnu.org/licenses/>
+
16 
+
17 #ifndef __ZQUESTFILEWRITER_HPP__
+
18 #define __ZQUESTFILEWRITER_HPP__
+
19 
+
20 #include "Athena/MemoryWriter.hpp"
+
21 
+
22 namespace Athena
+
23 {
+
24 class ZQuestFile;
+
25 
+
26 namespace io
+
27 {
+
28 
+
32 class ZQuestFileWriter : protected MemoryWriter
+
33 {
+
34  MEMORYWRITER_BASE();
+
35 
+
36 public:
+
42  ZQuestFileWriter(atUint8* data, atUint64 length);
+
43 
+
48  ZQuestFileWriter(const std::string& filename);
+
49 
+
55  void write(ZQuestFile* quest, bool compress = true);
+
56 };
+
57 
+
58 } // io
+
59 } // zelda
+
60 #endif // __ZQUESTFILEWRITER_HPP__
+
61 
+
62 #endif // ATHENA_NO_ZQUEST
+
void write(ZQuestFile *quest, bool compress=true)
write
+
The ZQuestFileWriter class.
+
atUint64 length() const
Returns whether or not the stream is at the end.
+ +
atUint8 * data() const
Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it's perfectly...
+ +
ZQuestFileWriter(atUint8 *data, atUint64 length)
ZQuestFileWriter.
+
ZQuestFile is an export format for save data.
Definition: ZQuestFile.hpp:33
+
+
+ + + + diff --git a/docs/annotated.html b/docs/annotated.html new file mode 100644 index 0000000..2f31d40 --- /dev/null +++ b/docs/annotated.html @@ -0,0 +1,187 @@ + + + + + + +Athena IO Library: Class List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Class List
+
+
+
Here are the classes, structs, unions and interfaces with brief descriptions:
+
[detail level 123]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 NAthena
 Nerror
 CExceptionThe baseclass for all Exceptions
 CFileNotFoundExceptionAn excpeption thrown when a file could not be found at the given path
 CInvalidDataExceptionAn exception thrown on Invalid Data calls
 CInvalidOperationExceptionAn excpeption thrown on Invalid Operations calls
 CIOExceptionAn excpeption thrown on inappropriate IO calls
 CNotImplementedException
 Nio
 CALTTPFileReaderA Link to the Past save data reader class
 CALTTPFileWriterA Link to the Past save data writer class
 CFileReader
 CFileWriter
 CIStream
 CIStreamReader
 CIStreamWriter
 CMCFileReaderThe Minish Cap Save save data reader class
 CMCFileWriterThe Minish Cap Save save data writer class
 CMemoryReader
 CMemoryWriter
 CSkywardSwordFileReader
 CSkywardSwordFileWriter
 CSpriteFileReader
 CSpriteFileWriter
 CWiiSaveReaderWii data.bin reader class
 CWiiSaveWriterWii data.bin writer class
 CZQuestFileReaderThe ZQuestFileReader class
 CZQuestFileWriterThe ZQuestFileWriter class
 NSakura
 CSprite
 CSpriteFile
 CSpriteFrame
 CSpritePart
 CSTexture
 CVector2D
 CALTTPAbilities
 CALTTPCrystals
 CALTTPDungeonItemFlags
 CALTTPFileA Link to the Past data container class class
 CALTTPInventory
 CALTTPLightDarkWorldIndicator
 CALTTPMagicUsage
 CALTTPOverworldEvent
 CALTTPPendants
 CALTTPProgressFlags1
 CALTTPProgressFlags2
 CALTTPQuestA Link to the Past Quest container class
 CALTTPRoomFlags
 CDir
 CFileInfo
 CMCFileThe Minish Cap data container class class
 CMCSlot
 CSkywardSwordFile
 CSkywardSwordQuest
 CWiiBannerWii banner container class
 CWiiFileWii file container class
 CWiiImageThe WiiImage class
 CWiiSaveWii data.bin container class
 CZQuestFileZQuestFile is an export format for save data
 CBinaryReaderA Stream class for reading binary data
 CBinaryWriterA Stream class for writing binary data
+
+
+
+ + + + diff --git a/docs/annotated.js b/docs/annotated.js new file mode 100644 index 0000000..ba03711 --- /dev/null +++ b/docs/annotated.js @@ -0,0 +1,68 @@ +var annotated = +[ + [ "Athena", null, [ + [ "error", null, [ + [ "Exception", "class_athena_1_1error_1_1_exception.html", "class_athena_1_1error_1_1_exception" ], + [ "FileNotFoundException", "class_athena_1_1error_1_1_file_not_found_exception.html", "class_athena_1_1error_1_1_file_not_found_exception" ], + [ "InvalidDataException", "class_athena_1_1error_1_1_invalid_data_exception.html", "class_athena_1_1error_1_1_invalid_data_exception" ], + [ "InvalidOperationException", "class_athena_1_1error_1_1_invalid_operation_exception.html", "class_athena_1_1error_1_1_invalid_operation_exception" ], + [ "IOException", "class_athena_1_1error_1_1_i_o_exception.html", "class_athena_1_1error_1_1_i_o_exception" ], + [ "NotImplementedException", "class_athena_1_1error_1_1_not_implemented_exception.html", "class_athena_1_1error_1_1_not_implemented_exception" ] + ] ], + [ "io", null, [ + [ "ALTTPFileReader", "class_athena_1_1io_1_1_a_l_t_t_p_file_reader.html", "class_athena_1_1io_1_1_a_l_t_t_p_file_reader" ], + [ "ALTTPFileWriter", "class_athena_1_1io_1_1_a_l_t_t_p_file_writer.html", "class_athena_1_1io_1_1_a_l_t_t_p_file_writer" ], + [ "FileReader", "class_athena_1_1io_1_1_file_reader.html", "class_athena_1_1io_1_1_file_reader" ], + [ "FileWriter", "class_athena_1_1io_1_1_file_writer.html", "class_athena_1_1io_1_1_file_writer" ], + [ "IStream", "class_athena_1_1io_1_1_i_stream.html", "class_athena_1_1io_1_1_i_stream" ], + [ "IStreamReader", "class_athena_1_1io_1_1_i_stream_reader.html", "class_athena_1_1io_1_1_i_stream_reader" ], + [ "IStreamWriter", "class_athena_1_1io_1_1_i_stream_writer.html", "class_athena_1_1io_1_1_i_stream_writer" ], + [ "MCFileReader", "class_athena_1_1io_1_1_m_c_file_reader.html", "class_athena_1_1io_1_1_m_c_file_reader" ], + [ "MCFileWriter", "class_athena_1_1io_1_1_m_c_file_writer.html", "class_athena_1_1io_1_1_m_c_file_writer" ], + [ "MemoryReader", "class_athena_1_1io_1_1_memory_reader.html", "class_athena_1_1io_1_1_memory_reader" ], + [ "MemoryWriter", "class_athena_1_1io_1_1_memory_writer.html", "class_athena_1_1io_1_1_memory_writer" ], + [ "SkywardSwordFileReader", "class_athena_1_1io_1_1_skyward_sword_file_reader.html", "class_athena_1_1io_1_1_skyward_sword_file_reader" ], + [ "SkywardSwordFileWriter", "class_athena_1_1io_1_1_skyward_sword_file_writer.html", "class_athena_1_1io_1_1_skyward_sword_file_writer" ], + [ "SpriteFileReader", "class_athena_1_1io_1_1_sprite_file_reader.html", "class_athena_1_1io_1_1_sprite_file_reader" ], + [ "SpriteFileWriter", "class_athena_1_1io_1_1_sprite_file_writer.html", "class_athena_1_1io_1_1_sprite_file_writer" ], + [ "WiiSaveReader", "class_athena_1_1io_1_1_wii_save_reader.html", "class_athena_1_1io_1_1_wii_save_reader" ], + [ "WiiSaveWriter", "class_athena_1_1io_1_1_wii_save_writer.html", "class_athena_1_1io_1_1_wii_save_writer" ], + [ "ZQuestFileReader", "class_athena_1_1io_1_1_z_quest_file_reader.html", "class_athena_1_1io_1_1_z_quest_file_reader" ], + [ "ZQuestFileWriter", "class_athena_1_1io_1_1_z_quest_file_writer.html", "class_athena_1_1io_1_1_z_quest_file_writer" ] + ] ], + [ "Sakura", null, [ + [ "Sprite", "class_athena_1_1_sakura_1_1_sprite.html", "class_athena_1_1_sakura_1_1_sprite" ], + [ "SpriteFile", "class_athena_1_1_sakura_1_1_sprite_file.html", "class_athena_1_1_sakura_1_1_sprite_file" ], + [ "SpriteFrame", "class_athena_1_1_sakura_1_1_sprite_frame.html", "class_athena_1_1_sakura_1_1_sprite_frame" ], + [ "SpritePart", "class_athena_1_1_sakura_1_1_sprite_part.html", "class_athena_1_1_sakura_1_1_sprite_part" ], + [ "STexture", "struct_athena_1_1_sakura_1_1_s_texture.html", "struct_athena_1_1_sakura_1_1_s_texture" ], + [ "Vector2D", "class_athena_1_1_sakura_1_1_vector2_d.html", "class_athena_1_1_sakura_1_1_vector2_d" ] + ] ], + [ "ALTTPAbilities", "struct_athena_1_1_a_l_t_t_p_abilities.html", "struct_athena_1_1_a_l_t_t_p_abilities" ], + [ "ALTTPCrystals", "struct_athena_1_1_a_l_t_t_p_crystals.html", "struct_athena_1_1_a_l_t_t_p_crystals" ], + [ "ALTTPDungeonItemFlags", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags" ], + [ "ALTTPFile", "class_athena_1_1_a_l_t_t_p_file.html", "class_athena_1_1_a_l_t_t_p_file" ], + [ "ALTTPInventory", "struct_athena_1_1_a_l_t_t_p_inventory.html", "struct_athena_1_1_a_l_t_t_p_inventory" ], + [ "ALTTPLightDarkWorldIndicator", "struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html", "struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator" ], + [ "ALTTPMagicUsage", "struct_athena_1_1_a_l_t_t_p_magic_usage.html", "struct_athena_1_1_a_l_t_t_p_magic_usage" ], + [ "ALTTPOverworldEvent", "struct_athena_1_1_a_l_t_t_p_overworld_event.html", "struct_athena_1_1_a_l_t_t_p_overworld_event" ], + [ "ALTTPPendants", "struct_athena_1_1_a_l_t_t_p_pendants.html", "struct_athena_1_1_a_l_t_t_p_pendants" ], + [ "ALTTPProgressFlags1", "struct_athena_1_1_a_l_t_t_p_progress_flags1.html", "struct_athena_1_1_a_l_t_t_p_progress_flags1" ], + [ "ALTTPProgressFlags2", "struct_athena_1_1_a_l_t_t_p_progress_flags2.html", "struct_athena_1_1_a_l_t_t_p_progress_flags2" ], + [ "ALTTPQuest", "class_athena_1_1_a_l_t_t_p_quest.html", "class_athena_1_1_a_l_t_t_p_quest" ], + [ "ALTTPRoomFlags", "struct_athena_1_1_a_l_t_t_p_room_flags.html", "struct_athena_1_1_a_l_t_t_p_room_flags" ], + [ "Dir", "class_athena_1_1_dir.html", "class_athena_1_1_dir" ], + [ "FileInfo", "class_athena_1_1_file_info.html", "class_athena_1_1_file_info" ], + [ "MCFile", "class_athena_1_1_m_c_file.html", "class_athena_1_1_m_c_file" ], + [ "MCSlot", "class_athena_1_1_m_c_slot.html", "class_athena_1_1_m_c_slot" ], + [ "SkywardSwordFile", "class_athena_1_1_skyward_sword_file.html", "class_athena_1_1_skyward_sword_file" ], + [ "SkywardSwordQuest", "class_athena_1_1_skyward_sword_quest.html", "class_athena_1_1_skyward_sword_quest" ], + [ "WiiBanner", "class_athena_1_1_wii_banner.html", "class_athena_1_1_wii_banner" ], + [ "WiiFile", "class_athena_1_1_wii_file.html", "class_athena_1_1_wii_file" ], + [ "WiiImage", "class_athena_1_1_wii_image.html", "class_athena_1_1_wii_image" ], + [ "WiiSave", "class_athena_1_1_wii_save.html", "class_athena_1_1_wii_save" ], + [ "ZQuestFile", "class_athena_1_1_z_quest_file.html", "class_athena_1_1_z_quest_file" ] + ] ], + [ "BinaryReader", "class_binary_reader.html", null ], + [ "BinaryWriter", "class_binary_writer.html", null ] +]; \ No newline at end of file diff --git a/docs/arrowdown.png b/docs/arrowdown.png new file mode 100644 index 0000000..8670f4d Binary files /dev/null and b/docs/arrowdown.png differ diff --git a/docs/arrowright.png b/docs/arrowright.png new file mode 100644 index 0000000..0f4567f Binary files /dev/null and b/docs/arrowright.png differ diff --git a/docs/bc_s.png b/docs/bc_s.png new file mode 100644 index 0000000..bf138e1 Binary files /dev/null and b/docs/bc_s.png differ diff --git a/docs/bdwn.png b/docs/bdwn.png new file mode 100644 index 0000000..72ed50c Binary files /dev/null and b/docs/bdwn.png differ diff --git a/docs/class_athena_1_1_a_l_t_t_p_file-members.html b/docs/class_athena_1_1_a_l_t_t_p_file-members.html new file mode 100644 index 0000000..3cd11ce --- /dev/null +++ b/docs/class_athena_1_1_a_l_t_t_p_file-members.html @@ -0,0 +1,132 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::ALTTPFile Member List
+
+
+ +

This is the complete list of members for Athena::ALTTPFile, including all inherited members.

+ + + + + + + + +
ALTTPFile()Athena::ALTTPFile
ALTTPFile(std::vector< ALTTPQuest * > questList, std::vector< ALTTPQuest * > backupList)Athena::ALTTPFile
quest(atUint32 id) const Athena::ALTTPFile
questCount() const Athena::ALTTPFile
QuestIter typedefAthena::ALTTPFile
questList() const Athena::ALTTPFile
setQuest(atUint32 id, ALTTPQuest *val)Athena::ALTTPFile
+
+ + + + diff --git a/docs/class_athena_1_1_a_l_t_t_p_file.html b/docs/class_athena_1_1_a_l_t_t_p_file.html new file mode 100644 index 0000000..521e4f8 --- /dev/null +++ b/docs/class_athena_1_1_a_l_t_t_p_file.html @@ -0,0 +1,348 @@ + + + + + + +Athena IO Library: Athena::ALTTPFile Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::ALTTPFile Class Reference
+
+
+ +

A Link to the Past data container class class. + More...

+ +

#include <ALTTPFile.hpp>

+
+Collaboration diagram for Athena::ALTTPFile:
+
+
Collaboration graph
+
+ + + + + +

+Public Types

typedef std::vector< ALTTPQuest * >::iterator QuestIter
 Quest Iterator. More...
 
+ + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 ALTTPFile ()
 Default constructor. More...
 
 ALTTPFile (std::vector< ALTTPQuest * > questList, std::vector< ALTTPQuest * > backupList)
 Constructor. More...
 
void setQuest (atUint32 id, ALTTPQuest *val)
 Sets a quest at the given index. More...
 
std::vector< ALTTPQuest * > questList () const
 Returns the primary quest list. More...
 
ALTTPQuestquest (atUint32 id) const
 Returns a quest at the given index. More...
 
atUint32 questCount () const
 Returns the number of primary quests. More...
 
+

Detailed Description

+

A Link to the Past data container class class.

+

Contains all relevant data for an A Link to the Past SRM file.

+ +

Definition at line 34 of file ALTTPFile.hpp.

+

Member Typedef Documentation

+ +
+
+ + + + +
typedef std::vector<ALTTPQuest*>::iterator Athena::ALTTPFile::QuestIter
+
+ +

Quest Iterator.

+

An Iterator typedef for iterating through the Quest lists

+ +

Definition at line 41 of file ALTTPFile.hpp.

+ +
+
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + +
Athena::ALTTPFile::ALTTPFile ()
+
+ +

Default constructor.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
Athena::ALTTPFile::ALTTPFile (std::vector< ALTTPQuest * > questList,
std::vector< ALTTPQuest * > backupList 
)
+
+ +

Constructor.

+
Parameters
+ + + +
questListThe primary quest list
backupListThe backup quest list
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
ALTTPQuest* Athena::ALTTPFile::quest (atUint32 id) const
+
+ +

Returns a quest at the given index.

+

Returns a quest at the given index

+
Returns
ALTTPQuest*
+
Exceptions
+ + +
InvalidOperationExceptionon index out of range
+
+
+ +
+
+ +
+
+ + + + + + + +
atUint32 Athena::ALTTPFile::questCount () const
+
+ +

Returns the number of primary quests.

+
Returns
The number of quests
+ +
+
+ +
+
+ + + + + + + +
std::vector<ALTTPQuest*> Athena::ALTTPFile::questList () const
+
+ +

Returns the primary quest list.

+
Returns
The primary quest list
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Athena::ALTTPFile::setQuest (atUint32 id,
ALTTPQuestval 
)
+
+ +

Sets a quest at the given index.

+
Parameters
+ + + +
idIndex to the given quest
valThe new quest to assign to the given index
+
+
+
Exceptions
+ + +
InvalidOperationExceptionon index out of range
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1_a_l_t_t_p_file.js b/docs/class_athena_1_1_a_l_t_t_p_file.js new file mode 100644 index 0000000..ada8996 --- /dev/null +++ b/docs/class_athena_1_1_a_l_t_t_p_file.js @@ -0,0 +1,10 @@ +var class_athena_1_1_a_l_t_t_p_file = +[ + [ "QuestIter", "class_athena_1_1_a_l_t_t_p_file.html#a67c7446492d5f243cd835643cfe5b4f3", null ], + [ "ALTTPFile", "class_athena_1_1_a_l_t_t_p_file.html#ae26d9ed3f92aaf00b580612916bc69f3", null ], + [ "ALTTPFile", "class_athena_1_1_a_l_t_t_p_file.html#aacfda5bcdb32bbe0ada5fe8005da4da9", null ], + [ "quest", "class_athena_1_1_a_l_t_t_p_file.html#af733f84d685686ef1681ced39f058e21", null ], + [ "questCount", "class_athena_1_1_a_l_t_t_p_file.html#ac3c25cce4d86f2a168e569154f23397c", null ], + [ "questList", "class_athena_1_1_a_l_t_t_p_file.html#a9e970360abecd517134ad2eaaa9b3965", null ], + [ "setQuest", "class_athena_1_1_a_l_t_t_p_file.html#ad0e04153a6aec2c23e089b44e8f7d0b8", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1_a_l_t_t_p_file__coll__graph.map b/docs/class_athena_1_1_a_l_t_t_p_file__coll__graph.map new file mode 100644 index 0000000..613a0d3 --- /dev/null +++ b/docs/class_athena_1_1_a_l_t_t_p_file__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/class_athena_1_1_a_l_t_t_p_file__coll__graph.md5 b/docs/class_athena_1_1_a_l_t_t_p_file__coll__graph.md5 new file mode 100644 index 0000000..e6d558a --- /dev/null +++ b/docs/class_athena_1_1_a_l_t_t_p_file__coll__graph.md5 @@ -0,0 +1 @@ +12841904f041a70455871ed59aec20c5 \ No newline at end of file diff --git a/docs/class_athena_1_1_a_l_t_t_p_file__coll__graph.png b/docs/class_athena_1_1_a_l_t_t_p_file__coll__graph.png new file mode 100644 index 0000000..d994c65 Binary files /dev/null and b/docs/class_athena_1_1_a_l_t_t_p_file__coll__graph.png differ diff --git a/docs/class_athena_1_1_a_l_t_t_p_quest-members.html b/docs/class_athena_1_1_a_l_t_t_p_quest-members.html new file mode 100644 index 0000000..e938b11 --- /dev/null +++ b/docs/class_athena_1_1_a_l_t_t_p_quest-members.html @@ -0,0 +1,225 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::ALTTPQuest Member List
+
+
+ +

This is the complete list of members for Athena::ALTTPQuest, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
abilityFlags() const Athena::ALTTPQuest
ALTTPQuest()Athena::ALTTPQuest
arrowFiller() const Athena::ALTTPQuest
arrows() const Athena::ALTTPQuest
arrowUpgrades() const Athena::ALTTPQuest
bigKeys() const Athena::ALTTPQuest
bombFiller() const Athena::ALTTPQuest
bombFlag() const Athena::ALTTPQuest
bombUpgrades() const Athena::ALTTPQuest
checksum() const Athena::ALTTPQuest
compasses() const Athena::ALTTPQuest
crystals() const Athena::ALTTPQuest
deathSaveCount() const Athena::ALTTPQuest
dungeonCount() const Athena::ALTTPQuest
dungeonDeathTotal(atUint32 id) const Athena::ALTTPQuest
dungeonDeathTotalCount() const Athena::ALTTPQuest
dungeonKeys(atUint32 id) const Athena::ALTTPQuest
dungeonMaps() const Athena::ALTTPQuest
health() const Athena::ALTTPQuest
healthFiller() const Athena::ALTTPQuest
healthMax() const Athena::ALTTPQuest
inventory() const Athena::ALTTPQuest
keys() const Athena::ALTTPQuest
lightDarkWorldIndicator() const Athena::ALTTPQuest
magicFiller() const Athena::ALTTPQuest
magicPower() const Athena::ALTTPQuest
magicUsage() const Athena::ALTTPQuest
mapIcon() const Athena::ALTTPQuest
oldManFlag(atUint32 id)Athena::ALTTPQuest
oldManFlagCount() const Athena::ALTTPQuest
overworldEvent(atUint32 id) const Athena::ALTTPQuest
overworldEvents() const Athena::ALTTPQuest
pendants() const Athena::ALTTPQuest
playerName() const Athena::ALTTPQuest
playerNameToString() const Athena::ALTTPQuest
postGameDeathCounter() const Athena::ALTTPQuest
progressFlags1() const Athena::ALTTPQuest
progressFlags2() const Athena::ALTTPQuest
progressIndicator() const Athena::ALTTPQuest
roomFlags()Athena::ALTTPQuest
roomFlags(atUint32 id)Athena::ALTTPQuest
rupeeCurrent() const Athena::ALTTPQuest
rupeeMax() const Athena::ALTTPQuest
setAbilityFlags(ALTTPAbilities val)Athena::ALTTPQuest
setArrowFiller(atUint8 val)Athena::ALTTPQuest
setArrows(atUint8 val)Athena::ALTTPQuest
setArrowUpgrades(atUint8 val)Athena::ALTTPQuest
setBigKeys(ALTTPDungeonItemFlags flags)Athena::ALTTPQuest
setBombFiller(atUint8 val)Athena::ALTTPQuest
setBombFlag(atUint8 flag)Athena::ALTTPQuest
setBombUpgrades(atUint8 val)Athena::ALTTPQuest
setChecksum(atUint16 checksum)Athena::ALTTPQuest
setCompasses(ALTTPDungeonItemFlags flags)Athena::ALTTPQuest
setCrystals(ALTTPCrystals val)Athena::ALTTPQuest
setDeathSaveCount(atUint16 val)Athena::ALTTPQuest
setDungeonDeathTotal(atUint32 id, atUint16 val)Athena::ALTTPQuest
setDungeonDeathTotals(std::vector< atUint16 > val)Athena::ALTTPQuest
setDungeonKeys(std::vector< atUint8 > val)Athena::ALTTPQuest
setDungeonKeys(atUint32 id, atUint8 val)Athena::ALTTPQuest
setDungeonMaps(ALTTPDungeonItemFlags flags)Athena::ALTTPQuest
setHealth(atUint8 val)Athena::ALTTPQuest
setHealthFiller(atUint8 val)Athena::ALTTPQuest
setHealthMax(atUint8 val)Athena::ALTTPQuest
setInventory(ALTTPInventory *inv)Athena::ALTTPQuest
setKeys(atUint8 val)Athena::ALTTPQuest
setLightDarkWorldIndicator(ALTTPLightDarkWorldIndicator val)Athena::ALTTPQuest
setMagicFiller(atUint8 val)Athena::ALTTPQuest
setMagicPower(atUint8 val)Athena::ALTTPQuest
setMagicUsage(ALTTPMagicUsage val)Athena::ALTTPQuest
setMapIcon(ALTTPMapIcon val)Athena::ALTTPQuest
setOldManFlag(atUint32 id, atUint8 val)Athena::ALTTPQuest
setOldManFlags(std::vector< atUint8 > flags)Athena::ALTTPQuest
setOverworldEvents(std::vector< ALTTPOverworldEvent * > events)Athena::ALTTPQuest
setOverworldEvents(ALTTPOverworldEvent *ow, atUint32 id)Athena::ALTTPQuest
setPendants(ALTTPPendants val)Athena::ALTTPQuest
setPlayerName(std::vector< atUint16 > playerName)Athena::ALTTPQuest
setPlayerName(const std::string &playerName)Athena::ALTTPQuest
setPostGameDeathCounter(atInt16 val)Athena::ALTTPQuest
setProgressFlags1(ALTTPProgressFlags1 val)Athena::ALTTPQuest
setProgressFlags2(ALTTPProgressFlags2 val)Athena::ALTTPQuest
setProgressIndicator(ALTTPProgressIndicator val)Athena::ALTTPQuest
setRoomFlags(std::vector< ALTTPRoomFlags * > flags)Athena::ALTTPQuest
setRoomFlags(ALTTPRoomFlags *rf, atUint32 id)Athena::ALTTPQuest
setRupeeCurrent(atUint16 val)Athena::ALTTPQuest
setRupeeMax(atUint16 val)Athena::ALTTPQuest
setStartLocation(ALTTPStartLocation val)Athena::ALTTPQuest
setTagAlong(ALTTPTagAlong val)Athena::ALTTPQuest
setUnknown1(std::vector< atUint8 > flags)Athena::ALTTPQuest
setUnknown1(atUint32 id, atUint8 val)Athena::ALTTPQuest
setUnknown2(atUint16 val)Athena::ALTTPQuest
setValid(bool val)Athena::ALTTPQuest
setWishingPond(atUint16 val)Athena::ALTTPQuest
startLocation() const Athena::ALTTPQuest
tagAlong() const Athena::ALTTPQuest
unknown1(atUint32 id)Athena::ALTTPQuest
unknown1Count() const Athena::ALTTPQuest
unknown2() const Athena::ALTTPQuest
valid()Athena::ALTTPQuest
wishingPond() const Athena::ALTTPQuest
~ALTTPQuest() (defined in Athena::ALTTPQuest)Athena::ALTTPQuest
+
+ + + + diff --git a/docs/class_athena_1_1_a_l_t_t_p_quest.html b/docs/class_athena_1_1_a_l_t_t_p_quest.html new file mode 100644 index 0000000..cf2b2a6 --- /dev/null +++ b/docs/class_athena_1_1_a_l_t_t_p_quest.html @@ -0,0 +1,2613 @@ + + + + + + +Athena IO Library: Athena::ALTTPQuest Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::ALTTPQuest Class Reference
+
+
+ +

A Link to the Past Quest container class. + More...

+ +

#include <ALTTPQuest.hpp>

+
+Collaboration diagram for Athena::ALTTPQuest:
+
+
Collaboration graph
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

ALTTPQuest ()
 ALTTPQuest.
 
void setRoomFlags (std::vector< ALTTPRoomFlags * > flags)
 setRoomFlags More...
 
void setRoomFlags (ALTTPRoomFlags *rf, atUint32 id)
 setRoomFlags More...
 
std::vector< ALTTPRoomFlags * > roomFlags ()
 roomFlags More...
 
ALTTPRoomFlagsroomFlags (atUint32 id)
 roomFlags More...
 
void setOverworldEvents (std::vector< ALTTPOverworldEvent * > events)
 setOverworldEvents More...
 
void setOverworldEvents (ALTTPOverworldEvent *ow, atUint32 id)
 setOverworldEvents More...
 
std::vector< ALTTPOverworldEvent * > overworldEvents () const
 overworldEvents More...
 
ALTTPOverworldEventoverworldEvent (atUint32 id) const
 overworldEvent More...
 
void setInventory (ALTTPInventory *inv)
 setInventory More...
 
ALTTPInventoryinventory () const
 inventory More...
 
void setRupeeMax (atUint16 val)
 setRupeeMax More...
 
atUint16 rupeeMax () const
 rupeeMax More...
 
void setRupeeCurrent (atUint16 val)
 setRupeeCurrent More...
 
atUint16 rupeeCurrent () const
 rupeeCurrent More...
 
void setCompasses (ALTTPDungeonItemFlags flags)
 setCompasses More...
 
ALTTPDungeonItemFlags compasses () const
 compasses More...
 
void setBigKeys (ALTTPDungeonItemFlags flags)
 setBigKeys More...
 
ALTTPDungeonItemFlags bigKeys () const
 bigKeys More...
 
void setDungeonMaps (ALTTPDungeonItemFlags flags)
 setDungeonMaps More...
 
ALTTPDungeonItemFlags dungeonMaps () const
 dungeonMaps More...
 
void setWishingPond (atUint16 val)
 setWishingPond More...
 
atUint16 wishingPond () const
 wishingPond More...
 
void setHealthMax (atUint8 val)
 setHealthMax More...
 
atUint8 healthMax () const
 healthMax More...
 
void setHealth (atUint8 val)
 setHealth More...
 
atUint8 health () const
 health More...
 
void setMagicPower (atUint8 val)
 setMagicPower More...
 
atUint8 magicPower () const
 magicPower More...
 
void setKeys (atUint8 val)
 setKeys More...
 
atUint8 keys () const
 keys More...
 
void setBombUpgrades (atUint8 val)
 setBombUpgrades More...
 
atUint8 bombUpgrades () const
 bombUpgrades More...
 
void setArrowUpgrades (atUint8 val)
 setArrowUpgrades More...
 
atUint8 arrowUpgrades () const
 arrowUpgrades More...
 
void setHealthFiller (atUint8 val)
 setHealthFiller More...
 
atUint8 healthFiller () const
 healthFiller More...
 
void setMagicFiller (atUint8 val)
 setMagicFiller More...
 
atUint8 magicFiller () const
 magicFiller More...
 
void setPendants (ALTTPPendants val)
 setPendants More...
 
ALTTPPendants pendants () const
 pendants More...
 
void setBombFiller (atUint8 val)
 setBombFiller More...
 
atUint8 bombFiller () const
 bombFiller More...
 
void setArrowFiller (atUint8 val)
 setArrowFiller More...
 
atUint8 arrowFiller () const
 arrowFiller More...
 
void setArrows (atUint8 val)
 setArrows More...
 
atUint8 arrows () const
 arrows More...
 
void setAbilityFlags (ALTTPAbilities val)
 setAbilityFlags More...
 
ALTTPAbilities abilityFlags () const
 abilityFlags More...
 
void setCrystals (ALTTPCrystals val)
 setCrystals More...
 
ALTTPCrystals crystals () const
 crystals More...
 
void setMagicUsage (ALTTPMagicUsage val)
 setMagicUsage More...
 
ALTTPMagicUsage magicUsage () const
 magicUsage More...
 
void setDungeonKeys (std::vector< atUint8 > val)
 setDungeonKeys More...
 
void setDungeonKeys (atUint32 id, atUint8 val)
 setDungeonKeys More...
 
atUint8 dungeonKeys (atUint32 id) const
 dungeonKeys More...
 
atUint32 dungeonCount () const
 dungeonCount More...
 
void setProgressIndicator (ALTTPProgressIndicator val)
 setProgressIndicator More...
 
ALTTPProgressIndicator progressIndicator () const
 progressIndicator More...
 
void setProgressFlags1 (ALTTPProgressFlags1 val)
 setProgressFlags1 More...
 
ALTTPProgressFlags1 progressFlags1 () const
 progressFlags1 More...
 
void setMapIcon (ALTTPMapIcon val)
 setMapIcon More...
 
ALTTPMapIcon mapIcon () const
 mapIcon More...
 
void setStartLocation (ALTTPStartLocation val)
 setStartLocation More...
 
ALTTPStartLocation startLocation () const
 startLocation More...
 
void setProgressFlags2 (ALTTPProgressFlags2 val)
 setProgressFlags2 More...
 
ALTTPProgressFlags2 progressFlags2 () const
 progressFlags2 More...
 
void setLightDarkWorldIndicator (ALTTPLightDarkWorldIndicator val)
 setLightDarkWorldIndicator More...
 
ALTTPLightDarkWorldIndicator lightDarkWorldIndicator () const
 lightDarkWorldIndicator More...
 
void setTagAlong (ALTTPTagAlong val)
 setTagAlong More...
 
ALTTPTagAlong tagAlong () const
 tagAlong More...
 
void setOldManFlags (std::vector< atUint8 > flags)
 setOldManFlags More...
 
void setOldManFlag (atUint32 id, atUint8 val)
 setOldManFlag More...
 
atUint8 oldManFlag (atUint32 id)
 oldManFlag More...
 
atUint32 oldManFlagCount () const
 oldManFlagCount More...
 
void setBombFlag (atUint8 flag)
 setBombFlag More...
 
atUint8 bombFlag () const
 bombFlag More...
 
void setUnknown1 (std::vector< atUint8 > flags)
 setUnknown1 More...
 
void setUnknown1 (atUint32 id, atUint8 val)
 setUnknown1 More...
 
atUint8 unknown1 (atUint32 id)
 unknown1 More...
 
atUint32 unknown1Count () const
 unknown1Count More...
 
void setPlayerName (std::vector< atUint16 > playerName)
 setPlayerName More...
 
void setPlayerName (const std::string &playerName)
 setPlayerName More...
 
std::vector< atUint16 > playerName () const
 playerName More...
 
std::string playerNameToString () const
 playerNameToString More...
 
void setValid (bool val)
 setValid More...
 
bool valid ()
 valid More...
 
void setDungeonDeathTotals (std::vector< atUint16 > val)
 setDungeonDeathTotals More...
 
void setDungeonDeathTotal (atUint32 id, atUint16 val)
 setDungeonDeathTotal More...
 
atUint16 dungeonDeathTotal (atUint32 id) const
 dungeonDeathTotal More...
 
atUint16 dungeonDeathTotalCount () const
 dungeonDeathTotalCount More...
 
void setUnknown2 (atUint16 val)
 setUnknown2 More...
 
atUint16 unknown2 () const
 unknown2 More...
 
void setDeathSaveCount (atUint16 val)
 setDeathSaveCount More...
 
atUint16 deathSaveCount () const
 deathSaveCount More...
 
void setPostGameDeathCounter (atInt16 val)
 setPostGameDeathCounter More...
 
atInt16 postGameDeathCounter () const
 postGameDeathCounter More...
 
void setChecksum (atUint16 checksum)
 setChecksum More...
 
atUint16 checksum () const
 checksum More...
 
+

Detailed Description

+

A Link to the Past Quest container class.

+

Contains all relevant data for an A Link to the Past Quest entry.

+ +

Definition at line 35 of file ALTTPQuest.hpp.

+

Member Function Documentation

+ +
+
+ + + + + + + +
ALTTPAbilities Athena::ALTTPQuest::abilityFlags () const
+
+ +

abilityFlags

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint8 Athena::ALTTPQuest::arrowFiller () const
+
+ +

arrowFiller

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint8 Athena::ALTTPQuest::arrows () const
+
+ +

arrows

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint8 Athena::ALTTPQuest::arrowUpgrades () const
+
+ +

arrowUpgrades

+
Returns
+ +
+
+ +
+
+ + + + + + + +
ALTTPDungeonItemFlags Athena::ALTTPQuest::bigKeys () const
+
+ +

bigKeys

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint8 Athena::ALTTPQuest::bombFiller () const
+
+ +

bombFiller

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint8 Athena::ALTTPQuest::bombFlag () const
+
+ +

bombFlag

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint8 Athena::ALTTPQuest::bombUpgrades () const
+
+ +

bombUpgrades

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint16 Athena::ALTTPQuest::checksum () const
+
+ +

checksum

+
Returns
+ +
+
+ +
+
+ + + + + + + +
ALTTPDungeonItemFlags Athena::ALTTPQuest::compasses () const
+
+ +

compasses

+
Returns
+ +
+
+ +
+
+ + + + + + + +
ALTTPCrystals Athena::ALTTPQuest::crystals () const
+
+ +

crystals

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint16 Athena::ALTTPQuest::deathSaveCount () const
+
+ +

deathSaveCount

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint32 Athena::ALTTPQuest::dungeonCount () const
+
+ +

dungeonCount

+
Returns
+ +
+
+ +
+
+ + + + + + + + +
atUint16 Athena::ALTTPQuest::dungeonDeathTotal (atUint32 id) const
+
+ +

dungeonDeathTotal

+
Parameters
+ + +
id
+
+
+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint16 Athena::ALTTPQuest::dungeonDeathTotalCount () const
+
+ +

dungeonDeathTotalCount

+
Returns
+ +
+
+ +
+
+ + + + + + + + +
atUint8 Athena::ALTTPQuest::dungeonKeys (atUint32 id) const
+
+ +

dungeonKeys

+
Parameters
+ + +
id
+
+
+
Returns
+ +
+
+ +
+
+ + + + + + + +
ALTTPDungeonItemFlags Athena::ALTTPQuest::dungeonMaps () const
+
+ +

dungeonMaps

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint8 Athena::ALTTPQuest::health () const
+
+ +

health

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint8 Athena::ALTTPQuest::healthFiller () const
+
+ +

healthFiller

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint8 Athena::ALTTPQuest::healthMax () const
+
+ +

healthMax

+
Returns
+ +
+
+ +
+
+ + + + + + + +
ALTTPInventory* Athena::ALTTPQuest::inventory () const
+
+ +

inventory

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint8 Athena::ALTTPQuest::keys () const
+
+ +

keys

+
Returns
+ +
+
+ +
+
+ + + + + + + +
ALTTPLightDarkWorldIndicator Athena::ALTTPQuest::lightDarkWorldIndicator () const
+
+ +

lightDarkWorldIndicator

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint8 Athena::ALTTPQuest::magicFiller () const
+
+ +

magicFiller

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint8 Athena::ALTTPQuest::magicPower () const
+
+ +

magicPower

+
Returns
+ +
+
+ +
+
+ + + + + + + +
ALTTPMagicUsage Athena::ALTTPQuest::magicUsage () const
+
+ +

magicUsage

+
Returns
+ +
+
+ +
+
+ + + + + + + +
ALTTPMapIcon Athena::ALTTPQuest::mapIcon () const
+
+ +

mapIcon

+
Returns
+ +
+
+ +
+
+ + + + + + + + +
atUint8 Athena::ALTTPQuest::oldManFlag (atUint32 id)
+
+ +

oldManFlag

+
Parameters
+ + +
id
+
+
+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint32 Athena::ALTTPQuest::oldManFlagCount () const
+
+ +

oldManFlagCount

+
Returns
+ +
+
+ +
+
+ + + + + + + + +
ALTTPOverworldEvent* Athena::ALTTPQuest::overworldEvent (atUint32 id) const
+
+ +

overworldEvent

+
Parameters
+ + +
id
+
+
+
Returns
+ +
+
+ +
+
+ + + + + + + +
std::vector<ALTTPOverworldEvent*> Athena::ALTTPQuest::overworldEvents () const
+
+ +

overworldEvents

+
Returns
+ +
+
+ +
+
+ + + + + + + +
ALTTPPendants Athena::ALTTPQuest::pendants () const
+
+ +

pendants

+
Returns
+ +
+
+ +
+
+ + + + + + + +
std::vector<atUint16> Athena::ALTTPQuest::playerName () const
+
+ +

playerName

+
Returns
+ +
+
+ +
+
+ + + + + + + +
std::string Athena::ALTTPQuest::playerNameToString () const
+
+ +

playerNameToString

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atInt16 Athena::ALTTPQuest::postGameDeathCounter () const
+
+ +

postGameDeathCounter

+
Returns
+ +
+
+ +
+
+ + + + + + + +
ALTTPProgressFlags1 Athena::ALTTPQuest::progressFlags1 () const
+
+ +

progressFlags1

+
Returns
+ +
+
+ +
+
+ + + + + + + +
ALTTPProgressFlags2 Athena::ALTTPQuest::progressFlags2 () const
+
+ +

progressFlags2

+
Returns
+ +
+
+ +
+
+ + + + + + + +
ALTTPProgressIndicator Athena::ALTTPQuest::progressIndicator () const
+
+ +

progressIndicator

+
Returns
+ +
+
+ +
+
+ + + + + + + +
std::vector<ALTTPRoomFlags*> Athena::ALTTPQuest::roomFlags ()
+
+ +

roomFlags

+
Returns
+ +
+
+ +
+
+ + + + + + + + +
ALTTPRoomFlags* Athena::ALTTPQuest::roomFlags (atUint32 id)
+
+ +

roomFlags

+
Parameters
+ + +
id
+
+
+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint16 Athena::ALTTPQuest::rupeeCurrent () const
+
+ +

rupeeCurrent

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint16 Athena::ALTTPQuest::rupeeMax () const
+
+ +

rupeeMax

+
Returns
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setAbilityFlags (ALTTPAbilities val)
+
+ +

setAbilityFlags

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setArrowFiller (atUint8 val)
+
+ +

setArrowFiller

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setArrows (atUint8 val)
+
+ +

setArrows

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setArrowUpgrades (atUint8 val)
+
+ +

setArrowUpgrades

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setBigKeys (ALTTPDungeonItemFlags flags)
+
+ +

setBigKeys

+
Parameters
+ + +
flags
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setBombFiller (atUint8 val)
+
+ +

setBombFiller

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setBombFlag (atUint8 flag)
+
+ +

setBombFlag

+
Parameters
+ + +
flag
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setBombUpgrades (atUint8 val)
+
+ +

setBombUpgrades

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setChecksum (atUint16 checksum)
+
+ +

setChecksum

+
Parameters
+ + +
checksum
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setCompasses (ALTTPDungeonItemFlags flags)
+
+ +

setCompasses

+
Parameters
+ + +
flags
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setCrystals (ALTTPCrystals val)
+
+ +

setCrystals

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setDeathSaveCount (atUint16 val)
+
+ +

setDeathSaveCount

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Athena::ALTTPQuest::setDungeonDeathTotal (atUint32 id,
atUint16 val 
)
+
+ +

setDungeonDeathTotal

+
Parameters
+ + + +
id
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setDungeonDeathTotals (std::vector< atUint16 > val)
+
+ +

setDungeonDeathTotals

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setDungeonKeys (std::vector< atUint8 > val)
+
+ +

setDungeonKeys

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Athena::ALTTPQuest::setDungeonKeys (atUint32 id,
atUint8 val 
)
+
+ +

setDungeonKeys

+
Parameters
+ + + +
id
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setDungeonMaps (ALTTPDungeonItemFlags flags)
+
+ +

setDungeonMaps

+
Parameters
+ + +
flags
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setHealth (atUint8 val)
+
+ +

setHealth

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setHealthFiller (atUint8 val)
+
+ +

setHealthFiller

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setHealthMax (atUint8 val)
+
+ +

setHealthMax

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setInventory (ALTTPInventoryinv)
+
+ +

setInventory

+
Parameters
+ + +
inv
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setKeys (atUint8 val)
+
+ +

setKeys

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setLightDarkWorldIndicator (ALTTPLightDarkWorldIndicator val)
+
+ +

setLightDarkWorldIndicator

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setMagicFiller (atUint8 val)
+
+ +

setMagicFiller

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setMagicPower (atUint8 val)
+
+ +

setMagicPower

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setMagicUsage (ALTTPMagicUsage val)
+
+ +

setMagicUsage

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setMapIcon (ALTTPMapIcon val)
+
+ +

setMapIcon

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Athena::ALTTPQuest::setOldManFlag (atUint32 id,
atUint8 val 
)
+
+ +

setOldManFlag

+
Parameters
+ + + +
id
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setOldManFlags (std::vector< atUint8 > flags)
+
+ +

setOldManFlags

+
Parameters
+ + +
flags
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setOverworldEvents (std::vector< ALTTPOverworldEvent * > events)
+
+ +

setOverworldEvents

+
Parameters
+ + +
events
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Athena::ALTTPQuest::setOverworldEvents (ALTTPOverworldEventow,
atUint32 id 
)
+
+ +

setOverworldEvents

+
Parameters
+ + + +
ow
id
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setPendants (ALTTPPendants val)
+
+ +

setPendants

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setPlayerName (std::vector< atUint16 > playerName)
+
+ +

setPlayerName

+
Parameters
+ + +
playerName
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setPlayerName (const std::string & playerName)
+
+ +

setPlayerName

+
Parameters
+ + +
playerName
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setPostGameDeathCounter (atInt16 val)
+
+ +

setPostGameDeathCounter

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setProgressFlags1 (ALTTPProgressFlags1 val)
+
+ +

setProgressFlags1

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setProgressFlags2 (ALTTPProgressFlags2 val)
+
+ +

setProgressFlags2

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setProgressIndicator (ALTTPProgressIndicator val)
+
+ +

setProgressIndicator

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setRoomFlags (std::vector< ALTTPRoomFlags * > flags)
+
+ +

setRoomFlags

+
Parameters
+ + +
flags
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Athena::ALTTPQuest::setRoomFlags (ALTTPRoomFlagsrf,
atUint32 id 
)
+
+ +

setRoomFlags

+
Parameters
+ + + +
rf
id
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setRupeeCurrent (atUint16 val)
+
+ +

setRupeeCurrent

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setRupeeMax (atUint16 val)
+
+ +

setRupeeMax

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setStartLocation (ALTTPStartLocation val)
+
+ +

setStartLocation

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setTagAlong (ALTTPTagAlong val)
+
+ +

setTagAlong

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setUnknown1 (std::vector< atUint8 > flags)
+
+ +

setUnknown1

+
Parameters
+ + +
flags
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Athena::ALTTPQuest::setUnknown1 (atUint32 id,
atUint8 val 
)
+
+ +

setUnknown1

+
Parameters
+ + + +
id
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setUnknown2 (atUint16 val)
+
+ +

setUnknown2

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setValid (bool val)
+
+ +

setValid

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ALTTPQuest::setWishingPond (atUint16 val)
+
+ +

setWishingPond

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + +
ALTTPStartLocation Athena::ALTTPQuest::startLocation () const
+
+ +

startLocation

+
Returns
+ +
+
+ +
+
+ + + + + + + +
ALTTPTagAlong Athena::ALTTPQuest::tagAlong () const
+
+ +

tagAlong

+
Returns
+ +
+
+ +
+
+ + + + + + + + +
atUint8 Athena::ALTTPQuest::unknown1 (atUint32 id)
+
+ +

unknown1

+
Parameters
+ + +
id
+
+
+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint32 Athena::ALTTPQuest::unknown1Count () const
+
+ +

unknown1Count

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint16 Athena::ALTTPQuest::unknown2 () const
+
+ +

unknown2

+
Returns
+ +
+
+ +
+
+ + + + + + + +
bool Athena::ALTTPQuest::valid ()
+
+ +

valid

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint16 Athena::ALTTPQuest::wishingPond () const
+
+ +

wishingPond

+
Returns
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1_a_l_t_t_p_quest.js b/docs/class_athena_1_1_a_l_t_t_p_quest.js new file mode 100644 index 0000000..230e23b --- /dev/null +++ b/docs/class_athena_1_1_a_l_t_t_p_quest.js @@ -0,0 +1,103 @@ +var class_athena_1_1_a_l_t_t_p_quest = +[ + [ "ALTTPQuest", "class_athena_1_1_a_l_t_t_p_quest.html#a212725bfc64930b341a9e053225d1691", null ], + [ "~ALTTPQuest", "class_athena_1_1_a_l_t_t_p_quest.html#a14754e111513693c882f495d05db27a7", null ], + [ "abilityFlags", "class_athena_1_1_a_l_t_t_p_quest.html#a408f1dcbedfbb3a0bd9ebaf980bab7cd", null ], + [ "arrowFiller", "class_athena_1_1_a_l_t_t_p_quest.html#ae037c950a498ae1ab2525efd0e0e4980", null ], + [ "arrows", "class_athena_1_1_a_l_t_t_p_quest.html#a2bbdb892dbd616635af86b8e7631555f", null ], + [ "arrowUpgrades", "class_athena_1_1_a_l_t_t_p_quest.html#a7d1c51f7f7c93c269de29e4bcca9a5bc", null ], + [ "bigKeys", "class_athena_1_1_a_l_t_t_p_quest.html#a470bebb8c896215dc8225ca9daa47e58", null ], + [ "bombFiller", "class_athena_1_1_a_l_t_t_p_quest.html#a7d0a9193b9e3ed23fac00bf2cf57917b", null ], + [ "bombFlag", "class_athena_1_1_a_l_t_t_p_quest.html#a194eeb12027407924b3be192c0e281df", null ], + [ "bombUpgrades", "class_athena_1_1_a_l_t_t_p_quest.html#a5dfae3f820648af6dc45271e0b771f9e", null ], + [ "checksum", "class_athena_1_1_a_l_t_t_p_quest.html#ae7529d2c3b389c2c463b6e1425cb3e2c", null ], + [ "compasses", "class_athena_1_1_a_l_t_t_p_quest.html#ac90bc11e61d4a540774d3dce75626c5a", null ], + [ "crystals", "class_athena_1_1_a_l_t_t_p_quest.html#a7ee8c8c4a032ad291a2cee2a2ff85cb4", null ], + [ "deathSaveCount", "class_athena_1_1_a_l_t_t_p_quest.html#a4d1ae687becd8945eba37cb1af06346b", null ], + [ "dungeonCount", "class_athena_1_1_a_l_t_t_p_quest.html#abb4164034aa983399af871d7df26010b", null ], + [ "dungeonDeathTotal", "class_athena_1_1_a_l_t_t_p_quest.html#a251316c5cacc64e4d07817b9b4863552", null ], + [ "dungeonDeathTotalCount", "class_athena_1_1_a_l_t_t_p_quest.html#a6cd66142d274192d47dc31e6256fed60", null ], + [ "dungeonKeys", "class_athena_1_1_a_l_t_t_p_quest.html#a1fc24efe2221e0eee8f80ad126add3ba", null ], + [ "dungeonMaps", "class_athena_1_1_a_l_t_t_p_quest.html#af7d3b638ad59b7e14e46b46d56e61089", null ], + [ "health", "class_athena_1_1_a_l_t_t_p_quest.html#ae102c2ea00ddb48cae1d08c73cf01849", null ], + [ "healthFiller", "class_athena_1_1_a_l_t_t_p_quest.html#ab44aa590522d4579553c6003ec332e8d", null ], + [ "healthMax", "class_athena_1_1_a_l_t_t_p_quest.html#ab3cb5d00f64144f4ce65fd1f7bfcfeec", null ], + [ "inventory", "class_athena_1_1_a_l_t_t_p_quest.html#a32a80888d102e70defe10b671e558bc3", null ], + [ "keys", "class_athena_1_1_a_l_t_t_p_quest.html#ad7e2835fc59add9d8e37817df3f9dda8", null ], + [ "lightDarkWorldIndicator", "class_athena_1_1_a_l_t_t_p_quest.html#a90532d84c125e729a924646a058b6abd", null ], + [ "magicFiller", "class_athena_1_1_a_l_t_t_p_quest.html#a110f6a429bf780d8dd5bdc20cef91a2f", null ], + [ "magicPower", "class_athena_1_1_a_l_t_t_p_quest.html#a378b2ed0ec6bed4b4a7bad72a4513581", null ], + [ "magicUsage", "class_athena_1_1_a_l_t_t_p_quest.html#accc9d0e5af1de3c0b036b9b4684da8b9", null ], + [ "mapIcon", "class_athena_1_1_a_l_t_t_p_quest.html#afee41615b340b12188566fb72888e78b", null ], + [ "oldManFlag", "class_athena_1_1_a_l_t_t_p_quest.html#a7c41ae48411dc3267fd1c858aa069983", null ], + [ "oldManFlagCount", "class_athena_1_1_a_l_t_t_p_quest.html#aa226ad59de8561a605ea105b87ddab1e", null ], + [ "overworldEvent", "class_athena_1_1_a_l_t_t_p_quest.html#a9687f2461774c6cd28ff4859551db5af", null ], + [ "overworldEvents", "class_athena_1_1_a_l_t_t_p_quest.html#affacf9f99be69c5faa53c0f912343d31", null ], + [ "pendants", "class_athena_1_1_a_l_t_t_p_quest.html#a0f998a0774a3dac831ed73dd84014d41", null ], + [ "playerName", "class_athena_1_1_a_l_t_t_p_quest.html#aef6a71553e8971c73faa58b9f60f5c92", null ], + [ "playerNameToString", "class_athena_1_1_a_l_t_t_p_quest.html#a8ca9e81554e7898000575a1105f6ede5", null ], + [ "postGameDeathCounter", "class_athena_1_1_a_l_t_t_p_quest.html#a336d7fafc74dceac5a2b384140398fcd", null ], + [ "progressFlags1", "class_athena_1_1_a_l_t_t_p_quest.html#a684d99aaaeb3a912bb207bfa8d8e6c4d", null ], + [ "progressFlags2", "class_athena_1_1_a_l_t_t_p_quest.html#a35aa1bb70a6ce143181530a27878f1d7", null ], + [ "progressIndicator", "class_athena_1_1_a_l_t_t_p_quest.html#a2167041f5b42c456d2371b773a0cc50f", null ], + [ "roomFlags", "class_athena_1_1_a_l_t_t_p_quest.html#ab8ac4c5895626d58611e0f835c888f26", null ], + [ "roomFlags", "class_athena_1_1_a_l_t_t_p_quest.html#aca0538d69e44a1133ec79e87fec72839", null ], + [ "rupeeCurrent", "class_athena_1_1_a_l_t_t_p_quest.html#ac1617e57fd69aff0d7cf2fb6ecda403b", null ], + [ "rupeeMax", "class_athena_1_1_a_l_t_t_p_quest.html#a26a35258b5b35a05cb5ee80cec7dfb05", null ], + [ "setAbilityFlags", "class_athena_1_1_a_l_t_t_p_quest.html#a6d7e0331995ce19a8a9df7e320174688", null ], + [ "setArrowFiller", "class_athena_1_1_a_l_t_t_p_quest.html#aaa5671e169e02b388870cbe0171ba017", null ], + [ "setArrows", "class_athena_1_1_a_l_t_t_p_quest.html#a6668f39c386f48f4de32bb20fabfdf6e", null ], + [ "setArrowUpgrades", "class_athena_1_1_a_l_t_t_p_quest.html#abc097214d803671a84f143e6c4b56c02", null ], + [ "setBigKeys", "class_athena_1_1_a_l_t_t_p_quest.html#a62dfd22f9f990029b8b7f45e56ba77f4", null ], + [ "setBombFiller", "class_athena_1_1_a_l_t_t_p_quest.html#a9fc79fc023c508717aa878ac14031597", null ], + [ "setBombFlag", "class_athena_1_1_a_l_t_t_p_quest.html#ae0f7cab3579cc47f42acf577124ac150", null ], + [ "setBombUpgrades", "class_athena_1_1_a_l_t_t_p_quest.html#aeb3061f14f566cbca0483b117f8f3094", null ], + [ "setChecksum", "class_athena_1_1_a_l_t_t_p_quest.html#a9ef57f73f59b9b05c95cde0cbddcebd8", null ], + [ "setCompasses", "class_athena_1_1_a_l_t_t_p_quest.html#a2472c929e21791eeeb98ea138a0802a2", null ], + [ "setCrystals", "class_athena_1_1_a_l_t_t_p_quest.html#a20a31d543ca23caa429906a3751c3a39", null ], + [ "setDeathSaveCount", "class_athena_1_1_a_l_t_t_p_quest.html#a6dc808239452f0c9972e8b0d3d2ddfd3", null ], + [ "setDungeonDeathTotal", "class_athena_1_1_a_l_t_t_p_quest.html#a8ef78d9149155ec4b4d54f9934a248a2", null ], + [ "setDungeonDeathTotals", "class_athena_1_1_a_l_t_t_p_quest.html#af9ebb4788f688027d78b156c911cb728", null ], + [ "setDungeonKeys", "class_athena_1_1_a_l_t_t_p_quest.html#a4b226d022be2d212ec827b56ba19b10a", null ], + [ "setDungeonKeys", "class_athena_1_1_a_l_t_t_p_quest.html#aa4d21ceb02d182195acc5443b439f333", null ], + [ "setDungeonMaps", "class_athena_1_1_a_l_t_t_p_quest.html#a5386ac84cd3b9544bf85f535a2bb8760", null ], + [ "setHealth", "class_athena_1_1_a_l_t_t_p_quest.html#ab9fc320107a8279cef259fdf189fd368", null ], + [ "setHealthFiller", "class_athena_1_1_a_l_t_t_p_quest.html#a6c0d99c44606edc5836abaab6f979ea7", null ], + [ "setHealthMax", "class_athena_1_1_a_l_t_t_p_quest.html#a18ace79d562fdb51e2e8e3b8f1df435c", null ], + [ "setInventory", "class_athena_1_1_a_l_t_t_p_quest.html#a12f64416ab10050daa2449764c52a7f9", null ], + [ "setKeys", "class_athena_1_1_a_l_t_t_p_quest.html#ab0eb751301a96eb13cc45a0bca8aa157", null ], + [ "setLightDarkWorldIndicator", "class_athena_1_1_a_l_t_t_p_quest.html#a2506d9fc727d45d0b2853208db89f667", null ], + [ "setMagicFiller", "class_athena_1_1_a_l_t_t_p_quest.html#aac535c163f0fd50f3263defbe48d02a5", null ], + [ "setMagicPower", "class_athena_1_1_a_l_t_t_p_quest.html#ae5bb5a3229812b38fc4e90a51f131a78", null ], + [ "setMagicUsage", "class_athena_1_1_a_l_t_t_p_quest.html#a2bf762627208cb8e236d7447a0cfea0a", null ], + [ "setMapIcon", "class_athena_1_1_a_l_t_t_p_quest.html#ae57ee97ea024424f1770ee1fb9395d47", null ], + [ "setOldManFlag", "class_athena_1_1_a_l_t_t_p_quest.html#ad2456aae02f0cd0d3eed26c4e4da6fc1", null ], + [ "setOldManFlags", "class_athena_1_1_a_l_t_t_p_quest.html#a72205c195576ef613fc85a274843393b", null ], + [ "setOverworldEvents", "class_athena_1_1_a_l_t_t_p_quest.html#a229097d6768fbb05e8454019a4de7f0a", null ], + [ "setOverworldEvents", "class_athena_1_1_a_l_t_t_p_quest.html#afedd7cab3b2884b58003fbef8351d0b7", null ], + [ "setPendants", "class_athena_1_1_a_l_t_t_p_quest.html#a84c9eff2c241f89575b8cb608146e475", null ], + [ "setPlayerName", "class_athena_1_1_a_l_t_t_p_quest.html#a9b3b852d6ef60526f38fe222297f3230", null ], + [ "setPlayerName", "class_athena_1_1_a_l_t_t_p_quest.html#a0bf9a0df6080f69bf436193e888c8aac", null ], + [ "setPostGameDeathCounter", "class_athena_1_1_a_l_t_t_p_quest.html#a0738fc03b93da1a49c8465eb0d94ed0e", null ], + [ "setProgressFlags1", "class_athena_1_1_a_l_t_t_p_quest.html#a4b37fb77e13b4d15635a58fbaec04736", null ], + [ "setProgressFlags2", "class_athena_1_1_a_l_t_t_p_quest.html#a581d89a3ab2df0b1dd7a7d3065f7642e", null ], + [ "setProgressIndicator", "class_athena_1_1_a_l_t_t_p_quest.html#aeb741fe6bb80cfc108a9904f9c131ed9", null ], + [ "setRoomFlags", "class_athena_1_1_a_l_t_t_p_quest.html#a53a564f171dc62de07af165ac5c5273d", null ], + [ "setRoomFlags", "class_athena_1_1_a_l_t_t_p_quest.html#a56484b7149621b13997d644109f2db6a", null ], + [ "setRupeeCurrent", "class_athena_1_1_a_l_t_t_p_quest.html#a300853eb166d33bf1b7bd4908c39a038", null ], + [ "setRupeeMax", "class_athena_1_1_a_l_t_t_p_quest.html#a7d35d3ac214e6553a909c3665d819aed", null ], + [ "setStartLocation", "class_athena_1_1_a_l_t_t_p_quest.html#a73b632587ce10d482eb0b005bf58f322", null ], + [ "setTagAlong", "class_athena_1_1_a_l_t_t_p_quest.html#a5703a1291c9eecc30cafec7f763b809e", null ], + [ "setUnknown1", "class_athena_1_1_a_l_t_t_p_quest.html#a896fbd70cfa7428547b053519b121f45", null ], + [ "setUnknown1", "class_athena_1_1_a_l_t_t_p_quest.html#a2fdf627a99fd20b42c1fbc2533c52cfb", null ], + [ "setUnknown2", "class_athena_1_1_a_l_t_t_p_quest.html#aea0ee1f95925d5dae59afd55965731c8", null ], + [ "setValid", "class_athena_1_1_a_l_t_t_p_quest.html#a7d55a9cb69386a137fd3be0b888adf14", null ], + [ "setWishingPond", "class_athena_1_1_a_l_t_t_p_quest.html#ad9e73764a159a57a67f68af5724499c2", null ], + [ "startLocation", "class_athena_1_1_a_l_t_t_p_quest.html#aba0e900b9a3f6601fe435479d31a4d7c", null ], + [ "tagAlong", "class_athena_1_1_a_l_t_t_p_quest.html#ae8791d3bcc9fd488857f14d92f4668d2", null ], + [ "unknown1", "class_athena_1_1_a_l_t_t_p_quest.html#af9bfaf05b2572fc410900dffde9dd633", null ], + [ "unknown1Count", "class_athena_1_1_a_l_t_t_p_quest.html#a36352db52c6686f3c6383d34e56b5848", null ], + [ "unknown2", "class_athena_1_1_a_l_t_t_p_quest.html#a674443ef1779d4a89ada3023e3976ce3", null ], + [ "valid", "class_athena_1_1_a_l_t_t_p_quest.html#a6c450b0607dc08751976dd88923e44a3", null ], + [ "wishingPond", "class_athena_1_1_a_l_t_t_p_quest.html#af98279f0ffb360e927d627bd66b1a461", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1_a_l_t_t_p_quest__coll__graph.map b/docs/class_athena_1_1_a_l_t_t_p_quest__coll__graph.map new file mode 100644 index 0000000..3ce4cb5 --- /dev/null +++ b/docs/class_athena_1_1_a_l_t_t_p_quest__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/class_athena_1_1_a_l_t_t_p_quest__coll__graph.md5 b/docs/class_athena_1_1_a_l_t_t_p_quest__coll__graph.md5 new file mode 100644 index 0000000..ce1990d --- /dev/null +++ b/docs/class_athena_1_1_a_l_t_t_p_quest__coll__graph.md5 @@ -0,0 +1 @@ +3daaf21f6cccce38e84ad6082f264bd5 \ No newline at end of file diff --git a/docs/class_athena_1_1_a_l_t_t_p_quest__coll__graph.png b/docs/class_athena_1_1_a_l_t_t_p_quest__coll__graph.png new file mode 100644 index 0000000..6fb89ad Binary files /dev/null and b/docs/class_athena_1_1_a_l_t_t_p_quest__coll__graph.png differ diff --git a/docs/class_athena_1_1_dir-members.html b/docs/class_athena_1_1_dir-members.html new file mode 100644 index 0000000..504e495 --- /dev/null +++ b/docs/class_athena_1_1_dir-members.html @@ -0,0 +1,136 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::Dir Member List
+
+
+ +

This is the complete list of members for Athena::Dir, including all inherited members.

+ + + + + + + + + + + + +
absolutePath() const (defined in Athena::Dir)Athena::Dir
absolutePath(const std::string &path) (defined in Athena::Dir)Athena::Dirinlinestatic
cd(const std::string &path) (defined in Athena::Dir)Athena::Dir
Dir(const std::string &path) (defined in Athena::Dir)Athena::Direxplicit
files() const (defined in Athena::Dir)Athena::Dir
isDir() const (defined in Athena::Dir)Athena::Dir
isDir(const std::string dir) (defined in Athena::Dir)Athena::Dirinlinestatic
mkdir(const std::string &dir, mode_t mode=0755) (defined in Athena::Dir)Athena::Dirstatic
mkpath(const std::string &path, mode_t mode=0755) (defined in Athena::Dir)Athena::Dirstatic
rm(const std::string &path) (defined in Athena::Dir)Athena::Dir
touch() (defined in Athena::Dir)Athena::Dir
+
+ + + + diff --git a/docs/class_athena_1_1_dir.html b/docs/class_athena_1_1_dir.html new file mode 100644 index 0000000..09d6f15 --- /dev/null +++ b/docs/class_athena_1_1_dir.html @@ -0,0 +1,180 @@ + + + + + + +Athena IO Library: Athena::Dir Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::Dir Class Reference
+
+
+
+Collaboration diagram for Athena::Dir:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + + + + + + +

+Public Member Functions

Dir (const std::string &path)
 
+std::string absolutePath () const
 
+bool isDir () const
 
+std::vector< FileInfofiles () const
 
+bool cd (const std::string &path)
 
+bool rm (const std::string &path)
 
+bool touch ()
 
+ + + + + + + + + +

+Static Public Member Functions

+static std::string absolutePath (const std::string &path)
 
+static bool isDir (const std::string dir)
 
+static bool mkdir (const std::string &dir, mode_t mode=0755)
 
+static bool mkpath (const std::string &path, mode_t mode=0755)
 
+

Detailed Description

+
+

Definition at line 9 of file Dir.hpp.

+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1_dir.js b/docs/class_athena_1_1_dir.js new file mode 100644 index 0000000..9b36930 --- /dev/null +++ b/docs/class_athena_1_1_dir.js @@ -0,0 +1,10 @@ +var class_athena_1_1_dir = +[ + [ "Dir", "class_athena_1_1_dir.html#adc5b89319ba1c9b3287f297fe7c52104", null ], + [ "absolutePath", "class_athena_1_1_dir.html#afaa4a305868bb00dc6334aeeb7a05fca", null ], + [ "cd", "class_athena_1_1_dir.html#aecd398ed6f72b446a4bc5a26e1be7c10", null ], + [ "files", "class_athena_1_1_dir.html#a2618151e04b56e22e2cc1d50f1fbcbf7", null ], + [ "isDir", "class_athena_1_1_dir.html#ae16d658f3f77f6c060169b35a24ddf75", null ], + [ "rm", "class_athena_1_1_dir.html#a48646fa95620953fe86f03b89bffe568", null ], + [ "touch", "class_athena_1_1_dir.html#ad0051e900c67d0a100de34e4d36305a1", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1_dir__coll__graph.map b/docs/class_athena_1_1_dir__coll__graph.map new file mode 100644 index 0000000..396d395 --- /dev/null +++ b/docs/class_athena_1_1_dir__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/class_athena_1_1_dir__coll__graph.md5 b/docs/class_athena_1_1_dir__coll__graph.md5 new file mode 100644 index 0000000..255f2fb --- /dev/null +++ b/docs/class_athena_1_1_dir__coll__graph.md5 @@ -0,0 +1 @@ +c998e42f21683f103f3173eeeb83b19f \ No newline at end of file diff --git a/docs/class_athena_1_1_dir__coll__graph.png b/docs/class_athena_1_1_dir__coll__graph.png new file mode 100644 index 0000000..042b0e5 Binary files /dev/null and b/docs/class_athena_1_1_dir__coll__graph.png differ diff --git a/docs/class_athena_1_1_file_info-members.html b/docs/class_athena_1_1_file_info-members.html new file mode 100644 index 0000000..1f355ec --- /dev/null +++ b/docs/class_athena_1_1_file_info-members.html @@ -0,0 +1,146 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::FileInfo Member List
+
+
+ +

This is the complete list of members for Athena::FileInfo, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + +
absoluteFilePath() const (defined in Athena::FileInfo)Athena::FileInfo
absoluteFilePath(const std::string &path) (defined in Athena::FileInfo)Athena::FileInfoinlinestatic
absolutePath() const (defined in Athena::FileInfo)Athena::FileInfo
absolutePath(const std::string &lnk) (defined in Athena::FileInfo)Athena::FileInfoinlinestatic
exists() const (defined in Athena::FileInfo)Athena::FileInfo
exists(const std::string &path) (defined in Athena::FileInfo)Athena::FileInfoinlinestatic
extension() const (defined in Athena::FileInfo)Athena::FileInfo
extension(const std::string path) (defined in Athena::FileInfo)Athena::FileInfoinlinestatic
FileInfo(const std::string &path=std::string()) (defined in Athena::FileInfo)Athena::FileInfoexplicit
filename() const (defined in Athena::FileInfo)Athena::FileInfo
filename(const std::string path) (defined in Athena::FileInfo)Athena::FileInfoinlinestatic
isFile() const (defined in Athena::FileInfo)Athena::FileInfo
isFile(const std::string &path) (defined in Athena::FileInfo)Athena::FileInfoinlinestatic
isLink() const (defined in Athena::FileInfo)Athena::FileInfo
isLink(const std::string &lnk) (defined in Athena::FileInfo)Athena::FileInfoinlinestatic
path() const (defined in Athena::FileInfo)Athena::FileInfo
path(const std::string path) (defined in Athena::FileInfo)Athena::FileInfoinlinestatic
size() const (defined in Athena::FileInfo)Athena::FileInfo
size(const std::string path) (defined in Athena::FileInfo)Athena::FileInfoinlinestatic
touch() const (defined in Athena::FileInfo)Athena::FileInfo
touch(const std::string &path) (defined in Athena::FileInfo)Athena::FileInfoinlinestatic
+
+ + + + diff --git a/docs/class_athena_1_1_file_info.html b/docs/class_athena_1_1_file_info.html new file mode 100644 index 0000000..2774e13 --- /dev/null +++ b/docs/class_athena_1_1_file_info.html @@ -0,0 +1,208 @@ + + + + + + +Athena IO Library: Athena::FileInfo Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::FileInfo Class Reference
+
+
+
+Collaboration diagram for Athena::FileInfo:
+
+
Collaboration graph
+
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

FileInfo (const std::string &path=std::string())
 
+std::string absolutePath () const
 
+std::string absoluteFilePath () const
 
+std::string filename () const
 
+std::string path () const
 
+std::string extension () const
 
+atUint64 size () const
 
+bool exists () const
 
+bool isLink () const
 
+bool isFile () const
 
+bool touch () const
 
+ + + + + + + + + + + + + + + + + + + + + +

+Static Public Member Functions

+static std::string absolutePath (const std::string &lnk)
 
+static std::string absoluteFilePath (const std::string &path)
 
+static std::string filename (const std::string path)
 
+static std::string path (const std::string path)
 
+static std::string extension (const std::string path)
 
+static atUint64 size (const std::string path)
 
+static bool exists (const std::string &path)
 
+static bool isLink (const std::string &lnk)
 
+static bool isFile (const std::string &path)
 
+static bool touch (const std::string &path)
 
+

Detailed Description

+
+

Definition at line 10 of file FileInfo.hpp.

+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1_file_info.js b/docs/class_athena_1_1_file_info.js new file mode 100644 index 0000000..46f5b0a --- /dev/null +++ b/docs/class_athena_1_1_file_info.js @@ -0,0 +1,14 @@ +var class_athena_1_1_file_info = +[ + [ "FileInfo", "class_athena_1_1_file_info.html#acf0e3b5afd62fd36cc351f7e11201547", null ], + [ "absoluteFilePath", "class_athena_1_1_file_info.html#a0175045d02c876e0a2054c23127f3db8", null ], + [ "absolutePath", "class_athena_1_1_file_info.html#a6c5b967718839c034155c9040ec38796", null ], + [ "exists", "class_athena_1_1_file_info.html#a3f9fb708730aa2656971f62bc9b2169f", null ], + [ "extension", "class_athena_1_1_file_info.html#a1afd39c394a858b68c6f0c97b12167d6", null ], + [ "filename", "class_athena_1_1_file_info.html#a95f86a73e6d6d6ef3582670102ad5477", null ], + [ "isFile", "class_athena_1_1_file_info.html#a2c046313e41b90e1d2026a8a15d1781d", null ], + [ "isLink", "class_athena_1_1_file_info.html#aaaaa0aaf834435b4facd9191e692a729", null ], + [ "path", "class_athena_1_1_file_info.html#ab089ad6509cae3e2d18c26989b6cf0fc", null ], + [ "size", "class_athena_1_1_file_info.html#a12b98024a6cd6b931ec9c51b64065a7c", null ], + [ "touch", "class_athena_1_1_file_info.html#a6642bbb440100313055630df891d82d9", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1_file_info__coll__graph.map b/docs/class_athena_1_1_file_info__coll__graph.map new file mode 100644 index 0000000..015475f --- /dev/null +++ b/docs/class_athena_1_1_file_info__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/class_athena_1_1_file_info__coll__graph.md5 b/docs/class_athena_1_1_file_info__coll__graph.md5 new file mode 100644 index 0000000..9272119 --- /dev/null +++ b/docs/class_athena_1_1_file_info__coll__graph.md5 @@ -0,0 +1 @@ +105d459677bde1c2b4e6fe57543e7a2a \ No newline at end of file diff --git a/docs/class_athena_1_1_file_info__coll__graph.png b/docs/class_athena_1_1_file_info__coll__graph.png new file mode 100644 index 0000000..9a95f79 Binary files /dev/null and b/docs/class_athena_1_1_file_info__coll__graph.png differ diff --git a/docs/class_athena_1_1_m_c_file-members.html b/docs/class_athena_1_1_m_c_file-members.html new file mode 100644 index 0000000..aafcf46 --- /dev/null +++ b/docs/class_athena_1_1_m_c_file-members.html @@ -0,0 +1,133 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::MCFile Member List
+
+
+ +

This is the complete list of members for Athena::MCFile, including all inherited members.

+ + + + + + + + + +
Deleted enum value (defined in Athena::MCFile)Athena::MCFile
MCFile() (defined in Athena::MCFile)Athena::MCFile
New enum value (defined in Athena::MCFile)Athena::MCFile
SlotType enum name (defined in Athena::MCFile)Athena::MCFile
unscramble(atUint8 *data, atUint64 length) (defined in Athena::MCFile)Athena::MCFilestatic
Valid enum value (defined in Athena::MCFile)Athena::MCFile
VERSION_EU_JP (defined in Athena::MCFile)Athena::MCFilestatic
VERSION_US (defined in Athena::MCFile)Athena::MCFilestatic
+
+ + + + diff --git a/docs/class_athena_1_1_m_c_file.html b/docs/class_athena_1_1_m_c_file.html new file mode 100644 index 0000000..ef9e43e --- /dev/null +++ b/docs/class_athena_1_1_m_c_file.html @@ -0,0 +1,170 @@ + + + + + + +Athena IO Library: Athena::MCFile Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::MCFile Class Reference
+
+
+ +

The Minish Cap data container class class. + More...

+ +

#include <MCFile.hpp>

+
+Collaboration diagram for Athena::MCFile:
+
+
Collaboration graph
+
+ + + + +

+Public Types

enum  SlotType { New = 0x54494E49, +Valid = 0x4D435A33, +Deleted = 0x466C6544 + }
 
+ + + +

+Static Public Member Functions

+static atUint8 * unscramble (atUint8 *data, atUint64 length)
 
+ + + + + +

+Static Public Attributes

+static const char VERSION_EU_JP [33]
 
+static const char VERSION_US [33]
 
+

Detailed Description

+

The Minish Cap data container class class.

+

Contains all relevant data for a The Minish Cap save, file.

+ +

Definition at line 31 of file MCFile.hpp.

+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1_m_c_file.js b/docs/class_athena_1_1_m_c_file.js new file mode 100644 index 0000000..954a288 --- /dev/null +++ b/docs/class_athena_1_1_m_c_file.js @@ -0,0 +1,9 @@ +var class_athena_1_1_m_c_file = +[ + [ "SlotType", "class_athena_1_1_m_c_file.html#a2e95168ed6eb65003d593b37bb57d93c", [ + [ "New", "class_athena_1_1_m_c_file.html#a2e95168ed6eb65003d593b37bb57d93caf265bc7e8b3065000eda519fd97b65a7", null ], + [ "Valid", "class_athena_1_1_m_c_file.html#a2e95168ed6eb65003d593b37bb57d93ca8b3930f6e2bbb5421d6aebc2c2755ffe", null ], + [ "Deleted", "class_athena_1_1_m_c_file.html#a2e95168ed6eb65003d593b37bb57d93cad043b77c222a2f62c7e389bb7054ff0a", null ] + ] ], + [ "MCFile", "class_athena_1_1_m_c_file.html#a609cfc359ad830449930c6762201df41", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1_m_c_file__coll__graph.map b/docs/class_athena_1_1_m_c_file__coll__graph.map new file mode 100644 index 0000000..e5442d9 --- /dev/null +++ b/docs/class_athena_1_1_m_c_file__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/class_athena_1_1_m_c_file__coll__graph.md5 b/docs/class_athena_1_1_m_c_file__coll__graph.md5 new file mode 100644 index 0000000..fa3b12b --- /dev/null +++ b/docs/class_athena_1_1_m_c_file__coll__graph.md5 @@ -0,0 +1 @@ +ce94f3180eb19a9c672edcf60ae42023 \ No newline at end of file diff --git a/docs/class_athena_1_1_m_c_file__coll__graph.png b/docs/class_athena_1_1_m_c_file__coll__graph.png new file mode 100644 index 0000000..c4df6a3 Binary files /dev/null and b/docs/class_athena_1_1_m_c_file__coll__graph.png differ diff --git a/docs/class_athena_1_1_m_c_slot-members.html b/docs/class_athena_1_1_m_c_slot-members.html new file mode 100644 index 0000000..c2667f9 --- /dev/null +++ b/docs/class_athena_1_1_m_c_slot-members.html @@ -0,0 +1,170 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::MCSlot Member List
+
+
+ +

This is the complete list of members for Athena::MCSlot, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ALBW enum valueAthena::ZQuestFile
ALttP enum valueAthena::ZQuestFile
AoL enum valueAthena::ZQuestFile
data() const Athena::ZQuestFile
endian() const Athena::ZQuestFile
FS enum valueAthena::ZQuestFile
FSA enum valueAthena::ZQuestFile
game() const Athena::ZQuestFile
Game enum nameAthena::ZQuestFile
GameCount enum valueAthena::ZQuestFile
gameString() const Athena::ZQuestFile
gameStringList() (defined in Athena::ZQuestFile)Athena::ZQuestFilestatic
LA enum valueAthena::ZQuestFile
length() const Athena::ZQuestFile
LoZ enum valueAthena::ZQuestFile
m_data (defined in Athena::ZQuestFile)Athena::ZQuestFileprotected
m_endian (defined in Athena::ZQuestFile)Athena::ZQuestFileprotected
m_game (defined in Athena::ZQuestFile)Athena::ZQuestFileprotected
m_gameString (defined in Athena::ZQuestFile)Athena::ZQuestFileprotected
m_length (defined in Athena::ZQuestFile)Athena::ZQuestFileprotected
MagicAthena::ZQuestFilestatic
MajorAthena::ZQuestFilestatic
MC enum valueAthena::ZQuestFile
MCSlot(atUint8 *data, atUint32 length) (defined in Athena::MCSlot)Athena::MCSlot
MinorAthena::ZQuestFilestatic
MM enum valueAthena::ZQuestFile
NoGame enum valueAthena::ZQuestFile
OoA enum valueAthena::ZQuestFile
OoS enum valueAthena::ZQuestFile
OoT enum valueAthena::ZQuestFile
OoT3D enum valueAthena::ZQuestFile
PH enum valueAthena::ZQuestFile
RevisionAthena::ZQuestFilestatic
setData(atUint8 *data, atUint32 length)Athena::ZQuestFile
setEndian(Endian endian)Athena::ZQuestFile
setGame(Game game)Athena::ZQuestFile
setGameString(const std::string &gameString) (defined in Athena::ZQuestFile)Athena::ZQuestFile
SS enum valueAthena::ZQuestFile
ST enum valueAthena::ZQuestFile
TP enum valueAthena::ZQuestFile
VersionAthena::ZQuestFilestatic
WW enum valueAthena::ZQuestFile
ZQuestFile()Athena::ZQuestFile
ZQuestFile(Game game, Endian endian, atUint8 *data, atUint32 length, const std::string &gameString=std::string())Athena::ZQuestFile
~ZQuestFile() (defined in Athena::ZQuestFile)Athena::ZQuestFile
+
+ + + + diff --git a/docs/class_athena_1_1_m_c_slot.html b/docs/class_athena_1_1_m_c_slot.html new file mode 100644 index 0000000..7ad57b4 --- /dev/null +++ b/docs/class_athena_1_1_m_c_slot.html @@ -0,0 +1,262 @@ + + + + + + +Athena IO Library: Athena::MCSlot Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::MCSlot Class Reference
+
+
+
+Inheritance diagram for Athena::MCSlot:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::MCSlot:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

MCSlot (atUint8 *data, atUint32 length)
 
- Public Member Functions inherited from Athena::ZQuestFile
ZQuestFile ()
 ZQuest.
 
 ZQuestFile (Game game, Endian endian, atUint8 *data, atUint32 length, const std::string &gameString=std::string())
 ZQuest. More...
 
void setGame (Game game)
 setGame More...
 
Game game () const
 game More...
 
void setEndian (Endian endian)
 setEndian More...
 
Endian endian () const
 endian More...
 
void setData (atUint8 *data, atUint32 length)
 setData More...
 
atUint8 * data () const
 data More...
 
atUint32 length () const
 length More...
 
+void setGameString (const std::string &gameString)
 
std::string gameString () const
 gameString More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Types inherited from Athena::ZQuestFile
enum  Game {
+  NoGame, +LoZ, +AoL, +ALttP, +
+  LA, +OoT, +OoT3D, +MM, +
+  OoS, +OoA, +FS, +WW, +
+  FSA, +MC, +TP, +PH, +
+  ST, +SS, +ALBW, +GameCount +
+ }
 The list of games currently supported by ZQuest. More...
 
- Static Public Member Functions inherited from Athena::ZQuestFile
+static const std::vector< std::string > gameStringList ()
 
- Static Public Attributes inherited from Athena::ZQuestFile
+static const atUint32 Major
 The current major version of the ZQuest format.
 
+static const atUint32 Minor
 The current minor version of the ZQuest format.
 
+static const atUint32 Revision
 The current revision of the ZQuest format.
 
+static const atUint32 Version
 The current version of the ZQuest format.
 
+static const atUint32 Magic
 The magic number used to identify the file e.g. "ZQS1".
 
- Protected Attributes inherited from Athena::ZQuestFile
+Game m_game
 
+std::string m_gameString
 
+Endian m_endian
 
+atUint8 * m_data
 
+atUint32 m_length
 
+

Detailed Description

+
+

Definition at line 9 of file MCSlot.hpp.

+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1_m_c_slot.js b/docs/class_athena_1_1_m_c_slot.js new file mode 100644 index 0000000..f0e04eb --- /dev/null +++ b/docs/class_athena_1_1_m_c_slot.js @@ -0,0 +1,4 @@ +var class_athena_1_1_m_c_slot = +[ + [ "MCSlot", "class_athena_1_1_m_c_slot.html#ad9e06326bf01877f363c24c4f1b60b54", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1_m_c_slot__coll__graph.map b/docs/class_athena_1_1_m_c_slot__coll__graph.map new file mode 100644 index 0000000..51cb1bb --- /dev/null +++ b/docs/class_athena_1_1_m_c_slot__coll__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/class_athena_1_1_m_c_slot__coll__graph.md5 b/docs/class_athena_1_1_m_c_slot__coll__graph.md5 new file mode 100644 index 0000000..4675cbc --- /dev/null +++ b/docs/class_athena_1_1_m_c_slot__coll__graph.md5 @@ -0,0 +1 @@ +4469393158ac513728639a00a9d65e13 \ No newline at end of file diff --git a/docs/class_athena_1_1_m_c_slot__coll__graph.png b/docs/class_athena_1_1_m_c_slot__coll__graph.png new file mode 100644 index 0000000..4830ceb Binary files /dev/null and b/docs/class_athena_1_1_m_c_slot__coll__graph.png differ diff --git a/docs/class_athena_1_1_m_c_slot__inherit__graph.map b/docs/class_athena_1_1_m_c_slot__inherit__graph.map new file mode 100644 index 0000000..51cb1bb --- /dev/null +++ b/docs/class_athena_1_1_m_c_slot__inherit__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/class_athena_1_1_m_c_slot__inherit__graph.md5 b/docs/class_athena_1_1_m_c_slot__inherit__graph.md5 new file mode 100644 index 0000000..4675cbc --- /dev/null +++ b/docs/class_athena_1_1_m_c_slot__inherit__graph.md5 @@ -0,0 +1 @@ +4469393158ac513728639a00a9d65e13 \ No newline at end of file diff --git a/docs/class_athena_1_1_m_c_slot__inherit__graph.png b/docs/class_athena_1_1_m_c_slot__inherit__graph.png new file mode 100644 index 0000000..4830ceb Binary files /dev/null and b/docs/class_athena_1_1_m_c_slot__inherit__graph.png differ diff --git a/docs/class_athena_1_1_sakura_1_1_sprite-members.html b/docs/class_athena_1_1_sakura_1_1_sprite-members.html new file mode 100644 index 0000000..498e178 --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_sprite-members.html @@ -0,0 +1,155 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::Sakura::Sprite Member List
+
+
+ +

This is the complete list of members for Athena::Sakura::Sprite, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
addFrame(SpriteFrame *Frame) (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
addStateId(int id) (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
advanceFrame() (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
container() const (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
currentFrame() const (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
currentState() const (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
Frame(atUint32 id) (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
frameCount() const (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
frames() const (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
name() const (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
position() const (defined in Athena::Sakura::Sprite)Athena::Sakura::Spritevirtual
removeFrame(SpriteFrame *Frame) (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
retreatFrame() (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
root() const (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
setCurrentFrame(SpriteFrame *frame) (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
setCurrentFrame(atUint32 id) (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
setCurrentState(atUint32 id) (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
setFrame(atUint32 id) (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
setFrames(std::vector< SpriteFrame * > frames) (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
setName(const std::string &name) (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
setPosition(const float x, const float y) (defined in Athena::Sakura::Sprite)Athena::Sakura::Spritevirtual
setPosition(const Vector2Df &pos) (defined in Athena::Sakura::Sprite)Athena::Sakura::Spritevirtual
setRoot(SpriteFile *root) (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
setStateIds(std::vector< int > ids) (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
Sprite(SpriteFile *root) (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
Sprite(SpriteFile *root, const std::string &name) (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
stateCount() const (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
stateId(int index) const Athena::Sakura::Sprite
stateIds() const (defined in Athena::Sakura::Sprite)Athena::Sakura::Sprite
~Sprite() (defined in Athena::Sakura::Sprite)Athena::Sakura::Spritevirtual
+
+ + + + diff --git a/docs/class_athena_1_1_sakura_1_1_sprite.html b/docs/class_athena_1_1_sakura_1_1_sprite.html new file mode 100644 index 0000000..428fb2d --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_sprite.html @@ -0,0 +1,254 @@ + + + + + + +Athena IO Library: Athena::Sakura::Sprite Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::Sakura::Sprite Class Reference
+
+
+
+Collaboration diagram for Athena::Sakura::Sprite:
+
+
Collaboration graph
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Sprite (SpriteFile *root)
 
Sprite (SpriteFile *root, const std::string &name)
 
+virtual void setPosition (const float x, const float y)
 
+virtual void setPosition (const Vector2Df &pos)
 
+virtual Vector2Df position () const
 
+void setName (const std::string &name)
 
+std::string name () const
 
+void addStateId (int id)
 
int stateId (int index) const
 Returns the texture id of a given state. More...
 
+void setStateIds (std::vector< int > ids)
 
+std::vector< int > stateIds () const
 
+atUint32 stateCount () const
 
+void setCurrentState (atUint32 id)
 
+atUint32 currentState () const
 
+bool addFrame (SpriteFrame *Frame)
 
+bool removeFrame (SpriteFrame *Frame)
 
+SpriteFrameFrame (atUint32 id)
 
+void setFrame (atUint32 id)
 
+void setFrames (std::vector< SpriteFrame * > frames)
 
+atUint32 frameCount () const
 
+std::vector< SpriteFrame * > frames () const
 
+SpriteFilecontainer () const
 
+void setCurrentFrame (SpriteFrame *frame)
 
+void setCurrentFrame (atUint32 id)
 
+SpriteFramecurrentFrame () const
 
+void advanceFrame ()
 
+void retreatFrame ()
 
+void setRoot (SpriteFile *root)
 
+SpriteFileroot () const
 
+

Detailed Description

+
+

Definition at line 39 of file Sprite.hpp.

+

Member Function Documentation

+ +
+
+ + + + + + + + +
int Athena::Sakura::Sprite::stateId (int index) const
+
+ +

Returns the texture id of a given state.

+
Parameters
+ + +
indexThe index of the id.
+
+
+
Returns
return the state id if it exists, -1 otherwise
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1_sakura_1_1_sprite.js b/docs/class_athena_1_1_sakura_1_1_sprite.js new file mode 100644 index 0000000..94b4ca7 --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_sprite.js @@ -0,0 +1,33 @@ +var class_athena_1_1_sakura_1_1_sprite = +[ + [ "Sprite", "class_athena_1_1_sakura_1_1_sprite.html#a3714ce90ba0a50e82cb9c4c05ab1bb35", null ], + [ "Sprite", "class_athena_1_1_sakura_1_1_sprite.html#a5e7f2457927256c52998147ce8c68aeb", null ], + [ "~Sprite", "class_athena_1_1_sakura_1_1_sprite.html#ab2f1d41a6a2d9d707783f8256df6d5d3", null ], + [ "addFrame", "class_athena_1_1_sakura_1_1_sprite.html#ac7663f799b3c81c0adc7eb06e3003ca9", null ], + [ "addStateId", "class_athena_1_1_sakura_1_1_sprite.html#a16093b6c58b6d501e63878cdef5039cf", null ], + [ "advanceFrame", "class_athena_1_1_sakura_1_1_sprite.html#a8ac892903d266c2a4d87c66fbf35df27", null ], + [ "container", "class_athena_1_1_sakura_1_1_sprite.html#aa5374e2757ba23a46f784b14e4881692", null ], + [ "currentFrame", "class_athena_1_1_sakura_1_1_sprite.html#a68851adee874e3917afd38751c2c0dfb", null ], + [ "currentState", "class_athena_1_1_sakura_1_1_sprite.html#a81435ce7a0f6b9b6772257fef265bacc", null ], + [ "Frame", "class_athena_1_1_sakura_1_1_sprite.html#ae215ca7352b108b82c5b0292fdb00d68", null ], + [ "frameCount", "class_athena_1_1_sakura_1_1_sprite.html#a867bd300573879a266bc9de4dae622cf", null ], + [ "frames", "class_athena_1_1_sakura_1_1_sprite.html#a62c6886d3f95d5961e3a91d91c5af101", null ], + [ "name", "class_athena_1_1_sakura_1_1_sprite.html#a55d8272f32d43fc973a466b3b947ffcc", null ], + [ "position", "class_athena_1_1_sakura_1_1_sprite.html#ad04224c771bf4dfcdea4c1acea5f5508", null ], + [ "removeFrame", "class_athena_1_1_sakura_1_1_sprite.html#ae7ecdb5931b148dce9343148ce0dd1a2", null ], + [ "retreatFrame", "class_athena_1_1_sakura_1_1_sprite.html#a849d875c4a8931ef79166c1c9b4f2493", null ], + [ "root", "class_athena_1_1_sakura_1_1_sprite.html#a74f15ba7c643ef057fb1e5cb56ec6cfe", null ], + [ "setCurrentFrame", "class_athena_1_1_sakura_1_1_sprite.html#a5e7974600dff457040683b8ec7613733", null ], + [ "setCurrentFrame", "class_athena_1_1_sakura_1_1_sprite.html#a30922311b28662601c8c552677879ab5", null ], + [ "setCurrentState", "class_athena_1_1_sakura_1_1_sprite.html#aa06a8a062e5e7eb45765f901577c81fd", null ], + [ "setFrame", "class_athena_1_1_sakura_1_1_sprite.html#a16615fd87dcc820b6ac05d8f9b9d8a7a", null ], + [ "setFrames", "class_athena_1_1_sakura_1_1_sprite.html#a37a5924bc43977a101a0842788cde725", null ], + [ "setName", "class_athena_1_1_sakura_1_1_sprite.html#a3ffd5bdf4f9a509a86f6fc7651d9c559", null ], + [ "setPosition", "class_athena_1_1_sakura_1_1_sprite.html#a61e8cf2b592fbf53c8c3dff828899b24", null ], + [ "setPosition", "class_athena_1_1_sakura_1_1_sprite.html#a01ba17724dbdc7ba2079b7a644587202", null ], + [ "setRoot", "class_athena_1_1_sakura_1_1_sprite.html#afe0d7d26bc8183514aa037ed0793861f", null ], + [ "setStateIds", "class_athena_1_1_sakura_1_1_sprite.html#a064575f10c9b410614370b28342eb290", null ], + [ "stateCount", "class_athena_1_1_sakura_1_1_sprite.html#ab7131032dde39f5a9a2d854a3c42b2f1", null ], + [ "stateId", "class_athena_1_1_sakura_1_1_sprite.html#a8717ac9b9947b356cdca8b227457b9b3", null ], + [ "stateIds", "class_athena_1_1_sakura_1_1_sprite.html#a7587b8c9421c7acf4c89f2f9017c957b", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1_sakura_1_1_sprite__coll__graph.map b/docs/class_athena_1_1_sakura_1_1_sprite__coll__graph.map new file mode 100644 index 0000000..807e303 --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_sprite__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/class_athena_1_1_sakura_1_1_sprite__coll__graph.md5 b/docs/class_athena_1_1_sakura_1_1_sprite__coll__graph.md5 new file mode 100644 index 0000000..6da1974 --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_sprite__coll__graph.md5 @@ -0,0 +1 @@ +31a0b027a050d3f2e0b02f98854682dd \ No newline at end of file diff --git a/docs/class_athena_1_1_sakura_1_1_sprite__coll__graph.png b/docs/class_athena_1_1_sakura_1_1_sprite__coll__graph.png new file mode 100644 index 0000000..2911866 Binary files /dev/null and b/docs/class_athena_1_1_sakura_1_1_sprite__coll__graph.png differ diff --git a/docs/class_athena_1_1_sakura_1_1_sprite_file-members.html b/docs/class_athena_1_1_sakura_1_1_sprite_file-members.html new file mode 100644 index 0000000..d40d034 --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_sprite_file-members.html @@ -0,0 +1,158 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::Sakura::SpriteFile Member List
+
+
+ +

This is the complete list of members for Athena::Sakura::SpriteFile, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
addSprite(Sprite *sprite) (defined in Athena::Sakura::SpriteFile)Athena::Sakura::SpriteFile
addTexture(STexture *texture)Athena::Sakura::SpriteFile
BuildAthena::Sakura::SpriteFilestatic
height() const Athena::Sakura::SpriteFile
MagicAthena::Sakura::SpriteFilestatic
MajorAthena::Sakura::SpriteFilestatic
MinorAthena::Sakura::SpriteFilestatic
origin() const Athena::Sakura::SpriteFile
originX() const Athena::Sakura::SpriteFile
originY() const Athena::Sakura::SpriteFile
removeSprite(const std::string &name) (defined in Athena::Sakura::SpriteFile)Athena::Sakura::SpriteFile
removeSprite(Sprite *sprite) (defined in Athena::Sakura::SpriteFile)Athena::Sakura::SpriteFile
removeTexture(int id)Athena::Sakura::SpriteFile
RevisionAthena::Sakura::SpriteFilestatic
setOrigin(const float x, const float y)Athena::Sakura::SpriteFile
setOrigin(const Vector2Df &origin)Athena::Sakura::SpriteFile
setSize(atUint32 width, atUint32 height)Athena::Sakura::SpriteFile
setSize(const Vector2Di &size)Athena::Sakura::SpriteFile
setSprites(std::unordered_map< std::string, Sprite * > sprites) (defined in Athena::Sakura::SpriteFile)Athena::Sakura::SpriteFile
setTextures(std::vector< STexture * > textures)Athena::Sakura::SpriteFile
size() const Athena::Sakura::SpriteFile
sprite(const std::string &name) (defined in Athena::Sakura::SpriteFile)Athena::Sakura::SpriteFile
spriteCount() const (defined in Athena::Sakura::SpriteFile)Athena::Sakura::SpriteFile
SpriteFile()Athena::Sakura::SpriteFile
SpriteFile(atUint32 width, atUint32 height, float originX, float originY)Athena::Sakura::SpriteFile
SpriteFile(const Vector2Di &size, const Vector2Df &origin)Athena::Sakura::SpriteFile
sprites() const (defined in Athena::Sakura::SpriteFile)Athena::Sakura::SpriteFile
texture(atUint32 id)Athena::Sakura::SpriteFile
textureCount() const (defined in Athena::Sakura::SpriteFile)Athena::Sakura::SpriteFile
textures() const (defined in Athena::Sakura::SpriteFile)Athena::Sakura::SpriteFile
VersionAthena::Sakura::SpriteFilestatic
width() const Athena::Sakura::SpriteFile
~SpriteFile() (defined in Athena::Sakura::SpriteFile)Athena::Sakura::SpriteFile
+
+ + + + diff --git a/docs/class_athena_1_1_sakura_1_1_sprite_file.html b/docs/class_athena_1_1_sakura_1_1_sprite_file.html new file mode 100644 index 0000000..6d17577 --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_sprite_file.html @@ -0,0 +1,657 @@ + + + + + + +Athena IO Library: Athena::Sakura::SpriteFile Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::Sakura::SpriteFile Class Reference
+
+
+
+Collaboration diagram for Athena::Sakura::SpriteFile:
+
+
Collaboration graph
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

SpriteFile ()
 SSprite.
 
 SpriteFile (atUint32 width, atUint32 height, float originX, float originY)
 SSpriteFile. More...
 
 SpriteFile (const Vector2Di &size, const Vector2Df &origin)
 SSpriteFile. More...
 
void setSize (atUint32 width, atUint32 height)
 setSize More...
 
void setSize (const Vector2Di &size)
 setSize More...
 
Vector2Di size () const
 size More...
 
atUint32 width () const
 width More...
 
atUint32 height () const
 height More...
 
void setOrigin (const float x, const float y)
 setOrigin More...
 
void setOrigin (const Vector2Df &origin)
 setOrigin More...
 
Vector2Df origin () const
 origin More...
 
float originX () const
 originX More...
 
float originY () const
 originY More...
 
bool addTexture (STexture *texture)
 addTexture More...
 
void removeTexture (int id)
 removeTexture More...
 
STexturetexture (atUint32 id)
 texture More...
 
+std::vector< STexture * > textures () const
 
+atUint32 textureCount () const
 
void setTextures (std::vector< STexture * > textures)
 setTextures More...
 
+void addSprite (Sprite *sprite)
 
+void removeSprite (const std::string &name)
 
+void removeSprite (Sprite *sprite)
 
+void setSprites (std::unordered_map< std::string, Sprite * > sprites)
 
+Spritesprite (const std::string &name)
 
+std::unordered_map< std::string, Sprite * > sprites () const
 
+atUint32 spriteCount () const
 
+ + + + + + + + + + + + + + + + + + + +

+Static Public Attributes

+static const atUint32 Major
 Major.
 
+static const atUint32 Minor
 Minor.
 
+static const atUint32 Revision
 Revision.
 
+static const atUint32 Build
 Patch.
 
+static const atUint32 Version
 Version.
 
+static const atUint32 Magic
 Magic.
 
+

Detailed Description

+
+

Definition at line 46 of file SpriteFile.hpp.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Athena::Sakura::SpriteFile::SpriteFile (atUint32 width,
atUint32 height,
float originX,
float originY 
)
+
+ +

SSpriteFile.

+
Parameters
+ + + + + +
width
height
originX
originY
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
Athena::Sakura::SpriteFile::SpriteFile (const Vector2Disize,
const Vector2Dforigin 
)
+
+ +

SSpriteFile.

+
Parameters
+ + + +
size
origin
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
bool Athena::Sakura::SpriteFile::addTexture (STexturetexture)
+
+ +

addTexture

+
Parameters
+ + +
texture
+
+
+ +
+
+ +
+
+ + + + + + + +
atUint32 Athena::Sakura::SpriteFile::height () const
+
+ +

height

+
Returns
+ +
+
+ +
+
+ + + + + + + +
Vector2Df Athena::Sakura::SpriteFile::origin () const
+
+ +

origin

+
Returns
+ +
+
+ +
+
+ + + + + + + +
float Athena::Sakura::SpriteFile::originX () const
+
+ +

originX

+
Returns
+ +
+
+ +
+
+ + + + + + + +
float Athena::Sakura::SpriteFile::originY () const
+
+ +

originY

+
Returns
+ +
+
+ +
+
+ + + + + + + + +
void Athena::Sakura::SpriteFile::removeTexture (int id)
+
+ +

removeTexture

+
Parameters
+ + +
id
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Athena::Sakura::SpriteFile::setOrigin (const float x,
const float y 
)
+
+ +

setOrigin

+
Parameters
+ + + +
x
y
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::Sakura::SpriteFile::setOrigin (const Vector2Dforigin)
+
+ +

setOrigin

+
Parameters
+ + +
origin
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Athena::Sakura::SpriteFile::setSize (atUint32 width,
atUint32 height 
)
+
+ +

setSize

+
Parameters
+ + + +
width
height
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::Sakura::SpriteFile::setSize (const Vector2Disize)
+
+ +

setSize

+
Parameters
+ + +
size
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::Sakura::SpriteFile::setTextures (std::vector< STexture * > textures)
+
+ +

setTextures

+
Parameters
+ + +
textures
+
+
+ +
+
+ +
+
+ + + + + + + +
Vector2Di Athena::Sakura::SpriteFile::size () const
+
+ +

size

+
Returns
+ +
+
+ +
+
+ + + + + + + + +
STexture* Athena::Sakura::SpriteFile::texture (atUint32 id)
+
+ +

texture

+
Parameters
+ + +
id
+
+
+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint32 Athena::Sakura::SpriteFile::width () const
+
+ +

width

+
Returns
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1_sakura_1_1_sprite_file.js b/docs/class_athena_1_1_sakura_1_1_sprite_file.js new file mode 100644 index 0000000..3ba5bf1 --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_sprite_file.js @@ -0,0 +1,30 @@ +var class_athena_1_1_sakura_1_1_sprite_file = +[ + [ "SpriteFile", "class_athena_1_1_sakura_1_1_sprite_file.html#a6a0c272742273e708c979db0d2a11cfb", null ], + [ "SpriteFile", "class_athena_1_1_sakura_1_1_sprite_file.html#a4690a71a2e16b296a58e27e442dda10a", null ], + [ "SpriteFile", "class_athena_1_1_sakura_1_1_sprite_file.html#ad4034f554a3d9b6e0c1b7404db475c84", null ], + [ "~SpriteFile", "class_athena_1_1_sakura_1_1_sprite_file.html#adfc0d0a07b85b6870f563bfd6f7899d6", null ], + [ "addSprite", "class_athena_1_1_sakura_1_1_sprite_file.html#a1014f68eac10f22446f12eb8220fbfb5", null ], + [ "addTexture", "class_athena_1_1_sakura_1_1_sprite_file.html#a0bfe13005f665b92acc04a43e0e0b082", null ], + [ "height", "class_athena_1_1_sakura_1_1_sprite_file.html#a0429bb9b9f3e84ffbdb455970f12353c", null ], + [ "origin", "class_athena_1_1_sakura_1_1_sprite_file.html#a3c7aa3dc5c830ce218c322a4ee861345", null ], + [ "originX", "class_athena_1_1_sakura_1_1_sprite_file.html#a68a774af3246e1125c1ce71306a45350", null ], + [ "originY", "class_athena_1_1_sakura_1_1_sprite_file.html#ab1034dd4cc6889fc1ca7c89324a0a03e", null ], + [ "removeSprite", "class_athena_1_1_sakura_1_1_sprite_file.html#a9b0459c2a25bdd4d925708bccfe48df1", null ], + [ "removeSprite", "class_athena_1_1_sakura_1_1_sprite_file.html#ab5b9f0d302b34fcf64d2dd9479d74307", null ], + [ "removeTexture", "class_athena_1_1_sakura_1_1_sprite_file.html#aa74ab3ea1ecaaa9397a9d382e5df1318", null ], + [ "setOrigin", "class_athena_1_1_sakura_1_1_sprite_file.html#a5028868ff0aeed65fe9029a5c3dfd024", null ], + [ "setOrigin", "class_athena_1_1_sakura_1_1_sprite_file.html#a5f6992300f7a8a2e9aa4b187601da11e", null ], + [ "setSize", "class_athena_1_1_sakura_1_1_sprite_file.html#ac5cdb7fcad73a4af9a194efb52e81858", null ], + [ "setSize", "class_athena_1_1_sakura_1_1_sprite_file.html#a053c29d1cf3af42d1f8af0a712949312", null ], + [ "setSprites", "class_athena_1_1_sakura_1_1_sprite_file.html#a1716aed640531c10dd78ab42c1a7502c", null ], + [ "setTextures", "class_athena_1_1_sakura_1_1_sprite_file.html#ac130275c65d721f968cde86ea609640e", null ], + [ "size", "class_athena_1_1_sakura_1_1_sprite_file.html#adc50a6a07801cd4a2556a92993a65fc9", null ], + [ "sprite", "class_athena_1_1_sakura_1_1_sprite_file.html#a05a595ad655c9c23d74b2cfbc95a2350", null ], + [ "spriteCount", "class_athena_1_1_sakura_1_1_sprite_file.html#a9240be78f33d7ebb7996d1ba960e5342", null ], + [ "sprites", "class_athena_1_1_sakura_1_1_sprite_file.html#a5e059cbe3a89532149cfa93b376200f0", null ], + [ "texture", "class_athena_1_1_sakura_1_1_sprite_file.html#aef6a04151c322e0b77dc5d2de4be3f43", null ], + [ "textureCount", "class_athena_1_1_sakura_1_1_sprite_file.html#a9c48d598ffa44acfbd4cf6e69510ae0f", null ], + [ "textures", "class_athena_1_1_sakura_1_1_sprite_file.html#add9b7a7418bfb7cbab86ca5f65846880", null ], + [ "width", "class_athena_1_1_sakura_1_1_sprite_file.html#a538738ddf7ec6dade685675bc5476065", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1_sakura_1_1_sprite_file__coll__graph.map b/docs/class_athena_1_1_sakura_1_1_sprite_file__coll__graph.map new file mode 100644 index 0000000..c5d1c13 --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_sprite_file__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/class_athena_1_1_sakura_1_1_sprite_file__coll__graph.md5 b/docs/class_athena_1_1_sakura_1_1_sprite_file__coll__graph.md5 new file mode 100644 index 0000000..c399ef4 --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_sprite_file__coll__graph.md5 @@ -0,0 +1 @@ +914e686f6b1eed4b3df47367d8fcc568 \ No newline at end of file diff --git a/docs/class_athena_1_1_sakura_1_1_sprite_file__coll__graph.png b/docs/class_athena_1_1_sakura_1_1_sprite_file__coll__graph.png new file mode 100644 index 0000000..44d7abd Binary files /dev/null and b/docs/class_athena_1_1_sakura_1_1_sprite_file__coll__graph.png differ diff --git a/docs/class_athena_1_1_sakura_1_1_sprite_frame-members.html b/docs/class_athena_1_1_sakura_1_1_sprite_frame-members.html new file mode 100644 index 0000000..505ba69 --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_sprite_frame-members.html @@ -0,0 +1,134 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::Sakura::SpriteFrame Member List
+
+
+ +

This is the complete list of members for Athena::Sakura::SpriteFrame, including all inherited members.

+ + + + + + + + + + +
frameTime() const Athena::Sakura::SpriteFrame
partCount() const (defined in Athena::Sakura::SpriteFrame)Athena::Sakura::SpriteFrame
parts() const (defined in Athena::Sakura::SpriteFrame)Athena::Sakura::SpriteFrame
root() const (defined in Athena::Sakura::SpriteFrame)Athena::Sakura::SpriteFrame
setFrameTime(float frameTime)Athena::Sakura::SpriteFrame
setParts(std::vector< SpritePart * > parts) (defined in Athena::Sakura::SpriteFrame)Athena::Sakura::SpriteFrame
setRoot(Sprite *root) (defined in Athena::Sakura::SpriteFrame)Athena::Sakura::SpriteFrame
SpriteFrame()Athena::Sakura::SpriteFrame
SpriteFrame(Sprite *root) (defined in Athena::Sakura::SpriteFrame)Athena::Sakura::SpriteFrame
+
+ + + + diff --git a/docs/class_athena_1_1_sakura_1_1_sprite_frame.html b/docs/class_athena_1_1_sakura_1_1_sprite_frame.html new file mode 100644 index 0000000..95ecff1 --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_sprite_frame.html @@ -0,0 +1,212 @@ + + + + + + +Athena IO Library: Athena::Sakura::SpriteFrame Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::Sakura::SpriteFrame Class Reference
+
+
+
+Collaboration diagram for Athena::Sakura::SpriteFrame:
+
+
Collaboration graph
+
+ + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

SpriteFrame ()
 SSpriteFrame.
 
SpriteFrame (Sprite *root)
 
void setFrameTime (float frameTime)
 setFrameTime More...
 
float frameTime () const
 frameTime More...
 
+void setParts (std::vector< SpritePart * > parts)
 
+std::vector< SpritePart * > parts () const
 
+atUint32 partCount () const
 
+void setRoot (Sprite *root)
 
+Spriteroot () const
 
+

Detailed Description

+
+

Definition at line 39 of file SpriteFrame.hpp.

+

Member Function Documentation

+ +
+
+ + + + + + + +
float Athena::Sakura::SpriteFrame::frameTime () const
+
+ +

frameTime

+
Returns
+ +
+
+ +
+
+ + + + + + + + +
void Athena::Sakura::SpriteFrame::setFrameTime (float frameTime)
+
+ +

setFrameTime

+
Parameters
+ + +
frameTime
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1_sakura_1_1_sprite_frame.js b/docs/class_athena_1_1_sakura_1_1_sprite_frame.js new file mode 100644 index 0000000..5afe9e6 --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_sprite_frame.js @@ -0,0 +1,12 @@ +var class_athena_1_1_sakura_1_1_sprite_frame = +[ + [ "SpriteFrame", "class_athena_1_1_sakura_1_1_sprite_frame.html#a8a5873170a4bb9b2526371d55de93066", null ], + [ "SpriteFrame", "class_athena_1_1_sakura_1_1_sprite_frame.html#ae1feefb124be5fdd49896d9471b15c90", null ], + [ "frameTime", "class_athena_1_1_sakura_1_1_sprite_frame.html#a87d3dcf7c8f25355ce34372cd32bc052", null ], + [ "partCount", "class_athena_1_1_sakura_1_1_sprite_frame.html#aeb1616191c63ed40c3daf3fa081dfaa9", null ], + [ "parts", "class_athena_1_1_sakura_1_1_sprite_frame.html#a66d1303f32a7ecef255cb357a1437078", null ], + [ "root", "class_athena_1_1_sakura_1_1_sprite_frame.html#a472aa1d2a772c7bb480583eeb307885d", null ], + [ "setFrameTime", "class_athena_1_1_sakura_1_1_sprite_frame.html#abfc7f9cf6482528cf03ee2f376a3e384", null ], + [ "setParts", "class_athena_1_1_sakura_1_1_sprite_frame.html#aeb28aa262bead48063f8363da9b11efc", null ], + [ "setRoot", "class_athena_1_1_sakura_1_1_sprite_frame.html#a19a711c77121ee36a76f47491abef2e5", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1_sakura_1_1_sprite_frame__coll__graph.map b/docs/class_athena_1_1_sakura_1_1_sprite_frame__coll__graph.map new file mode 100644 index 0000000..d89e684 --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_sprite_frame__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/class_athena_1_1_sakura_1_1_sprite_frame__coll__graph.md5 b/docs/class_athena_1_1_sakura_1_1_sprite_frame__coll__graph.md5 new file mode 100644 index 0000000..c70b073 --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_sprite_frame__coll__graph.md5 @@ -0,0 +1 @@ +18f985e293da35e651f766d233e2e937 \ No newline at end of file diff --git a/docs/class_athena_1_1_sakura_1_1_sprite_frame__coll__graph.png b/docs/class_athena_1_1_sakura_1_1_sprite_frame__coll__graph.png new file mode 100644 index 0000000..cf17d40 Binary files /dev/null and b/docs/class_athena_1_1_sakura_1_1_sprite_frame__coll__graph.png differ diff --git a/docs/class_athena_1_1_sakura_1_1_sprite_part-members.html b/docs/class_athena_1_1_sakura_1_1_sprite_part-members.html new file mode 100644 index 0000000..1728bec --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_sprite_part-members.html @@ -0,0 +1,147 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::Sakura::SpritePart Member List
+
+
+ +

This is the complete list of members for Athena::Sakura::SpritePart, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + +
flippedHorizontally() const Athena::Sakura::SpritePart
flippedVertically() const Athena::Sakura::SpritePart
hasCollision() const (defined in Athena::Sakura::SpritePart)Athena::Sakura::SpritePart
name() const (defined in Athena::Sakura::SpritePart)Athena::Sakura::SpritePart
offset() const Athena::Sakura::SpritePart
root() const (defined in Athena::Sakura::SpritePart)Athena::Sakura::SpritePart
setCollision(bool col) (defined in Athena::Sakura::SpritePart)Athena::Sakura::SpritePart
setFlippedHorizontally(const bool val)Athena::Sakura::SpritePart
setFlippedVertically(const bool val)Athena::Sakura::SpritePart
setName(const std::string &name) (defined in Athena::Sakura::SpritePart)Athena::Sakura::SpritePart
setOffset(float x, float y)Athena::Sakura::SpritePart
setOffset(const Vector2Df &offset)Athena::Sakura::SpritePart
setRoot(SpriteFrame *root) (defined in Athena::Sakura::SpritePart)Athena::Sakura::SpritePart
setSize(atUint32 width, atUint32 height)Athena::Sakura::SpritePart
setSize(const Vector2Di &size)Athena::Sakura::SpritePart
setTextureOffset(float x, float y)Athena::Sakura::SpritePart
setTextureOffset(const Vector2Df &offset)Athena::Sakura::SpritePart
size() const Athena::Sakura::SpritePart
SpritePart(SpriteFrame *root) (defined in Athena::Sakura::SpritePart)Athena::Sakura::SpritePart
SpritePart(SpriteFrame *root, const std::string &name, bool hasCollision=false) (defined in Athena::Sakura::SpritePart)Athena::Sakura::SpritePart
textureOffset() const Athena::Sakura::SpritePart
~SpritePart() (defined in Athena::Sakura::SpritePart)Athena::Sakura::SpritePartvirtual
+
+ + + + diff --git a/docs/class_athena_1_1_sakura_1_1_sprite_part.html b/docs/class_athena_1_1_sakura_1_1_sprite_part.html new file mode 100644 index 0000000..a36a4ae --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_sprite_part.html @@ -0,0 +1,520 @@ + + + + + + +Athena IO Library: Athena::Sakura::SpritePart Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::Sakura::SpritePart Class Reference
+
+
+
+Collaboration diagram for Athena::Sakura::SpritePart:
+
+
Collaboration graph
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

SpritePart (SpriteFrame *root)
 
SpritePart (SpriteFrame *root, const std::string &name, bool hasCollision=false)
 
+void setName (const std::string &name)
 
+std::string name () const
 
+void setCollision (bool col)
 
+bool hasCollision () const
 
void setOffset (float x, float y)
 setOffset More...
 
void setOffset (const Vector2Df &offset)
 setOffset More...
 
Vector2Df offset () const
 offset More...
 
void setTextureOffset (float x, float y)
 setTextureOffset More...
 
void setTextureOffset (const Vector2Df &offset)
 setTextureOffset More...
 
Vector2Df textureOffset () const
 textureOffset More...
 
void setSize (atUint32 width, atUint32 height)
 setSize More...
 
void setSize (const Vector2Di &size)
 setSize More...
 
Vector2Di size () const
 size More...
 
void setFlippedHorizontally (const bool val)
 setFlippedHorizontally More...
 
bool flippedHorizontally () const
 flippedHorizontally More...
 
void setFlippedVertically (const bool val)
 setFlippedVertically More...
 
bool flippedVertically () const
 flippedVertically More...
 
+void setRoot (SpriteFrame *root)
 
+SpriteFrameroot () const
 
+

Detailed Description

+
+

Definition at line 39 of file SpritePart.hpp.

+

Member Function Documentation

+ +
+
+ + + + + + + +
bool Athena::Sakura::SpritePart::flippedHorizontally () const
+
+ +

flippedHorizontally

+
Returns
+ +
+
+ +
+
+ + + + + + + +
bool Athena::Sakura::SpritePart::flippedVertically () const
+
+ +

flippedVertically

+
Returns
+ +
+
+ +
+
+ + + + + + + +
Vector2Df Athena::Sakura::SpritePart::offset () const
+
+ +

offset

+
Returns
+ +
+
+ +
+
+ + + + + + + + +
void Athena::Sakura::SpritePart::setFlippedHorizontally (const bool val)
+
+ +

setFlippedHorizontally

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::Sakura::SpritePart::setFlippedVertically (const bool val)
+
+ +

setFlippedVertically

+
Parameters
+ + +
val
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Athena::Sakura::SpritePart::setOffset (float x,
float y 
)
+
+ +

setOffset

+
Parameters
+ + + +
x
y
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::Sakura::SpritePart::setOffset (const Vector2Dfoffset)
+
+ +

setOffset

+
Parameters
+ + +
offset
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Athena::Sakura::SpritePart::setSize (atUint32 width,
atUint32 height 
)
+
+ +

setSize

+
Parameters
+ + + +
width
height
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::Sakura::SpritePart::setSize (const Vector2Disize)
+
+ +

setSize

+
Parameters
+ + +
size
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Athena::Sakura::SpritePart::setTextureOffset (float x,
float y 
)
+
+ +

setTextureOffset

+
Parameters
+ + + +
x
y
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::Sakura::SpritePart::setTextureOffset (const Vector2Dfoffset)
+
+ +

setTextureOffset

+
Parameters
+ + +
texOff
+
+
+ +
+
+ +
+
+ + + + + + + +
Vector2Di Athena::Sakura::SpritePart::size () const
+
+ +

size

+
Returns
+ +
+
+ +
+
+ + + + + + + +
Vector2Df Athena::Sakura::SpritePart::textureOffset () const
+
+ +

textureOffset

+
Returns
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1_sakura_1_1_sprite_part.js b/docs/class_athena_1_1_sakura_1_1_sprite_part.js new file mode 100644 index 0000000..c791ec7 --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_sprite_part.js @@ -0,0 +1,25 @@ +var class_athena_1_1_sakura_1_1_sprite_part = +[ + [ "SpritePart", "class_athena_1_1_sakura_1_1_sprite_part.html#a72b78d532ea9f2fa96bfd2b7d288c04c", null ], + [ "SpritePart", "class_athena_1_1_sakura_1_1_sprite_part.html#a896d45ed8fdd753939ee68b599e4138c", null ], + [ "~SpritePart", "class_athena_1_1_sakura_1_1_sprite_part.html#a199fa3a4550f8c5c345aed0b9291ee5a", null ], + [ "flippedHorizontally", "class_athena_1_1_sakura_1_1_sprite_part.html#a82508b80a0448daf048d23bd408300e1", null ], + [ "flippedVertically", "class_athena_1_1_sakura_1_1_sprite_part.html#abfa7f9a4ef3755c68d8ee09018497ad9", null ], + [ "hasCollision", "class_athena_1_1_sakura_1_1_sprite_part.html#a1825197db103a301ea3e992be76aff41", null ], + [ "name", "class_athena_1_1_sakura_1_1_sprite_part.html#a8c157c331f7a7d3ad761440529f03b15", null ], + [ "offset", "class_athena_1_1_sakura_1_1_sprite_part.html#a7a9859244f9f769bdb732034a4852342", null ], + [ "root", "class_athena_1_1_sakura_1_1_sprite_part.html#a746db695a84645857bf9a2ef4dc83b51", null ], + [ "setCollision", "class_athena_1_1_sakura_1_1_sprite_part.html#a2fc95c207f4e0a2dc4b3587bc9f5f374", null ], + [ "setFlippedHorizontally", "class_athena_1_1_sakura_1_1_sprite_part.html#a1bb72765ab056627bd0222801d01b2dc", null ], + [ "setFlippedVertically", "class_athena_1_1_sakura_1_1_sprite_part.html#a3a2339aeaf01d6c3c888b23fdadfaf9d", null ], + [ "setName", "class_athena_1_1_sakura_1_1_sprite_part.html#aa290aa6369c6050b3056261518748bdb", null ], + [ "setOffset", "class_athena_1_1_sakura_1_1_sprite_part.html#a725b715cf75d951bd6a695fee2e3730d", null ], + [ "setOffset", "class_athena_1_1_sakura_1_1_sprite_part.html#a94fc2d5fd570478fccf0ec8e491f7e1e", null ], + [ "setRoot", "class_athena_1_1_sakura_1_1_sprite_part.html#ab99d942afad945d4e76f1ed576d39f7a", null ], + [ "setSize", "class_athena_1_1_sakura_1_1_sprite_part.html#aa12c5b9f1f8643044f37bcc531482c50", null ], + [ "setSize", "class_athena_1_1_sakura_1_1_sprite_part.html#a191c81a7fd3dd7535070e47dde301e09", null ], + [ "setTextureOffset", "class_athena_1_1_sakura_1_1_sprite_part.html#a04e752a3e79e4a82328e1b24fcdfb5d9", null ], + [ "setTextureOffset", "class_athena_1_1_sakura_1_1_sprite_part.html#a7177c286af1c28e1ba23af1101a6ab01", null ], + [ "size", "class_athena_1_1_sakura_1_1_sprite_part.html#ab7dc7c67db5406a66ab3434f008206c3", null ], + [ "textureOffset", "class_athena_1_1_sakura_1_1_sprite_part.html#a51d43cd362da203d52cf4fc3064e1b5b", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1_sakura_1_1_sprite_part__coll__graph.map b/docs/class_athena_1_1_sakura_1_1_sprite_part__coll__graph.map new file mode 100644 index 0000000..ff21b5c --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_sprite_part__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/class_athena_1_1_sakura_1_1_sprite_part__coll__graph.md5 b/docs/class_athena_1_1_sakura_1_1_sprite_part__coll__graph.md5 new file mode 100644 index 0000000..1a89c75 --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_sprite_part__coll__graph.md5 @@ -0,0 +1 @@ +0e9625ed1334a4dae343717bcf38666e \ No newline at end of file diff --git a/docs/class_athena_1_1_sakura_1_1_sprite_part__coll__graph.png b/docs/class_athena_1_1_sakura_1_1_sprite_part__coll__graph.png new file mode 100644 index 0000000..637aab6 Binary files /dev/null and b/docs/class_athena_1_1_sakura_1_1_sprite_part__coll__graph.png differ diff --git a/docs/class_athena_1_1_sakura_1_1_vector2_d-members.html b/docs/class_athena_1_1_sakura_1_1_vector2_d-members.html new file mode 100644 index 0000000..c731b2f --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_vector2_d-members.html @@ -0,0 +1,129 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::Sakura::Vector2D< T > Member List
+
+
+ +

This is the complete list of members for Athena::Sakura::Vector2D< T >, including all inherited members.

+ + + + + +
Vector2D() (defined in Athena::Sakura::Vector2D< T >)Athena::Sakura::Vector2D< T >inline
Vector2D(T x, T y) (defined in Athena::Sakura::Vector2D< T >)Athena::Sakura::Vector2D< T >inline
x (defined in Athena::Sakura::Vector2D< T >)Athena::Sakura::Vector2D< T >
y (defined in Athena::Sakura::Vector2D< T >)Athena::Sakura::Vector2D< T >
+
+ + + + diff --git a/docs/class_athena_1_1_sakura_1_1_vector2_d.html b/docs/class_athena_1_1_sakura_1_1_vector2_d.html new file mode 100644 index 0000000..5144566 --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_vector2_d.html @@ -0,0 +1,157 @@ + + + + + + +Athena IO Library: Athena::Sakura::Vector2D< T > Class Template Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::Sakura::Vector2D< T > Class Template Reference
+
+
+
+Collaboration diagram for Athena::Sakura::Vector2D< T >:
+
+
Collaboration graph
+
+ + + + +

+Public Member Functions

Vector2D (T x, T y)
 
+ + + + + +

+Public Attributes

+T x
 
+T y
 
+

Detailed Description

+

template<typename T>
+class Athena::Sakura::Vector2D< T >

+ + +

Definition at line 94 of file Global.hpp.

+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1_sakura_1_1_vector2_d.js b/docs/class_athena_1_1_sakura_1_1_vector2_d.js new file mode 100644 index 0000000..3895ded --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_vector2_d.js @@ -0,0 +1,7 @@ +var class_athena_1_1_sakura_1_1_vector2_d = +[ + [ "Vector2D", "class_athena_1_1_sakura_1_1_vector2_d.html#ac540618cc8e72d00887ff13a9ce6c79a", null ], + [ "Vector2D", "class_athena_1_1_sakura_1_1_vector2_d.html#aa32a18a6d2d9456157c1edfbbf37351c", null ], + [ "x", "class_athena_1_1_sakura_1_1_vector2_d.html#a57fffc33057407c056f83e40d30bd5a3", null ], + [ "y", "class_athena_1_1_sakura_1_1_vector2_d.html#a130ad5c992574079f316e05df3e5461e", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1_sakura_1_1_vector2_d__coll__graph.map b/docs/class_athena_1_1_sakura_1_1_vector2_d__coll__graph.map new file mode 100644 index 0000000..455528d --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_vector2_d__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/class_athena_1_1_sakura_1_1_vector2_d__coll__graph.md5 b/docs/class_athena_1_1_sakura_1_1_vector2_d__coll__graph.md5 new file mode 100644 index 0000000..0cd61c1 --- /dev/null +++ b/docs/class_athena_1_1_sakura_1_1_vector2_d__coll__graph.md5 @@ -0,0 +1 @@ +f49d69583f63038265974b768a8aff47 \ No newline at end of file diff --git a/docs/class_athena_1_1_sakura_1_1_vector2_d__coll__graph.png b/docs/class_athena_1_1_sakura_1_1_vector2_d__coll__graph.png new file mode 100644 index 0000000..e8b101b Binary files /dev/null and b/docs/class_athena_1_1_sakura_1_1_vector2_d__coll__graph.png differ diff --git a/docs/class_athena_1_1_skyward_sword_file-members.html b/docs/class_athena_1_1_skyward_sword_file-members.html new file mode 100644 index 0000000..2475da9 --- /dev/null +++ b/docs/class_athena_1_1_skyward_sword_file-members.html @@ -0,0 +1,137 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::SkywardSwordFile Member List
+
+
+ +

This is the complete list of members for Athena::SkywardSwordFile, including all inherited members.

+ + + + + + + + + + + + + +
addQuest(SkywardSwordQuest *q) (defined in Athena::SkywardSwordFile)Athena::SkywardSwordFile
EUMagic enum value (defined in Athena::SkywardSwordFile)Athena::SkywardSwordFile
JAMagic enum value (defined in Athena::SkywardSwordFile)Athena::SkywardSwordFile
MagicNumbers enum name (defined in Athena::SkywardSwordFile)Athena::SkywardSwordFile
quest(atUint32 id) (defined in Athena::SkywardSwordFile)Athena::SkywardSwordFile
questList() const (defined in Athena::SkywardSwordFile)Athena::SkywardSwordFile
region() const (defined in Athena::SkywardSwordFile)Athena::SkywardSwordFile
setRegion(Region region) (defined in Athena::SkywardSwordFile)Athena::SkywardSwordFile
SkywardSwordFile() (defined in Athena::SkywardSwordFile)Athena::SkywardSwordFile
SkywardSwordFile(std::vector< SkywardSwordQuest * > quests) (defined in Athena::SkywardSwordFile)Athena::SkywardSwordFile
USMagic enum value (defined in Athena::SkywardSwordFile)Athena::SkywardSwordFile
~SkywardSwordFile() (defined in Athena::SkywardSwordFile)Athena::SkywardSwordFile
+
+ + + + diff --git a/docs/class_athena_1_1_skyward_sword_file.html b/docs/class_athena_1_1_skyward_sword_file.html new file mode 100644 index 0000000..59b7ca1 --- /dev/null +++ b/docs/class_athena_1_1_skyward_sword_file.html @@ -0,0 +1,168 @@ + + + + + + +Athena IO Library: Athena::SkywardSwordFile Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::SkywardSwordFile Class Reference
+
+
+
+Collaboration diagram for Athena::SkywardSwordFile:
+
+
Collaboration graph
+
+ + + + +

+Public Types

enum  MagicNumbers { USMagic = 0x534F5545, +JAMagic = 0x534F554A, +EUMagic = 0x534F5550 + }
 
+ + + + + + + + + + + + + +

+Public Member Functions

SkywardSwordFile (std::vector< SkywardSwordQuest * > quests)
 
+void addQuest (SkywardSwordQuest *q)
 
+SkywardSwordQuestquest (atUint32 id)
 
+std::vector< SkywardSwordQuest * > questList () const
 
+void setRegion (Region region)
 
+Region region () const
 
+

Detailed Description

+
+

Definition at line 36 of file SkywardSwordFile.hpp.

+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1_skyward_sword_file.js b/docs/class_athena_1_1_skyward_sword_file.js new file mode 100644 index 0000000..3c3f17a --- /dev/null +++ b/docs/class_athena_1_1_skyward_sword_file.js @@ -0,0 +1,16 @@ +var class_athena_1_1_skyward_sword_file = +[ + [ "MagicNumbers", "class_athena_1_1_skyward_sword_file.html#ac20861636014bd546f63017e262e69f6", [ + [ "USMagic", "class_athena_1_1_skyward_sword_file.html#ac20861636014bd546f63017e262e69f6a45b91dd888b7b207752d80d2bac9d31f", null ], + [ "JAMagic", "class_athena_1_1_skyward_sword_file.html#ac20861636014bd546f63017e262e69f6aa884bd8093ca51f495c454577b5231bc", null ], + [ "EUMagic", "class_athena_1_1_skyward_sword_file.html#ac20861636014bd546f63017e262e69f6a20740e842b491a9848aab897daf9fe72", null ] + ] ], + [ "SkywardSwordFile", "class_athena_1_1_skyward_sword_file.html#a7cde079f58d607de4a8bc1f696d68dd5", null ], + [ "SkywardSwordFile", "class_athena_1_1_skyward_sword_file.html#ae52a9372d303b05ccb9d814bffd292c5", null ], + [ "~SkywardSwordFile", "class_athena_1_1_skyward_sword_file.html#a05b3ca3b146f3ec2c6acb85e59ab4aa0", null ], + [ "addQuest", "class_athena_1_1_skyward_sword_file.html#a8af5e43b855699a349872f31a2f1066b", null ], + [ "quest", "class_athena_1_1_skyward_sword_file.html#a560d9d79bf0e059e54838734b00e4b9d", null ], + [ "questList", "class_athena_1_1_skyward_sword_file.html#a645766558b3811f93f9dd1dff1b14eea", null ], + [ "region", "class_athena_1_1_skyward_sword_file.html#a9fba5366f21d1a3d42cb96fb115284c9", null ], + [ "setRegion", "class_athena_1_1_skyward_sword_file.html#a7a3969787bc54cd8beded879ad779af9", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1_skyward_sword_file__coll__graph.map b/docs/class_athena_1_1_skyward_sword_file__coll__graph.map new file mode 100644 index 0000000..e77e5b0 --- /dev/null +++ b/docs/class_athena_1_1_skyward_sword_file__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/class_athena_1_1_skyward_sword_file__coll__graph.md5 b/docs/class_athena_1_1_skyward_sword_file__coll__graph.md5 new file mode 100644 index 0000000..b2e8651 --- /dev/null +++ b/docs/class_athena_1_1_skyward_sword_file__coll__graph.md5 @@ -0,0 +1 @@ +c6446039a178b0b18e55a52c16488e9f \ No newline at end of file diff --git a/docs/class_athena_1_1_skyward_sword_file__coll__graph.png b/docs/class_athena_1_1_skyward_sword_file__coll__graph.png new file mode 100644 index 0000000..a7fa7a8 Binary files /dev/null and b/docs/class_athena_1_1_skyward_sword_file__coll__graph.png differ diff --git a/docs/class_athena_1_1_skyward_sword_quest-members.html b/docs/class_athena_1_1_skyward_sword_quest-members.html new file mode 100644 index 0000000..23dc33c --- /dev/null +++ b/docs/class_athena_1_1_skyward_sword_quest-members.html @@ -0,0 +1,199 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::SkywardSwordQuest Member List
+
+
+ +

This is the complete list of members for Athena::SkywardSwordQuest, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ALBW enum valueAthena::ZQuestFile
ALttP enum valueAthena::ZQuestFile
ammoCount(AmmoType type) (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
AmmoType enum name (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
AoL enum valueAthena::ZQuestFile
Arrows enum value (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
Bombs enum value (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
currentArea() (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
currentHearts() (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
currentHP() (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
currentLocation() (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
currentLocationCopy() (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
data() const Athena::ZQuestFile
endian() const Athena::ZQuestFile
fixChecksums() (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
FS enum valueAthena::ZQuestFile
FSA enum valueAthena::ZQuestFile
Game enum nameAthena::ZQuestFile
game() const Athena::ZQuestFile
GameCount enum valueAthena::ZQuestFile
gameString() const Athena::ZQuestFile
gameStringList() (defined in Athena::ZQuestFile)Athena::ZQuestFilestatic
isNew() const (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
LA enum valueAthena::ZQuestFile
length() const Athena::ZQuestFile
LoZ enum valueAthena::ZQuestFile
m_data (defined in Athena::ZQuestFile)Athena::ZQuestFileprotected
m_endian (defined in Athena::ZQuestFile)Athena::ZQuestFileprotected
m_game (defined in Athena::ZQuestFile)Athena::ZQuestFileprotected
m_gameString (defined in Athena::ZQuestFile)Athena::ZQuestFileprotected
m_length (defined in Athena::ZQuestFile)Athena::ZQuestFileprotected
MagicAthena::ZQuestFilestatic
MajorAthena::ZQuestFilestatic
maxHearts() (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
maxHP() (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
MC enum valueAthena::ZQuestFile
MinorAthena::ZQuestFilestatic
MM enum valueAthena::ZQuestFile
NoGame enum valueAthena::ZQuestFile
OoA enum valueAthena::ZQuestFile
OoS enum valueAthena::ZQuestFile
OoT enum valueAthena::ZQuestFile
OoT3D enum valueAthena::ZQuestFile
PH enum valueAthena::ZQuestFile
playerName() const (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
RevisionAthena::ZQuestFilestatic
rupeeCount() (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
Seeds enum value (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
setAmmoCount(AmmoType type, atUint32 count) (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
setCurrentHP(atUint16 val) (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
setData(atUint8 *data, atUint32 length)Athena::ZQuestFile
setEndian(Endian endian)Athena::ZQuestFile
setGame(Game game)Athena::ZQuestFile
setGameString(const std::string &gameString) (defined in Athena::ZQuestFile)Athena::ZQuestFile
setMaxHP(atUint16 val) (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
setNew(bool isNew) (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
setPlayerName(const std::string &name) (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
setRupeeCount(atUint16 value) (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
setSkipData(const atUint8 *data) (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
setSpawnHP(atUint16 val) (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
skipChecksum() (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
skipData() const (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
SkywardSwordQuest(atUint8 *data, atUint32 len) (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
slotChecksum() (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
spawnHearts() (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
spawnHP() (defined in Athena::SkywardSwordQuest)Athena::SkywardSwordQuest
SS enum valueAthena::ZQuestFile
ST enum valueAthena::ZQuestFile
TP enum valueAthena::ZQuestFile
VersionAthena::ZQuestFilestatic
WW enum valueAthena::ZQuestFile
ZQuestFile()Athena::ZQuestFile
ZQuestFile(Game game, Endian endian, atUint8 *data, atUint32 length, const std::string &gameString=std::string())Athena::ZQuestFile
~ZQuestFile() (defined in Athena::ZQuestFile)Athena::ZQuestFile
+
+ + + + diff --git a/docs/class_athena_1_1_skyward_sword_quest.html b/docs/class_athena_1_1_skyward_sword_quest.html new file mode 100644 index 0000000..15c4de7 --- /dev/null +++ b/docs/class_athena_1_1_skyward_sword_quest.html @@ -0,0 +1,346 @@ + + + + + + +Athena IO Library: Athena::SkywardSwordQuest Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::SkywardSwordQuest Class Reference
+
+
+
+Inheritance diagram for Athena::SkywardSwordQuest:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::SkywardSwordQuest:
+
+
Collaboration graph
+ + +
+ + + + + + + + +

+Public Types

enum  AmmoType { Arrows, +Bombs, +Seeds + }
 
- Public Types inherited from Athena::ZQuestFile
enum  Game {
+  NoGame, +LoZ, +AoL, +ALttP, +
+  LA, +OoT, +OoT3D, +MM, +
+  OoS, +OoA, +FS, +WW, +
+  FSA, +MC, +TP, +PH, +
+  ST, +SS, +ALBW, +GameCount +
+ }
 The list of games currently supported by ZQuest. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

SkywardSwordQuest (atUint8 *data, atUint32 len)
 
+void setPlayerName (const std::string &name)
 
+std::string playerName () const
 
+void setRupeeCount (atUint16 value)
 
+atUint16 rupeeCount ()
 
+void setAmmoCount (AmmoType type, atUint32 count)
 
+atUint32 ammoCount (AmmoType type)
 
+void setMaxHP (atUint16 val)
 
+atUint16 maxHP ()
 
+float maxHearts ()
 
+void setSpawnHP (atUint16 val)
 
+atUint16 spawnHP ()
 
+float spawnHearts ()
 
+void setCurrentHP (atUint16 val)
 
+atUint16 currentHP ()
 
+float currentHearts ()
 
+std::string currentLocation ()
 
+std::string currentArea ()
 
+std::string currentLocationCopy ()
 
+void setSkipData (const atUint8 *data)
 
+atUint8 * skipData () const
 
+atUint32 slotChecksum ()
 
+atUint32 skipChecksum ()
 
+void fixChecksums ()
 
+void setNew (bool isNew)
 
+bool isNew () const
 
- Public Member Functions inherited from Athena::ZQuestFile
ZQuestFile ()
 ZQuest.
 
 ZQuestFile (Game game, Endian endian, atUint8 *data, atUint32 length, const std::string &gameString=std::string())
 ZQuest. More...
 
void setGame (Game game)
 setGame More...
 
Game game () const
 game More...
 
void setEndian (Endian endian)
 setEndian More...
 
Endian endian () const
 endian More...
 
void setData (atUint8 *data, atUint32 length)
 setData More...
 
atUint8 * data () const
 data More...
 
atUint32 length () const
 length More...
 
+void setGameString (const std::string &gameString)
 
std::string gameString () const
 gameString More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Athena::ZQuestFile
+static const std::vector< std::string > gameStringList ()
 
- Static Public Attributes inherited from Athena::ZQuestFile
+static const atUint32 Major
 The current major version of the ZQuest format.
 
+static const atUint32 Minor
 The current minor version of the ZQuest format.
 
+static const atUint32 Revision
 The current revision of the ZQuest format.
 
+static const atUint32 Version
 The current version of the ZQuest format.
 
+static const atUint32 Magic
 The magic number used to identify the file e.g. "ZQS1".
 
- Protected Attributes inherited from Athena::ZQuestFile
+Game m_game
 
+std::string m_gameString
 
+Endian m_endian
 
+atUint8 * m_data
 
+atUint32 m_length
 
+

Detailed Description

+
+

Definition at line 27 of file SkywardSwordQuest.hpp.

+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1_skyward_sword_quest.js b/docs/class_athena_1_1_skyward_sword_quest.js new file mode 100644 index 0000000..f353029 --- /dev/null +++ b/docs/class_athena_1_1_skyward_sword_quest.js @@ -0,0 +1,34 @@ +var class_athena_1_1_skyward_sword_quest = +[ + [ "AmmoType", "class_athena_1_1_skyward_sword_quest.html#a7ec745d266a2c04a6c12d67485975982", [ + [ "Arrows", "class_athena_1_1_skyward_sword_quest.html#a7ec745d266a2c04a6c12d67485975982a6bce1af99f2c9d45ce587d1f0e06ac43", null ], + [ "Bombs", "class_athena_1_1_skyward_sword_quest.html#a7ec745d266a2c04a6c12d67485975982aad29149270cf07b706872883db8f1c41", null ], + [ "Seeds", "class_athena_1_1_skyward_sword_quest.html#a7ec745d266a2c04a6c12d67485975982ae8e95cdee353f4cb57bed0d759713641", null ] + ] ], + [ "SkywardSwordQuest", "class_athena_1_1_skyward_sword_quest.html#a1819e588fab20fb8cb18225982f3211c", null ], + [ "ammoCount", "class_athena_1_1_skyward_sword_quest.html#a93aa44dbc96b07ad4d3d395c60cdb9ff", null ], + [ "currentArea", "class_athena_1_1_skyward_sword_quest.html#a67089817088aed2daed6724a0e8b973a", null ], + [ "currentHearts", "class_athena_1_1_skyward_sword_quest.html#ab75fadc3a697a662494d4e9c4490d00a", null ], + [ "currentHP", "class_athena_1_1_skyward_sword_quest.html#a6e476eb7a2f924e9cc80c9c0a5e076ac", null ], + [ "currentLocation", "class_athena_1_1_skyward_sword_quest.html#a9c339b63b0f0fad74f320d3c69c671a3", null ], + [ "currentLocationCopy", "class_athena_1_1_skyward_sword_quest.html#a1f2ad4d06918d250bce2971911af5d63", null ], + [ "fixChecksums", "class_athena_1_1_skyward_sword_quest.html#ac0b75a0985e6f0eb5afed617bef474ef", null ], + [ "isNew", "class_athena_1_1_skyward_sword_quest.html#afac4ec6fe60001b60000b4d8fcd6deb8", null ], + [ "maxHearts", "class_athena_1_1_skyward_sword_quest.html#a73a6ca5e4474c2a51078b00d6ffef8f7", null ], + [ "maxHP", "class_athena_1_1_skyward_sword_quest.html#a53d720d841d890b6ba989712017bd6a8", null ], + [ "playerName", "class_athena_1_1_skyward_sword_quest.html#a715b9ff75c94c713c43bf1829334160c", null ], + [ "rupeeCount", "class_athena_1_1_skyward_sword_quest.html#a4186a972e7c0fbf7adbf11d707f4e71d", null ], + [ "setAmmoCount", "class_athena_1_1_skyward_sword_quest.html#a99b40e6d4cd3989149808beee45429ba", null ], + [ "setCurrentHP", "class_athena_1_1_skyward_sword_quest.html#ac6f6e68670db5187a477adf82fa29c5a", null ], + [ "setMaxHP", "class_athena_1_1_skyward_sword_quest.html#ac4e4f1db0e95453d059fefde8edbc8ae", null ], + [ "setNew", "class_athena_1_1_skyward_sword_quest.html#a4d630112a6046a1cc0ffabf2a0bac18e", null ], + [ "setPlayerName", "class_athena_1_1_skyward_sword_quest.html#a40a13fe73db86ced534df81fc242ab2d", null ], + [ "setRupeeCount", "class_athena_1_1_skyward_sword_quest.html#a8c94d81afdc6b73d6544c3a782418678", null ], + [ "setSkipData", "class_athena_1_1_skyward_sword_quest.html#af5bc02deba8e62ae0bb9b809abeb0aec", null ], + [ "setSpawnHP", "class_athena_1_1_skyward_sword_quest.html#ac992219731d84e0740e74860cdd009c2", null ], + [ "skipChecksum", "class_athena_1_1_skyward_sword_quest.html#a4a03d8cbbd29177ff3700fd9ef87dd35", null ], + [ "skipData", "class_athena_1_1_skyward_sword_quest.html#ad6a200cbf7dee6c3289acc44dfedc3ed", null ], + [ "slotChecksum", "class_athena_1_1_skyward_sword_quest.html#aeab71ef5bad0655011fa96166d9b5ed2", null ], + [ "spawnHearts", "class_athena_1_1_skyward_sword_quest.html#a8b72ae4f8eef421d62ae7ee8450c5507", null ], + [ "spawnHP", "class_athena_1_1_skyward_sword_quest.html#a05cf0bffb933dc60509702c9f011babe", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1_skyward_sword_quest__coll__graph.map b/docs/class_athena_1_1_skyward_sword_quest__coll__graph.map new file mode 100644 index 0000000..5256d29 --- /dev/null +++ b/docs/class_athena_1_1_skyward_sword_quest__coll__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/class_athena_1_1_skyward_sword_quest__coll__graph.md5 b/docs/class_athena_1_1_skyward_sword_quest__coll__graph.md5 new file mode 100644 index 0000000..056d1ec --- /dev/null +++ b/docs/class_athena_1_1_skyward_sword_quest__coll__graph.md5 @@ -0,0 +1 @@ +cf2b37682f7fbae08bbfd78ef5ef1ded \ No newline at end of file diff --git a/docs/class_athena_1_1_skyward_sword_quest__coll__graph.png b/docs/class_athena_1_1_skyward_sword_quest__coll__graph.png new file mode 100644 index 0000000..37486a8 Binary files /dev/null and b/docs/class_athena_1_1_skyward_sword_quest__coll__graph.png differ diff --git a/docs/class_athena_1_1_skyward_sword_quest__inherit__graph.map b/docs/class_athena_1_1_skyward_sword_quest__inherit__graph.map new file mode 100644 index 0000000..5256d29 --- /dev/null +++ b/docs/class_athena_1_1_skyward_sword_quest__inherit__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/class_athena_1_1_skyward_sword_quest__inherit__graph.md5 b/docs/class_athena_1_1_skyward_sword_quest__inherit__graph.md5 new file mode 100644 index 0000000..056d1ec --- /dev/null +++ b/docs/class_athena_1_1_skyward_sword_quest__inherit__graph.md5 @@ -0,0 +1 @@ +cf2b37682f7fbae08bbfd78ef5ef1ded \ No newline at end of file diff --git a/docs/class_athena_1_1_skyward_sword_quest__inherit__graph.png b/docs/class_athena_1_1_skyward_sword_quest__inherit__graph.png new file mode 100644 index 0000000..37486a8 Binary files /dev/null and b/docs/class_athena_1_1_skyward_sword_quest__inherit__graph.png differ diff --git a/docs/class_athena_1_1_wii_banner-members.html b/docs/class_athena_1_1_wii_banner-members.html new file mode 100644 index 0000000..ed64b88 --- /dev/null +++ b/docs/class_athena_1_1_wii_banner-members.html @@ -0,0 +1,151 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::WiiBanner Member List
+
+
+ +

This is the complete list of members for Athena::WiiBanner, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
addIcon(WiiImage *icon)Athena::WiiBanner
animationSpeed() const Athena::WiiBanner
bannerImage() const Athena::WiiBanner
bannerSize() const Athena::WiiBanner
Bounce enum value (defined in Athena::WiiBanner)Athena::WiiBanner
flags() const Athena::WiiBanner
gameID() const Athena::WiiBanner
getIcon(atUint32 id) const Athena::WiiBanner
icons() const Athena::WiiBanner
NoCopy enum value (defined in Athena::WiiBanner)Athena::WiiBanner
NoCopyBounce enum value (defined in Athena::WiiBanner)Athena::WiiBanner
permissions() const Athena::WiiBanner
setAnimationSpeed(atUint16 animSpeed)Athena::WiiBanner
setBannerImage(WiiImage *banner)Athena::WiiBanner
setBannerSize(atUint32 size)Athena::WiiBanner
setFlags(atUint32 flags)Athena::WiiBanner
setGameID(atUint64 id)Athena::WiiBanner
setIcon(atUint32 id, WiiImage *icon)Athena::WiiBanner
setPermissions(atUint8 permissions)Athena::WiiBanner
setSubtitle(const std::string &subtitle)Athena::WiiBanner
setTitle(const std::string &title)Athena::WiiBanner
subtitle() const Athena::WiiBanner
title() const Athena::WiiBanner
WiiBanner()Athena::WiiBanner
WiiBanner(atUint32 gameId, const std::string &title, const std::string &subtitle, WiiImage *m_banner, std::vector< WiiImage * > icons)Athena::WiiBanner
~WiiBanner() (defined in Athena::WiiBanner)Athena::WiiBannervirtual
+
+ + + + diff --git a/docs/class_athena_1_1_wii_banner.html b/docs/class_athena_1_1_wii_banner.html new file mode 100644 index 0000000..7979c7c --- /dev/null +++ b/docs/class_athena_1_1_wii_banner.html @@ -0,0 +1,720 @@ + + + + + + +Athena IO Library: Athena::WiiBanner Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::WiiBanner Class Reference
+
+
+ +

Wii banner container class. + More...

+ +

#include <WiiBanner.hpp>

+
+Collaboration diagram for Athena::WiiBanner:
+
+
Collaboration graph
+
+ + + + +

+Public Types

enum  { NoCopy = 0x00000001, +Bounce = 0x00000010, +NoCopyBounce = NoCopy | Bounce + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

WiiBanner ()
 WiiBanner.
 
 WiiBanner (atUint32 gameId, const std::string &title, const std::string &subtitle, WiiImage *m_banner, std::vector< WiiImage * > icons)
 WiiBanner. More...
 
void setGameID (atUint64 id)
 setGameID More...
 
atUint64 gameID () const
 gameID More...
 
void setBannerImage (WiiImage *banner)
 setBannerImage More...
 
WiiImagebannerImage () const
 bannerImage More...
 
void setBannerSize (atUint32 size)
 setBannerSize More...
 
atUint32 bannerSize () const
 bannerSize More...
 
void setTitle (const std::string &title)
 setTitle More...
 
std::string title () const
 title More...
 
void setSubtitle (const std::string &subtitle)
 setSubtitle More...
 
std::string subtitle () const
 subtitle More...
 
void addIcon (WiiImage *icon)
 addIcon More...
 
void setIcon (atUint32 id, WiiImage *icon)
 setIcon More...
 
WiiImagegetIcon (atUint32 id) const
 getIcon More...
 
std::vector< WiiImage * > icons () const
 icons More...
 
void setAnimationSpeed (atUint16 animSpeed)
 setAnimationSpeed More...
 
atUint16 animationSpeed () const
 animationSpeed More...
 
void setPermissions (atUint8 permissions)
 setPermissions More...
 
atUint8 permissions () const
 permissions More...
 
void setFlags (atUint32 flags)
 setFlags More...
 
atUint32 flags () const
 flags More...
 
+

Detailed Description

+

Wii banner container class.

+

Contains all relevant data for a Wii banner.

+ +

Definition at line 33 of file WiiBanner.hpp.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Athena::WiiBanner::WiiBanner (atUint32 gameId,
const std::string & title,
const std::string & subtitle,
WiiImagem_banner,
std::vector< WiiImage * > icons 
)
+
+ +

WiiBanner.

+
Parameters
+ + + + + + +
gameId
title
subtitle
m_banner
icons
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
void Athena::WiiBanner::addIcon (WiiImageicon)
+
+ +

addIcon

+
Parameters
+ + +
icon
+
+
+ +
+
+ +
+
+ + + + + + + +
atUint16 Athena::WiiBanner::animationSpeed () const
+
+ +

animationSpeed

+
Returns
+ +
+
+ +
+
+ + + + + + + +
WiiImage* Athena::WiiBanner::bannerImage () const
+
+ +

bannerImage

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint32 Athena::WiiBanner::bannerSize () const
+
+ +

bannerSize

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint32 Athena::WiiBanner::flags () const
+
+ +

flags

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint64 Athena::WiiBanner::gameID () const
+
+ +

gameID

+
Returns
+ +
+
+ +
+
+ + + + + + + + +
WiiImage* Athena::WiiBanner::getIcon (atUint32 id) const
+
+ +

getIcon

+
Parameters
+ + +
id
+
+
+
Returns
+ +
+
+ +
+
+ + + + + + + +
std::vector<WiiImage*> Athena::WiiBanner::icons () const
+
+ +

icons

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint8 Athena::WiiBanner::permissions () const
+
+ +

permissions

+
Returns
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiBanner::setAnimationSpeed (atUint16 animSpeed)
+
+ +

setAnimationSpeed

+
Parameters
+ + +
animSpeed
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiBanner::setBannerImage (WiiImagebanner)
+
+ +

setBannerImage

+
Parameters
+ + +
banner
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiBanner::setBannerSize (atUint32 size)
+
+ +

setBannerSize

+
Parameters
+ + +
size
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiBanner::setFlags (atUint32 flags)
+
+ +

setFlags

+
Parameters
+ + +
flags
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiBanner::setGameID (atUint64 id)
+
+ +

setGameID

+
Parameters
+ + +
id
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Athena::WiiBanner::setIcon (atUint32 id,
WiiImageicon 
)
+
+ +

setIcon

+
Parameters
+ + + +
id
icon
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiBanner::setPermissions (atUint8 permissions)
+
+ +

setPermissions

+
Parameters
+ + +
permissions
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiBanner::setSubtitle (const std::string & subtitle)
+
+ +

setSubtitle

+
Parameters
+ + +
subtitle
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiBanner::setTitle (const std::string & title)
+
+ +

setTitle

+
Parameters
+ + +
title
+
+
+ +
+
+ +
+
+ + + + + + + +
std::string Athena::WiiBanner::subtitle () const
+
+ +

subtitle

+
Returns
+ +
+
+ +
+
+ + + + + + + +
std::string Athena::WiiBanner::title () const
+
+ +

title

+
Returns
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1_wii_banner.js b/docs/class_athena_1_1_wii_banner.js new file mode 100644 index 0000000..334b33e --- /dev/null +++ b/docs/class_athena_1_1_wii_banner.js @@ -0,0 +1,29 @@ +var class_athena_1_1_wii_banner = +[ + [ "NoCopy", "class_athena_1_1_wii_banner.html#a7e10d7423029b6d6f1d1163437565633a82890052ab3ee8cd728451d76dbc85c9", null ], + [ "Bounce", "class_athena_1_1_wii_banner.html#a7e10d7423029b6d6f1d1163437565633aca9d409438d0100438e236742ec45eb7", null ], + [ "NoCopyBounce", "class_athena_1_1_wii_banner.html#a7e10d7423029b6d6f1d1163437565633af1e75b3994de56250afd956c11a68952", null ], + [ "WiiBanner", "class_athena_1_1_wii_banner.html#a600a5cc07c4a9f57ff5eb1ab7cae5291", null ], + [ "WiiBanner", "class_athena_1_1_wii_banner.html#a850198124d181162b44b69a83b6a4534", null ], + [ "~WiiBanner", "class_athena_1_1_wii_banner.html#ade75273ea74b4ec91706a59cc5a19da1", null ], + [ "addIcon", "class_athena_1_1_wii_banner.html#aa64956915ff70482e1c42bbd4bd1120c", null ], + [ "animationSpeed", "class_athena_1_1_wii_banner.html#a2e2ab033f02da5d5faa0dadc310781af", null ], + [ "bannerImage", "class_athena_1_1_wii_banner.html#aa8dd87d586b5314d4f003b826c035c5f", null ], + [ "bannerSize", "class_athena_1_1_wii_banner.html#a29f0255172db477ad5a13cf43a26036f", null ], + [ "flags", "class_athena_1_1_wii_banner.html#aed33ea4d676f5e0c52c551c369ee36f7", null ], + [ "gameID", "class_athena_1_1_wii_banner.html#aaa3ca62533f98af53d6dc7195a1f4947", null ], + [ "getIcon", "class_athena_1_1_wii_banner.html#abfce662b38f678b3c03dfe0e472a2078", null ], + [ "icons", "class_athena_1_1_wii_banner.html#a01482d71a940b4e60b8e20501fde1de0", null ], + [ "permissions", "class_athena_1_1_wii_banner.html#a8c5274e75167bf1f10af48b827707cd6", null ], + [ "setAnimationSpeed", "class_athena_1_1_wii_banner.html#a3d760dd62e49462e680e332ad0098d29", null ], + [ "setBannerImage", "class_athena_1_1_wii_banner.html#ad0dd0baa53d9d251cbf62d2d1bd5a6a2", null ], + [ "setBannerSize", "class_athena_1_1_wii_banner.html#acffe5d1fb1b25ce464e2f7f84f1c7e5c", null ], + [ "setFlags", "class_athena_1_1_wii_banner.html#ae582bd37fb946ea968c2d0adb86cfec7", null ], + [ "setGameID", "class_athena_1_1_wii_banner.html#a2a6c5ab568f3268673097b3e1651360f", null ], + [ "setIcon", "class_athena_1_1_wii_banner.html#a521c41b7e9d810fc8be7f06c5ad64490", null ], + [ "setPermissions", "class_athena_1_1_wii_banner.html#ae41c6fa4c470fcface89a2bd9e1a3092", null ], + [ "setSubtitle", "class_athena_1_1_wii_banner.html#aa87e321d71bcd55e233a8369c42057ab", null ], + [ "setTitle", "class_athena_1_1_wii_banner.html#afefa7cbbd85e768d7ab9fa54d9576cd8", null ], + [ "subtitle", "class_athena_1_1_wii_banner.html#aeda9ea65eaf2253f37a525177446b54c", null ], + [ "title", "class_athena_1_1_wii_banner.html#a521e1b1d31ee53a894e27641fee41083", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1_wii_banner__coll__graph.map b/docs/class_athena_1_1_wii_banner__coll__graph.map new file mode 100644 index 0000000..b969757 --- /dev/null +++ b/docs/class_athena_1_1_wii_banner__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/class_athena_1_1_wii_banner__coll__graph.md5 b/docs/class_athena_1_1_wii_banner__coll__graph.md5 new file mode 100644 index 0000000..d76572c --- /dev/null +++ b/docs/class_athena_1_1_wii_banner__coll__graph.md5 @@ -0,0 +1 @@ +272ac3a1b1a439bf7801b1595aea2ccf \ No newline at end of file diff --git a/docs/class_athena_1_1_wii_banner__coll__graph.png b/docs/class_athena_1_1_wii_banner__coll__graph.png new file mode 100644 index 0000000..455ce22 Binary files /dev/null and b/docs/class_athena_1_1_wii_banner__coll__graph.png differ diff --git a/docs/class_athena_1_1_wii_file-members.html b/docs/class_athena_1_1_wii_file-members.html new file mode 100644 index 0000000..ddfa8c7 --- /dev/null +++ b/docs/class_athena_1_1_wii_file-members.html @@ -0,0 +1,166 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::WiiFile Member List
+
+
+ +

This is the complete list of members for Athena::WiiFile, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
addChild(WiiFile *file)Athena::WiiFile
allChildren()Athena::WiiFile
attributes() const Athena::WiiFile
child(const std::string &name)Athena::WiiFile
children()Athena::WiiFile
data() const Athena::WiiFile
Directory enum value (defined in Athena::WiiFile)Athena::WiiFile
File enum value (defined in Athena::WiiFile)Athena::WiiFile
fileCount()Athena::WiiFile
filename() const Athena::WiiFile
fullpath()Athena::WiiFile
GroupRead enum value (defined in Athena::WiiFile)Athena::WiiFile
GroupRW enum value (defined in Athena::WiiFile)Athena::WiiFile
GroupWrite enum value (defined in Athena::WiiFile)Athena::WiiFile
isDirectory() const Athena::WiiFile
isFile() const Athena::WiiFile
length() const Athena::WiiFile
OtherRead enum value (defined in Athena::WiiFile)Athena::WiiFile
OtherRW enum valueAthena::WiiFile
OtherWrite enum value (defined in Athena::WiiFile)Athena::WiiFile
OwnerRead enum value (defined in Athena::WiiFile)Athena::WiiFile
OwnerRW enum value (defined in Athena::WiiFile)Athena::WiiFile
OwnerWrite enum value (defined in Athena::WiiFile)Athena::WiiFile
parent()Athena::WiiFile
Permission enum nameAthena::WiiFile
permissions() const Athena::WiiFile
removeChild(const std::string &name)Athena::WiiFile
removeChild(WiiFile *file)Athena::WiiFile
setAttributes(const atUint8 attr)Athena::WiiFile
setData(const atUint8 *data)Athena::WiiFile
setFilename(const std::string &filename)Athena::WiiFile
setLength(const int len)Athena::WiiFile
setParent(WiiFile *parent)Athena::WiiFile
setPermissions(const atUint8 permissions)Athena::WiiFile
setType(Type type)Athena::WiiFile
Type enum nameAthena::WiiFile
type() const Athena::WiiFile
WiiFile() (defined in Athena::WiiFile)Athena::WiiFile
WiiFile(const std::string &filename)Athena::WiiFile
WiiFile(const std::string &filename, atUint8 permissions, const atUint8 *data, atUint32 length)Athena::WiiFile
~WiiFile() (defined in Athena::WiiFile)Athena::WiiFilevirtual
+
+ + + + diff --git a/docs/class_athena_1_1_wii_file.html b/docs/class_athena_1_1_wii_file.html new file mode 100644 index 0000000..80880c4 --- /dev/null +++ b/docs/class_athena_1_1_wii_file.html @@ -0,0 +1,847 @@ + + + + + + +Athena IO Library: Athena::WiiFile Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::WiiFile Class Reference
+
+
+ +

Wii file container class. + More...

+ +

#include <WiiFile.hpp>

+
+Collaboration diagram for Athena::WiiFile:
+
+
Collaboration graph
+
+ + + + + + + + +

+Public Types

enum  Permission {
+  OtherRead = 0x01, +OtherWrite = 0x02, +GroupRead = 0x04, +GroupWrite = 0x08, +
+  OwnerRead = 0x10, +OwnerWrite = 0x20, +OtherRW = (OtherRead | OtherWrite), +GroupRW = (GroupRead | GroupWrite), +
+  OwnerRW = (OwnerRead | OwnerWrite) +
+ }
 The Wii uses a bastardized unix permissions system so these flags reflect the file's individual permissions. More...
 
enum  Type { File = 0x01, +Directory = 0x02 + }
 The Type enum.
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 WiiFile (const std::string &filename)
 WiiFile. More...
 
 WiiFile (const std::string &filename, atUint8 permissions, const atUint8 *data, atUint32 length)
 WiiFile. More...
 
void setFilename (const std::string &filename)
 setFilename More...
 
std::string filename () const
 filename More...
 
void setData (const atUint8 *data)
 setData More...
 
atUint8 * data () const
 data More...
 
void setLength (const int len)
 setLength More...
 
int length () const
 length More...
 
void setPermissions (const atUint8 permissions)
 setPermissions More...
 
atUint8 permissions () const
 permissions More...
 
void setAttributes (const atUint8 attr)
 setAttributes More...
 
atUint8 attributes () const
 attributes More...
 
void setType (Type type)
 setType More...
 
Type type () const
 type More...
 
bool isDirectory () const
 isDirectory More...
 
bool isFile () const
 isFile More...
 
void addChild (WiiFile *file)
 addChild More...
 
std::vector< WiiFile * > children ()
 children More...
 
WiiFilechild (const std::string &name)
 child More...
 
void removeChild (const std::string &name)
 removeChild More...
 
void removeChild (WiiFile *file)
 removeChild More...
 
WiiFileparent ()
 parent More...
 
void setParent (WiiFile *parent)
 setParent More...
 
atUint32 fileCount ()
 fileCount More...
 
std::vector< WiiFile * > allChildren ()
 allChildren More...
 
std::string fullpath ()
 fullpath More...
 
+

Detailed Description

+

Wii file container class.

+

Contains all relevant data for a file in a data.bin file.

+ +

Definition at line 36 of file WiiFile.hpp.

+

Member Enumeration Documentation

+ +
+
+ + + + +
enum Athena::WiiFile::Permission
+
+ +

The Wii uses a bastardized unix permissions system so these flags reflect the file's individual permissions.

+ + +
Enumerator
OtherRW  +

Mask to get the Other group permissions.

+
+ +

Definition at line 44 of file WiiFile.hpp.

+ +
+
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
Athena::WiiFile::WiiFile (const std::string & filename)
+
+ +

WiiFile.

+
Parameters
+ + +
filename
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Athena::WiiFile::WiiFile (const std::string & filename,
atUint8 permissions,
const atUint8 * data,
atUint32 length 
)
+
+ +

WiiFile.

+
Parameters
+ + + + + +
filename
permissions
data
length
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
void Athena::WiiFile::addChild (WiiFilefile)
+
+ +

addChild

+
Parameters
+ + +
file
+
+
+ +
+
+ +
+
+ + + + + + + +
std::vector<WiiFile*> Athena::WiiFile::allChildren ()
+
+ +

allChildren

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint8 Athena::WiiFile::attributes () const
+
+ +

attributes

+
Returns
+ +
+
+ +
+
+ + + + + + + + +
WiiFile* Athena::WiiFile::child (const std::string & name)
+
+ +

child

+
Parameters
+ + +
name
+
+
+
Returns
+ +
+
+ +
+
+ + + + + + + +
std::vector<WiiFile*> Athena::WiiFile::children ()
+
+ +

children

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint8* Athena::WiiFile::data () const
+
+ +

data

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint32 Athena::WiiFile::fileCount ()
+
+ +

fileCount

+
Returns
+ +
+
+ +
+
+ + + + + + + +
std::string Athena::WiiFile::filename () const
+
+ +

filename

+
Returns
+ +
+
+ +
+
+ + + + + + + +
std::string Athena::WiiFile::fullpath ()
+
+ +

fullpath

+
Returns
+ +
+
+ +
+
+ + + + + + + +
bool Athena::WiiFile::isDirectory () const
+
+ +

isDirectory

+
Returns
+ +
+
+ +
+
+ + + + + + + +
bool Athena::WiiFile::isFile () const
+
+ +

isFile

+
Returns
+ +
+
+ +
+
+ + + + + + + +
int Athena::WiiFile::length () const
+
+ +

length

+
Returns
+ +
+
+ +
+
+ + + + + + + +
WiiFile* Athena::WiiFile::parent ()
+
+ +

parent

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint8 Athena::WiiFile::permissions () const
+
+ +

permissions

+
Returns
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiFile::removeChild (const std::string & name)
+
+ +

removeChild

+
Parameters
+ + +
name
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiFile::removeChild (WiiFilefile)
+
+ +

removeChild

+
Parameters
+ + +
file
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiFile::setAttributes (const atUint8 attr)
+
+ +

setAttributes

+
Parameters
+ + +
attr
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiFile::setData (const atUint8 * data)
+
+ +

setData

+
Parameters
+ + +
data
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiFile::setFilename (const std::string & filename)
+
+ +

setFilename

+
Parameters
+ + +
filename
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiFile::setLength (const int len)
+
+ +

setLength

+
Parameters
+ + +
len
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiFile::setParent (WiiFileparent)
+
+ +

setParent

+
Parameters
+ + +
parent
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiFile::setPermissions (const atUint8 permissions)
+
+ +

setPermissions

+
Parameters
+ + +
permissions
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiFile::setType (Type type)
+
+ +

setType

+
Parameters
+ + +
type
+
+
+ +
+
+ +
+
+ + + + + + + +
Type Athena::WiiFile::type () const
+
+ +

type

+
Returns
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1_wii_file.js b/docs/class_athena_1_1_wii_file.js new file mode 100644 index 0000000..328cc29 --- /dev/null +++ b/docs/class_athena_1_1_wii_file.js @@ -0,0 +1,46 @@ +var class_athena_1_1_wii_file = +[ + [ "Permission", "class_athena_1_1_wii_file.html#ace7bf25358be6dbd8f7f0029bcddf435", [ + [ "OtherRead", "class_athena_1_1_wii_file.html#ace7bf25358be6dbd8f7f0029bcddf435a971aeddce729bf036f6cd8e51ecf494f", null ], + [ "OtherWrite", "class_athena_1_1_wii_file.html#ace7bf25358be6dbd8f7f0029bcddf435a3773e360a51a2cb361738bbb072580f9", null ], + [ "GroupRead", "class_athena_1_1_wii_file.html#ace7bf25358be6dbd8f7f0029bcddf435a54daeb49700e9045dc67ae8451581c21", null ], + [ "GroupWrite", "class_athena_1_1_wii_file.html#ace7bf25358be6dbd8f7f0029bcddf435a31216358196b7a3f4efc1224048b62a5", null ], + [ "OwnerRead", "class_athena_1_1_wii_file.html#ace7bf25358be6dbd8f7f0029bcddf435a90622b15670f131efb17fee775323e32", null ], + [ "OwnerWrite", "class_athena_1_1_wii_file.html#ace7bf25358be6dbd8f7f0029bcddf435ac7219ef19cad4f696648959cf33cc53b", null ], + [ "OtherRW", "class_athena_1_1_wii_file.html#ace7bf25358be6dbd8f7f0029bcddf435a7deded3341ff1d1bfba1991a983188a9", null ], + [ "GroupRW", "class_athena_1_1_wii_file.html#ace7bf25358be6dbd8f7f0029bcddf435addba217262dea93d94b4152260fbc882", null ], + [ "OwnerRW", "class_athena_1_1_wii_file.html#ace7bf25358be6dbd8f7f0029bcddf435abfa3cf0b20a18ceea68c52e89103653a", null ] + ] ], + [ "Type", "class_athena_1_1_wii_file.html#ae16c396a2f657996e38e0989ec603a04", [ + [ "File", "class_athena_1_1_wii_file.html#ae16c396a2f657996e38e0989ec603a04a833289bf50a3d38c203952a809be8ae2", null ], + [ "Directory", "class_athena_1_1_wii_file.html#ae16c396a2f657996e38e0989ec603a04a7f23394162445aecfe5f3bbd83a5ffbe", null ] + ] ], + [ "WiiFile", "class_athena_1_1_wii_file.html#ace61836fe4cc8b255375f862d273b303", null ], + [ "WiiFile", "class_athena_1_1_wii_file.html#a68b5470c248abb4185461c1349e5742f", null ], + [ "WiiFile", "class_athena_1_1_wii_file.html#ae55259ae06a87f66059162ecc62c7af3", null ], + [ "~WiiFile", "class_athena_1_1_wii_file.html#abaa9c977dedfd6628620b8f782a10a06", null ], + [ "addChild", "class_athena_1_1_wii_file.html#a3d53ba64b47030dca3e89b63566dd39b", null ], + [ "allChildren", "class_athena_1_1_wii_file.html#ad4a3eed2dfb51b6a4db2d906479563be", null ], + [ "attributes", "class_athena_1_1_wii_file.html#aee48f6bcdb9615b5d18f4ebf70521acd", null ], + [ "child", "class_athena_1_1_wii_file.html#aad1aec191cac78fc99efe47bb68cbd55", null ], + [ "children", "class_athena_1_1_wii_file.html#a70b0f36d70782cd55027d23778766e9f", null ], + [ "data", "class_athena_1_1_wii_file.html#af5d7e72f71fc5e92772406d8f389d0bf", null ], + [ "fileCount", "class_athena_1_1_wii_file.html#ae759d586049e9b3313dad5f045eb193b", null ], + [ "filename", "class_athena_1_1_wii_file.html#aef87b988fb69797899fb38e6f5a50091", null ], + [ "fullpath", "class_athena_1_1_wii_file.html#a6f83f8ab2938acc3cc65b802bd54db39", null ], + [ "isDirectory", "class_athena_1_1_wii_file.html#ac10ed089b0660a06f97987a6d5555f83", null ], + [ "isFile", "class_athena_1_1_wii_file.html#a648f21359cc7fc0c98880173d82a5da1", null ], + [ "length", "class_athena_1_1_wii_file.html#ac70e38e40d509b790374e170b605dc33", null ], + [ "parent", "class_athena_1_1_wii_file.html#a9097a8a0f0a13fe056a6a0b27c6362ca", null ], + [ "permissions", "class_athena_1_1_wii_file.html#a9782153e5edeeb5045a22fdee0fb984e", null ], + [ "removeChild", "class_athena_1_1_wii_file.html#a5c1aa8b95d6c7e7814c082465dae29dd", null ], + [ "removeChild", "class_athena_1_1_wii_file.html#a79898914c42afc9f727fb405c74ebc17", null ], + [ "setAttributes", "class_athena_1_1_wii_file.html#aa5e887221ff8b8d0697ee2a4031a523f", null ], + [ "setData", "class_athena_1_1_wii_file.html#a77439b450d5b627eba963ed693f87f0d", null ], + [ "setFilename", "class_athena_1_1_wii_file.html#ad30c6648ca01e630d2a8c898e55f1099", null ], + [ "setLength", "class_athena_1_1_wii_file.html#a9c3b6be0eab15f9ffbeefec5689c14b5", null ], + [ "setParent", "class_athena_1_1_wii_file.html#a37eff96e61a8af44627f0d064d048c83", null ], + [ "setPermissions", "class_athena_1_1_wii_file.html#af830d16ebbb0d3a4974c3f813dadbf64", null ], + [ "setType", "class_athena_1_1_wii_file.html#a737d1a3da2a0776e8692882e89373faf", null ], + [ "type", "class_athena_1_1_wii_file.html#adb725141d2bac6522054b89287239af3", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1_wii_file__coll__graph.map b/docs/class_athena_1_1_wii_file__coll__graph.map new file mode 100644 index 0000000..dcbfd76 --- /dev/null +++ b/docs/class_athena_1_1_wii_file__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/class_athena_1_1_wii_file__coll__graph.md5 b/docs/class_athena_1_1_wii_file__coll__graph.md5 new file mode 100644 index 0000000..d79b913 --- /dev/null +++ b/docs/class_athena_1_1_wii_file__coll__graph.md5 @@ -0,0 +1 @@ +30002a031003cb4eb78765d35cb166d6 \ No newline at end of file diff --git a/docs/class_athena_1_1_wii_file__coll__graph.png b/docs/class_athena_1_1_wii_file__coll__graph.png new file mode 100644 index 0000000..7415ff3 Binary files /dev/null and b/docs/class_athena_1_1_wii_file__coll__graph.png differ diff --git a/docs/class_athena_1_1_wii_image-members.html b/docs/class_athena_1_1_wii_image-members.html new file mode 100644 index 0000000..654d9a0 --- /dev/null +++ b/docs/class_athena_1_1_wii_image-members.html @@ -0,0 +1,135 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::WiiImage Member List
+
+
+ +

This is the complete list of members for Athena::WiiImage, including all inherited members.

+ + + + + + + + + + + +
data()Athena::WiiImage
height() const Athena::WiiImage
setData(const atUint8 *data)Athena::WiiImage
setHeight(const atUint32 height)Athena::WiiImage
setWidth(const atUint32 width)Athena::WiiImage
toRGBA()Athena::WiiImage
width() const Athena::WiiImage
WiiImage()Athena::WiiImage
WiiImage(atUint32 width, atUint32 height, atUint8 *data)Athena::WiiImage
~WiiImage()Athena::WiiImage
+
+ + + + diff --git a/docs/class_athena_1_1_wii_image.html b/docs/class_athena_1_1_wii_image.html new file mode 100644 index 0000000..ec3036b --- /dev/null +++ b/docs/class_athena_1_1_wii_image.html @@ -0,0 +1,367 @@ + + + + + + +Athena IO Library: Athena::WiiImage Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::WiiImage Class Reference
+
+
+ +

The WiiImage class. + More...

+ +

#include <WiiImage.hpp>

+
+Collaboration diagram for Athena::WiiImage:
+
+
Collaboration graph
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

WiiImage ()
 WiiImage.
 
 WiiImage (atUint32 width, atUint32 height, atUint8 *data)
 WiiImage. More...
 
~WiiImage ()
 ~WiiImage
 
void setWidth (const atUint32 width)
 setWidth More...
 
atUint32 width () const
 width More...
 
void setHeight (const atUint32 height)
 setHeight More...
 
atUint32 height () const
 height More...
 
void setData (const atUint8 *data)
 setData More...
 
atUint8 * data ()
 data More...
 
atUint8 * toRGBA ()
 toRGBA More...
 
+

Detailed Description

+

The WiiImage class.

+ +

Definition at line 28 of file WiiImage.hpp.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Athena::WiiImage::WiiImage (atUint32 width,
atUint32 height,
atUint8 * data 
)
+
+ +

WiiImage.

+
Parameters
+ + + + +
width
height
data
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + +
atUint8* Athena::WiiImage::data ()
+
+ +

data

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint32 Athena::WiiImage::height () const
+
+ +

height

+
Returns
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiImage::setData (const atUint8 * data)
+
+ +

setData

+
Parameters
+ + +
data
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiImage::setHeight (const atUint32 height)
+
+ +

setHeight

+
Parameters
+ + +
height
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiImage::setWidth (const atUint32 width)
+
+ +

setWidth

+
Parameters
+ + +
width
+
+
+ +
+
+ +
+
+ + + + + + + +
atUint8* Athena::WiiImage::toRGBA ()
+
+ +

toRGBA

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint32 Athena::WiiImage::width () const
+
+ +

width

+
Returns
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1_wii_image.js b/docs/class_athena_1_1_wii_image.js new file mode 100644 index 0000000..af3e2db --- /dev/null +++ b/docs/class_athena_1_1_wii_image.js @@ -0,0 +1,13 @@ +var class_athena_1_1_wii_image = +[ + [ "WiiImage", "class_athena_1_1_wii_image.html#af514ce87e7fe70a2f9125e9ae92691a5", null ], + [ "WiiImage", "class_athena_1_1_wii_image.html#a5e5307778bb2a096b74d7f14d73636c5", null ], + [ "~WiiImage", "class_athena_1_1_wii_image.html#ab906be41a0268252606e012c09ce3645", null ], + [ "data", "class_athena_1_1_wii_image.html#abffef764b9ee159a3eeb678bf89162f4", null ], + [ "height", "class_athena_1_1_wii_image.html#ab94c918baa501554cb8aa0795f5731ee", null ], + [ "setData", "class_athena_1_1_wii_image.html#ab5f9a592a19c17a4b7eb4d8f1b73ca74", null ], + [ "setHeight", "class_athena_1_1_wii_image.html#ab088377bcf6b850982d5a9e8f0d5cee1", null ], + [ "setWidth", "class_athena_1_1_wii_image.html#ad2ed550128122e54a7aeba513287b739", null ], + [ "toRGBA", "class_athena_1_1_wii_image.html#a0143822d84cb89e685849406d3fee098", null ], + [ "width", "class_athena_1_1_wii_image.html#ab1c3a5da9b1ecaef363a4eb2831916a4", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1_wii_image__coll__graph.map b/docs/class_athena_1_1_wii_image__coll__graph.map new file mode 100644 index 0000000..3f52931 --- /dev/null +++ b/docs/class_athena_1_1_wii_image__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/class_athena_1_1_wii_image__coll__graph.md5 b/docs/class_athena_1_1_wii_image__coll__graph.md5 new file mode 100644 index 0000000..764ee32 --- /dev/null +++ b/docs/class_athena_1_1_wii_image__coll__graph.md5 @@ -0,0 +1 @@ +61f798e8feb6e9e53b5e4b33014bafed \ No newline at end of file diff --git a/docs/class_athena_1_1_wii_image__coll__graph.png b/docs/class_athena_1_1_wii_image__coll__graph.png new file mode 100644 index 0000000..bb79c63 Binary files /dev/null and b/docs/class_athena_1_1_wii_image__coll__graph.png differ diff --git a/docs/class_athena_1_1_wii_save-members.html b/docs/class_athena_1_1_wii_save-members.html new file mode 100644 index 0000000..146284f --- /dev/null +++ b/docs/class_athena_1_1_wii_save-members.html @@ -0,0 +1,136 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::WiiSave Member List
+
+
+ +

This is the complete list of members for Athena::WiiSave, including all inherited members.

+ + + + + + + + + + + + +
addFile(WiiFile *file)Athena::WiiSave
allFiles() const (defined in Athena::WiiSave)Athena::WiiSave
banner() const Athena::WiiSave
file(const std::string &filename)Athena::WiiSave
fileCount() const (defined in Athena::WiiSave)Athena::WiiSave
FileIterator typedefAthena::WiiSave
root()Athena::WiiSave
setBanner(WiiBanner *banner)Athena::WiiSave
setRoot(WiiFile *root) (defined in Athena::WiiSave)Athena::WiiSave
WiiSave()Athena::WiiSave
~WiiSave()Athena::WiiSavevirtual
+
+ + + + diff --git a/docs/class_athena_1_1_wii_save.html b/docs/class_athena_1_1_wii_save.html new file mode 100644 index 0000000..a6e108d --- /dev/null +++ b/docs/class_athena_1_1_wii_save.html @@ -0,0 +1,299 @@ + + + + + + +Athena IO Library: Athena::WiiSave Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::WiiSave Class Reference
+
+
+ +

Wii data.bin container class. + More...

+ +

#include <WiiSave.hpp>

+
+Collaboration diagram for Athena::WiiSave:
+
+
Collaboration graph
+
+ + + + + +

+Public Types

+typedef std::unordered_map< std::string, WiiFile * >::const_iterator FileIterator
 FileIterator.
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

WiiSave ()
 WiiSave.
 
+virtual ~WiiSave ()
 ~WiiSave
 
void addFile (WiiFile *file)
 addFile More...
 
+void setRoot (WiiFile *root)
 
WiiFilefile (const std::string &filename)
 file More...
 
+atUint32 fileCount () const
 
WiiFileroot ()
 fileList More...
 
void setBanner (WiiBanner *banner)
 setBanner More...
 
WiiBannerbanner () const
 banner More...
 
+std::vector< WiiFile * > allFiles () const
 
+

Detailed Description

+

Wii data.bin container class.

+

Contains all relevant data for a Wii data.bin file.

+ +

Definition at line 38 of file WiiSave.hpp.

+

Member Function Documentation

+ +
+
+ + + + + + + + +
void Athena::WiiSave::addFile (WiiFilefile)
+
+ +

addFile

+
Parameters
+ + + +
filename
file
+
+
+ +
+
+ +
+
+ + + + + + + +
WiiBanner* Athena::WiiSave::banner () const
+
+ +

banner

+
Returns
+ +
+
+ +
+
+ + + + + + + + +
WiiFile* Athena::WiiSave::file (const std::string & filename)
+
+ +

file

+
Parameters
+ + +
filename
+
+
+
Returns
+ +
+
+ +
+
+ + + + + + + +
WiiFile* Athena::WiiSave::root ()
+
+ +

fileList

+
Returns
+ +
+
+ +
+
+ + + + + + + + +
void Athena::WiiSave::setBanner (WiiBannerbanner)
+
+ +

setBanner

+
Parameters
+ + +
banner
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1_wii_save.js b/docs/class_athena_1_1_wii_save.js new file mode 100644 index 0000000..47f736a --- /dev/null +++ b/docs/class_athena_1_1_wii_save.js @@ -0,0 +1,14 @@ +var class_athena_1_1_wii_save = +[ + [ "FileIterator", "class_athena_1_1_wii_save.html#aea23fdf6b851d29a8fb81bf8c647ebbb", null ], + [ "WiiSave", "class_athena_1_1_wii_save.html#a2158f541c1749f619a37859af6eadf47", null ], + [ "~WiiSave", "class_athena_1_1_wii_save.html#a740b8443a71e0307c41e9e100ac25ed7", null ], + [ "addFile", "class_athena_1_1_wii_save.html#a59b713a72559b0a100bc52b0f12c014f", null ], + [ "allFiles", "class_athena_1_1_wii_save.html#a13e8315dd85ac890fd1b456da2c6651c", null ], + [ "banner", "class_athena_1_1_wii_save.html#a7a10a9d75c6d1f12298939b2e679fa24", null ], + [ "file", "class_athena_1_1_wii_save.html#a3c37a9b38bf207d93f87ca81874b4e05", null ], + [ "fileCount", "class_athena_1_1_wii_save.html#a8dab6d5e89f95d343a278c0046a18a82", null ], + [ "root", "class_athena_1_1_wii_save.html#ac427c39ec1d18298a1cfa02c6150a700", null ], + [ "setBanner", "class_athena_1_1_wii_save.html#afcfd02a55c7846e859f706e1378eedbd", null ], + [ "setRoot", "class_athena_1_1_wii_save.html#a9f6412c94d6302bea3c890a104a5e52b", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1_wii_save__coll__graph.map b/docs/class_athena_1_1_wii_save__coll__graph.map new file mode 100644 index 0000000..c213f71 --- /dev/null +++ b/docs/class_athena_1_1_wii_save__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/class_athena_1_1_wii_save__coll__graph.md5 b/docs/class_athena_1_1_wii_save__coll__graph.md5 new file mode 100644 index 0000000..b278558 --- /dev/null +++ b/docs/class_athena_1_1_wii_save__coll__graph.md5 @@ -0,0 +1 @@ +f64ffec4281d714f427eacf45a3cb061 \ No newline at end of file diff --git a/docs/class_athena_1_1_wii_save__coll__graph.png b/docs/class_athena_1_1_wii_save__coll__graph.png new file mode 100644 index 0000000..5e77283 Binary files /dev/null and b/docs/class_athena_1_1_wii_save__coll__graph.png differ diff --git a/docs/class_athena_1_1_z_quest_file-members.html b/docs/class_athena_1_1_z_quest_file-members.html new file mode 100644 index 0000000..fc2f14e --- /dev/null +++ b/docs/class_athena_1_1_z_quest_file-members.html @@ -0,0 +1,169 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::ZQuestFile Member List
+
+
+ +

This is the complete list of members for Athena::ZQuestFile, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ALBW enum valueAthena::ZQuestFile
ALttP enum valueAthena::ZQuestFile
AoL enum valueAthena::ZQuestFile
data() const Athena::ZQuestFile
endian() const Athena::ZQuestFile
FS enum valueAthena::ZQuestFile
FSA enum valueAthena::ZQuestFile
game() const Athena::ZQuestFile
Game enum nameAthena::ZQuestFile
GameCount enum valueAthena::ZQuestFile
gameString() const Athena::ZQuestFile
gameStringList() (defined in Athena::ZQuestFile)Athena::ZQuestFilestatic
LA enum valueAthena::ZQuestFile
length() const Athena::ZQuestFile
LoZ enum valueAthena::ZQuestFile
m_data (defined in Athena::ZQuestFile)Athena::ZQuestFileprotected
m_endian (defined in Athena::ZQuestFile)Athena::ZQuestFileprotected
m_game (defined in Athena::ZQuestFile)Athena::ZQuestFileprotected
m_gameString (defined in Athena::ZQuestFile)Athena::ZQuestFileprotected
m_length (defined in Athena::ZQuestFile)Athena::ZQuestFileprotected
MagicAthena::ZQuestFilestatic
MajorAthena::ZQuestFilestatic
MC enum valueAthena::ZQuestFile
MinorAthena::ZQuestFilestatic
MM enum valueAthena::ZQuestFile
NoGame enum valueAthena::ZQuestFile
OoA enum valueAthena::ZQuestFile
OoS enum valueAthena::ZQuestFile
OoT enum valueAthena::ZQuestFile
OoT3D enum valueAthena::ZQuestFile
PH enum valueAthena::ZQuestFile
RevisionAthena::ZQuestFilestatic
setData(atUint8 *data, atUint32 length)Athena::ZQuestFile
setEndian(Endian endian)Athena::ZQuestFile
setGame(Game game)Athena::ZQuestFile
setGameString(const std::string &gameString) (defined in Athena::ZQuestFile)Athena::ZQuestFile
SS enum valueAthena::ZQuestFile
ST enum valueAthena::ZQuestFile
TP enum valueAthena::ZQuestFile
VersionAthena::ZQuestFilestatic
WW enum valueAthena::ZQuestFile
ZQuestFile()Athena::ZQuestFile
ZQuestFile(Game game, Endian endian, atUint8 *data, atUint32 length, const std::string &gameString=std::string())Athena::ZQuestFile
~ZQuestFile() (defined in Athena::ZQuestFile)Athena::ZQuestFile
+
+ + + + diff --git a/docs/class_athena_1_1_z_quest_file.html b/docs/class_athena_1_1_z_quest_file.html new file mode 100644 index 0000000..810cd3e --- /dev/null +++ b/docs/class_athena_1_1_z_quest_file.html @@ -0,0 +1,580 @@ + + + + + + +Athena IO Library: Athena::ZQuestFile Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::ZQuestFile Class Reference
+
+
+ +

ZQuestFile is an export format for save data. + More...

+ +

#include <ZQuestFile.hpp>

+
+Inheritance diagram for Athena::ZQuestFile:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::ZQuestFile:
+
+
Collaboration graph
+
+ + + + + +

+Public Types

enum  Game {
+  NoGame, +LoZ, +AoL, +ALttP, +
+  LA, +OoT, +OoT3D, +MM, +
+  OoS, +OoA, +FS, +WW, +
+  FSA, +MC, +TP, +PH, +
+  ST, +SS, +ALBW, +GameCount +
+ }
 The list of games currently supported by ZQuest. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

ZQuestFile ()
 ZQuest.
 
 ZQuestFile (Game game, Endian endian, atUint8 *data, atUint32 length, const std::string &gameString=std::string())
 ZQuest. More...
 
void setGame (Game game)
 setGame More...
 
Game game () const
 game More...
 
void setEndian (Endian endian)
 setEndian More...
 
Endian endian () const
 endian More...
 
void setData (atUint8 *data, atUint32 length)
 setData More...
 
atUint8 * data () const
 data More...
 
atUint32 length () const
 length More...
 
+void setGameString (const std::string &gameString)
 
std::string gameString () const
 gameString More...
 
+ + + +

+Static Public Member Functions

+static const std::vector< std::string > gameStringList ()
 
+ + + + + + + + + + + + + + + + +

+Static Public Attributes

+static const atUint32 Major
 The current major version of the ZQuest format.
 
+static const atUint32 Minor
 The current minor version of the ZQuest format.
 
+static const atUint32 Revision
 The current revision of the ZQuest format.
 
+static const atUint32 Version
 The current version of the ZQuest format.
 
+static const atUint32 Magic
 The magic number used to identify the file e.g. "ZQS1".
 
+ + + + + + + + + + + +

+Protected Attributes

+Game m_game
 
+std::string m_gameString
 
+Endian m_endian
 
+atUint8 * m_data
 
+atUint32 m_length
 
+

Detailed Description

+

ZQuestFile is an export format for save data.

+ +

Definition at line 33 of file ZQuestFile.hpp.

+

Member Enumeration Documentation

+ +
+
+ + + + +
enum Athena::ZQuestFile::Game
+
+ +

The list of games currently supported by ZQuest.

+ + + + + + + + + + + + + + + + + + + + + +
Enumerator
NoGame  +

None or Unsupported.

+
LoZ  +

Legend of Zelda.

+
AoL  +

Adventure of Link.

+
ALttP  +

A Link to the Past.

+
LA  +

Links Awakening.

+
OoT  +

Ocarin of Time.

+
OoT3D  +

Ocarina of Time 3D.

+
MM  +

Majora's Mask.

+
OoS  +

Oracle of Season.

+
OoA  +

Oracle of Ages.

+
FS  +

Four Swords.

+
WW  +

Wind Waker.

+
FSA  +

Four Swords Adventures.

+
MC  +

Minish Cap.

+
TP  +

Twilight Princess.

+
PH  +

Phantom Hourglass.

+
ST  +

Spirit Tracks.

+
SS  +

Skyward Sword.

+
ALBW  +

A Link Between Worlds.

+
GameCount  +

Total number of supported games.

+
+ +

Definition at line 62 of file ZQuestFile.hpp.

+ +
+
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Athena::ZQuestFile::ZQuestFile (Game game,
Endian endian,
atUint8 * data,
atUint32 length,
const std::string & gameString = std::string() 
)
+
+ +

ZQuest.

+
Parameters
+ + + + + +
game
endian
data
length
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + +
atUint8* Athena::ZQuestFile::data () const
+
+ +

data

+
Returns
+ +
+
+ +
+
+ + + + + + + +
Endian Athena::ZQuestFile::endian () const
+
+ +

endian

+
Returns
+ +
+
+ +
+
+ + + + + + + +
Game Athena::ZQuestFile::game () const
+
+ +

game

+
Returns
+ +
+
+ +
+
+ + + + + + + +
std::string Athena::ZQuestFile::gameString () const
+
+ +

gameString

+
Returns
+ +
+
+ +
+
+ + + + + + + +
atUint32 Athena::ZQuestFile::length () const
+
+ +

length

+
Returns
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Athena::ZQuestFile::setData (atUint8 * data,
atUint32 length 
)
+
+ +

setData

+
Parameters
+ + + +
dataThe data to assign
lengthThe length of the data
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ZQuestFile::setEndian (Endian endian)
+
+ +

setEndian

+
Parameters
+ + +
endian
+
+
+ +
+
+ +
+
+ + + + + + + + +
void Athena::ZQuestFile::setGame (Game game)
+
+ +

setGame

+
Parameters
+ + +
game
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1_z_quest_file.js b/docs/class_athena_1_1_z_quest_file.js new file mode 100644 index 0000000..250f6cd --- /dev/null +++ b/docs/class_athena_1_1_z_quest_file.js @@ -0,0 +1,42 @@ +var class_athena_1_1_z_quest_file = +[ + [ "Game", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937", [ + [ "NoGame", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937acd176244ba137b6b8d6085ad470a332d", null ], + [ "LoZ", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a25b108edb95202a40b9148421e477ad8", null ], + [ "AoL", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a23688bdcd1a1dbbf4f2bdeaef86c1af1", null ], + [ "ALttP", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937aaea6c30c08181cae09944af677b0a715", null ], + [ "LA", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a4bb54f4fa00f9bf9ec3178aa53f964aa", null ], + [ "OoT", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a37693a7b465353ae0593bc6666190ac1", null ], + [ "OoT3D", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a83a6d0fa9b3691858fc7d522cc4e91c1", null ], + [ "MM", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ac031509cf62b60a264aded1ac7d8165e", null ], + [ "OoS", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ab381eea193dcad8435deac7a4e713884", null ], + [ "OoA", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a9d18b23523f95dd3265f108ce51621e9", null ], + [ "FS", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ae41af7ad3f725f4bbd082fccbe219b2a", null ], + [ "WW", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ad20e457dd99a1d0f35a973dccaff77ba", null ], + [ "FSA", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ac33e03de60790459ab701c684d3f3d8f", null ], + [ "MC", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ab1af113c04a0c228ef044fce49d059ab", null ], + [ "TP", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a50194fea3b394ec0b366465c26fe9031", null ], + [ "PH", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a7bbe4794415db6843d2f0cab4d0e45fe", null ], + [ "ST", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a47f4332532c012f5be606c3c9dba19b6", null ], + [ "SS", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ab2037dd3a0faa6fb51dbd555bcac4a80", null ], + [ "ALBW", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937a3ec6c1d3392116de582ddacf20bb42d8", null ], + [ "GameCount", "class_athena_1_1_z_quest_file.html#ad7b24d66ac0cba30eb80722c44c9c937ad73b4ae573d4ffa951d8aaab487b123d", null ] + ] ], + [ "ZQuestFile", "class_athena_1_1_z_quest_file.html#a2ca4f36802ca0135c5a3d1337d9db11a", null ], + [ "ZQuestFile", "class_athena_1_1_z_quest_file.html#a63260464ab623f17d0ed85b8d65efe6b", null ], + [ "~ZQuestFile", "class_athena_1_1_z_quest_file.html#a098f8b7328065a002f0ea903371a51b5", null ], + [ "data", "class_athena_1_1_z_quest_file.html#a9056511b53ab3b967f7e1995c4ed6184", null ], + [ "endian", "class_athena_1_1_z_quest_file.html#ab6861f11b479821f26a06767667b01df", null ], + [ "game", "class_athena_1_1_z_quest_file.html#adb943974ab381a96f624d2866a9a0e9e", null ], + [ "gameString", "class_athena_1_1_z_quest_file.html#a560b6ca1294259da6f4c532b18791dd4", null ], + [ "length", "class_athena_1_1_z_quest_file.html#aa9c08de974af9d8a99c07b1127a2d820", null ], + [ "setData", "class_athena_1_1_z_quest_file.html#ab9047c7699a20d2644bd3a66135a5da5", null ], + [ "setEndian", "class_athena_1_1_z_quest_file.html#afaaa1972f981332708eaf8f97a61a193", null ], + [ "setGame", "class_athena_1_1_z_quest_file.html#a1dd9626c499a01133e0caee9bb6d0b4c", null ], + [ "setGameString", "class_athena_1_1_z_quest_file.html#affac45b411a7de1703468eb21ae1ea3f", null ], + [ "m_data", "class_athena_1_1_z_quest_file.html#aab0288903223e475367a4b8cbfa3c587", null ], + [ "m_endian", "class_athena_1_1_z_quest_file.html#a88c7b3f04ad22365bf792c1fbb160eae", null ], + [ "m_game", "class_athena_1_1_z_quest_file.html#aed949ec48fc80e2907f5e640da798e44", null ], + [ "m_gameString", "class_athena_1_1_z_quest_file.html#ae806a8314dab2d0187af5e356340ae5f", null ], + [ "m_length", "class_athena_1_1_z_quest_file.html#a3b0efee783bda87d87e7ff3df0fa2236", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1_z_quest_file__coll__graph.map b/docs/class_athena_1_1_z_quest_file__coll__graph.map new file mode 100644 index 0000000..921e4ea --- /dev/null +++ b/docs/class_athena_1_1_z_quest_file__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/class_athena_1_1_z_quest_file__coll__graph.md5 b/docs/class_athena_1_1_z_quest_file__coll__graph.md5 new file mode 100644 index 0000000..37253f8 --- /dev/null +++ b/docs/class_athena_1_1_z_quest_file__coll__graph.md5 @@ -0,0 +1 @@ +faebdb208e4e24af3f8e0c6b99b403e3 \ No newline at end of file diff --git a/docs/class_athena_1_1_z_quest_file__coll__graph.png b/docs/class_athena_1_1_z_quest_file__coll__graph.png new file mode 100644 index 0000000..4c3e396 Binary files /dev/null and b/docs/class_athena_1_1_z_quest_file__coll__graph.png differ diff --git a/docs/class_athena_1_1_z_quest_file__inherit__graph.map b/docs/class_athena_1_1_z_quest_file__inherit__graph.map new file mode 100644 index 0000000..4054270 --- /dev/null +++ b/docs/class_athena_1_1_z_quest_file__inherit__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/class_athena_1_1_z_quest_file__inherit__graph.md5 b/docs/class_athena_1_1_z_quest_file__inherit__graph.md5 new file mode 100644 index 0000000..263efaa --- /dev/null +++ b/docs/class_athena_1_1_z_quest_file__inherit__graph.md5 @@ -0,0 +1 @@ +e44f143843890099f405567870a5ea74 \ No newline at end of file diff --git a/docs/class_athena_1_1_z_quest_file__inherit__graph.png b/docs/class_athena_1_1_z_quest_file__inherit__graph.png new file mode 100644 index 0000000..3e9d41d Binary files /dev/null and b/docs/class_athena_1_1_z_quest_file__inherit__graph.png differ diff --git a/docs/class_athena_1_1error_1_1_exception-members.html b/docs/class_athena_1_1error_1_1_exception-members.html new file mode 100644 index 0000000..21b8dc8 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_exception-members.html @@ -0,0 +1,136 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::error::Exception Member List
+
+
+ +

This is the complete list of members for Athena::error::Exception, including all inherited members.

+ + + + + + + + + + + + +
Exception(const std::string &message, const std::string &file, const std::string &function, const int line)Athena::error::Exceptioninline
file() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
formattedMessage() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
function() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
line() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
m_exceptionName (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_file (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_function (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_line (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_messageAthena::error::Exceptionprotected
message() const Athena::error::Exceptioninline
+
+ + + + diff --git a/docs/class_athena_1_1error_1_1_exception.html b/docs/class_athena_1_1error_1_1_exception.html new file mode 100644 index 0000000..ca84fb4 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_exception.html @@ -0,0 +1,279 @@ + + + + + + +Athena IO Library: Athena::error::Exception Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::error::Exception Class Reference
+
+
+ +

The baseclass for all Exceptions. + More...

+ +

#include <Exception.hpp>

+
+Inheritance diagram for Athena::error::Exception:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::error::Exception:
+
+
Collaboration graph
+
+ + + + + + + + + + + + + + + + +

+Public Member Functions

 Exception (const std::string &message, const std::string &file, const std::string &function, const int line)
 The constructor for an Exception. More...
 
std::string message () const
 Returns the Error message of the exception. More...
 
+std::string file () const
 
+std::string function () const
 
+int line () const
 
+std::string formattedMessage () const
 
+ + + + + + + + + + + + +

+Protected Attributes

+std::string m_message
 The error message string.
 
+std::string m_file
 
+std::string m_function
 
+int m_line
 
+std::string m_exceptionName
 
+

Detailed Description

+

The baseclass for all Exceptions.

+

Do Not use Exception directly, instead create an appropriate Exception class and inherit from this baseclass.

+ +

Definition at line 38 of file Exception.hpp.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Athena::error::Exception::Exception (const std::string & message,
const std::string & file,
const std::string & function,
const int line 
)
+
+inline
+
+ +

The constructor for an Exception.

+
Parameters
+ + +
messageThe error message to throw
+
+
+ +

Definition at line 44 of file Exception.hpp.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + +
std::string Athena::error::Exception::message () const
+
+inline
+
+ +

Returns the Error message of the exception.

+
Returns
std::string The error message
+ +

Definition at line 56 of file Exception.hpp.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1error_1_1_exception.js b/docs/class_athena_1_1error_1_1_exception.js new file mode 100644 index 0000000..7645ebf --- /dev/null +++ b/docs/class_athena_1_1error_1_1_exception.js @@ -0,0 +1,14 @@ +var class_athena_1_1error_1_1_exception = +[ + [ "Exception", "class_athena_1_1error_1_1_exception.html#a6d3d8ea6244f6c31e5e8fde78acb891e", null ], + [ "file", "class_athena_1_1error_1_1_exception.html#aa0922bd9fdf67ddf2eb538f5624e0e7d", null ], + [ "formattedMessage", "class_athena_1_1error_1_1_exception.html#afffd26ca88d4c37f456176f36fcf521d", null ], + [ "function", "class_athena_1_1error_1_1_exception.html#a2f0ded5973f82f5d1626944ffabe1f35", null ], + [ "line", "class_athena_1_1error_1_1_exception.html#aad85f56b203861b9c9a4c850cf638b01", null ], + [ "message", "class_athena_1_1error_1_1_exception.html#a01898523fb445712bd95b2404b9baa66", null ], + [ "m_exceptionName", "class_athena_1_1error_1_1_exception.html#ad12d37031fd388584cbb45a09c42424f", null ], + [ "m_file", "class_athena_1_1error_1_1_exception.html#a51ce681cd8fa07ffa0ca14bb4ad0d0fb", null ], + [ "m_function", "class_athena_1_1error_1_1_exception.html#a3c8fdb14e98eba5166b4c67ea538055b", null ], + [ "m_line", "class_athena_1_1error_1_1_exception.html#ad6bce8685d7eb18c7f9decc634d56a7d", null ], + [ "m_message", "class_athena_1_1error_1_1_exception.html#a5a6ccea051c659632f5b2750f64e55f2", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1error_1_1_exception__coll__graph.map b/docs/class_athena_1_1error_1_1_exception__coll__graph.map new file mode 100644 index 0000000..abf4110 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_exception__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/class_athena_1_1error_1_1_exception__coll__graph.md5 b/docs/class_athena_1_1error_1_1_exception__coll__graph.md5 new file mode 100644 index 0000000..de3b771 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_exception__coll__graph.md5 @@ -0,0 +1 @@ +28cedfa36f381cc0857ba1aa43f6b049 \ No newline at end of file diff --git a/docs/class_athena_1_1error_1_1_exception__coll__graph.png b/docs/class_athena_1_1error_1_1_exception__coll__graph.png new file mode 100644 index 0000000..4e53c92 Binary files /dev/null and b/docs/class_athena_1_1error_1_1_exception__coll__graph.png differ diff --git a/docs/class_athena_1_1error_1_1_exception__inherit__graph.map b/docs/class_athena_1_1error_1_1_exception__inherit__graph.map new file mode 100644 index 0000000..18b204a --- /dev/null +++ b/docs/class_athena_1_1error_1_1_exception__inherit__graph.map @@ -0,0 +1,7 @@ + + + + + + + diff --git a/docs/class_athena_1_1error_1_1_exception__inherit__graph.md5 b/docs/class_athena_1_1error_1_1_exception__inherit__graph.md5 new file mode 100644 index 0000000..544bceb --- /dev/null +++ b/docs/class_athena_1_1error_1_1_exception__inherit__graph.md5 @@ -0,0 +1 @@ +f9c6439e3a778a56b64608273e0cf3f0 \ No newline at end of file diff --git a/docs/class_athena_1_1error_1_1_exception__inherit__graph.png b/docs/class_athena_1_1error_1_1_exception__inherit__graph.png new file mode 100644 index 0000000..4207622 Binary files /dev/null and b/docs/class_athena_1_1error_1_1_exception__inherit__graph.png differ diff --git a/docs/class_athena_1_1error_1_1_file_not_found_exception-members.html b/docs/class_athena_1_1error_1_1_file_not_found_exception-members.html new file mode 100644 index 0000000..2707660 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_file_not_found_exception-members.html @@ -0,0 +1,138 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::error::FileNotFoundException Member List
+
+
+ +

This is the complete list of members for Athena::error::FileNotFoundException, including all inherited members.

+ + + + + + + + + + + + + + +
Exception(const std::string &message, const std::string &file, const std::string &function, const int line)Athena::error::Exceptioninline
file() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
filename() const Athena::error::FileNotFoundExceptioninline
FileNotFoundException(const std::string &filename, const std::string &file, const std::string &function, const int line)Athena::error::FileNotFoundExceptioninline
formattedMessage() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
function() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
line() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
m_exceptionName (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_file (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_function (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_line (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_messageAthena::error::Exceptionprotected
message() const Athena::error::Exceptioninline
+
+ + + + diff --git a/docs/class_athena_1_1error_1_1_file_not_found_exception.html b/docs/class_athena_1_1error_1_1_file_not_found_exception.html new file mode 100644 index 0000000..1f13ce3 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_file_not_found_exception.html @@ -0,0 +1,290 @@ + + + + + + +Athena IO Library: Athena::error::FileNotFoundException Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::error::FileNotFoundException Class Reference
+
+
+ +

An excpeption thrown when a file could not be found at the given path. + More...

+ +

#include <FileNotFoundException.hpp>

+
+Inheritance diagram for Athena::error::FileNotFoundException:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::error::FileNotFoundException:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 FileNotFoundException (const std::string &filename, const std::string &file, const std::string &function, const int line)
 The constructor for an FileNotFoundException. More...
 
std::string filename () const
 Returns the path of the offending file. More...
 
- Public Member Functions inherited from Athena::error::Exception
 Exception (const std::string &message, const std::string &file, const std::string &function, const int line)
 The constructor for an Exception. More...
 
std::string message () const
 Returns the Error message of the exception. More...
 
+std::string file () const
 
+std::string function () const
 
+int line () const
 
+std::string formattedMessage () const
 
+ + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from Athena::error::Exception
+std::string m_message
 The error message string.
 
+std::string m_file
 
+std::string m_function
 
+int m_line
 
+std::string m_exceptionName
 
+

Detailed Description

+

An excpeption thrown when a file could not be found at the given path.

+

This should only be thrown when the Stream is unable to open a file.
+
+ It is NOT appropriate to use throw new so avoid doing so, keeping things on the stack as much as possible is very important for speed.

+ +

Definition at line 33 of file FileNotFoundException.hpp.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Athena::error::FileNotFoundException::FileNotFoundException (const std::string & filename,
const std::string & file,
const std::string & function,
const int line 
)
+
+inline
+
+ +

The constructor for an FileNotFoundException.

+
Parameters
+ + +
filenameThe path of the offending file.
+
+
+ +

Definition at line 39 of file FileNotFoundException.hpp.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + +
std::string Athena::error::FileNotFoundException::filename () const
+
+inline
+
+ +

Returns the path of the offending file.

+
Returns
std::string The filename of the file including the path.
+ +

Definition at line 49 of file FileNotFoundException.hpp.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1error_1_1_file_not_found_exception.js b/docs/class_athena_1_1error_1_1_file_not_found_exception.js new file mode 100644 index 0000000..c4deeb8 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_file_not_found_exception.js @@ -0,0 +1,5 @@ +var class_athena_1_1error_1_1_file_not_found_exception = +[ + [ "FileNotFoundException", "class_athena_1_1error_1_1_file_not_found_exception.html#a2b401e18b016c372a1fbc7d22edfbd3c", null ], + [ "filename", "class_athena_1_1error_1_1_file_not_found_exception.html#addee60cc3fe1e8ebe54d9f85fb586d93", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1error_1_1_file_not_found_exception__coll__graph.map b/docs/class_athena_1_1error_1_1_file_not_found_exception__coll__graph.map new file mode 100644 index 0000000..c9c6632 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_file_not_found_exception__coll__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/class_athena_1_1error_1_1_file_not_found_exception__coll__graph.md5 b/docs/class_athena_1_1error_1_1_file_not_found_exception__coll__graph.md5 new file mode 100644 index 0000000..b13ce62 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_file_not_found_exception__coll__graph.md5 @@ -0,0 +1 @@ +742f8651c0b57cf1faccfdc5e31b5746 \ No newline at end of file diff --git a/docs/class_athena_1_1error_1_1_file_not_found_exception__coll__graph.png b/docs/class_athena_1_1error_1_1_file_not_found_exception__coll__graph.png new file mode 100644 index 0000000..170ab6a Binary files /dev/null and b/docs/class_athena_1_1error_1_1_file_not_found_exception__coll__graph.png differ diff --git a/docs/class_athena_1_1error_1_1_file_not_found_exception__inherit__graph.map b/docs/class_athena_1_1error_1_1_file_not_found_exception__inherit__graph.map new file mode 100644 index 0000000..c9c6632 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_file_not_found_exception__inherit__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/class_athena_1_1error_1_1_file_not_found_exception__inherit__graph.md5 b/docs/class_athena_1_1error_1_1_file_not_found_exception__inherit__graph.md5 new file mode 100644 index 0000000..b13ce62 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_file_not_found_exception__inherit__graph.md5 @@ -0,0 +1 @@ +742f8651c0b57cf1faccfdc5e31b5746 \ No newline at end of file diff --git a/docs/class_athena_1_1error_1_1_file_not_found_exception__inherit__graph.png b/docs/class_athena_1_1error_1_1_file_not_found_exception__inherit__graph.png new file mode 100644 index 0000000..170ab6a Binary files /dev/null and b/docs/class_athena_1_1error_1_1_file_not_found_exception__inherit__graph.png differ diff --git a/docs/class_athena_1_1error_1_1_i_o_exception-members.html b/docs/class_athena_1_1error_1_1_i_o_exception-members.html new file mode 100644 index 0000000..0a6f5ec --- /dev/null +++ b/docs/class_athena_1_1error_1_1_i_o_exception-members.html @@ -0,0 +1,137 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::error::IOException Member List
+
+
+ +

This is the complete list of members for Athena::error::IOException, including all inherited members.

+ + + + + + + + + + + + + +
Exception(const std::string &message, const std::string &file, const std::string &function, const int line)Athena::error::Exceptioninline
file() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
formattedMessage() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
function() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
IOException(const std::string &message, const std::string &file, const std::string &function, const int line)Athena::error::IOExceptioninline
line() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
m_exceptionName (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_file (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_function (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_line (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_messageAthena::error::Exceptionprotected
message() const Athena::error::Exceptioninline
+
+ + + + diff --git a/docs/class_athena_1_1error_1_1_i_o_exception.html b/docs/class_athena_1_1error_1_1_i_o_exception.html new file mode 100644 index 0000000..9999153 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_i_o_exception.html @@ -0,0 +1,258 @@ + + + + + + +Athena IO Library: Athena::error::IOException Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::error::IOException Class Reference
+
+
+ +

An excpeption thrown on inappropriate IO calls. + More...

+ +

#include <IOException.hpp>

+
+Inheritance diagram for Athena::error::IOException:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::error::IOException:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 IOException (const std::string &message, const std::string &file, const std::string &function, const int line)
 The constructor for an IOException. More...
 
- Public Member Functions inherited from Athena::error::Exception
 Exception (const std::string &message, const std::string &file, const std::string &function, const int line)
 The constructor for an Exception. More...
 
std::string message () const
 Returns the Error message of the exception. More...
 
+std::string file () const
 
+std::string function () const
 
+int line () const
 
+std::string formattedMessage () const
 
+ + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from Athena::error::Exception
+std::string m_message
 The error message string.
 
+std::string m_file
 
+std::string m_function
 
+int m_line
 
+std::string m_exceptionName
 
+

Detailed Description

+

An excpeption thrown on inappropriate IO calls.

+

This should only be thrown when the library tries to write to a buffer e.g when the position is greater than the position and the stream is not set to autoresize.
+
+ It is NOT appropriate to use throw new so avoid doing so, keeping things on the stack as much as possible is very important for speed.

+ +

Definition at line 36 of file IOException.hpp.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Athena::error::IOException::IOException (const std::string & message,
const std::string & file,
const std::string & function,
const int line 
)
+
+inline
+
+ +

The constructor for an IOException.

+
Parameters
+ + +
messageThe error message to throw
+
+
+ +

Definition at line 42 of file IOException.hpp.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1error_1_1_i_o_exception.js b/docs/class_athena_1_1error_1_1_i_o_exception.js new file mode 100644 index 0000000..ad84a4a --- /dev/null +++ b/docs/class_athena_1_1error_1_1_i_o_exception.js @@ -0,0 +1,4 @@ +var class_athena_1_1error_1_1_i_o_exception = +[ + [ "IOException", "class_athena_1_1error_1_1_i_o_exception.html#aec6c3f5bfc9698dbff033860741d5b13", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1error_1_1_i_o_exception__coll__graph.map b/docs/class_athena_1_1error_1_1_i_o_exception__coll__graph.map new file mode 100644 index 0000000..07db5d2 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_i_o_exception__coll__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/class_athena_1_1error_1_1_i_o_exception__coll__graph.md5 b/docs/class_athena_1_1error_1_1_i_o_exception__coll__graph.md5 new file mode 100644 index 0000000..18df50c --- /dev/null +++ b/docs/class_athena_1_1error_1_1_i_o_exception__coll__graph.md5 @@ -0,0 +1 @@ +0854c6f27b24b33dc7904b7086ab21f7 \ No newline at end of file diff --git a/docs/class_athena_1_1error_1_1_i_o_exception__coll__graph.png b/docs/class_athena_1_1error_1_1_i_o_exception__coll__graph.png new file mode 100644 index 0000000..3ab9262 Binary files /dev/null and b/docs/class_athena_1_1error_1_1_i_o_exception__coll__graph.png differ diff --git a/docs/class_athena_1_1error_1_1_i_o_exception__inherit__graph.map b/docs/class_athena_1_1error_1_1_i_o_exception__inherit__graph.map new file mode 100644 index 0000000..07db5d2 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_i_o_exception__inherit__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/class_athena_1_1error_1_1_i_o_exception__inherit__graph.md5 b/docs/class_athena_1_1error_1_1_i_o_exception__inherit__graph.md5 new file mode 100644 index 0000000..18df50c --- /dev/null +++ b/docs/class_athena_1_1error_1_1_i_o_exception__inherit__graph.md5 @@ -0,0 +1 @@ +0854c6f27b24b33dc7904b7086ab21f7 \ No newline at end of file diff --git a/docs/class_athena_1_1error_1_1_i_o_exception__inherit__graph.png b/docs/class_athena_1_1error_1_1_i_o_exception__inherit__graph.png new file mode 100644 index 0000000..3ab9262 Binary files /dev/null and b/docs/class_athena_1_1error_1_1_i_o_exception__inherit__graph.png differ diff --git a/docs/class_athena_1_1error_1_1_invalid_data_exception-members.html b/docs/class_athena_1_1error_1_1_invalid_data_exception-members.html new file mode 100644 index 0000000..d7a6835 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_invalid_data_exception-members.html @@ -0,0 +1,137 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::error::InvalidDataException Member List
+
+
+ +

This is the complete list of members for Athena::error::InvalidDataException, including all inherited members.

+ + + + + + + + + + + + + +
Exception(const std::string &message, const std::string &file, const std::string &function, const int line)Athena::error::Exceptioninline
file() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
formattedMessage() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
function() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
InvalidDataException(const std::string &error, const std::string &file, const std::string &function, const int line) (defined in Athena::error::InvalidDataException)Athena::error::InvalidDataExceptioninline
line() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
m_exceptionName (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_file (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_function (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_line (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_messageAthena::error::Exceptionprotected
message() const Athena::error::Exceptioninline
+
+ + + + diff --git a/docs/class_athena_1_1error_1_1_invalid_data_exception.html b/docs/class_athena_1_1error_1_1_invalid_data_exception.html new file mode 100644 index 0000000..61705a9 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_invalid_data_exception.html @@ -0,0 +1,200 @@ + + + + + + +Athena IO Library: Athena::error::InvalidDataException Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::error::InvalidDataException Class Reference
+
+
+ +

An exception thrown on Invalid Data calls. + More...

+ +

#include <InvalidDataException.hpp>

+
+Inheritance diagram for Athena::error::InvalidDataException:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::error::InvalidDataException:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + + + + + + + + + +

+Public Member Functions

InvalidDataException (const std::string &error, const std::string &file, const std::string &function, const int line)
 
- Public Member Functions inherited from Athena::error::Exception
 Exception (const std::string &message, const std::string &file, const std::string &function, const int line)
 The constructor for an Exception. More...
 
std::string message () const
 Returns the Error message of the exception. More...
 
+std::string file () const
 
+std::string function () const
 
+int line () const
 
+std::string formattedMessage () const
 
+ + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from Athena::error::Exception
+std::string m_message
 The error message string.
 
+std::string m_file
 
+std::string m_function
 
+int m_line
 
+std::string m_exceptionName
 
+

Detailed Description

+

An exception thrown on Invalid Data calls.

+

This should only be thrown when the library tries to e.g pass a NULL pointer to a function which requires a valid pointer.
+ It is NOT appropriate to use throw new so avoid doing so, keeping things on the stack as much as possible is very important for speed.

+ +

Definition at line 35 of file InvalidDataException.hpp.

+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1error_1_1_invalid_data_exception.js b/docs/class_athena_1_1error_1_1_invalid_data_exception.js new file mode 100644 index 0000000..66f4ac8 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_invalid_data_exception.js @@ -0,0 +1,4 @@ +var class_athena_1_1error_1_1_invalid_data_exception = +[ + [ "InvalidDataException", "class_athena_1_1error_1_1_invalid_data_exception.html#a564116dabebda21194f18f616e1caece", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1error_1_1_invalid_data_exception__coll__graph.map b/docs/class_athena_1_1error_1_1_invalid_data_exception__coll__graph.map new file mode 100644 index 0000000..be66b47 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_invalid_data_exception__coll__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/class_athena_1_1error_1_1_invalid_data_exception__coll__graph.md5 b/docs/class_athena_1_1error_1_1_invalid_data_exception__coll__graph.md5 new file mode 100644 index 0000000..4c65b3d --- /dev/null +++ b/docs/class_athena_1_1error_1_1_invalid_data_exception__coll__graph.md5 @@ -0,0 +1 @@ +4ec8883565e5bd87b00b5c54169f90b7 \ No newline at end of file diff --git a/docs/class_athena_1_1error_1_1_invalid_data_exception__coll__graph.png b/docs/class_athena_1_1error_1_1_invalid_data_exception__coll__graph.png new file mode 100644 index 0000000..f479d22 Binary files /dev/null and b/docs/class_athena_1_1error_1_1_invalid_data_exception__coll__graph.png differ diff --git a/docs/class_athena_1_1error_1_1_invalid_data_exception__inherit__graph.map b/docs/class_athena_1_1error_1_1_invalid_data_exception__inherit__graph.map new file mode 100644 index 0000000..be66b47 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_invalid_data_exception__inherit__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/class_athena_1_1error_1_1_invalid_data_exception__inherit__graph.md5 b/docs/class_athena_1_1error_1_1_invalid_data_exception__inherit__graph.md5 new file mode 100644 index 0000000..4c65b3d --- /dev/null +++ b/docs/class_athena_1_1error_1_1_invalid_data_exception__inherit__graph.md5 @@ -0,0 +1 @@ +4ec8883565e5bd87b00b5c54169f90b7 \ No newline at end of file diff --git a/docs/class_athena_1_1error_1_1_invalid_data_exception__inherit__graph.png b/docs/class_athena_1_1error_1_1_invalid_data_exception__inherit__graph.png new file mode 100644 index 0000000..f479d22 Binary files /dev/null and b/docs/class_athena_1_1error_1_1_invalid_data_exception__inherit__graph.png differ diff --git a/docs/class_athena_1_1error_1_1_invalid_operation_exception-members.html b/docs/class_athena_1_1error_1_1_invalid_operation_exception-members.html new file mode 100644 index 0000000..e0137df --- /dev/null +++ b/docs/class_athena_1_1error_1_1_invalid_operation_exception-members.html @@ -0,0 +1,137 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::error::InvalidOperationException Member List
+
+
+ +

This is the complete list of members for Athena::error::InvalidOperationException, including all inherited members.

+ + + + + + + + + + + + + +
Exception(const std::string &message, const std::string &file, const std::string &function, const int line)Athena::error::Exceptioninline
file() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
formattedMessage() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
function() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
InvalidOperationException(const std::string &message, const std::string &file, const std::string &function, const int line)Athena::error::InvalidOperationExceptioninline
line() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
m_exceptionName (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_file (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_function (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_line (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_messageAthena::error::Exceptionprotected
message() const Athena::error::Exceptioninline
+
+ + + + diff --git a/docs/class_athena_1_1error_1_1_invalid_operation_exception.html b/docs/class_athena_1_1error_1_1_invalid_operation_exception.html new file mode 100644 index 0000000..b7666c7 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_invalid_operation_exception.html @@ -0,0 +1,257 @@ + + + + + + +Athena IO Library: Athena::error::InvalidOperationException Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::error::InvalidOperationException Class Reference
+
+
+ +

An excpeption thrown on Invalid Operations calls. + More...

+ +

#include <InvalidOperationException.hpp>

+
+Inheritance diagram for Athena::error::InvalidOperationException:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::error::InvalidOperationException:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 InvalidOperationException (const std::string &message, const std::string &file, const std::string &function, const int line)
 The constructor for an InvalidOperationException. More...
 
- Public Member Functions inherited from Athena::error::Exception
 Exception (const std::string &message, const std::string &file, const std::string &function, const int line)
 The constructor for an Exception. More...
 
std::string message () const
 Returns the Error message of the exception. More...
 
+std::string file () const
 
+std::string function () const
 
+int line () const
 
+std::string formattedMessage () const
 
+ + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from Athena::error::Exception
+std::string m_message
 The error message string.
 
+std::string m_file
 
+std::string m_function
 
+int m_line
 
+std::string m_exceptionName
 
+

Detailed Description

+

An excpeption thrown on Invalid Operations calls.

+

This should only be thrown when the library tries to e.g pass a NULL pointer to a function which requires a valid pointer.
+ It is NOT appropriate to use throw new so avoid doing so, keeping things on the stack as much as possible is very important for speed.

+ +

Definition at line 36 of file InvalidOperationException.hpp.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Athena::error::InvalidOperationException::InvalidOperationException (const std::string & message,
const std::string & file,
const std::string & function,
const int line 
)
+
+inline
+
+ +

The constructor for an InvalidOperationException.

+
Parameters
+ + +
errorThe error message to throw
+
+
+ +

Definition at line 42 of file InvalidOperationException.hpp.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1error_1_1_invalid_operation_exception.js b/docs/class_athena_1_1error_1_1_invalid_operation_exception.js new file mode 100644 index 0000000..fe1cf50 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_invalid_operation_exception.js @@ -0,0 +1,4 @@ +var class_athena_1_1error_1_1_invalid_operation_exception = +[ + [ "InvalidOperationException", "class_athena_1_1error_1_1_invalid_operation_exception.html#a5c42ad8f9e8c4bb15045be98281bca0a", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1error_1_1_invalid_operation_exception__coll__graph.map b/docs/class_athena_1_1error_1_1_invalid_operation_exception__coll__graph.map new file mode 100644 index 0000000..08752a5 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_invalid_operation_exception__coll__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/class_athena_1_1error_1_1_invalid_operation_exception__coll__graph.md5 b/docs/class_athena_1_1error_1_1_invalid_operation_exception__coll__graph.md5 new file mode 100644 index 0000000..2079cc9 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_invalid_operation_exception__coll__graph.md5 @@ -0,0 +1 @@ +5a799b3b33352568936aa712ad5e97b8 \ No newline at end of file diff --git a/docs/class_athena_1_1error_1_1_invalid_operation_exception__coll__graph.png b/docs/class_athena_1_1error_1_1_invalid_operation_exception__coll__graph.png new file mode 100644 index 0000000..0e0503d Binary files /dev/null and b/docs/class_athena_1_1error_1_1_invalid_operation_exception__coll__graph.png differ diff --git a/docs/class_athena_1_1error_1_1_invalid_operation_exception__inherit__graph.map b/docs/class_athena_1_1error_1_1_invalid_operation_exception__inherit__graph.map new file mode 100644 index 0000000..08752a5 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_invalid_operation_exception__inherit__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/class_athena_1_1error_1_1_invalid_operation_exception__inherit__graph.md5 b/docs/class_athena_1_1error_1_1_invalid_operation_exception__inherit__graph.md5 new file mode 100644 index 0000000..2079cc9 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_invalid_operation_exception__inherit__graph.md5 @@ -0,0 +1 @@ +5a799b3b33352568936aa712ad5e97b8 \ No newline at end of file diff --git a/docs/class_athena_1_1error_1_1_invalid_operation_exception__inherit__graph.png b/docs/class_athena_1_1error_1_1_invalid_operation_exception__inherit__graph.png new file mode 100644 index 0000000..0e0503d Binary files /dev/null and b/docs/class_athena_1_1error_1_1_invalid_operation_exception__inherit__graph.png differ diff --git a/docs/class_athena_1_1error_1_1_not_implemented_exception-members.html b/docs/class_athena_1_1error_1_1_not_implemented_exception-members.html new file mode 100644 index 0000000..5224897 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_not_implemented_exception-members.html @@ -0,0 +1,137 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::error::NotImplementedException Member List
+
+
+ +

This is the complete list of members for Athena::error::NotImplementedException, including all inherited members.

+ + + + + + + + + + + + + +
Exception(const std::string &message, const std::string &file, const std::string &function, const int line)Athena::error::Exceptioninline
file() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
formattedMessage() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
function() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
line() const (defined in Athena::error::Exception)Athena::error::Exceptioninline
m_exceptionName (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_file (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_function (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_line (defined in Athena::error::Exception)Athena::error::Exceptionprotected
m_messageAthena::error::Exceptionprotected
message() const Athena::error::Exceptioninline
NotImplementedException(const std::string &message, const std::string &file, const std::string &function, const int line) (defined in Athena::error::NotImplementedException)Athena::error::NotImplementedExceptioninline
+
+ + + + diff --git a/docs/class_athena_1_1error_1_1_not_implemented_exception.html b/docs/class_athena_1_1error_1_1_not_implemented_exception.html new file mode 100644 index 0000000..77f3b14 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_not_implemented_exception.html @@ -0,0 +1,192 @@ + + + + + + +Athena IO Library: Athena::error::NotImplementedException Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::error::NotImplementedException Class Reference
+
+
+
+Inheritance diagram for Athena::error::NotImplementedException:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::error::NotImplementedException:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + + + + + + + + + +

+Public Member Functions

NotImplementedException (const std::string &message, const std::string &file, const std::string &function, const int line)
 
- Public Member Functions inherited from Athena::error::Exception
 Exception (const std::string &message, const std::string &file, const std::string &function, const int line)
 The constructor for an Exception. More...
 
std::string message () const
 Returns the Error message of the exception. More...
 
+std::string file () const
 
+std::string function () const
 
+int line () const
 
+std::string formattedMessage () const
 
+ + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from Athena::error::Exception
+std::string m_message
 The error message string.
 
+std::string m_file
 
+std::string m_function
 
+int m_line
 
+std::string m_exceptionName
 
+

Detailed Description

+
+

Definition at line 25 of file NotImplementedException.hpp.

+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1error_1_1_not_implemented_exception.js b/docs/class_athena_1_1error_1_1_not_implemented_exception.js new file mode 100644 index 0000000..035fda4 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_not_implemented_exception.js @@ -0,0 +1,4 @@ +var class_athena_1_1error_1_1_not_implemented_exception = +[ + [ "NotImplementedException", "class_athena_1_1error_1_1_not_implemented_exception.html#a8afed9e1bec8d2cb1b3434ac47a93873", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1error_1_1_not_implemented_exception__coll__graph.map b/docs/class_athena_1_1error_1_1_not_implemented_exception__coll__graph.map new file mode 100644 index 0000000..01c6d77 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_not_implemented_exception__coll__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/class_athena_1_1error_1_1_not_implemented_exception__coll__graph.md5 b/docs/class_athena_1_1error_1_1_not_implemented_exception__coll__graph.md5 new file mode 100644 index 0000000..119ee4c --- /dev/null +++ b/docs/class_athena_1_1error_1_1_not_implemented_exception__coll__graph.md5 @@ -0,0 +1 @@ +7bda5013f0730ed645f12a659d12342b \ No newline at end of file diff --git a/docs/class_athena_1_1error_1_1_not_implemented_exception__coll__graph.png b/docs/class_athena_1_1error_1_1_not_implemented_exception__coll__graph.png new file mode 100644 index 0000000..531f2d3 Binary files /dev/null and b/docs/class_athena_1_1error_1_1_not_implemented_exception__coll__graph.png differ diff --git a/docs/class_athena_1_1error_1_1_not_implemented_exception__inherit__graph.map b/docs/class_athena_1_1error_1_1_not_implemented_exception__inherit__graph.map new file mode 100644 index 0000000..01c6d77 --- /dev/null +++ b/docs/class_athena_1_1error_1_1_not_implemented_exception__inherit__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/class_athena_1_1error_1_1_not_implemented_exception__inherit__graph.md5 b/docs/class_athena_1_1error_1_1_not_implemented_exception__inherit__graph.md5 new file mode 100644 index 0000000..119ee4c --- /dev/null +++ b/docs/class_athena_1_1error_1_1_not_implemented_exception__inherit__graph.md5 @@ -0,0 +1 @@ +7bda5013f0730ed645f12a659d12342b \ No newline at end of file diff --git a/docs/class_athena_1_1error_1_1_not_implemented_exception__inherit__graph.png b/docs/class_athena_1_1error_1_1_not_implemented_exception__inherit__graph.png new file mode 100644 index 0000000..531f2d3 Binary files /dev/null and b/docs/class_athena_1_1error_1_1_not_implemented_exception__inherit__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader-members.html b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader-members.html new file mode 100644 index 0000000..d7ebe6d --- /dev/null +++ b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader-members.html @@ -0,0 +1,175 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::io::ALTTPFileReader Member List
+
+
+ +

This is the complete list of members for Athena::io::ALTTPFileReader, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ALTTPFileReader(atUint8 *, atUint64)Athena::io::ALTTPFileReader
ALTTPFileReader(const std::string &)Athena::io::ALTTPFileReader
atEnd() const Athena::io::MemoryReaderprotectedvirtual
data() const Athena::io::MemoryReaderprotected
endian() const Athena::io::MemoryReaderprotectedvirtual
filepath() const Athena::io::MemoryReaderprotected
isBigEndian() const Athena::io::MemoryReaderprotectedvirtual
isLittleEndian() const Athena::io::MemoryReaderprotectedvirtual
isOpen() const Athena::io::MemoryReaderprotectedvirtual
length() const Athena::io::MemoryReaderprotectedvirtual
loadData() (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_bitPosition (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_data (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_endian (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_filepathAthena::io::MemoryReaderprotected
m_length (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_position (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_progressCallback (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
MemoryReader(const atUint8 *data, atUint64 length)Athena::io::MemoryReaderprotected
MemoryReader(const std::string &filename, std::function< void(int)> progressFun=nullptr)Athena::io::MemoryReaderprotected
position() const Athena::io::MemoryReaderprotectedvirtual
readBit()Athena::io::MemoryReaderprotectedvirtual
readBool()Athena::io::MemoryReaderprotectedvirtual
readByte()Athena::io::MemoryReaderprotectedvirtual
readBytes(atUint64 length)Athena::io::MemoryReaderinlineprotectedvirtual
readBytesToBuf(void *buf, atUint64 len) (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderinlineprotectedvirtual
readDouble()Athena::io::MemoryReaderprotectedvirtual
readFile()Athena::io::ALTTPFileReader
readFloat()Athena::io::MemoryReaderprotectedvirtual
readInt16()Athena::io::MemoryReaderprotectedvirtual
readInt32()Athena::io::MemoryReaderprotectedvirtual
readInt64()Athena::io::MemoryReaderprotectedvirtual
readString(atInt32 maxlen=-1)Athena::io::MemoryReaderprotectedvirtual
readUByte()Athena::io::MemoryReaderprotectedvirtual
readUBytes(atUint64 length)Athena::io::MemoryReaderprotectedvirtual
readUBytesToBuf(void *buf, atUint64 len) (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotectedvirtual
readUint16()Athena::io::MemoryReaderprotectedvirtual
readUint32()Athena::io::MemoryReaderprotectedvirtual
readUint64()Athena::io::MemoryReaderprotectedvirtual
readUnicode(atInt32 maxlen=-1)Athena::io::MemoryReaderprotectedvirtual
seek(atInt64 pos, SeekOrigin origin=SeekOrigin::Current)Athena::io::MemoryReaderprotectedvirtual
seekAlign32()Athena::io::MemoryReaderinlineprotectedvirtual
seekBit(int bit)Athena::io::MemoryReaderprotectedvirtual
setData(const atUint8 *data, atUint64 length)Athena::io::MemoryReaderprotected
setEndian(Endian endian)Athena::io::MemoryReaderprotectedvirtual
setFilepath(const std::string &filepath)Athena::io::MemoryReaderprotected
setProgressCallback(std::function< void(int)> cb) (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
~IStream() (defined in Athena::io::IStream)Athena::io::IStreaminlineprotectedvirtual
~IStreamReader() (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderinlineprotectedvirtual
~MemoryReader() (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotectedvirtual
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader.html b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader.html new file mode 100644 index 0000000..1de490e --- /dev/null +++ b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader.html @@ -0,0 +1,390 @@ + + + + + + +Athena IO Library: Athena::io::ALTTPFileReader Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::io::ALTTPFileReader Class Reference
+
+
+ +

A Link to the Past save data reader class. + More...

+ +

#include <ALTTPFileReader.hpp>

+
+Inheritance diagram for Athena::io::ALTTPFileReader:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::io::ALTTPFileReader:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + +

+Public Member Functions

 ALTTPFileReader (atUint8 *, atUint64)
 This constructor takes an existing buffer to read from. More...
 
 ALTTPFileReader (const std::string &)
 This constructor creates an instance from a file on disk. More...
 
ALTTPFilereadFile ()
 Reads the SRAM data from the buffer. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from Athena::io::MemoryReader
+void loadData ()
 
 MemoryReader (const atUint8 *data, atUint64 length)
 This constructor takes an existing buffer to read from. More...
 
 MemoryReader (const std::string &filename, std::function< void(int)> progressFun=nullptr)
 This constructor creates an instance from a file on disk. More...
 
void setEndian (Endian endian)
 Sets the Endianss of the stream. More...
 
Endian endian () const
 Returns the current Endianness of the stream. More...
 
bool isBigEndian () const
 Returns whether the stream is BigEndian. More...
 
bool isLittleEndian () const
 Returns whether the stream is LittleEndian. More...
 
bool isOpen () const
 Retuns whether or not the Stream is open. More...
 
void seek (atInt64 pos, SeekOrigin origin=SeekOrigin::Current)
 Sets the buffers position relative to the specified position.
+ It seeks relative to the current position by default. More...
 
+void seekAlign32 ()
 Sets the buffers position relative to the next 32-byte aligned position.
+
 
bool atEnd () const
 Returns whether or not the stream is at the end. More...
 
atUint64 position () const
 Returns the current position in the stream. More...
 
atUint64 length () const
 Returns whether or not the stream is at the end. More...
 
void setData (const atUint8 *data, atUint64 length)
 Sets the buffer to the given one, deleting the current one.
+ BEWARE: As this deletes the current buffer it WILL cause a loss of data if that was not the intent.
+ Once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
atUint8 * data () const
 Returns a copy of the current buffer.
+ Changes to the copy do not affect the buffer so it's perfectly safe to directly edit the buffer and use setData to set the new information.
+ However once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
void setFilepath (const std::string &filepath)
 Sets the target file. More...
 
std::string filepath () const
 Returns the target file. More...
 
void seekBit (int bit)
 Seeks to the specified bit within the current byte. More...
 
bool readBit ()
 Reads a bit at the current position and advances the current position. More...
 
atInt8 readByte ()
 Reads a byte at the current position and advances the current position. More...
 
atUint8 readUByte ()
 Reads a byte at the current position and advances the current position. More...
 
atInt8 * readBytes (atUint64 length)
 Reads a byte at the current position and advances the current position. More...
 
atUint8 * readUBytes (atUint64 length)
 Reads a byte at the current position and advances the current position. More...
 
+atUint64 readBytesToBuf (void *buf, atUint64 len)
 
+atUint64 readUBytesToBuf (void *buf, atUint64 len)
 
atInt16 readInt16 ()
 Reads a Int16 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint16 readUint16 ()
 Reads a Uint16 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atInt32 readInt32 ()
 Reads a Int32 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint32 readUint32 ()
 Reads a Uint32 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atInt64 readInt64 ()
 Reads a Int64 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint64 readUint64 ()
 Reads a Uint64 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
float readFloat ()
 Reads a float and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
double readDouble ()
 Reads a double and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
bool readBool ()
 Reads a bool and advances the current position. More...
 
std::string readUnicode (atInt32 maxlen=-1)
 Reads a Unicode string and advances the position in the file. More...
 
std::string readString (atInt32 maxlen=-1)
 Reads a string and advances the position in the file. More...
 
+void setProgressCallback (std::function< void(int)> cb)
 
- Protected Attributes inherited from Athena::io::MemoryReader
+atUint8 * m_data
 
+atUint64 m_length
 
+std::string m_filepath
 Path to the target file.
 
+atUint64 m_position
 
+atUint64 m_bitPosition
 
+Endian m_endian
 
+std::function< void(int)> m_progressCallback
 
+

Detailed Description

+

A Link to the Past save data reader class.

+

A Class for reading binary data from an ALTTP Save File, all work is done using a memory buffer, and not read directly from the disk.

See also
BinaryReader
+ +

Definition at line 38 of file ALTTPFileReader.hpp.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
Athena::io::ALTTPFileReader::ALTTPFileReader (atUint8 * ,
atUint64  
)
+
+ +

This constructor takes an existing buffer to read from.

+
Parameters
+ + + +
dataThe existing buffer
lengthThe length of the existing buffer
+
+
+ +
+
+ +
+
+ + + + + + + + +
Athena::io::ALTTPFileReader::ALTTPFileReader (const std::string & )
+
+ +

This constructor creates an instance from a file on disk.

+
Parameters
+ + +
filenameThe file to create the stream from
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + +
ALTTPFile* Athena::io::ALTTPFileReader::readFile ()
+
+ +

Reads the SRAM data from the buffer.

+
Returns
ALTTPFile* SRAM data
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader.js b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader.js new file mode 100644 index 0000000..9b58899 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader.js @@ -0,0 +1,6 @@ +var class_athena_1_1io_1_1_a_l_t_t_p_file_reader = +[ + [ "ALTTPFileReader", "class_athena_1_1io_1_1_a_l_t_t_p_file_reader.html#ab2e5dbd0327dcbd04bef84685d75edf6", null ], + [ "ALTTPFileReader", "class_athena_1_1io_1_1_a_l_t_t_p_file_reader.html#ab5f85b5625d50b2da990cf00e2e151f8", null ], + [ "readFile", "class_athena_1_1io_1_1_a_l_t_t_p_file_reader.html#ac35c97164bf5e1d6056532d269e76265", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader__coll__graph.map b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader__coll__graph.map new file mode 100644 index 0000000..07979fa --- /dev/null +++ b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader__coll__graph.md5 b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader__coll__graph.md5 new file mode 100644 index 0000000..9955736 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader__coll__graph.md5 @@ -0,0 +1 @@ +10253d4d9b1e1643a6794d19c07dacca \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader__coll__graph.png b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader__coll__graph.png new file mode 100644 index 0000000..7f0bcb1 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader__coll__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader__inherit__graph.map b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader__inherit__graph.map new file mode 100644 index 0000000..07979fa --- /dev/null +++ b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader__inherit__graph.md5 b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader__inherit__graph.md5 new file mode 100644 index 0000000..9955736 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader__inherit__graph.md5 @@ -0,0 +1 @@ +10253d4d9b1e1643a6794d19c07dacca \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader__inherit__graph.png b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader__inherit__graph.png new file mode 100644 index 0000000..7f0bcb1 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_reader__inherit__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer-members.html b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer-members.html new file mode 100644 index 0000000..eb70ce6 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer-members.html @@ -0,0 +1,176 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::io::ALTTPFileWriter Member List
+
+
+ +

This is the complete list of members for Athena::io::ALTTPFileWriter, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ALTTPFileWriter(atUint8 *, atUint64)Athena::io::ALTTPFileWriter
ALTTPFileWriter(const std::string &)Athena::io::ALTTPFileWriter
atEnd() const Athena::io::MemoryWriterprotectedvirtual
data() const Athena::io::MemoryWriterprotected
endian() const Athena::io::MemoryWriterprotectedvirtual
filepath() const Athena::io::MemoryWriterprotected
fill(atUint8 val, atUint64 length) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotectedvirtual
fill(atInt8 val, atUint64 length) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotectedvirtual
isBigEndian() const Athena::io::MemoryWriterprotectedvirtual
isLittleEndian() const Athena::io::MemoryWriterprotectedvirtual
isOpen() const Athena::io::MemoryWriterprotectedvirtual
length() const Athena::io::MemoryWriterprotectedvirtual
loadData() (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_bitPosition (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_data (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_endian (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_filepathAthena::io::MemoryWriterprotected
m_length (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_position (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_progressCallback (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
MemoryWriter(atUint8 *data=nullptr, atUint64 length=0x10)Athena::io::MemoryWriterexplicitprotected
MemoryWriter(const std::string &filename, std::function< void(int)> progressFun=nullptr)Athena::io::MemoryWriterprotected
position() const Athena::io::MemoryWriterprotectedvirtual
save(const std::string &filename="")Athena::io::MemoryWriterprotected
seek(atInt64 pos, SeekOrigin origin=SeekOrigin::Current)Athena::io::MemoryWriterprotectedvirtual
seekAlign32()Athena::io::MemoryWriterinlineprotectedvirtual
seekBit(int bit)Athena::io::MemoryWriterprotectedvirtual
setData(const atUint8 *data, atUint64 length)Athena::io::MemoryWriterprotected
setEndian(Endian endian)Athena::io::MemoryWriterprotectedvirtual
setFilepath(const std::string &filepath)Athena::io::MemoryWriterprotected
setProgressCallback(std::function< void(int)> cb) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
writeBit(bool val)Athena::io::MemoryWriterprotectedvirtual
writeBool(bool)Athena::io::MemoryWriterprotectedvirtual
writeByte(atInt8 val)Athena::io::MemoryWriterprotectedvirtual
writeBytes(atInt8 *data, atUint64 len)Athena::io::MemoryWriterprotectedvirtual
writeDouble(double)Athena::io::MemoryWriterprotectedvirtual
writeFile(ALTTPFile *file)Athena::io::ALTTPFileWriter
writeFloat(float)Athena::io::MemoryWriterprotectedvirtual
writeInt16(atInt16 val)Athena::io::MemoryWriterprotectedvirtual
writeInt32(atInt32)Athena::io::MemoryWriterprotectedvirtual
writeInt64(atInt64)Athena::io::MemoryWriterprotectedvirtual
writeString(const std::string &str)Athena::io::MemoryWriterprotectedvirtual
writeUByte(atUint8 val)Athena::io::MemoryWriterprotectedvirtual
writeUBytes(atUint8 *data, atUint64 len)Athena::io::MemoryWriterprotectedvirtual
writeUint16(atUint16)Athena::io::MemoryWriterprotectedvirtual
writeUint32(atUint32)Athena::io::MemoryWriterprotectedvirtual
writeUint64(atUint64)Athena::io::MemoryWriterprotectedvirtual
writeUnicode(const std::string &str)Athena::io::MemoryWriterprotectedvirtual
~IStream() (defined in Athena::io::IStream)Athena::io::IStreaminlineprotectedvirtual
~IStreamWriter() (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterinlineprotectedvirtual
~MemoryWriter() (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotectedvirtual
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer.html b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer.html new file mode 100644 index 0000000..bacd232 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer.html @@ -0,0 +1,400 @@ + + + + + + +Athena IO Library: Athena::io::ALTTPFileWriter Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::io::ALTTPFileWriter Class Reference
+
+
+ +

A Link to the Past save data writer class. + More...

+ +

#include <ALTTPFileWriter.hpp>

+
+Inheritance diagram for Athena::io::ALTTPFileWriter:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::io::ALTTPFileWriter:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + +

+Public Member Functions

 ALTTPFileWriter (atUint8 *, atUint64)
 This constructor takes an existing buffer to write to. More...
 
 ALTTPFileWriter (const std::string &)
 This constructor creates an instance from a file on disk. More...
 
void writeFile (ALTTPFile *file)
 Writes the given SRAM data to a file on disk. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from Athena::io::MemoryWriter
+void loadData ()
 
 MemoryWriter (atUint8 *data=nullptr, atUint64 length=0x10)
 This constructor takes an existing buffer to write to. More...
 
 MemoryWriter (const std::string &filename, std::function< void(int)> progressFun=nullptr)
 This constructor creates an instance from a file on disk. More...
 
void setEndian (Endian endian)
 Sets the Endianss of the stream. More...
 
Endian endian () const
 Returns the current Endianness of the stream. More...
 
bool isBigEndian () const
 Returns whether the stream is BigEndian. More...
 
bool isLittleEndian () const
 Returns whether the stream is LittleEndian. More...
 
bool isOpen () const
 Retuns whether or not the Stream is open. More...
 
void seek (atInt64 pos, SeekOrigin origin=SeekOrigin::Current)
 Sets the buffers position relative to the specified position.
+ It seeks relative to the current position by default. More...
 
+void seekAlign32 ()
 Sets the buffers position relative to the next 32-byte aligned position.
+
 
bool atEnd () const
 Returns whether or not the stream is at the end. More...
 
atUint64 position () const
 Returns the current position in the stream. More...
 
atUint64 length () const
 Returns whether or not the stream is at the end. More...
 
void setData (const atUint8 *data, atUint64 length)
 Sets the buffer to the given one, deleting the current one.
+ BEWARE: As this deletes the current buffer it WILL cause a loss of data if that was not the intent.
+ Once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
atUint8 * data () const
 Returns a copy of the current buffer.
+ Changes to the copy do not affect the buffer so it's perfectly safe to directly edit the buffer and use setData to set the new information.
+ However once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
void setFilepath (const std::string &filepath)
 Sets the target file. More...
 
+std::string filepath () const
 Returns the target file.
 
void save (const std::string &filename="")
 Saves the file to the specified file. More...
 
void seekBit (int bit)
 Seeks to the specified bit within the current byte. More...
 
void writeBit (bool val)
 Writes a bit at the current position and advances the position by one bit. More...
 
void writeUByte (atUint8 val)
 Writes a byte at the current position and advances the position by one byte. More...
 
void writeByte (atInt8 val)
 Writes a byte at the current position and advances the position by one byte. More...
 
void writeUBytes (atUint8 *data, atUint64 len)
 Writes the given buffer with the specified length, buffers can be bigger than the length however it's undefined behavior to try and write a buffer which is smaller than the given length. More...
 
void writeBytes (atInt8 *data, atUint64 len)
 Writes the given buffer with the specified length, buffers can be bigger than the length however it's undefined behavior to try and write a buffer which is smaller than the given length. More...
 
void writeInt16 (atInt16 val)
 Writes an Int16 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint16 (atUint16)
 Writes an Uint16 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeInt32 (atInt32)
 Writes an Int32 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint32 (atUint32)
 Writes an Uint32 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeInt64 (atInt64)
 Writes an Int64 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint64 (atUint64)
 Writes an Uint64 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeFloat (float)
 Writes an float to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeDouble (double)
 Writes an double to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeBool (bool)
 Writes an bool to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUnicode (const std::string &str)
 Writes an unicode string to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeString (const std::string &str)
 Writes an string to the buffer and advances the buffer. More...
 
+void fill (atUint8 val, atUint64 length)
 
+void fill (atInt8 val, atUint64 length)
 
+void setProgressCallback (std::function< void(int)> cb)
 
- Protected Attributes inherited from Athena::io::MemoryWriter
+atUint8 * m_data
 
+atUint64 m_length
 
+std::string m_filepath
 Path to the target file.
 
+atUint64 m_position
 
+atUint64 m_bitPosition
 
+Endian m_endian
 
+std::function< void(int)> m_progressCallback
 
+

Detailed Description

+

A Link to the Past save data writer class.

+

A Class for writing binary data to an ALTTP Save File, all work is done using a memory buffer, and not written directly to the disk.

See also
BinaryReader
+ +

Definition at line 37 of file ALTTPFileWriter.hpp.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
Athena::io::ALTTPFileWriter::ALTTPFileWriter (atUint8 * ,
atUint64  
)
+
+ +

This constructor takes an existing buffer to write to.

+
Parameters
+ + + +
dataThe existing buffer
lengthThe length of the existing buffer
+
+
+ +
+
+ +
+
+ + + + + + + + +
Athena::io::ALTTPFileWriter::ALTTPFileWriter (const std::string & )
+
+ +

This constructor creates an instance from a file on disk.

+
Parameters
+ + +
filenameThe file to create the stream from
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
void Athena::io::ALTTPFileWriter::writeFile (ALTTPFilefile)
+
+ +

Writes the given SRAM data to a file on disk.

+
Parameters
+ + +
fileSRAM data to right
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer.js b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer.js new file mode 100644 index 0000000..4cc19bd --- /dev/null +++ b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer.js @@ -0,0 +1,6 @@ +var class_athena_1_1io_1_1_a_l_t_t_p_file_writer = +[ + [ "ALTTPFileWriter", "class_athena_1_1io_1_1_a_l_t_t_p_file_writer.html#af58ab28ebc001f2843ec5b11b167280d", null ], + [ "ALTTPFileWriter", "class_athena_1_1io_1_1_a_l_t_t_p_file_writer.html#a436ee973db15aa0c2604447aaaeb47aa", null ], + [ "writeFile", "class_athena_1_1io_1_1_a_l_t_t_p_file_writer.html#aa95cfe41ed654aefdcf97f7d6d1ea4dc", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer__coll__graph.map b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer__coll__graph.map new file mode 100644 index 0000000..22c9235 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer__coll__graph.md5 b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer__coll__graph.md5 new file mode 100644 index 0000000..27e75c1 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer__coll__graph.md5 @@ -0,0 +1 @@ +46afed70a90522d749690f9fbe41cd7f \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer__coll__graph.png b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer__coll__graph.png new file mode 100644 index 0000000..c065b8a Binary files /dev/null and b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer__coll__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer__inherit__graph.map b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer__inherit__graph.map new file mode 100644 index 0000000..22c9235 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer__inherit__graph.md5 b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer__inherit__graph.md5 new file mode 100644 index 0000000..27e75c1 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer__inherit__graph.md5 @@ -0,0 +1 @@ +46afed70a90522d749690f9fbe41cd7f \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer__inherit__graph.png b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer__inherit__graph.png new file mode 100644 index 0000000..c065b8a Binary files /dev/null and b/docs/class_athena_1_1io_1_1_a_l_t_t_p_file_writer__inherit__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_file_reader-members.html b/docs/class_athena_1_1io_1_1_file_reader-members.html new file mode 100644 index 0000000..c0807bb --- /dev/null +++ b/docs/class_athena_1_1io_1_1_file_reader-members.html @@ -0,0 +1,168 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::io::FileReader Member List
+
+
+ +

This is the complete list of members for Athena::io::FileReader, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
atEnd() const (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
close() (defined in Athena::io::FileReader)Athena::io::FileReader
endian() const (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
filename() const (defined in Athena::io::FileReader)Athena::io::FileReader
FileReader(const std::string &filename) (defined in Athena::io::FileReader)Athena::io::FileReader
isBigEndian() const (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
isLittleEndian() const (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
isOpen() const (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
length() const (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
m_bitShift (defined in Athena::io::FileReader)Athena::io::FileReaderprotected
m_bitValid (defined in Athena::io::FileReader)Athena::io::FileReaderprotected
m_currentByte (defined in Athena::io::FileReader)Athena::io::FileReaderprotected
m_endian (defined in Athena::io::FileReader)Athena::io::FileReaderprotected
m_fileHandle (defined in Athena::io::FileReader)Athena::io::FileReaderprotected
m_filename (defined in Athena::io::FileReader)Athena::io::FileReaderprotected
open() (defined in Athena::io::FileReader)Athena::io::FileReader
position() const (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
readBit() (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
readBool() (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
readByte() (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
readBytes(atUint64 len) (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
readBytesToBuf(void *buf, atUint64 len) (defined in Athena::io::FileReader)Athena::io::FileReaderinlinevirtual
readDouble() (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
readFloat() (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
readInt16() (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
readInt32() (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
readInt64() (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
readString(atInt32 maxlen=-1) (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
readUByte() (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
readUBytes(atUint64 len) (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
readUBytesToBuf(void *buf, atUint64 len) (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
readUint16() (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
readUint32() (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
readUint64() (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
readUnicode(atInt32 maxlen=-1) (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
save() (defined in Athena::io::FileReader)Athena::io::FileReader
seek(atInt64 pos, SeekOrigin origin=SeekOrigin::Current) (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
seekAlign32() (defined in Athena::io::FileReader)Athena::io::FileReaderinlinevirtual
seekBit(int) (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
setEndian(Endian endian) (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
~FileReader() (defined in Athena::io::FileReader)Athena::io::FileReadervirtual
~IStream() (defined in Athena::io::IStream)Athena::io::IStreaminlinevirtual
~IStreamReader() (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderinlinevirtual
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_file_reader.html b/docs/class_athena_1_1io_1_1_file_reader.html new file mode 100644 index 0000000..91010f2 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_file_reader.html @@ -0,0 +1,274 @@ + + + + + + +Athena IO Library: Athena::io::FileReader Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::io::FileReader Class Reference
+
+
+
+Inheritance diagram for Athena::io::FileReader:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::io::FileReader:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

FileReader (const std::string &filename)
 
+std::string filename () const
 
+void setEndian (Endian endian)
 
+Endian endian () const
 
+bool isBigEndian () const
 
+bool isLittleEndian () const
 
+void open ()
 
+void close ()
 
+bool isOpen () const
 
+bool save ()
 
+void seek (atInt64 pos, SeekOrigin origin=SeekOrigin::Current)
 
+void seekAlign32 ()
 
+bool atEnd () const
 
+atUint64 position () const
 
+atUint64 length () const
 
+void seekBit (int)
 
+bool readBit ()
 
+atUint8 readUByte ()
 
+atInt8 readByte ()
 
+atUint8 * readUBytes (atUint64 len)
 
+atInt8 * readBytes (atUint64 len)
 
+atUint64 readBytesToBuf (void *buf, atUint64 len)
 
+atUint64 readUBytesToBuf (void *buf, atUint64 len)
 
+atUint16 readUint16 ()
 
+atInt16 readInt16 ()
 
+atUint32 readUint32 ()
 
+atInt32 readInt32 ()
 
+atUint64 readUint64 ()
 
+atInt64 readInt64 ()
 
+double readDouble ()
 
+float readFloat ()
 
+bool readBool ()
 
+std::string readString (atInt32 maxlen=-1)
 
+std::string readUnicode (atInt32 maxlen=-1)
 
+ + + + + + + + + + + + + +

+Protected Attributes

+std::string m_filename
 
+FILE * m_fileHandle
 
+Endian m_endian
 
+atUint8 m_currentByte
 
+atUint8 m_bitShift
 
+bool m_bitValid
 
+

Detailed Description

+
+

Definition at line 27 of file FileReader.hpp.

+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_file_reader.js b/docs/class_athena_1_1io_1_1_file_reader.js new file mode 100644 index 0000000..f6b3416 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_file_reader.js @@ -0,0 +1,44 @@ +var class_athena_1_1io_1_1_file_reader = +[ + [ "FileReader", "class_athena_1_1io_1_1_file_reader.html#a82ca793b2cf258dfbbe898b99d961723", null ], + [ "~FileReader", "class_athena_1_1io_1_1_file_reader.html#abc53b8c72a18d578ebf5a65f3d54505c", null ], + [ "atEnd", "class_athena_1_1io_1_1_file_reader.html#a449c61e82a4e5be6a89808f71b52f6c1", null ], + [ "close", "class_athena_1_1io_1_1_file_reader.html#a9ed61f0812769cf6367b50a328cadccc", null ], + [ "endian", "class_athena_1_1io_1_1_file_reader.html#a1cab3fbc88f383ad36afb4cb823e7ac6", null ], + [ "filename", "class_athena_1_1io_1_1_file_reader.html#ac81dbd99a956f0c7621ad19a9867f429", null ], + [ "isBigEndian", "class_athena_1_1io_1_1_file_reader.html#aca8e999e23244273792a827c0ccc6df9", null ], + [ "isLittleEndian", "class_athena_1_1io_1_1_file_reader.html#ad0da4489923765acffbd932c1defc9a5", null ], + [ "isOpen", "class_athena_1_1io_1_1_file_reader.html#ab2490b3919a8fe495f050b72f05ce729", null ], + [ "length", "class_athena_1_1io_1_1_file_reader.html#a12ddd94ecd751dcddf25aacf54063fb4", null ], + [ "open", "class_athena_1_1io_1_1_file_reader.html#aca7101e98a76c193e70bb3cd57d13aa2", null ], + [ "position", "class_athena_1_1io_1_1_file_reader.html#a4c2537ab4c6f67ad77d690ab94498213", null ], + [ "readBit", "class_athena_1_1io_1_1_file_reader.html#abc3f1c05e3487013db8f588f4a056d54", null ], + [ "readBool", "class_athena_1_1io_1_1_file_reader.html#a260b58b26da2ac37e55c8557b3ebe4a1", null ], + [ "readByte", "class_athena_1_1io_1_1_file_reader.html#a0ad66b86b6f2dda8cdee52263c99a95f", null ], + [ "readBytes", "class_athena_1_1io_1_1_file_reader.html#a146e9fdf566fcc99260318cf9e5f9d79", null ], + [ "readBytesToBuf", "class_athena_1_1io_1_1_file_reader.html#ae87872cb11b2782c8bd03cc07111d91c", null ], + [ "readDouble", "class_athena_1_1io_1_1_file_reader.html#a1b0a43b0adeec4670406ba6f184842e7", null ], + [ "readFloat", "class_athena_1_1io_1_1_file_reader.html#a8ea323cdda85028e8de51615de119bfe", null ], + [ "readInt16", "class_athena_1_1io_1_1_file_reader.html#ab42a513170b8fc4b44e0c36947cf0b16", null ], + [ "readInt32", "class_athena_1_1io_1_1_file_reader.html#a89d286bf8dd20d5468d68c4f9a5f5ccd", null ], + [ "readInt64", "class_athena_1_1io_1_1_file_reader.html#a4fedda06fd485d95f38f1507d49dec64", null ], + [ "readString", "class_athena_1_1io_1_1_file_reader.html#a1415c064a69fc4efc01bd19e095f820c", null ], + [ "readUByte", "class_athena_1_1io_1_1_file_reader.html#ae348f2eead765bd073140eeeecbeac0e", null ], + [ "readUBytes", "class_athena_1_1io_1_1_file_reader.html#aa8bdf847fd97d9dc243a67cb5f35b8eb", null ], + [ "readUBytesToBuf", "class_athena_1_1io_1_1_file_reader.html#a398e813492eb6e78ac54df5dde911a41", null ], + [ "readUint16", "class_athena_1_1io_1_1_file_reader.html#a5bc6be23ad1be6591183549b9aae45a6", null ], + [ "readUint32", "class_athena_1_1io_1_1_file_reader.html#aa7b99a05ba8738df9adc23827dbaa784", null ], + [ "readUint64", "class_athena_1_1io_1_1_file_reader.html#a6bc5c02ec1e2e2e0788edaa78421e307", null ], + [ "readUnicode", "class_athena_1_1io_1_1_file_reader.html#a4ea971eb6c19b75f7abf4f626f0c7c71", null ], + [ "save", "class_athena_1_1io_1_1_file_reader.html#a2e24ce57b4316dd3f3e0d0417eabddc9", null ], + [ "seek", "class_athena_1_1io_1_1_file_reader.html#aef6af59c964ddad74372ab57bab1ef94", null ], + [ "seekAlign32", "class_athena_1_1io_1_1_file_reader.html#a18638dfb97764a7c3e117893a895b724", null ], + [ "seekBit", "class_athena_1_1io_1_1_file_reader.html#a5d449dd3043a0695f277dcac09407046", null ], + [ "setEndian", "class_athena_1_1io_1_1_file_reader.html#a6c6ff224513e5bc05f06eb0a7afe8de8", null ], + [ "m_bitShift", "class_athena_1_1io_1_1_file_reader.html#acf466667d59a105662e90690af8cf6ee", null ], + [ "m_bitValid", "class_athena_1_1io_1_1_file_reader.html#a4c5dd0cd2c7dae0072ce0f2d541a8e5a", null ], + [ "m_currentByte", "class_athena_1_1io_1_1_file_reader.html#afd9284626b5a58e7665d73008e154b94", null ], + [ "m_endian", "class_athena_1_1io_1_1_file_reader.html#a987c3fdeceaa726d406adf63fa3b071f", null ], + [ "m_fileHandle", "class_athena_1_1io_1_1_file_reader.html#ad56239bba3442e7fe2f441fa56356a22", null ], + [ "m_filename", "class_athena_1_1io_1_1_file_reader.html#a535708ecaa89be3280a395781f38f64d", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_file_reader__coll__graph.map b/docs/class_athena_1_1io_1_1_file_reader__coll__graph.map new file mode 100644 index 0000000..270ab6c --- /dev/null +++ b/docs/class_athena_1_1io_1_1_file_reader__coll__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/class_athena_1_1io_1_1_file_reader__coll__graph.md5 b/docs/class_athena_1_1io_1_1_file_reader__coll__graph.md5 new file mode 100644 index 0000000..881c346 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_file_reader__coll__graph.md5 @@ -0,0 +1 @@ +c70691590f9132439fae13dd62ee40e8 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_file_reader__coll__graph.png b/docs/class_athena_1_1io_1_1_file_reader__coll__graph.png new file mode 100644 index 0000000..85c4003 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_file_reader__coll__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_file_reader__inherit__graph.map b/docs/class_athena_1_1io_1_1_file_reader__inherit__graph.map new file mode 100644 index 0000000..270ab6c --- /dev/null +++ b/docs/class_athena_1_1io_1_1_file_reader__inherit__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/class_athena_1_1io_1_1_file_reader__inherit__graph.md5 b/docs/class_athena_1_1io_1_1_file_reader__inherit__graph.md5 new file mode 100644 index 0000000..881c346 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_file_reader__inherit__graph.md5 @@ -0,0 +1 @@ +c70691590f9132439fae13dd62ee40e8 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_file_reader__inherit__graph.png b/docs/class_athena_1_1io_1_1_file_reader__inherit__graph.png new file mode 100644 index 0000000..85c4003 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_file_reader__inherit__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_file_writer-members.html b/docs/class_athena_1_1io_1_1_file_writer-members.html new file mode 100644 index 0000000..34fe37f --- /dev/null +++ b/docs/class_athena_1_1io_1_1_file_writer-members.html @@ -0,0 +1,160 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::io::FileWriter Member List
+
+
+ +

This is the complete list of members for Athena::io::FileWriter, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
atEnd() const (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
close() (defined in Athena::io::FileWriter)Athena::io::FileWriter
endian() const (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
FileWriter(const std::string &filename, bool overwrite=true) (defined in Athena::io::FileWriter)Athena::io::FileWriter
fill(atInt8 byte, atUint64 len) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
fill(atUint8 byte, atUint64 len) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
isBigEndian() const (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
isLittleEndian() const (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
isOpen() const (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
length() const (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
open(bool overwrite=true) (defined in Athena::io::FileWriter)Athena::io::FileWriter
position() const (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
seek(atInt64 pos, SeekOrigin origin=SeekOrigin::Current) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
seekAlign32() (defined in Athena::io::FileWriter)Athena::io::FileWriterinlinevirtual
seekBit(int bit) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
setEndian(Endian endian) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
writeBit(bool val) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
writeBool(bool val) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
writeByte(atInt8 val) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
writeBytes(atInt8 *data, atUint64 len) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
writeDouble(double val) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
writeFloat(float val) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
writeInt16(atInt16 val) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
writeInt32(atInt32 val) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
writeInt64(atInt64 val) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
writeString(const std::string &val) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
writeUByte(atUint8 val) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
writeUBytes(atUint8 *data, atUint64 len) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
writeUint16(atUint16 val) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
writeUint32(atUint32 val) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
writeUint64(atUint64 val) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
writeUnicode(const std::string &str) (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
~FileWriter() (defined in Athena::io::FileWriter)Athena::io::FileWritervirtual
~IStream() (defined in Athena::io::IStream)Athena::io::IStreaminlinevirtual
~IStreamWriter() (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterinlinevirtual
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_file_writer.html b/docs/class_athena_1_1io_1_1_file_writer.html new file mode 100644 index 0000000..751e3a3 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_file_writer.html @@ -0,0 +1,246 @@ + + + + + + +Athena IO Library: Athena::io::FileWriter Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::io::FileWriter Class Reference
+
+
+
+Inheritance diagram for Athena::io::FileWriter:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::io::FileWriter:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

FileWriter (const std::string &filename, bool overwrite=true)
 
+void setEndian (Endian endian)
 
+Endian endian () const
 
+bool isBigEndian () const
 
+bool isLittleEndian () const
 
+void open (bool overwrite=true)
 
+void close ()
 
+bool isOpen () const
 
+void seek (atInt64 pos, SeekOrigin origin=SeekOrigin::Current)
 
+void seekAlign32 ()
 
+bool atEnd () const
 
+atUint64 position () const
 
+atUint64 length () const
 
+void writeBit (bool val)
 
+void seekBit (int bit)
 
+void writeUByte (atUint8 val)
 
+void writeByte (atInt8 val)
 
+void writeUBytes (atUint8 *data, atUint64 len)
 
+void writeBytes (atInt8 *data, atUint64 len)
 
+void writeUint16 (atUint16 val)
 
+void writeInt16 (atInt16 val)
 
+void writeUint32 (atUint32 val)
 
+void writeInt32 (atInt32 val)
 
+void writeUint64 (atUint64 val)
 
+void writeInt64 (atInt64 val)
 
+void writeDouble (double val)
 
+void writeFloat (float val)
 
+void writeBool (bool val)
 
+void writeString (const std::string &val)
 
+void writeUnicode (const std::string &str)
 
+void fill (atInt8 byte, atUint64 len)
 
+void fill (atUint8 byte, atUint64 len)
 
+

Detailed Description

+
+

Definition at line 26 of file FileWriter.hpp.

+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_file_writer.js b/docs/class_athena_1_1io_1_1_file_writer.js new file mode 100644 index 0000000..b61f8f3 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_file_writer.js @@ -0,0 +1,36 @@ +var class_athena_1_1io_1_1_file_writer = +[ + [ "FileWriter", "class_athena_1_1io_1_1_file_writer.html#a1074dc84dd439879f0470cca7ca63d3b", null ], + [ "~FileWriter", "class_athena_1_1io_1_1_file_writer.html#a84730d5a0fbd301d4d631040c844773c", null ], + [ "atEnd", "class_athena_1_1io_1_1_file_writer.html#ae03578b771c138d4bff3da3e3719def7", null ], + [ "close", "class_athena_1_1io_1_1_file_writer.html#ae31ed5c17ef1db87d7f912709aa98581", null ], + [ "endian", "class_athena_1_1io_1_1_file_writer.html#ae90d8d9c585c9e11bd8b840ef448d2b1", null ], + [ "fill", "class_athena_1_1io_1_1_file_writer.html#ac0e1f0095c11a9123fc08918f61b6532", null ], + [ "fill", "class_athena_1_1io_1_1_file_writer.html#a95ac752da5cabff951f4984323d4d346", null ], + [ "isBigEndian", "class_athena_1_1io_1_1_file_writer.html#adae92d3deb3341e7896e99fdce840db2", null ], + [ "isLittleEndian", "class_athena_1_1io_1_1_file_writer.html#a03e0bb23f1ed67969ab12411670e5339", null ], + [ "isOpen", "class_athena_1_1io_1_1_file_writer.html#a1eba1a92f24ef51c41ef3b0c070c1df4", null ], + [ "length", "class_athena_1_1io_1_1_file_writer.html#a3924e4be57d1e2ea93d4e949ba5b1a7e", null ], + [ "open", "class_athena_1_1io_1_1_file_writer.html#a71def8d72bc9b425314cd0c063ea6842", null ], + [ "position", "class_athena_1_1io_1_1_file_writer.html#ad46339855a6e1c52c3a50edf3bd8ece7", null ], + [ "seek", "class_athena_1_1io_1_1_file_writer.html#a21a5b35495f7038685de37eb64752fb3", null ], + [ "seekAlign32", "class_athena_1_1io_1_1_file_writer.html#a4db4ce08c85249269b53e3434e50287a", null ], + [ "seekBit", "class_athena_1_1io_1_1_file_writer.html#a2756d2aabb42218857d1ccf7aa7f5b83", null ], + [ "setEndian", "class_athena_1_1io_1_1_file_writer.html#aad434b6c345754580fffb957dbb4e03c", null ], + [ "writeBit", "class_athena_1_1io_1_1_file_writer.html#a914aa902c8d8e774c441a755e10dcf3a", null ], + [ "writeBool", "class_athena_1_1io_1_1_file_writer.html#a6a353ba412e22e229acec4786d2ce5b7", null ], + [ "writeByte", "class_athena_1_1io_1_1_file_writer.html#a4169b3756aa8302e774db43f3ac8e311", null ], + [ "writeBytes", "class_athena_1_1io_1_1_file_writer.html#aa47f8bb59464dfe2f2bd7d062419b789", null ], + [ "writeDouble", "class_athena_1_1io_1_1_file_writer.html#a0e4b3877dda296e7c6a3b5420dd6c563", null ], + [ "writeFloat", "class_athena_1_1io_1_1_file_writer.html#a013acaf6a8f55eeefb4c14b074cec43a", null ], + [ "writeInt16", "class_athena_1_1io_1_1_file_writer.html#a19341a0346efc860f676925242fe0975", null ], + [ "writeInt32", "class_athena_1_1io_1_1_file_writer.html#aaa8dad4c2b6fad53f4ce919979f53845", null ], + [ "writeInt64", "class_athena_1_1io_1_1_file_writer.html#a091e27ab176e21692c18ad7c60ab4019", null ], + [ "writeString", "class_athena_1_1io_1_1_file_writer.html#abb30184a1b51105e20c8c50cb3210e23", null ], + [ "writeUByte", "class_athena_1_1io_1_1_file_writer.html#a88244d10bd2b843d824a44cf9b71af1e", null ], + [ "writeUBytes", "class_athena_1_1io_1_1_file_writer.html#aedc3b6ab49bd03fc89f794b6adc94dc5", null ], + [ "writeUint16", "class_athena_1_1io_1_1_file_writer.html#a227b7f2070b63c87dda8a044131153ff", null ], + [ "writeUint32", "class_athena_1_1io_1_1_file_writer.html#a16236f0bb7d9b02af791b4ca5ef645ee", null ], + [ "writeUint64", "class_athena_1_1io_1_1_file_writer.html#ab3197fa874af72130be9e18939639cb3", null ], + [ "writeUnicode", "class_athena_1_1io_1_1_file_writer.html#a5ee481eff88e79624049037fa6736f14", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_file_writer__coll__graph.map b/docs/class_athena_1_1io_1_1_file_writer__coll__graph.map new file mode 100644 index 0000000..33267c1 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_file_writer__coll__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/class_athena_1_1io_1_1_file_writer__coll__graph.md5 b/docs/class_athena_1_1io_1_1_file_writer__coll__graph.md5 new file mode 100644 index 0000000..e8db3e8 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_file_writer__coll__graph.md5 @@ -0,0 +1 @@ +09e274dc0ed6849e0a5645d979653d88 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_file_writer__coll__graph.png b/docs/class_athena_1_1io_1_1_file_writer__coll__graph.png new file mode 100644 index 0000000..cc4934a Binary files /dev/null and b/docs/class_athena_1_1io_1_1_file_writer__coll__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_file_writer__inherit__graph.map b/docs/class_athena_1_1io_1_1_file_writer__inherit__graph.map new file mode 100644 index 0000000..33267c1 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_file_writer__inherit__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/class_athena_1_1io_1_1_file_writer__inherit__graph.md5 b/docs/class_athena_1_1io_1_1_file_writer__inherit__graph.md5 new file mode 100644 index 0000000..e8db3e8 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_file_writer__inherit__graph.md5 @@ -0,0 +1 @@ +09e274dc0ed6849e0a5645d979653d88 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_file_writer__inherit__graph.png b/docs/class_athena_1_1io_1_1_file_writer__inherit__graph.png new file mode 100644 index 0000000..cc4934a Binary files /dev/null and b/docs/class_athena_1_1io_1_1_file_writer__inherit__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_i_stream-members.html b/docs/class_athena_1_1io_1_1_i_stream-members.html new file mode 100644 index 0000000..b4e08b6 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream-members.html @@ -0,0 +1,136 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::io::IStream Member List
+
+
+ +

This is the complete list of members for Athena::io::IStream, including all inherited members.

+ + + + + + + + + + + + +
atEnd() const =0 (defined in Athena::io::IStream)Athena::io::IStreampure virtual
endian() const =0 (defined in Athena::io::IStream)Athena::io::IStreampure virtual
isBigEndian() const =0 (defined in Athena::io::IStream)Athena::io::IStreampure virtual
isLittleEndian() const =0 (defined in Athena::io::IStream)Athena::io::IStreampure virtual
isOpen() const =0 (defined in Athena::io::IStream)Athena::io::IStreampure virtual
length() const =0 (defined in Athena::io::IStream)Athena::io::IStreampure virtual
position() const =0 (defined in Athena::io::IStream)Athena::io::IStreampure virtual
seek(atInt64, SeekOrigin)=0 (defined in Athena::io::IStream)Athena::io::IStreampure virtual
seekBit(int)=0 (defined in Athena::io::IStream)Athena::io::IStreampure virtual
setEndian(Endian)=0 (defined in Athena::io::IStream)Athena::io::IStreampure virtual
~IStream() (defined in Athena::io::IStream)Athena::io::IStreaminlinevirtual
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_i_stream.html b/docs/class_athena_1_1io_1_1_i_stream.html new file mode 100644 index 0000000..e17e301 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream.html @@ -0,0 +1,178 @@ + + + + + + +Athena IO Library: Athena::io::IStream Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::io::IStream Class Referenceabstract
+
+
+
+Inheritance diagram for Athena::io::IStream:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::io::IStream:
+
+
Collaboration graph
+
+ + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+virtual void setEndian (Endian)=0
 
+virtual Endian endian () const =0
 
+virtual bool isBigEndian () const =0
 
+virtual bool isLittleEndian () const =0
 
+virtual bool isOpen () const =0
 
+virtual void seek (atInt64, SeekOrigin)=0
 
+virtual bool atEnd () const =0
 
+virtual atUint64 position () const =0
 
+virtual atUint64 length () const =0
 
+virtual void seekBit (int)=0
 
+

Detailed Description

+
+

Definition at line 28 of file IStream.hpp.

+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_i_stream.js b/docs/class_athena_1_1io_1_1_i_stream.js new file mode 100644 index 0000000..11a3fb9 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream.js @@ -0,0 +1,14 @@ +var class_athena_1_1io_1_1_i_stream = +[ + [ "~IStream", "class_athena_1_1io_1_1_i_stream.html#ad748bfdc9a236d51f5b131e03e2a28cc", null ], + [ "atEnd", "class_athena_1_1io_1_1_i_stream.html#ad8500312372d8604d4f3d555b85a1e53", null ], + [ "endian", "class_athena_1_1io_1_1_i_stream.html#a0344f670303f82778c04f0206b160669", null ], + [ "isBigEndian", "class_athena_1_1io_1_1_i_stream.html#a8ab0b951701b2fd33a1d849967b2f201", null ], + [ "isLittleEndian", "class_athena_1_1io_1_1_i_stream.html#aa74c83f61471160c51d492ba5f8926b0", null ], + [ "isOpen", "class_athena_1_1io_1_1_i_stream.html#ab26262d5ab77decae672efa85541e307", null ], + [ "length", "class_athena_1_1io_1_1_i_stream.html#ae89021cbb1ecaa01f0e5c8cb9275c865", null ], + [ "position", "class_athena_1_1io_1_1_i_stream.html#a1ba6eb3816856669630c031d24c1dc45", null ], + [ "seek", "class_athena_1_1io_1_1_i_stream.html#ad1bad5dc5bd938645a6578ecf89bc572", null ], + [ "seekBit", "class_athena_1_1io_1_1_i_stream.html#a6da3ceadb0fab2cb9d968b68f7705f2a", null ], + [ "setEndian", "class_athena_1_1io_1_1_i_stream.html#ac76ed9270e120203a233a8828e910b50", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_i_stream__coll__graph.map b/docs/class_athena_1_1io_1_1_i_stream__coll__graph.map new file mode 100644 index 0000000..544e652 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/class_athena_1_1io_1_1_i_stream__coll__graph.md5 b/docs/class_athena_1_1io_1_1_i_stream__coll__graph.md5 new file mode 100644 index 0000000..66e3153 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream__coll__graph.md5 @@ -0,0 +1 @@ +9f15295dfd95410690051362b92b7f48 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_i_stream__coll__graph.png b/docs/class_athena_1_1io_1_1_i_stream__coll__graph.png new file mode 100644 index 0000000..aa4e932 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_i_stream__coll__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_i_stream__inherit__graph.map b/docs/class_athena_1_1io_1_1_i_stream__inherit__graph.map new file mode 100644 index 0000000..f035863 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream__inherit__graph.map @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/docs/class_athena_1_1io_1_1_i_stream__inherit__graph.md5 b/docs/class_athena_1_1io_1_1_i_stream__inherit__graph.md5 new file mode 100644 index 0000000..15c3864 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream__inherit__graph.md5 @@ -0,0 +1 @@ +fa6103715123ca291d6a67c53e6dcaf6 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_i_stream__inherit__graph.png b/docs/class_athena_1_1io_1_1_i_stream__inherit__graph.png new file mode 100644 index 0000000..a39da18 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_i_stream__inherit__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_i_stream_reader-members.html b/docs/class_athena_1_1io_1_1_i_stream_reader-members.html new file mode 100644 index 0000000..d7999cf --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream_reader-members.html @@ -0,0 +1,156 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::io::IStreamReader Member List
+
+
+ +

This is the complete list of members for Athena::io::IStreamReader, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
atEnd() const =0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
endian() const =0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
isBigEndian() const =0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
isLittleEndian() const =0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
isOpen() const =0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
length() const =0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
position() const =0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
readBit()=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
readBool()=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
readByte()=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
readBytes(atUint64)=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
readBytesToBuf(void *, atUint64)=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
readDouble()=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
readFloat()=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
readInt16()=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
readInt32()=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
readInt64()=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
readString(atInt32=-1)=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
readUByte()=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
readUBytes(atUint64)=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
readUBytesToBuf(void *, atUint64)=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
readUint16()=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
readUint32()=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
readUint64()=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
readUnicode(atInt32=-1)=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
seek(atInt64, SeekOrigin)=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
seekAlign32()=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
seekBit(int)=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
setEndian(Endian)=0 (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderpure virtual
~IStream() (defined in Athena::io::IStream)Athena::io::IStreaminlinevirtual
~IStreamReader() (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderinlinevirtual
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_i_stream_reader.html b/docs/class_athena_1_1io_1_1_i_stream_reader.html new file mode 100644 index 0000000..b7d9280 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream_reader.html @@ -0,0 +1,237 @@ + + + + + + +Athena IO Library: Athena::io::IStreamReader Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::io::IStreamReader Class Referenceabstract
+
+
+
+Inheritance diagram for Athena::io::IStreamReader:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::io::IStreamReader:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+virtual void setEndian (Endian)=0
 
+virtual Endian endian () const =0
 
+virtual bool isBigEndian () const =0
 
+virtual bool isLittleEndian () const =0
 
+virtual bool isOpen () const =0
 
+virtual void seek (atInt64, SeekOrigin)=0
 
+virtual void seekAlign32 ()=0
 
+virtual bool atEnd () const =0
 
+virtual atUint64 position () const =0
 
+virtual atUint64 length () const =0
 
+virtual void seekBit (int)=0
 
+virtual bool readBit ()=0
 
+virtual atUint8 readUByte ()=0
 
+virtual atInt8 readByte ()=0
 
+virtual atUint8 * readUBytes (atUint64)=0
 
+virtual atInt8 * readBytes (atUint64)=0
 
+virtual atUint64 readUBytesToBuf (void *, atUint64)=0
 
+virtual atUint64 readBytesToBuf (void *, atUint64)=0
 
+virtual atUint16 readUint16 ()=0
 
+virtual atInt16 readInt16 ()=0
 
+virtual atUint32 readUint32 ()=0
 
+virtual atInt32 readInt32 ()=0
 
+virtual atUint64 readUint64 ()=0
 
+virtual atInt64 readInt64 ()=0
 
+virtual double readDouble ()=0
 
+virtual float readFloat ()=0
 
+virtual bool readBool ()=0
 
+virtual std::string readUnicode (atInt32=-1)=0
 
+virtual std::string readString (atInt32=-1)=0
 
+

Detailed Description

+
+

Definition at line 10 of file IStreamReader.hpp.

+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_i_stream_reader.js b/docs/class_athena_1_1io_1_1_i_stream_reader.js new file mode 100644 index 0000000..fb86dc8 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream_reader.js @@ -0,0 +1,33 @@ +var class_athena_1_1io_1_1_i_stream_reader = +[ + [ "~IStreamReader", "class_athena_1_1io_1_1_i_stream_reader.html#ab971c9d1a58afb230f352d303287f509", null ], + [ "atEnd", "class_athena_1_1io_1_1_i_stream_reader.html#a2be36a581f3ecb63ade045ad3ccfb0bd", null ], + [ "endian", "class_athena_1_1io_1_1_i_stream_reader.html#adb493abf8114f543f84cb36c0bd49905", null ], + [ "isBigEndian", "class_athena_1_1io_1_1_i_stream_reader.html#a40109a6db01b3a34031af825776ff136", null ], + [ "isLittleEndian", "class_athena_1_1io_1_1_i_stream_reader.html#a7f93878e90ef583c0fe075cf48f3c1fd", null ], + [ "isOpen", "class_athena_1_1io_1_1_i_stream_reader.html#a3e3c5047aca0d385517679cadf7d8572", null ], + [ "length", "class_athena_1_1io_1_1_i_stream_reader.html#a30e89b8e8b45671795214359522c2eeb", null ], + [ "position", "class_athena_1_1io_1_1_i_stream_reader.html#ada0044b33b8978b5dd46eef9b80b668e", null ], + [ "readBit", "class_athena_1_1io_1_1_i_stream_reader.html#aa89ec53c3cfef72a3f66a4c777d5b67f", null ], + [ "readBool", "class_athena_1_1io_1_1_i_stream_reader.html#ab0827468a9cd08c2b06d2e1de231f8f9", null ], + [ "readByte", "class_athena_1_1io_1_1_i_stream_reader.html#a5e27b6a6e0c0ae76b906486b332ae25b", null ], + [ "readBytes", "class_athena_1_1io_1_1_i_stream_reader.html#aa5c2b452e8e2a3b1f2985edfe965c83d", null ], + [ "readBytesToBuf", "class_athena_1_1io_1_1_i_stream_reader.html#a0a95ae27c0607a199dc8173e3ac563af", null ], + [ "readDouble", "class_athena_1_1io_1_1_i_stream_reader.html#a808fdc7773906cae2a8004fcbf88a625", null ], + [ "readFloat", "class_athena_1_1io_1_1_i_stream_reader.html#a7cd46435555226e3762d34712a3ba3c4", null ], + [ "readInt16", "class_athena_1_1io_1_1_i_stream_reader.html#ac4182756b449ab54a8881a15545d4253", null ], + [ "readInt32", "class_athena_1_1io_1_1_i_stream_reader.html#a722eddde3e04075a8ce203a0b5de18bd", null ], + [ "readInt64", "class_athena_1_1io_1_1_i_stream_reader.html#aaeaf557966d84701d1e28e7516186ca1", null ], + [ "readString", "class_athena_1_1io_1_1_i_stream_reader.html#add81516289d719340bbfc7d6c0b2b8bb", null ], + [ "readUByte", "class_athena_1_1io_1_1_i_stream_reader.html#a9d841a1a24b9290934e82a1178021f2a", null ], + [ "readUBytes", "class_athena_1_1io_1_1_i_stream_reader.html#a4a79f4606715a9d319d04a33272af272", null ], + [ "readUBytesToBuf", "class_athena_1_1io_1_1_i_stream_reader.html#a9195a53f2600c411d88cdac142c2ea12", null ], + [ "readUint16", "class_athena_1_1io_1_1_i_stream_reader.html#af3759863a421f992def881be6f9441da", null ], + [ "readUint32", "class_athena_1_1io_1_1_i_stream_reader.html#aa67155c0f06a0b17f6e5c4de8525736b", null ], + [ "readUint64", "class_athena_1_1io_1_1_i_stream_reader.html#a76abd4999d21abbf144019e8c502f241", null ], + [ "readUnicode", "class_athena_1_1io_1_1_i_stream_reader.html#a4b39dede2c0f0ff7e17b10feab18f237", null ], + [ "seek", "class_athena_1_1io_1_1_i_stream_reader.html#a290d064f940a5c6de27ed26167a9eeb5", null ], + [ "seekAlign32", "class_athena_1_1io_1_1_i_stream_reader.html#ab191e2e9db92398823046842642490a9", null ], + [ "seekBit", "class_athena_1_1io_1_1_i_stream_reader.html#a6cd6d7f501c7874a4378a59fa9190912", null ], + [ "setEndian", "class_athena_1_1io_1_1_i_stream_reader.html#a6aff7dd3a8bb0091791ef35ed71f64f9", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_i_stream_reader__coll__graph.map b/docs/class_athena_1_1io_1_1_i_stream_reader__coll__graph.map new file mode 100644 index 0000000..9c1b8fe --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream_reader__coll__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/class_athena_1_1io_1_1_i_stream_reader__coll__graph.md5 b/docs/class_athena_1_1io_1_1_i_stream_reader__coll__graph.md5 new file mode 100644 index 0000000..3a76aed --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream_reader__coll__graph.md5 @@ -0,0 +1 @@ +72a450401b9caf68403e35bff8c2d920 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_i_stream_reader__coll__graph.png b/docs/class_athena_1_1io_1_1_i_stream_reader__coll__graph.png new file mode 100644 index 0000000..26243f1 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_i_stream_reader__coll__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_i_stream_reader__inherit__graph.map b/docs/class_athena_1_1io_1_1_i_stream_reader__inherit__graph.map new file mode 100644 index 0000000..8380d08 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream_reader__inherit__graph.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/docs/class_athena_1_1io_1_1_i_stream_reader__inherit__graph.md5 b/docs/class_athena_1_1io_1_1_i_stream_reader__inherit__graph.md5 new file mode 100644 index 0000000..9c80a34 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream_reader__inherit__graph.md5 @@ -0,0 +1 @@ +700d33da4b2b9a4138b641d4488d2ac2 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_i_stream_reader__inherit__graph.png b/docs/class_athena_1_1io_1_1_i_stream_reader__inherit__graph.png new file mode 100644 index 0000000..c9abd38 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_i_stream_reader__inherit__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_i_stream_writer-members.html b/docs/class_athena_1_1io_1_1_i_stream_writer-members.html new file mode 100644 index 0000000..5085b79 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream_writer-members.html @@ -0,0 +1,156 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::io::IStreamWriter Member List
+
+
+ +

This is the complete list of members for Athena::io::IStreamWriter, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
atEnd() const =0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
endian() const =0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
fill(atUint8, atUint64)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
fill(atInt8, atUint64)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
isBigEndian() const =0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
isLittleEndian() const =0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
isOpen() const =0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
length() const =0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
position() const =0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
seek(atInt64, SeekOrigin)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
seekAlign32()=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
seekBit(int)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
setEndian(Endian)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
writeBit(bool)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
writeBool(bool)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
writeByte(atInt8)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
writeBytes(atInt8 *, atUint64)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
writeDouble(double)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
writeFloat(float)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
writeInt16(atInt16)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
writeInt32(atInt32)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
writeInt64(atInt64)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
writeString(const std::string &)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
writeUByte(atUint8)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
writeUBytes(atUint8 *, atUint64)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
writeUint16(atUint16)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
writeUint32(atUint32)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
writeUint64(atUint64)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
writeUnicode(const std::string &)=0 (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterpure virtual
~IStream() (defined in Athena::io::IStream)Athena::io::IStreaminlinevirtual
~IStreamWriter() (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterinlinevirtual
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_i_stream_writer.html b/docs/class_athena_1_1io_1_1_i_stream_writer.html new file mode 100644 index 0000000..87aca9b --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream_writer.html @@ -0,0 +1,237 @@ + + + + + + +Athena IO Library: Athena::io::IStreamWriter Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::io::IStreamWriter Class Referenceabstract
+
+
+
+Inheritance diagram for Athena::io::IStreamWriter:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::io::IStreamWriter:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+virtual void setEndian (Endian)=0
 
+virtual Endian endian () const =0
 
+virtual bool isBigEndian () const =0
 
+virtual bool isLittleEndian () const =0
 
+virtual bool isOpen () const =0
 
+virtual void seek (atInt64, SeekOrigin)=0
 
+virtual void seekAlign32 ()=0
 
+virtual bool atEnd () const =0
 
+virtual atUint64 position () const =0
 
+virtual atUint64 length () const =0
 
+virtual void seekBit (int)=0
 
+virtual void writeBit (bool)=0
 
+virtual void writeUByte (atUint8)=0
 
+virtual void writeByte (atInt8)=0
 
+virtual void writeUBytes (atUint8 *, atUint64)=0
 
+virtual void writeBytes (atInt8 *, atUint64)=0
 
+virtual void writeUint16 (atUint16)=0
 
+virtual void writeInt16 (atInt16)=0
 
+virtual void writeUint32 (atUint32)=0
 
+virtual void writeInt32 (atInt32)=0
 
+virtual void writeUint64 (atUint64)=0
 
+virtual void writeInt64 (atInt64)=0
 
+virtual void writeDouble (double)=0
 
+virtual void writeFloat (float)=0
 
+virtual void writeBool (bool)=0
 
+virtual void writeString (const std::string &)=0
 
+virtual void writeUnicode (const std::string &)=0
 
+virtual void fill (atUint8, atUint64)=0
 
+virtual void fill (atInt8, atUint64)=0
 
+

Detailed Description

+
+

Definition at line 10 of file IStreamWriter.hpp.

+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_i_stream_writer.js b/docs/class_athena_1_1io_1_1_i_stream_writer.js new file mode 100644 index 0000000..93d87d0 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream_writer.js @@ -0,0 +1,33 @@ +var class_athena_1_1io_1_1_i_stream_writer = +[ + [ "~IStreamWriter", "class_athena_1_1io_1_1_i_stream_writer.html#ae03f046da767b5970519b0bcaaabd436", null ], + [ "atEnd", "class_athena_1_1io_1_1_i_stream_writer.html#ad8e0b1a13d141f1935d7b4e1dc1a9ae7", null ], + [ "endian", "class_athena_1_1io_1_1_i_stream_writer.html#a76d3da0bc6d203aab8875fa415ad718b", null ], + [ "fill", "class_athena_1_1io_1_1_i_stream_writer.html#a4780dde7229fe2f376ea08112e563c29", null ], + [ "fill", "class_athena_1_1io_1_1_i_stream_writer.html#a2fee8af7c02bfc9307b3424c8333ec8f", null ], + [ "isBigEndian", "class_athena_1_1io_1_1_i_stream_writer.html#a884d87ad3020539e768401d3a488359f", null ], + [ "isLittleEndian", "class_athena_1_1io_1_1_i_stream_writer.html#aebc9505a100276a8103ca554e5c558ae", null ], + [ "isOpen", "class_athena_1_1io_1_1_i_stream_writer.html#a0f619c98eac74ea266b81fec473c9bf5", null ], + [ "length", "class_athena_1_1io_1_1_i_stream_writer.html#a709ab9d7f4fbfc2e781212ffca91e9f3", null ], + [ "position", "class_athena_1_1io_1_1_i_stream_writer.html#a0183b5c93542b8b55f73b506d1dc55b1", null ], + [ "seek", "class_athena_1_1io_1_1_i_stream_writer.html#a5cc9fee0ed7af54e6b460802c404c4be", null ], + [ "seekAlign32", "class_athena_1_1io_1_1_i_stream_writer.html#aecaad3fed18808ed9cb7e7e0744e1a67", null ], + [ "seekBit", "class_athena_1_1io_1_1_i_stream_writer.html#a0105e3fe34858553b6faf38810f00e9d", null ], + [ "setEndian", "class_athena_1_1io_1_1_i_stream_writer.html#add9bc76671dd1a755fded7aef402121b", null ], + [ "writeBit", "class_athena_1_1io_1_1_i_stream_writer.html#aab524b30b62bfbb7170a728aca9a07f7", null ], + [ "writeBool", "class_athena_1_1io_1_1_i_stream_writer.html#a532659c26c81881ddaa952a6c06ecf86", null ], + [ "writeByte", "class_athena_1_1io_1_1_i_stream_writer.html#a4e471414b4d12e957b91c457e8481e7f", null ], + [ "writeBytes", "class_athena_1_1io_1_1_i_stream_writer.html#ac09e321357dbfb0410deb4df28516a06", null ], + [ "writeDouble", "class_athena_1_1io_1_1_i_stream_writer.html#a48f89f04d35f65e80b05b4dc299348af", null ], + [ "writeFloat", "class_athena_1_1io_1_1_i_stream_writer.html#ab7ba732b44a1d68fee16774d00e11ed2", null ], + [ "writeInt16", "class_athena_1_1io_1_1_i_stream_writer.html#adcbe6de96a6e065a26bdda05ce05dc80", null ], + [ "writeInt32", "class_athena_1_1io_1_1_i_stream_writer.html#a6ee69f68db04a1462fe61001688fc76d", null ], + [ "writeInt64", "class_athena_1_1io_1_1_i_stream_writer.html#a881ce69070e7229ec56b29a87cf90dec", null ], + [ "writeString", "class_athena_1_1io_1_1_i_stream_writer.html#a8ae1fde73c3420938fb5bdd0059bd9d9", null ], + [ "writeUByte", "class_athena_1_1io_1_1_i_stream_writer.html#a66922ea53431a1c9401bd5b12b60d716", null ], + [ "writeUBytes", "class_athena_1_1io_1_1_i_stream_writer.html#a10caef1dab00925320c4f2bb4540ee58", null ], + [ "writeUint16", "class_athena_1_1io_1_1_i_stream_writer.html#a6b7e4ca0f14dba4fbc7b721bcf81bdc2", null ], + [ "writeUint32", "class_athena_1_1io_1_1_i_stream_writer.html#a62dfd201ea6d6533623efc68f37983c0", null ], + [ "writeUint64", "class_athena_1_1io_1_1_i_stream_writer.html#a1a96292537f154c7f7900e9df5f2a5c7", null ], + [ "writeUnicode", "class_athena_1_1io_1_1_i_stream_writer.html#ae2774e0de8af626c8e5b8d6ea765c397", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_i_stream_writer__coll__graph.map b/docs/class_athena_1_1io_1_1_i_stream_writer__coll__graph.map new file mode 100644 index 0000000..24b1f56 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream_writer__coll__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/class_athena_1_1io_1_1_i_stream_writer__coll__graph.md5 b/docs/class_athena_1_1io_1_1_i_stream_writer__coll__graph.md5 new file mode 100644 index 0000000..8c98a37 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream_writer__coll__graph.md5 @@ -0,0 +1 @@ +8c13a22ba07e74b69c55aff3f828b57d \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_i_stream_writer__coll__graph.png b/docs/class_athena_1_1io_1_1_i_stream_writer__coll__graph.png new file mode 100644 index 0000000..d68bebb Binary files /dev/null and b/docs/class_athena_1_1io_1_1_i_stream_writer__coll__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_i_stream_writer__inherit__graph.map b/docs/class_athena_1_1io_1_1_i_stream_writer__inherit__graph.map new file mode 100644 index 0000000..b2050a1 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream_writer__inherit__graph.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/docs/class_athena_1_1io_1_1_i_stream_writer__inherit__graph.md5 b/docs/class_athena_1_1io_1_1_i_stream_writer__inherit__graph.md5 new file mode 100644 index 0000000..1f1e5be --- /dev/null +++ b/docs/class_athena_1_1io_1_1_i_stream_writer__inherit__graph.md5 @@ -0,0 +1 @@ +8d33a3515af8caf925ec654b8c35d00e \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_i_stream_writer__inherit__graph.png b/docs/class_athena_1_1io_1_1_i_stream_writer__inherit__graph.png new file mode 100644 index 0000000..75384da Binary files /dev/null and b/docs/class_athena_1_1io_1_1_i_stream_writer__inherit__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_m_c_file_reader-members.html b/docs/class_athena_1_1io_1_1_m_c_file_reader-members.html new file mode 100644 index 0000000..1c8379b --- /dev/null +++ b/docs/class_athena_1_1io_1_1_m_c_file_reader-members.html @@ -0,0 +1,175 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::io::MCFileReader Member List
+
+
+ +

This is the complete list of members for Athena::io::MCFileReader, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
atEnd() const Athena::io::MemoryReadervirtual
data() const Athena::io::MemoryReader
endian() const Athena::io::MemoryReadervirtual
filepath() const Athena::io::MemoryReader
isBigEndian() const Athena::io::MemoryReadervirtual
isLittleEndian() const Athena::io::MemoryReadervirtual
isOpen() const Athena::io::MemoryReadervirtual
length() const Athena::io::MemoryReadervirtual
loadData() (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_bitPosition (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_data (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_endian (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_filepathAthena::io::MemoryReaderprotected
m_length (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_position (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_progressCallback (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
MCFileReader(atUint8 *, atUint64)Athena::io::MCFileReader
MCFileReader(const std::string &)Athena::io::MCFileReader
MemoryReader(const atUint8 *data, atUint64 length)Athena::io::MemoryReader
MemoryReader(const std::string &filename, std::function< void(int)> progressFun=nullptr)Athena::io::MemoryReader
position() const Athena::io::MemoryReadervirtual
readBit()Athena::io::MemoryReadervirtual
readBool()Athena::io::MemoryReadervirtual
readByte()Athena::io::MemoryReadervirtual
readBytes(atUint64 length)Athena::io::MemoryReaderinlinevirtual
readBytesToBuf(void *buf, atUint64 len) (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderinlinevirtual
readDouble()Athena::io::MemoryReadervirtual
readFile()Athena::io::MCFileReader
readFloat()Athena::io::MemoryReadervirtual
readInt16()Athena::io::MemoryReadervirtual
readInt32()Athena::io::MemoryReadervirtual
readInt64()Athena::io::MemoryReadervirtual
readString(atInt32 maxlen=-1)Athena::io::MemoryReadervirtual
readUByte()Athena::io::MemoryReadervirtual
readUBytes(atUint64 length)Athena::io::MemoryReadervirtual
readUBytesToBuf(void *buf, atUint64 len) (defined in Athena::io::MemoryReader)Athena::io::MemoryReadervirtual
readUint16()Athena::io::MemoryReadervirtual
readUint32()Athena::io::MemoryReadervirtual
readUint64()Athena::io::MemoryReadervirtual
readUnicode(atInt32 maxlen=-1)Athena::io::MemoryReadervirtual
seek(atInt64 pos, SeekOrigin origin=SeekOrigin::Current)Athena::io::MemoryReadervirtual
seekAlign32()Athena::io::MemoryReaderinlinevirtual
seekBit(int bit)Athena::io::MemoryReadervirtual
setData(const atUint8 *data, atUint64 length)Athena::io::MemoryReader
setEndian(Endian endian)Athena::io::MemoryReadervirtual
setFilepath(const std::string &filepath)Athena::io::MemoryReader
setProgressCallback(std::function< void(int)> cb) (defined in Athena::io::MemoryReader)Athena::io::MemoryReader
~IStream() (defined in Athena::io::IStream)Athena::io::IStreaminlinevirtual
~IStreamReader() (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderinlinevirtual
~MemoryReader() (defined in Athena::io::MemoryReader)Athena::io::MemoryReadervirtual
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_m_c_file_reader.html b/docs/class_athena_1_1io_1_1_m_c_file_reader.html new file mode 100644 index 0000000..d232c7d --- /dev/null +++ b/docs/class_athena_1_1io_1_1_m_c_file_reader.html @@ -0,0 +1,391 @@ + + + + + + +Athena IO Library: Athena::io::MCFileReader Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::io::MCFileReader Class Reference
+
+
+ +

The Minish Cap Save save data reader class. + More...

+ +

#include <MCFileReader.hpp>

+
+Inheritance diagram for Athena::io::MCFileReader:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::io::MCFileReader:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MCFileReader (atUint8 *, atUint64)
 This constructor takes an existing buffer to read from. More...
 
 MCFileReader (const std::string &)
 This constructor creates an instance from a file on disk. More...
 
MCFilereadFile ()
 Reads the save data from the buffer. More...
 
- Public Member Functions inherited from Athena::io::MemoryReader
 MemoryReader (const atUint8 *data, atUint64 length)
 This constructor takes an existing buffer to read from. More...
 
 MemoryReader (const std::string &filename, std::function< void(int)> progressFun=nullptr)
 This constructor creates an instance from a file on disk. More...
 
void setEndian (Endian endian)
 Sets the Endianss of the stream. More...
 
Endian endian () const
 Returns the current Endianness of the stream. More...
 
bool isBigEndian () const
 Returns whether the stream is BigEndian. More...
 
bool isLittleEndian () const
 Returns whether the stream is LittleEndian. More...
 
bool isOpen () const
 Retuns whether or not the Stream is open. More...
 
void seek (atInt64 pos, SeekOrigin origin=SeekOrigin::Current)
 Sets the buffers position relative to the specified position.
+ It seeks relative to the current position by default. More...
 
+void seekAlign32 ()
 Sets the buffers position relative to the next 32-byte aligned position.
+
 
bool atEnd () const
 Returns whether or not the stream is at the end. More...
 
atUint64 position () const
 Returns the current position in the stream. More...
 
atUint64 length () const
 Returns whether or not the stream is at the end. More...
 
void setData (const atUint8 *data, atUint64 length)
 Sets the buffer to the given one, deleting the current one.
+ BEWARE: As this deletes the current buffer it WILL cause a loss of data if that was not the intent.
+ Once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
atUint8 * data () const
 Returns a copy of the current buffer.
+ Changes to the copy do not affect the buffer so it's perfectly safe to directly edit the buffer and use setData to set the new information.
+ However once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
void setFilepath (const std::string &filepath)
 Sets the target file. More...
 
std::string filepath () const
 Returns the target file. More...
 
void seekBit (int bit)
 Seeks to the specified bit within the current byte. More...
 
bool readBit ()
 Reads a bit at the current position and advances the current position. More...
 
atInt8 readByte ()
 Reads a byte at the current position and advances the current position. More...
 
atUint8 readUByte ()
 Reads a byte at the current position and advances the current position. More...
 
atInt8 * readBytes (atUint64 length)
 Reads a byte at the current position and advances the current position. More...
 
atUint8 * readUBytes (atUint64 length)
 Reads a byte at the current position and advances the current position. More...
 
+atUint64 readBytesToBuf (void *buf, atUint64 len)
 
+atUint64 readUBytesToBuf (void *buf, atUint64 len)
 
atInt16 readInt16 ()
 Reads a Int16 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint16 readUint16 ()
 Reads a Uint16 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atInt32 readInt32 ()
 Reads a Int32 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint32 readUint32 ()
 Reads a Uint32 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atInt64 readInt64 ()
 Reads a Int64 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint64 readUint64 ()
 Reads a Uint64 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
float readFloat ()
 Reads a float and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
double readDouble ()
 Reads a double and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
bool readBool ()
 Reads a bool and advances the current position. More...
 
std::string readUnicode (atInt32 maxlen=-1)
 Reads a Unicode string and advances the position in the file. More...
 
std::string readString (atInt32 maxlen=-1)
 Reads a string and advances the position in the file. More...
 
+void setProgressCallback (std::function< void(int)> cb)
 
+ + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from Athena::io::MemoryReader
+void loadData ()
 
- Protected Attributes inherited from Athena::io::MemoryReader
+atUint8 * m_data
 
+atUint64 m_length
 
+std::string m_filepath
 Path to the target file.
 
+atUint64 m_position
 
+atUint64 m_bitPosition
 
+Endian m_endian
 
+std::function< void(int)> m_progressCallback
 
+

Detailed Description

+

The Minish Cap Save save data reader class.

+

A Class for reading binary data from a The Minish Cap Save File, all work is done using a memory buffer, and not read directly from the disk.

See also
BinaryReader
+ +

Definition at line 37 of file MCFileReader.hpp.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
Athena::io::MCFileReader::MCFileReader (atUint8 * ,
atUint64  
)
+
+ +

This constructor takes an existing buffer to read from.

+
Parameters
+ + + +
dataThe existing buffer
lengthThe length of the existing buffer
+
+
+ +
+
+ +
+
+ + + + + + + + +
Athena::io::MCFileReader::MCFileReader (const std::string & )
+
+ +

This constructor creates an instance from a file on disk.

+
Parameters
+ + +
filenameThe file to create the stream from
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + +
MCFile* Athena::io::MCFileReader::readFile ()
+
+ +

Reads the save data from the buffer.

+
Returns
MCFile* SRAM data
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_m_c_file_reader.js b/docs/class_athena_1_1io_1_1_m_c_file_reader.js new file mode 100644 index 0000000..472afe5 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_m_c_file_reader.js @@ -0,0 +1,6 @@ +var class_athena_1_1io_1_1_m_c_file_reader = +[ + [ "MCFileReader", "class_athena_1_1io_1_1_m_c_file_reader.html#a7fdc25146f43968629ddcebc641e6f03", null ], + [ "MCFileReader", "class_athena_1_1io_1_1_m_c_file_reader.html#a6a3b27922aa41b23ea996856ee4f1e6b", null ], + [ "readFile", "class_athena_1_1io_1_1_m_c_file_reader.html#ab4fce05f458e1388ae38dc2a0a364e96", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_m_c_file_reader__coll__graph.map b/docs/class_athena_1_1io_1_1_m_c_file_reader__coll__graph.map new file mode 100644 index 0000000..9b8a8d4 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_m_c_file_reader__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_m_c_file_reader__coll__graph.md5 b/docs/class_athena_1_1io_1_1_m_c_file_reader__coll__graph.md5 new file mode 100644 index 0000000..d91b56a --- /dev/null +++ b/docs/class_athena_1_1io_1_1_m_c_file_reader__coll__graph.md5 @@ -0,0 +1 @@ +90b939c39d064edc631a3685a3375b3c \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_m_c_file_reader__coll__graph.png b/docs/class_athena_1_1io_1_1_m_c_file_reader__coll__graph.png new file mode 100644 index 0000000..eca9693 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_m_c_file_reader__coll__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_m_c_file_reader__inherit__graph.map b/docs/class_athena_1_1io_1_1_m_c_file_reader__inherit__graph.map new file mode 100644 index 0000000..9b8a8d4 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_m_c_file_reader__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_m_c_file_reader__inherit__graph.md5 b/docs/class_athena_1_1io_1_1_m_c_file_reader__inherit__graph.md5 new file mode 100644 index 0000000..d91b56a --- /dev/null +++ b/docs/class_athena_1_1io_1_1_m_c_file_reader__inherit__graph.md5 @@ -0,0 +1 @@ +90b939c39d064edc631a3685a3375b3c \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_m_c_file_reader__inherit__graph.png b/docs/class_athena_1_1io_1_1_m_c_file_reader__inherit__graph.png new file mode 100644 index 0000000..eca9693 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_m_c_file_reader__inherit__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_m_c_file_writer-members.html b/docs/class_athena_1_1io_1_1_m_c_file_writer-members.html new file mode 100644 index 0000000..4e42069 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_m_c_file_writer-members.html @@ -0,0 +1,177 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::io::MCFileWriter Member List
+
+
+ +

This is the complete list of members for Athena::io::MCFileWriter, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
atEnd() const Athena::io::MemoryWriterprotectedvirtual
calculateChecksum(atUint8 *data, atUint32 length) (defined in Athena::io::MCFileWriter)Athena::io::MCFileWriterstatic
data() const Athena::io::MemoryWriterprotected
endian() const Athena::io::MemoryWriterprotectedvirtual
filepath() const Athena::io::MemoryWriterprotected
fill(atUint8 val, atUint64 length) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotectedvirtual
fill(atInt8 val, atUint64 length) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotectedvirtual
isBigEndian() const Athena::io::MemoryWriterprotectedvirtual
isLittleEndian() const Athena::io::MemoryWriterprotectedvirtual
isOpen() const Athena::io::MemoryWriterprotectedvirtual
length() const Athena::io::MemoryWriterprotectedvirtual
loadData() (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_bitPosition (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_data (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_endian (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_filepathAthena::io::MemoryWriterprotected
m_length (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_position (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_progressCallback (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
MCFileWriter(atUint8 *, atUint64)Athena::io::MCFileWriter
MCFileWriter(const std::string &)Athena::io::MCFileWriter
MemoryWriter(atUint8 *data=nullptr, atUint64 length=0x10)Athena::io::MemoryWriterexplicitprotected
MemoryWriter(const std::string &filename, std::function< void(int)> progressFun=nullptr)Athena::io::MemoryWriterprotected
position() const Athena::io::MemoryWriterprotectedvirtual
save(const std::string &filename="")Athena::io::MemoryWriterprotected
seek(atInt64 pos, SeekOrigin origin=SeekOrigin::Current)Athena::io::MemoryWriterprotectedvirtual
seekAlign32()Athena::io::MemoryWriterinlineprotectedvirtual
seekBit(int bit)Athena::io::MemoryWriterprotectedvirtual
setData(const atUint8 *data, atUint64 length)Athena::io::MemoryWriterprotected
setEndian(Endian endian)Athena::io::MemoryWriterprotectedvirtual
setFilepath(const std::string &filepath)Athena::io::MemoryWriterprotected
setProgressCallback(std::function< void(int)> cb) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
writeBit(bool val)Athena::io::MemoryWriterprotectedvirtual
writeBool(bool)Athena::io::MemoryWriterprotectedvirtual
writeByte(atInt8 val)Athena::io::MemoryWriterprotectedvirtual
writeBytes(atInt8 *data, atUint64 len)Athena::io::MemoryWriterprotectedvirtual
writeDouble(double)Athena::io::MemoryWriterprotectedvirtual
writeFile(MCFile *file)Athena::io::MCFileWriter
writeFloat(float)Athena::io::MemoryWriterprotectedvirtual
writeInt16(atInt16 val)Athena::io::MemoryWriterprotectedvirtual
writeInt32(atInt32)Athena::io::MemoryWriterprotectedvirtual
writeInt64(atInt64)Athena::io::MemoryWriterprotectedvirtual
writeString(const std::string &str)Athena::io::MemoryWriterprotectedvirtual
writeUByte(atUint8 val)Athena::io::MemoryWriterprotectedvirtual
writeUBytes(atUint8 *data, atUint64 len)Athena::io::MemoryWriterprotectedvirtual
writeUint16(atUint16)Athena::io::MemoryWriterprotectedvirtual
writeUint32(atUint32)Athena::io::MemoryWriterprotectedvirtual
writeUint64(atUint64)Athena::io::MemoryWriterprotectedvirtual
writeUnicode(const std::string &str)Athena::io::MemoryWriterprotectedvirtual
~IStream() (defined in Athena::io::IStream)Athena::io::IStreaminlineprotectedvirtual
~IStreamWriter() (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterinlineprotectedvirtual
~MemoryWriter() (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotectedvirtual
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_m_c_file_writer.html b/docs/class_athena_1_1io_1_1_m_c_file_writer.html new file mode 100644 index 0000000..40f1080 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_m_c_file_writer.html @@ -0,0 +1,407 @@ + + + + + + +Athena IO Library: Athena::io::MCFileWriter Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::io::MCFileWriter Class Reference
+
+
+ +

The Minish Cap Save save data writer class. + More...

+ +

#include <MCFileWriter.hpp>

+
+Inheritance diagram for Athena::io::MCFileWriter:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::io::MCFileWriter:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + +

+Public Member Functions

 MCFileWriter (atUint8 *, atUint64)
 This constructor takes an existing buffer to write to. More...
 
 MCFileWriter (const std::string &)
 This constructor creates an instance from a file on disk. More...
 
void writeFile (MCFile *file)
 Writes the given save data to a file on disk. More...
 
+ + + +

+Static Public Member Functions

+static atUint16 calculateChecksum (atUint8 *data, atUint32 length)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from Athena::io::MemoryWriter
+void loadData ()
 
 MemoryWriter (atUint8 *data=nullptr, atUint64 length=0x10)
 This constructor takes an existing buffer to write to. More...
 
 MemoryWriter (const std::string &filename, std::function< void(int)> progressFun=nullptr)
 This constructor creates an instance from a file on disk. More...
 
void setEndian (Endian endian)
 Sets the Endianss of the stream. More...
 
Endian endian () const
 Returns the current Endianness of the stream. More...
 
bool isBigEndian () const
 Returns whether the stream is BigEndian. More...
 
bool isLittleEndian () const
 Returns whether the stream is LittleEndian. More...
 
bool isOpen () const
 Retuns whether or not the Stream is open. More...
 
void seek (atInt64 pos, SeekOrigin origin=SeekOrigin::Current)
 Sets the buffers position relative to the specified position.
+ It seeks relative to the current position by default. More...
 
+void seekAlign32 ()
 Sets the buffers position relative to the next 32-byte aligned position.
+
 
bool atEnd () const
 Returns whether or not the stream is at the end. More...
 
atUint64 position () const
 Returns the current position in the stream. More...
 
atUint64 length () const
 Returns whether or not the stream is at the end. More...
 
void setData (const atUint8 *data, atUint64 length)
 Sets the buffer to the given one, deleting the current one.
+ BEWARE: As this deletes the current buffer it WILL cause a loss of data if that was not the intent.
+ Once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
atUint8 * data () const
 Returns a copy of the current buffer.
+ Changes to the copy do not affect the buffer so it's perfectly safe to directly edit the buffer and use setData to set the new information.
+ However once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
void setFilepath (const std::string &filepath)
 Sets the target file. More...
 
+std::string filepath () const
 Returns the target file.
 
void save (const std::string &filename="")
 Saves the file to the specified file. More...
 
void seekBit (int bit)
 Seeks to the specified bit within the current byte. More...
 
void writeBit (bool val)
 Writes a bit at the current position and advances the position by one bit. More...
 
void writeUByte (atUint8 val)
 Writes a byte at the current position and advances the position by one byte. More...
 
void writeByte (atInt8 val)
 Writes a byte at the current position and advances the position by one byte. More...
 
void writeUBytes (atUint8 *data, atUint64 len)
 Writes the given buffer with the specified length, buffers can be bigger than the length however it's undefined behavior to try and write a buffer which is smaller than the given length. More...
 
void writeBytes (atInt8 *data, atUint64 len)
 Writes the given buffer with the specified length, buffers can be bigger than the length however it's undefined behavior to try and write a buffer which is smaller than the given length. More...
 
void writeInt16 (atInt16 val)
 Writes an Int16 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint16 (atUint16)
 Writes an Uint16 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeInt32 (atInt32)
 Writes an Int32 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint32 (atUint32)
 Writes an Uint32 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeInt64 (atInt64)
 Writes an Int64 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint64 (atUint64)
 Writes an Uint64 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeFloat (float)
 Writes an float to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeDouble (double)
 Writes an double to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeBool (bool)
 Writes an bool to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUnicode (const std::string &str)
 Writes an unicode string to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeString (const std::string &str)
 Writes an string to the buffer and advances the buffer. More...
 
+void fill (atUint8 val, atUint64 length)
 
+void fill (atInt8 val, atUint64 length)
 
+void setProgressCallback (std::function< void(int)> cb)
 
- Protected Attributes inherited from Athena::io::MemoryWriter
+atUint8 * m_data
 
+atUint64 m_length
 
+std::string m_filepath
 Path to the target file.
 
+atUint64 m_position
 
+atUint64 m_bitPosition
 
+Endian m_endian
 
+std::function< void(int)> m_progressCallback
 
+

Detailed Description

+

The Minish Cap Save save data writer class.

+

A Class for writing binary data to a The Minish Cap Save File, all work is done using a memory buffer, and not written directly from the disk.

See also
BinaryWriter
+ +

Definition at line 38 of file MCFileWriter.hpp.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
Athena::io::MCFileWriter::MCFileWriter (atUint8 * ,
atUint64  
)
+
+ +

This constructor takes an existing buffer to write to.

+
Parameters
+ + + +
dataThe existing buffer
lengthThe length of the existing buffer
+
+
+ +
+
+ +
+
+ + + + + + + + +
Athena::io::MCFileWriter::MCFileWriter (const std::string & )
+
+ +

This constructor creates an instance from a file on disk.

+
Parameters
+ + +
filenameThe file to create the stream from
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
void Athena::io::MCFileWriter::writeFile (MCFilefile)
+
+ +

Writes the given save data to a file on disk.

+
Parameters
+ + +
fileSave data to write
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_m_c_file_writer.js b/docs/class_athena_1_1io_1_1_m_c_file_writer.js new file mode 100644 index 0000000..aa18161 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_m_c_file_writer.js @@ -0,0 +1,6 @@ +var class_athena_1_1io_1_1_m_c_file_writer = +[ + [ "MCFileWriter", "class_athena_1_1io_1_1_m_c_file_writer.html#a61103fdd2b8de23d0f3a266721d7083f", null ], + [ "MCFileWriter", "class_athena_1_1io_1_1_m_c_file_writer.html#a5c21da585d1877ecf21269dab44fe72c", null ], + [ "writeFile", "class_athena_1_1io_1_1_m_c_file_writer.html#aceb354726f6e4e64d5e02bb038435163", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_m_c_file_writer__coll__graph.map b/docs/class_athena_1_1io_1_1_m_c_file_writer__coll__graph.map new file mode 100644 index 0000000..410df81 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_m_c_file_writer__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_m_c_file_writer__coll__graph.md5 b/docs/class_athena_1_1io_1_1_m_c_file_writer__coll__graph.md5 new file mode 100644 index 0000000..f7d6091 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_m_c_file_writer__coll__graph.md5 @@ -0,0 +1 @@ +86f2c8d95e9bc15fdb05f914153f166e \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_m_c_file_writer__coll__graph.png b/docs/class_athena_1_1io_1_1_m_c_file_writer__coll__graph.png new file mode 100644 index 0000000..c49a849 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_m_c_file_writer__coll__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_m_c_file_writer__inherit__graph.map b/docs/class_athena_1_1io_1_1_m_c_file_writer__inherit__graph.map new file mode 100644 index 0000000..410df81 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_m_c_file_writer__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_m_c_file_writer__inherit__graph.md5 b/docs/class_athena_1_1io_1_1_m_c_file_writer__inherit__graph.md5 new file mode 100644 index 0000000..f7d6091 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_m_c_file_writer__inherit__graph.md5 @@ -0,0 +1 @@ +86f2c8d95e9bc15fdb05f914153f166e \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_m_c_file_writer__inherit__graph.png b/docs/class_athena_1_1io_1_1_m_c_file_writer__inherit__graph.png new file mode 100644 index 0000000..c49a849 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_m_c_file_writer__inherit__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_memory_reader-members.html b/docs/class_athena_1_1io_1_1_memory_reader-members.html new file mode 100644 index 0000000..cbcb386 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_reader-members.html @@ -0,0 +1,172 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::io::MemoryReader Member List
+
+
+ +

This is the complete list of members for Athena::io::MemoryReader, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
atEnd() const Athena::io::MemoryReadervirtual
data() const Athena::io::MemoryReader
endian() const Athena::io::MemoryReadervirtual
filepath() const Athena::io::MemoryReader
isBigEndian() const Athena::io::MemoryReadervirtual
isLittleEndian() const Athena::io::MemoryReadervirtual
isOpen() const Athena::io::MemoryReadervirtual
length() const Athena::io::MemoryReadervirtual
loadData() (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_bitPosition (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_data (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_endian (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_filepathAthena::io::MemoryReaderprotected
m_length (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_position (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_progressCallback (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
MemoryReader(const atUint8 *data, atUint64 length)Athena::io::MemoryReader
MemoryReader(const std::string &filename, std::function< void(int)> progressFun=nullptr)Athena::io::MemoryReader
position() const Athena::io::MemoryReadervirtual
readBit()Athena::io::MemoryReadervirtual
readBool()Athena::io::MemoryReadervirtual
readByte()Athena::io::MemoryReadervirtual
readBytes(atUint64 length)Athena::io::MemoryReaderinlinevirtual
readBytesToBuf(void *buf, atUint64 len) (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderinlinevirtual
readDouble()Athena::io::MemoryReadervirtual
readFloat()Athena::io::MemoryReadervirtual
readInt16()Athena::io::MemoryReadervirtual
readInt32()Athena::io::MemoryReadervirtual
readInt64()Athena::io::MemoryReadervirtual
readString(atInt32 maxlen=-1)Athena::io::MemoryReadervirtual
readUByte()Athena::io::MemoryReadervirtual
readUBytes(atUint64 length)Athena::io::MemoryReadervirtual
readUBytesToBuf(void *buf, atUint64 len) (defined in Athena::io::MemoryReader)Athena::io::MemoryReadervirtual
readUint16()Athena::io::MemoryReadervirtual
readUint32()Athena::io::MemoryReadervirtual
readUint64()Athena::io::MemoryReadervirtual
readUnicode(atInt32 maxlen=-1)Athena::io::MemoryReadervirtual
seek(atInt64 pos, SeekOrigin origin=SeekOrigin::Current)Athena::io::MemoryReadervirtual
seekAlign32()Athena::io::MemoryReaderinlinevirtual
seekBit(int bit)Athena::io::MemoryReadervirtual
setData(const atUint8 *data, atUint64 length)Athena::io::MemoryReader
setEndian(Endian endian)Athena::io::MemoryReadervirtual
setFilepath(const std::string &filepath)Athena::io::MemoryReader
setProgressCallback(std::function< void(int)> cb) (defined in Athena::io::MemoryReader)Athena::io::MemoryReader
~IStream() (defined in Athena::io::IStream)Athena::io::IStreaminlinevirtual
~IStreamReader() (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderinlinevirtual
~MemoryReader() (defined in Athena::io::MemoryReader)Athena::io::MemoryReadervirtual
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_memory_reader.html b/docs/class_athena_1_1io_1_1_memory_reader.html new file mode 100644 index 0000000..55376e8 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_reader.html @@ -0,0 +1,1341 @@ + + + + + + +Athena IO Library: Athena::io::MemoryReader Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::io::MemoryReader Class Reference
+
+
+
+Inheritance diagram for Athena::io::MemoryReader:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::io::MemoryReader:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MemoryReader (const atUint8 *data, atUint64 length)
 This constructor takes an existing buffer to read from. More...
 
 MemoryReader (const std::string &filename, std::function< void(int)> progressFun=nullptr)
 This constructor creates an instance from a file on disk. More...
 
void setEndian (Endian endian)
 Sets the Endianss of the stream. More...
 
Endian endian () const
 Returns the current Endianness of the stream. More...
 
bool isBigEndian () const
 Returns whether the stream is BigEndian. More...
 
bool isLittleEndian () const
 Returns whether the stream is LittleEndian. More...
 
bool isOpen () const
 Retuns whether or not the Stream is open. More...
 
void seek (atInt64 pos, SeekOrigin origin=SeekOrigin::Current)
 Sets the buffers position relative to the specified position.
+ It seeks relative to the current position by default. More...
 
+void seekAlign32 ()
 Sets the buffers position relative to the next 32-byte aligned position.
+
 
bool atEnd () const
 Returns whether or not the stream is at the end. More...
 
atUint64 position () const
 Returns the current position in the stream. More...
 
atUint64 length () const
 Returns whether or not the stream is at the end. More...
 
void setData (const atUint8 *data, atUint64 length)
 Sets the buffer to the given one, deleting the current one.
+ BEWARE: As this deletes the current buffer it WILL cause a loss of data if that was not the intent.
+ Once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
atUint8 * data () const
 Returns a copy of the current buffer.
+ Changes to the copy do not affect the buffer so it's perfectly safe to directly edit the buffer and use setData to set the new information.
+ However once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
void setFilepath (const std::string &filepath)
 Sets the target file. More...
 
std::string filepath () const
 Returns the target file. More...
 
void seekBit (int bit)
 Seeks to the specified bit within the current byte. More...
 
bool readBit ()
 Reads a bit at the current position and advances the current position. More...
 
atInt8 readByte ()
 Reads a byte at the current position and advances the current position. More...
 
atUint8 readUByte ()
 Reads a byte at the current position and advances the current position. More...
 
atInt8 * readBytes (atUint64 length)
 Reads a byte at the current position and advances the current position. More...
 
atUint8 * readUBytes (atUint64 length)
 Reads a byte at the current position and advances the current position. More...
 
+atUint64 readBytesToBuf (void *buf, atUint64 len)
 
+atUint64 readUBytesToBuf (void *buf, atUint64 len)
 
atInt16 readInt16 ()
 Reads a Int16 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint16 readUint16 ()
 Reads a Uint16 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atInt32 readInt32 ()
 Reads a Int32 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint32 readUint32 ()
 Reads a Uint32 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atInt64 readInt64 ()
 Reads a Int64 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint64 readUint64 ()
 Reads a Uint64 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
float readFloat ()
 Reads a float and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
double readDouble ()
 Reads a double and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
bool readBool ()
 Reads a bool and advances the current position. More...
 
std::string readUnicode (atInt32 maxlen=-1)
 Reads a Unicode string and advances the position in the file. More...
 
std::string readString (atInt32 maxlen=-1)
 Reads a string and advances the position in the file. More...
 
+void setProgressCallback (std::function< void(int)> cb)
 
+ + + +

+Protected Member Functions

+void loadData ()
 
+ + + + + + + + + + + + + + + + +

+Protected Attributes

+atUint8 * m_data
 
+atUint64 m_length
 
+std::string m_filepath
 Path to the target file.
 
+atUint64 m_position
 
+atUint64 m_bitPosition
 
+Endian m_endian
 
+std::function< void(int)> m_progressCallback
 
+

Detailed Description

+
+

Definition at line 35 of file MemoryReader.hpp.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
Athena::io::MemoryReader::MemoryReader (const atUint8 * data,
atUint64 length 
)
+
+ +

This constructor takes an existing buffer to read from.

+
Parameters
+ + + +
dataThe existing buffer
lengthThe length of the existing buffer
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
Athena::io::MemoryReader::MemoryReader (const std::string & filename,
std::function< void(int)> progressFun = nullptr 
)
+
+ +

This constructor creates an instance from a file on disk.

+
Parameters
+ + +
filenameThe file to create the stream from
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + +
bool Athena::io::MemoryReader::atEnd () const
+
+virtual
+
+ +

Returns whether or not the stream is at the end.

+
Returns
bool True if at end; False otherwise.
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + + + +
atUint8* Athena::io::MemoryReader::data () const
+
+ +

Returns a copy of the current buffer.
+ Changes to the copy do not affect the buffer so it's perfectly safe to directly edit the buffer and use setData to set the new information.
+ However once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down.

+
Returns
Uint8* The copy of the buffer.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
Endian Athena::io::MemoryReader::endian () const
+
+virtual
+
+ +

Returns the current Endianness of the stream.

+
Returns
Endian The current Stream Endianess
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + + + +
std::string Athena::io::MemoryReader::filepath () const
+
+ +

Returns the target file.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
bool Athena::io::MemoryReader::isBigEndian () const
+
+virtual
+
+ +

Returns whether the stream is BigEndian.

+
Returns
bool True for BigEndian; False for LittleEndian
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
bool Athena::io::MemoryReader::isLittleEndian () const
+
+virtual
+
+ +

Returns whether the stream is LittleEndian.

+
Returns
bool True for LittleEndian; False for BigEndian
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
bool Athena::io::MemoryReader::isOpen () const
+
+virtual
+
+ +

Retuns whether or not the Stream is open.

+
Returns
True if open; False otherwise.
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
atUint64 Athena::io::MemoryReader::length () const
+
+virtual
+
+ +

Returns whether or not the stream is at the end.

+
Returns
bool True if at end; False otherwise.
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
atUint64 Athena::io::MemoryReader::position () const
+
+virtual
+
+ +

Returns the current position in the stream.

+
Returns
Int64 The current position in the stream.
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
bool Athena::io::MemoryReader::readBit ()
+
+virtual
+
+ +

Reads a bit at the current position and advances the current position.

+
Returns
bool The value at the current position
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
bool Athena::io::MemoryReader::readBool ()
+
+virtual
+
+ +

Reads a bool and advances the current position.

+
Returns
bool The value at the current address
+
Exceptions
+ + +
IOExceptionwhen address is out of range
+
+
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
atInt8 Athena::io::MemoryReader::readByte ()
+
+virtual
+
+ +

Reads a byte at the current position and advances the current position.

+
Returns
Int8 The value at the current position
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
atInt8* Athena::io::MemoryReader::readBytes (atUint64 length)
+
+inlinevirtual
+
+ +

Reads a byte at the current position and advances the current position.

+
Returns
Uint8* The buffer at the current position from the given length.
+ +

Implements Athena::io::IStreamReader.

+ +

Definition at line 173 of file MemoryReader.hpp.

+ +

+Here is the call graph for this function:
+
+
+ + +
+

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
double Athena::io::MemoryReader::readDouble ()
+
+virtual
+
+ +

Reads a double and swaps to proper endianness depending on platform and Stream settings, and advances the current position.

+
See also
Endian
+
Returns
double The value at the current address
+
Exceptions
+ + +
IOExceptionwhen address is out of range
+
+
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
float Athena::io::MemoryReader::readFloat ()
+
+virtual
+
+ +

Reads a float and swaps to proper endianness depending on platform and Stream settings, and advances the current position.

+
See also
Endian
+
Returns
float The value at the current address
+
Exceptions
+ + +
IOExceptionwhen address is out of range
+
+
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
atInt16 Athena::io::MemoryReader::readInt16 ()
+
+virtual
+
+ +

Reads a Int16 and swaps to proper endianness depending on platform and Stream settings, and advances the current position.

+
See also
Endian
+
Returns
Int16 The value at the current address
+
Exceptions
+ + +
IOExceptionwhen address is out of range
+
+
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
atInt32 Athena::io::MemoryReader::readInt32 ()
+
+virtual
+
+ +

Reads a Int32 and swaps to proper endianness depending on platform and Stream settings, and advances the current position.

+
See also
Endian
+
Returns
Int32 The value at the current address
+
Exceptions
+ + +
IOExceptionwhen address is out of range
+
+
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
atInt64 Athena::io::MemoryReader::readInt64 ()
+
+virtual
+
+ +

Reads a Int64 and swaps to proper endianness depending on platform and Stream settings, and advances the current position.

+
See also
Endian
+
Returns
Int64 The value at the current address
+
Exceptions
+ + +
IOExceptionwhen address is out of range
+
+
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
std::string Athena::io::MemoryReader::readString (atInt32 maxlen = -1)
+
+virtual
+
+ +

Reads a string and advances the position in the file.

+
Returns
std::string The value at the current address
+
Exceptions
+ + +
IOExceptionwhen address is out of range
+
+
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
atUint8 Athena::io::MemoryReader::readUByte ()
+
+virtual
+
+ +

Reads a byte at the current position and advances the current position.

+
Returns
Uint8 The value at the current position
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
atUint8* Athena::io::MemoryReader::readUBytes (atUint64 length)
+
+virtual
+
+ +

Reads a byte at the current position and advances the current position.

+
Returns
Int8* The buffer at the current position from the given length.
+ +

Implements Athena::io::IStreamReader.

+ +

+Here is the caller graph for this function:
+
+
+ + +
+

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
atUint16 Athena::io::MemoryReader::readUint16 ()
+
+virtual
+
+ +

Reads a Uint16 and swaps to proper endianness depending on platform and Stream settings, and advances the current position.

+
See also
Endian
+
Returns
Uint16 The value at the current address
+
Exceptions
+ + +
IOExceptionwhen address is out of range
+
+
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
atUint32 Athena::io::MemoryReader::readUint32 ()
+
+virtual
+
+ +

Reads a Uint32 and swaps to proper endianness depending on platform and Stream settings, and advances the current position.

+
See also
Endian
+
Returns
Uint32 The value at the current address
+
Exceptions
+ + +
IOExceptionwhen address is out of range
+
+
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
atUint64 Athena::io::MemoryReader::readUint64 ()
+
+virtual
+
+ +

Reads a Uint64 and swaps to proper endianness depending on platform and Stream settings, and advances the current position.

+
See also
Endian
+
Returns
Uint64 The value at the current address
+
Exceptions
+ + +
IOExceptionwhen address is out of range
+
+
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
std::string Athena::io::MemoryReader::readUnicode (atInt32 maxlen = -1)
+
+virtual
+
+ +

Reads a Unicode string and advances the position in the file.

+
Returns
std::string The value at the current address
+
Exceptions
+ + +
IOExceptionwhen address is out of range
+
+
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Athena::io::MemoryReader::seek (atInt64 pos,
SeekOrigin origin = SeekOrigin::Current 
)
+
+virtual
+
+ +

Sets the buffers position relative to the specified position.
+ It seeks relative to the current position by default.

+
Parameters
+ + + +
positionwhere in the buffer to seek
originThe Origin to seek
+
+
+
See also
SeekOrigin
+ +

Implements Athena::io::IStreamReader.

+ +

+Here is the caller graph for this function:
+
+
+ + +
+

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Athena::io::MemoryReader::seekBit (int bit)
+
+virtual
+
+ +

Seeks to the specified bit within the current byte.

+
Parameters
+ + +
bitBit to seek to, range is 0 - 7
+
+
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Athena::io::MemoryReader::setData (const atUint8 * data,
atUint64 length 
)
+
+ +

Sets the buffer to the given one, deleting the current one.
+ BEWARE: As this deletes the current buffer it WILL cause a loss of data if that was not the intent.
+ Once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down.

+
Parameters
+ + + +
dataThe new buffer.
lengthThe length of the new buffer.
+
+
+
Exceptions
+ + +
IOException
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Athena::io::MemoryReader::setEndian (Endian endian)
+
+virtual
+
+ +

Sets the Endianss of the stream.

+
Parameters
+ + +
endianThe Endianess to set
+
+
+
See also
Endian
+ +

Implements Athena::io::IStreamReader.

+ +
+
+ +
+
+ + + + + + + + +
void Athena::io::MemoryReader::setFilepath (const std::string & filepath)
+
+ +

Sets the target file.

+
See also
Endian
+
Parameters
+ + +
filepathThe path to write to.
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_memory_reader.js b/docs/class_athena_1_1io_1_1_memory_reader.js new file mode 100644 index 0000000..4a4490b --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_reader.js @@ -0,0 +1,48 @@ +var class_athena_1_1io_1_1_memory_reader = +[ + [ "MemoryReader", "class_athena_1_1io_1_1_memory_reader.html#ad972e9efe4923a74b02f2ceb841d9dce", null ], + [ "MemoryReader", "class_athena_1_1io_1_1_memory_reader.html#a9c57717eaef422d1f61e8c01348af3e2", null ], + [ "~MemoryReader", "class_athena_1_1io_1_1_memory_reader.html#af9c9ca71b062d77a227a5fbefaa7e67e", null ], + [ "atEnd", "class_athena_1_1io_1_1_memory_reader.html#aa922b98037dc3631110c9335be718e8e", null ], + [ "data", "class_athena_1_1io_1_1_memory_reader.html#abdcf5e4548ea7344d22e1dbf2dcd7d83", null ], + [ "endian", "class_athena_1_1io_1_1_memory_reader.html#a0cf5c666f5693429ca3d3d020b223d66", null ], + [ "filepath", "class_athena_1_1io_1_1_memory_reader.html#a57f341464e6009906ffef16197cedf4c", null ], + [ "isBigEndian", "class_athena_1_1io_1_1_memory_reader.html#a2f250a5760bbd61bc8ef60365202884e", null ], + [ "isLittleEndian", "class_athena_1_1io_1_1_memory_reader.html#afaa07e1bb7b271d66f367bd8cf3ad908", null ], + [ "isOpen", "class_athena_1_1io_1_1_memory_reader.html#a6c4718abc19e77970e9cc15f9c12520c", null ], + [ "length", "class_athena_1_1io_1_1_memory_reader.html#a3e148f063ad3d711c6381a85d40930db", null ], + [ "loadData", "class_athena_1_1io_1_1_memory_reader.html#a8e7be52707d593aa3489e293abc746f2", null ], + [ "position", "class_athena_1_1io_1_1_memory_reader.html#a1d9d2fa632816d941d30f90e7a34a1d0", null ], + [ "readBit", "class_athena_1_1io_1_1_memory_reader.html#a72605b567c1ae0c4f763154b767f8764", null ], + [ "readBool", "class_athena_1_1io_1_1_memory_reader.html#ae7749643ed83dca84267985000f44359", null ], + [ "readByte", "class_athena_1_1io_1_1_memory_reader.html#a52811e54dbc3c423743b17a4c5b27b75", null ], + [ "readBytes", "class_athena_1_1io_1_1_memory_reader.html#ab62c46b8b8537ca09c0dc1f0b6926a8a", null ], + [ "readBytesToBuf", "class_athena_1_1io_1_1_memory_reader.html#a5b64fc8138b22a7ac84d9b04ac27fb9b", null ], + [ "readDouble", "class_athena_1_1io_1_1_memory_reader.html#a3322e270ea116892b784b74434099b8a", null ], + [ "readFloat", "class_athena_1_1io_1_1_memory_reader.html#ae1353a410dc8f0972a22e5da82741f5d", null ], + [ "readInt16", "class_athena_1_1io_1_1_memory_reader.html#a7c5b6ada7e4cf96344541f67b1619ffb", null ], + [ "readInt32", "class_athena_1_1io_1_1_memory_reader.html#ae2df5bdab6cb06a251907edc02778e3a", null ], + [ "readInt64", "class_athena_1_1io_1_1_memory_reader.html#a502e2f723cbbcdb400619c934d30c963", null ], + [ "readString", "class_athena_1_1io_1_1_memory_reader.html#a89188d0719a0cbe7f8136444e76f3d25", null ], + [ "readUByte", "class_athena_1_1io_1_1_memory_reader.html#a07a91fd0a959784cd84f5577dc124a8f", null ], + [ "readUBytes", "class_athena_1_1io_1_1_memory_reader.html#a323ae4361aa74b3b4bd666eb75974355", null ], + [ "readUBytesToBuf", "class_athena_1_1io_1_1_memory_reader.html#ae8426b2191e8459f92068ded7ee4e353", null ], + [ "readUint16", "class_athena_1_1io_1_1_memory_reader.html#adbdebd99576dcce11841255db69393e8", null ], + [ "readUint32", "class_athena_1_1io_1_1_memory_reader.html#ad331ef1ed1a0e5f8188f20e376600ae1", null ], + [ "readUint64", "class_athena_1_1io_1_1_memory_reader.html#a2782cabdc43574346d248f0d9a5b0222", null ], + [ "readUnicode", "class_athena_1_1io_1_1_memory_reader.html#a00293644a6d68f732938386dc80f81cf", null ], + [ "seek", "class_athena_1_1io_1_1_memory_reader.html#a41d152d6c90ff08d0f40aef042cb4485", null ], + [ "seekAlign32", "class_athena_1_1io_1_1_memory_reader.html#aa180f214bd4c1517f54ea70501296c77", null ], + [ "seekBit", "class_athena_1_1io_1_1_memory_reader.html#a83516d32ad00d195dbd2f885e200d405", null ], + [ "setData", "class_athena_1_1io_1_1_memory_reader.html#a89f172f63454d80868a3c6091d8b2940", null ], + [ "setEndian", "class_athena_1_1io_1_1_memory_reader.html#a0960543340b9df1cd76975efe234dd9e", null ], + [ "setFilepath", "class_athena_1_1io_1_1_memory_reader.html#a1f415d881086905dd60a30334f1bad21", null ], + [ "setProgressCallback", "class_athena_1_1io_1_1_memory_reader.html#a40a49734ec2580615e411bbb183357a4", null ], + [ "m_bitPosition", "class_athena_1_1io_1_1_memory_reader.html#a495f98579a07e6129957427fc1e23070", null ], + [ "m_data", "class_athena_1_1io_1_1_memory_reader.html#a8e3b7531a855c884226d326ca7c24cb2", null ], + [ "m_endian", "class_athena_1_1io_1_1_memory_reader.html#aeb575958390445054f9efd03bea1e7dc", null ], + [ "m_filepath", "class_athena_1_1io_1_1_memory_reader.html#adfa77146a3168060b2f26f6bc11c9153", null ], + [ "m_length", "class_athena_1_1io_1_1_memory_reader.html#a309e719f3fd96bfb1e7ed8ffb1d950b9", null ], + [ "m_position", "class_athena_1_1io_1_1_memory_reader.html#acc04f880abb8b2ef37dbe776c6e69f12", null ], + [ "m_progressCallback", "class_athena_1_1io_1_1_memory_reader.html#aba49c300b650c4b45cbbfe1bb81da234", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_memory_reader__coll__graph.map b/docs/class_athena_1_1io_1_1_memory_reader__coll__graph.map new file mode 100644 index 0000000..e3ad101 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_reader__coll__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/class_athena_1_1io_1_1_memory_reader__coll__graph.md5 b/docs/class_athena_1_1io_1_1_memory_reader__coll__graph.md5 new file mode 100644 index 0000000..a03a42e --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_reader__coll__graph.md5 @@ -0,0 +1 @@ +8d447b1b04afbf741401133236ca8525 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_memory_reader__coll__graph.png b/docs/class_athena_1_1io_1_1_memory_reader__coll__graph.png new file mode 100644 index 0000000..b8c331b Binary files /dev/null and b/docs/class_athena_1_1io_1_1_memory_reader__coll__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_memory_reader__inherit__graph.map b/docs/class_athena_1_1io_1_1_memory_reader__inherit__graph.map new file mode 100644 index 0000000..5e9c1ca --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_reader__inherit__graph.map @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/docs/class_athena_1_1io_1_1_memory_reader__inherit__graph.md5 b/docs/class_athena_1_1io_1_1_memory_reader__inherit__graph.md5 new file mode 100644 index 0000000..2c70ffa --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_reader__inherit__graph.md5 @@ -0,0 +1 @@ +721605555568d103bd200d46003c5544 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_memory_reader__inherit__graph.png b/docs/class_athena_1_1io_1_1_memory_reader__inherit__graph.png new file mode 100644 index 0000000..6300cf9 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_memory_reader__inherit__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_memory_reader_a323ae4361aa74b3b4bd666eb75974355_icgraph.map b/docs/class_athena_1_1io_1_1_memory_reader_a323ae4361aa74b3b4bd666eb75974355_icgraph.map new file mode 100644 index 0000000..2596f2a --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_reader_a323ae4361aa74b3b4bd666eb75974355_icgraph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/class_athena_1_1io_1_1_memory_reader_a323ae4361aa74b3b4bd666eb75974355_icgraph.md5 b/docs/class_athena_1_1io_1_1_memory_reader_a323ae4361aa74b3b4bd666eb75974355_icgraph.md5 new file mode 100644 index 0000000..d56cac4 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_reader_a323ae4361aa74b3b4bd666eb75974355_icgraph.md5 @@ -0,0 +1 @@ +e57291db63e2eae520547e9e3e973c44 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_memory_reader_a323ae4361aa74b3b4bd666eb75974355_icgraph.png b/docs/class_athena_1_1io_1_1_memory_reader_a323ae4361aa74b3b4bd666eb75974355_icgraph.png new file mode 100644 index 0000000..1a287eb Binary files /dev/null and b/docs/class_athena_1_1io_1_1_memory_reader_a323ae4361aa74b3b4bd666eb75974355_icgraph.png differ diff --git a/docs/class_athena_1_1io_1_1_memory_reader_a41d152d6c90ff08d0f40aef042cb4485_icgraph.map b/docs/class_athena_1_1io_1_1_memory_reader_a41d152d6c90ff08d0f40aef042cb4485_icgraph.map new file mode 100644 index 0000000..d455ed3 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_reader_a41d152d6c90ff08d0f40aef042cb4485_icgraph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/class_athena_1_1io_1_1_memory_reader_a41d152d6c90ff08d0f40aef042cb4485_icgraph.md5 b/docs/class_athena_1_1io_1_1_memory_reader_a41d152d6c90ff08d0f40aef042cb4485_icgraph.md5 new file mode 100644 index 0000000..db02e7d --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_reader_a41d152d6c90ff08d0f40aef042cb4485_icgraph.md5 @@ -0,0 +1 @@ +f9b7e4dfd233948622c1f3b32c68bc5d \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_memory_reader_a41d152d6c90ff08d0f40aef042cb4485_icgraph.png b/docs/class_athena_1_1io_1_1_memory_reader_a41d152d6c90ff08d0f40aef042cb4485_icgraph.png new file mode 100644 index 0000000..ab7e8e6 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_memory_reader_a41d152d6c90ff08d0f40aef042cb4485_icgraph.png differ diff --git a/docs/class_athena_1_1io_1_1_memory_reader_ab62c46b8b8537ca09c0dc1f0b6926a8a_cgraph.map b/docs/class_athena_1_1io_1_1_memory_reader_ab62c46b8b8537ca09c0dc1f0b6926a8a_cgraph.map new file mode 100644 index 0000000..8800041 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_reader_ab62c46b8b8537ca09c0dc1f0b6926a8a_cgraph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/class_athena_1_1io_1_1_memory_reader_ab62c46b8b8537ca09c0dc1f0b6926a8a_cgraph.md5 b/docs/class_athena_1_1io_1_1_memory_reader_ab62c46b8b8537ca09c0dc1f0b6926a8a_cgraph.md5 new file mode 100644 index 0000000..6495db2 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_reader_ab62c46b8b8537ca09c0dc1f0b6926a8a_cgraph.md5 @@ -0,0 +1 @@ +5b98e20669461f5545514f495071376d \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_memory_reader_ab62c46b8b8537ca09c0dc1f0b6926a8a_cgraph.png b/docs/class_athena_1_1io_1_1_memory_reader_ab62c46b8b8537ca09c0dc1f0b6926a8a_cgraph.png new file mode 100644 index 0000000..4028346 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_memory_reader_ab62c46b8b8537ca09c0dc1f0b6926a8a_cgraph.png differ diff --git a/docs/class_athena_1_1io_1_1_memory_writer-members.html b/docs/class_athena_1_1io_1_1_memory_writer-members.html new file mode 100644 index 0000000..ce8f8a8 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_writer-members.html @@ -0,0 +1,173 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::io::MemoryWriter Member List
+
+
+ +

This is the complete list of members for Athena::io::MemoryWriter, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
atEnd() const Athena::io::MemoryWritervirtual
data() const Athena::io::MemoryWriter
endian() const Athena::io::MemoryWritervirtual
filepath() const Athena::io::MemoryWriter
fill(atUint8 val, atUint64 length) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWritervirtual
fill(atInt8 val, atUint64 length) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWritervirtual
isBigEndian() const Athena::io::MemoryWritervirtual
isLittleEndian() const Athena::io::MemoryWritervirtual
isOpen() const Athena::io::MemoryWritervirtual
length() const Athena::io::MemoryWritervirtual
loadData() (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_bitPosition (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_data (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_endian (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_filepathAthena::io::MemoryWriterprotected
m_length (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_position (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_progressCallback (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
MemoryWriter(atUint8 *data=nullptr, atUint64 length=0x10)Athena::io::MemoryWriterexplicit
MemoryWriter(const std::string &filename, std::function< void(int)> progressFun=nullptr)Athena::io::MemoryWriter
position() const Athena::io::MemoryWritervirtual
save(const std::string &filename="")Athena::io::MemoryWriter
seek(atInt64 pos, SeekOrigin origin=SeekOrigin::Current)Athena::io::MemoryWritervirtual
seekAlign32()Athena::io::MemoryWriterinlinevirtual
seekBit(int bit)Athena::io::MemoryWritervirtual
setData(const atUint8 *data, atUint64 length)Athena::io::MemoryWriter
setEndian(Endian endian)Athena::io::MemoryWritervirtual
setFilepath(const std::string &filepath)Athena::io::MemoryWriter
setProgressCallback(std::function< void(int)> cb) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriter
writeBit(bool val)Athena::io::MemoryWritervirtual
writeBool(bool)Athena::io::MemoryWritervirtual
writeByte(atInt8 val)Athena::io::MemoryWritervirtual
writeBytes(atInt8 *data, atUint64 len)Athena::io::MemoryWritervirtual
writeDouble(double)Athena::io::MemoryWritervirtual
writeFloat(float)Athena::io::MemoryWritervirtual
writeInt16(atInt16 val)Athena::io::MemoryWritervirtual
writeInt32(atInt32)Athena::io::MemoryWritervirtual
writeInt64(atInt64)Athena::io::MemoryWritervirtual
writeString(const std::string &str)Athena::io::MemoryWritervirtual
writeUByte(atUint8 val)Athena::io::MemoryWritervirtual
writeUBytes(atUint8 *data, atUint64 len)Athena::io::MemoryWritervirtual
writeUint16(atUint16)Athena::io::MemoryWritervirtual
writeUint32(atUint32)Athena::io::MemoryWritervirtual
writeUint64(atUint64)Athena::io::MemoryWritervirtual
writeUnicode(const std::string &str)Athena::io::MemoryWritervirtual
~IStream() (defined in Athena::io::IStream)Athena::io::IStreaminlinevirtual
~IStreamWriter() (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterinlinevirtual
~MemoryWriter() (defined in Athena::io::MemoryWriter)Athena::io::MemoryWritervirtual
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_memory_writer.html b/docs/class_athena_1_1io_1_1_memory_writer.html new file mode 100644 index 0000000..855e309 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_writer.html @@ -0,0 +1,1402 @@ + + + + + + +Athena IO Library: Athena::io::MemoryWriter Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::io::MemoryWriter Class Reference
+
+
+
+Inheritance diagram for Athena::io::MemoryWriter:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::io::MemoryWriter:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 MemoryWriter (atUint8 *data=nullptr, atUint64 length=0x10)
 This constructor takes an existing buffer to write to. More...
 
 MemoryWriter (const std::string &filename, std::function< void(int)> progressFun=nullptr)
 This constructor creates an instance from a file on disk. More...
 
void setEndian (Endian endian)
 Sets the Endianss of the stream. More...
 
Endian endian () const
 Returns the current Endianness of the stream. More...
 
bool isBigEndian () const
 Returns whether the stream is BigEndian. More...
 
bool isLittleEndian () const
 Returns whether the stream is LittleEndian. More...
 
bool isOpen () const
 Retuns whether or not the Stream is open. More...
 
void seek (atInt64 pos, SeekOrigin origin=SeekOrigin::Current)
 Sets the buffers position relative to the specified position.
+ It seeks relative to the current position by default. More...
 
+void seekAlign32 ()
 Sets the buffers position relative to the next 32-byte aligned position.
+
 
bool atEnd () const
 Returns whether or not the stream is at the end. More...
 
atUint64 position () const
 Returns the current position in the stream. More...
 
atUint64 length () const
 Returns whether or not the stream is at the end. More...
 
void setData (const atUint8 *data, atUint64 length)
 Sets the buffer to the given one, deleting the current one.
+ BEWARE: As this deletes the current buffer it WILL cause a loss of data if that was not the intent.
+ Once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
atUint8 * data () const
 Returns a copy of the current buffer.
+ Changes to the copy do not affect the buffer so it's perfectly safe to directly edit the buffer and use setData to set the new information.
+ However once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
void setFilepath (const std::string &filepath)
 Sets the target file. More...
 
+std::string filepath () const
 Returns the target file.
 
void save (const std::string &filename="")
 Saves the file to the specified file. More...
 
void seekBit (int bit)
 Seeks to the specified bit within the current byte. More...
 
void writeBit (bool val)
 Writes a bit at the current position and advances the position by one bit. More...
 
void writeUByte (atUint8 val)
 Writes a byte at the current position and advances the position by one byte. More...
 
void writeByte (atInt8 val)
 Writes a byte at the current position and advances the position by one byte. More...
 
void writeUBytes (atUint8 *data, atUint64 len)
 Writes the given buffer with the specified length, buffers can be bigger than the length however it's undefined behavior to try and write a buffer which is smaller than the given length. More...
 
void writeBytes (atInt8 *data, atUint64 len)
 Writes the given buffer with the specified length, buffers can be bigger than the length however it's undefined behavior to try and write a buffer which is smaller than the given length. More...
 
void writeInt16 (atInt16 val)
 Writes an Int16 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint16 (atUint16)
 Writes an Uint16 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeInt32 (atInt32)
 Writes an Int32 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint32 (atUint32)
 Writes an Uint32 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeInt64 (atInt64)
 Writes an Int64 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint64 (atUint64)
 Writes an Uint64 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeFloat (float)
 Writes an float to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeDouble (double)
 Writes an double to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeBool (bool)
 Writes an bool to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUnicode (const std::string &str)
 Writes an unicode string to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeString (const std::string &str)
 Writes an string to the buffer and advances the buffer. More...
 
+void fill (atUint8 val, atUint64 length)
 
+void fill (atInt8 val, atUint64 length)
 
+void setProgressCallback (std::function< void(int)> cb)
 
+ + + +

+Protected Member Functions

+void loadData ()
 
+ + + + + + + + + + + + + + + + +

+Protected Attributes

+atUint8 * m_data
 
+atUint64 m_length
 
+std::string m_filepath
 Path to the target file.
 
+atUint64 m_position
 
+atUint64 m_bitPosition
 
+Endian m_endian
 
+std::function< void(int)> m_progressCallback
 
+

Detailed Description

+
+

Definition at line 36 of file MemoryWriter.hpp.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
Athena::io::MemoryWriter::MemoryWriter (atUint8 * data = nullptr,
atUint64 length = 0x10 
)
+
+explicit
+
+ +

This constructor takes an existing buffer to write to.

+
Parameters
+ + + +
dataThe existing buffer
lengthThe length of the existing buffer
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
Athena::io::MemoryWriter::MemoryWriter (const std::string & filename,
std::function< void(int)> progressFun = nullptr 
)
+
+ +

This constructor creates an instance from a file on disk.

+
Parameters
+ + +
filenameThe file to create the stream from
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + +
bool Athena::io::MemoryWriter::atEnd () const
+
+virtual
+
+ +

Returns whether or not the stream is at the end.

+
Returns
bool True if at end; False otherwise.
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + + + +
atUint8* Athena::io::MemoryWriter::data () const
+
+ +

Returns a copy of the current buffer.
+ Changes to the copy do not affect the buffer so it's perfectly safe to directly edit the buffer and use setData to set the new information.
+ However once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down.

+
Returns
Uint8* The copy of the buffer.
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
Endian Athena::io::MemoryWriter::endian () const
+
+virtual
+
+ +

Returns the current Endianness of the stream.

+
Returns
Endian The current Stream Endianess
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
bool Athena::io::MemoryWriter::isBigEndian () const
+
+virtual
+
+ +

Returns whether the stream is BigEndian.

+
Returns
bool True for BigEndian; False for LittleEndian
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
bool Athena::io::MemoryWriter::isLittleEndian () const
+
+virtual
+
+ +

Returns whether the stream is LittleEndian.

+
Returns
bool True for LittleEndian; False for BigEndian
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
bool Athena::io::MemoryWriter::isOpen () const
+
+virtual
+
+ +

Retuns whether or not the Stream is open.

+
Returns
True if open; False otherwise.
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
atUint64 Athena::io::MemoryWriter::length () const
+
+virtual
+
+ +

Returns whether or not the stream is at the end.

+
Returns
bool True if at end; False otherwise.
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
atUint64 Athena::io::MemoryWriter::position () const
+
+virtual
+
+ +

Returns the current position in the stream.

+
Returns
Int64 The current position in the stream.
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + + + + +
void Athena::io::MemoryWriter::save (const std::string & filename = "")
+
+ +

Saves the file to the specified file.

+
Parameters
+ + +
filenameIf not empty, the filename to save to
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Athena::io::MemoryWriter::seek (atInt64 pos,
SeekOrigin origin = SeekOrigin::Current 
)
+
+virtual
+
+ +

Sets the buffers position relative to the specified position.
+ It seeks relative to the current position by default.

+
Parameters
+ + + +
positionwhere in the buffer to seek
originThe Origin to seek
+
+
+
See also
SeekOrigin
+ +

Implements Athena::io::IStreamWriter.

+ +

+Here is the caller graph for this function:
+
+
+ + +
+

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Athena::io::MemoryWriter::seekBit (int bit)
+
+virtual
+
+ +

Seeks to the specified bit within the current byte.

+
Parameters
+ + +
bitBit to seek to, range is 0 - 7
+
+
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Athena::io::MemoryWriter::setData (const atUint8 * data,
atUint64 length 
)
+
+ +

Sets the buffer to the given one, deleting the current one.
+ BEWARE: As this deletes the current buffer it WILL cause a loss of data if that was not the intent.
+ Once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down.

+
Parameters
+ + + +
dataThe new buffer.
lengthThe length of the new buffer.
+
+
+
Exceptions
+ + +
IOException
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Athena::io::MemoryWriter::setEndian (Endian endian)
+
+virtual
+
+ +

Sets the Endianss of the stream.

+
Parameters
+ + +
endianThe Endianess to set
+
+
+
See also
Endian
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + + + + +
void Athena::io::MemoryWriter::setFilepath (const std::string & filepath)
+
+ +

Sets the target file.

+
Parameters
+ + +
filepathThe path to write to.
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Athena::io::MemoryWriter::writeBit (bool val)
+
+virtual
+
+ +

Writes a bit at the current position and advances the position by one bit.

+
Parameters
+ + +
valthe value to write
+
+
+
Exceptions
+ + +
IOException
+
+
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Athena::io::MemoryWriter::writeBool (bool )
+
+virtual
+
+ +

Writes an bool to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings.

+
See also
Endian
+
Parameters
+ + +
valThe value to write to the buffer
+
+
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Athena::io::MemoryWriter::writeByte (atInt8 val)
+
+virtual
+
+ +

Writes a byte at the current position and advances the position by one byte.

+
Parameters
+ + +
byteThe value to write
+
+
+
Exceptions
+ + +
IOException
+
+
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Athena::io::MemoryWriter::writeBytes (atInt8 * data,
atUint64 len 
)
+
+virtual
+
+ +

Writes the given buffer with the specified length, buffers can be bigger than the length however it's undefined behavior to try and write a buffer which is smaller than the given length.

+
Parameters
+ + + +
dataThe buffer to write
lengthThe amount to write
+
+
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Athena::io::MemoryWriter::writeDouble (double )
+
+virtual
+
+ +

Writes an double to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings.

+
See also
Endian
+
Parameters
+ + +
valThe value to write to the buffer
+
+
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Athena::io::MemoryWriter::writeFloat (float )
+
+virtual
+
+ +

Writes an float to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings.

+
See also
Endian
+
Parameters
+ + +
valThe value to write to the buffer
+
+
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Athena::io::MemoryWriter::writeInt16 (atInt16 val)
+
+virtual
+
+ +

Writes an Int16 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings.

+
See also
Endian
+
Parameters
+ + +
valThe value to write to the buffer
+
+
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Athena::io::MemoryWriter::writeInt32 (atInt32 )
+
+virtual
+
+ +

Writes an Int32 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings.

+
See also
Endian
+
Parameters
+ + +
valThe value to write to the buffer
+
+
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Athena::io::MemoryWriter::writeInt64 (atInt64 )
+
+virtual
+
+ +

Writes an Int64 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings.

+
See also
Endian
+
Parameters
+ + +
valThe value to write to the buffer
+
+
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Athena::io::MemoryWriter::writeString (const std::string & str)
+
+virtual
+
+ +

Writes an string to the buffer and advances the buffer.

+
See also
Endian
+
Parameters
+ + +
strThe string to write to the buffer
+
+
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Athena::io::MemoryWriter::writeUByte (atUint8 val)
+
+virtual
+
+ +

Writes a byte at the current position and advances the position by one byte.

+
Parameters
+ + +
byteThe value to write
+
+
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Athena::io::MemoryWriter::writeUBytes (atUint8 * data,
atUint64 len 
)
+
+virtual
+
+ +

Writes the given buffer with the specified length, buffers can be bigger than the length however it's undefined behavior to try and write a buffer which is smaller than the given length.

+
Parameters
+ + + +
dataThe buffer to write
lengthThe amount to write
+
+
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Athena::io::MemoryWriter::writeUint16 (atUint16 )
+
+virtual
+
+ +

Writes an Uint16 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings.

+
See also
Endian
+
Parameters
+ + +
valThe value to write to the buffer
+
+
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Athena::io::MemoryWriter::writeUint32 (atUint32 )
+
+virtual
+
+ +

Writes an Uint32 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings.

+
See also
Endian
+
Parameters
+ + +
valThe value to write to the buffer
+
+
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Athena::io::MemoryWriter::writeUint64 (atUint64 )
+
+virtual
+
+ +

Writes an Uint64 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings.

+
See also
Endian
+
Parameters
+ + +
valThe value to write to the buffer
+
+
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void Athena::io::MemoryWriter::writeUnicode (const std::string & str)
+
+virtual
+
+ +

Writes an unicode string to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings.

+
See also
Endian
+
Parameters
+ + +
strThe string to write to the buffer
+
+
+ +

Implements Athena::io::IStreamWriter.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_memory_writer.js b/docs/class_athena_1_1io_1_1_memory_writer.js new file mode 100644 index 0000000..553f6da --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_writer.js @@ -0,0 +1,49 @@ +var class_athena_1_1io_1_1_memory_writer = +[ + [ "MemoryWriter", "class_athena_1_1io_1_1_memory_writer.html#a35c1d2edf6366bfdfe7d19e550903478", null ], + [ "MemoryWriter", "class_athena_1_1io_1_1_memory_writer.html#a255ae34a21ba033f1f6d8ae5fab349f3", null ], + [ "~MemoryWriter", "class_athena_1_1io_1_1_memory_writer.html#a052d85659e7cb936a3d3679f38964418", null ], + [ "atEnd", "class_athena_1_1io_1_1_memory_writer.html#a95718e1d031ea41924fa239e81ae516b", null ], + [ "data", "class_athena_1_1io_1_1_memory_writer.html#accd127e370fb1bb89d19bb96c90dfa76", null ], + [ "endian", "class_athena_1_1io_1_1_memory_writer.html#a6ef02e88da9a1a04c963f52c20bb26a0", null ], + [ "filepath", "class_athena_1_1io_1_1_memory_writer.html#ad2bb5d48bd85561af0ea2069ed14c9b7", null ], + [ "fill", "class_athena_1_1io_1_1_memory_writer.html#a321abb21fe86d6e1832b41ca2bfa75b3", null ], + [ "fill", "class_athena_1_1io_1_1_memory_writer.html#a77b31ec8a406b42eac812f6759ef4cc1", null ], + [ "isBigEndian", "class_athena_1_1io_1_1_memory_writer.html#a4bbb9bef1edf4ca5be5565e935ce0298", null ], + [ "isLittleEndian", "class_athena_1_1io_1_1_memory_writer.html#a5a8957ed313172ee0899acef0106d0b5", null ], + [ "isOpen", "class_athena_1_1io_1_1_memory_writer.html#ab089d9124731afffadf0e06c64756cc5", null ], + [ "length", "class_athena_1_1io_1_1_memory_writer.html#ac971745b70a796b1747a81fff1de5257", null ], + [ "loadData", "class_athena_1_1io_1_1_memory_writer.html#af5c3d20e1add08d97c24043ac1b0fcbc", null ], + [ "position", "class_athena_1_1io_1_1_memory_writer.html#a855af0123e2f18c7d1ebe23699079c78", null ], + [ "save", "class_athena_1_1io_1_1_memory_writer.html#abc39ece257c97707017c20251e9e5ce7", null ], + [ "seek", "class_athena_1_1io_1_1_memory_writer.html#a5957d982141ded294e38d83c98485048", null ], + [ "seekAlign32", "class_athena_1_1io_1_1_memory_writer.html#a2a338ae6478f614c6b14b2241c5ac10c", null ], + [ "seekBit", "class_athena_1_1io_1_1_memory_writer.html#a722aea14169704ec0a88a67a29771b19", null ], + [ "setData", "class_athena_1_1io_1_1_memory_writer.html#afd352a08ad88562d6cf00bcbdb1b24f8", null ], + [ "setEndian", "class_athena_1_1io_1_1_memory_writer.html#aba582443e654563da612952340b6ed44", null ], + [ "setFilepath", "class_athena_1_1io_1_1_memory_writer.html#aa9fbd017d744786b0f4aa5c987dbfe55", null ], + [ "setProgressCallback", "class_athena_1_1io_1_1_memory_writer.html#a5fd58feba15074a173b5956f0caf9692", null ], + [ "writeBit", "class_athena_1_1io_1_1_memory_writer.html#ab45fad5cc2894613beb3441c5c2134ab", null ], + [ "writeBool", "class_athena_1_1io_1_1_memory_writer.html#a56170d8f4f94e96ccf7f14a44949d147", null ], + [ "writeByte", "class_athena_1_1io_1_1_memory_writer.html#aad1df56cdec64ffb19e532baa5543c77", null ], + [ "writeBytes", "class_athena_1_1io_1_1_memory_writer.html#a38833e7b0f0f9247cc55a6498e7303f2", null ], + [ "writeDouble", "class_athena_1_1io_1_1_memory_writer.html#abdee570cca032c838507f282a0478110", null ], + [ "writeFloat", "class_athena_1_1io_1_1_memory_writer.html#a7769e996c5ef209110225fad1a07e6c4", null ], + [ "writeInt16", "class_athena_1_1io_1_1_memory_writer.html#a18137cc5f21dec7a234d0829c9c25655", null ], + [ "writeInt32", "class_athena_1_1io_1_1_memory_writer.html#ad73afb9bf9f1cfeb60042c4c948582c9", null ], + [ "writeInt64", "class_athena_1_1io_1_1_memory_writer.html#aa889ff61fd82678ca07dc52f9d57a118", null ], + [ "writeString", "class_athena_1_1io_1_1_memory_writer.html#a14e57ca951f30927ebaf2552fd6a922b", null ], + [ "writeUByte", "class_athena_1_1io_1_1_memory_writer.html#a22e44276756c672d7a5e6529198a1e24", null ], + [ "writeUBytes", "class_athena_1_1io_1_1_memory_writer.html#a7cb0bdab5efa97a103e300365cae219d", null ], + [ "writeUint16", "class_athena_1_1io_1_1_memory_writer.html#af8cec2a5cb206a3ee0de65781d807e59", null ], + [ "writeUint32", "class_athena_1_1io_1_1_memory_writer.html#a32e6f5d07962ff7a01ac975af2e86f41", null ], + [ "writeUint64", "class_athena_1_1io_1_1_memory_writer.html#a5e308dde27c7a1524b2a03084278278c", null ], + [ "writeUnicode", "class_athena_1_1io_1_1_memory_writer.html#aea541b7084b08b7d2bf7d8bdebd4fc37", null ], + [ "m_bitPosition", "class_athena_1_1io_1_1_memory_writer.html#af157684b8bf61e26586437feff17c4d0", null ], + [ "m_data", "class_athena_1_1io_1_1_memory_writer.html#accfbbdfabd2e6b337ff7d15ad8983993", null ], + [ "m_endian", "class_athena_1_1io_1_1_memory_writer.html#a85462a4297a41d713ef73743c805c951", null ], + [ "m_filepath", "class_athena_1_1io_1_1_memory_writer.html#a762d2d5e0bbc1322cacf2625dc11afd8", null ], + [ "m_length", "class_athena_1_1io_1_1_memory_writer.html#a00b8f7a1c647dc25a0b511addcdaa4a6", null ], + [ "m_position", "class_athena_1_1io_1_1_memory_writer.html#ac60a257d242b011cf6988815e0f34c7e", null ], + [ "m_progressCallback", "class_athena_1_1io_1_1_memory_writer.html#ab8a6c8d2058d000c0f41ecaf2d76a7b4", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_memory_writer__coll__graph.map b/docs/class_athena_1_1io_1_1_memory_writer__coll__graph.map new file mode 100644 index 0000000..a4ce909 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_writer__coll__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/class_athena_1_1io_1_1_memory_writer__coll__graph.md5 b/docs/class_athena_1_1io_1_1_memory_writer__coll__graph.md5 new file mode 100644 index 0000000..536f7fe --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_writer__coll__graph.md5 @@ -0,0 +1 @@ +bf2194454719bbaaa52185e7a2152d42 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_memory_writer__coll__graph.png b/docs/class_athena_1_1io_1_1_memory_writer__coll__graph.png new file mode 100644 index 0000000..a684d46 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_memory_writer__coll__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_memory_writer__inherit__graph.map b/docs/class_athena_1_1io_1_1_memory_writer__inherit__graph.map new file mode 100644 index 0000000..e0bf768 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_writer__inherit__graph.map @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/docs/class_athena_1_1io_1_1_memory_writer__inherit__graph.md5 b/docs/class_athena_1_1io_1_1_memory_writer__inherit__graph.md5 new file mode 100644 index 0000000..1d0e46c --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_writer__inherit__graph.md5 @@ -0,0 +1 @@ +0bf6082415be4a3c78ef0e57db2ee388 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_memory_writer__inherit__graph.png b/docs/class_athena_1_1io_1_1_memory_writer__inherit__graph.png new file mode 100644 index 0000000..d2fa8e9 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_memory_writer__inherit__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_memory_writer_a5957d982141ded294e38d83c98485048_icgraph.map b/docs/class_athena_1_1io_1_1_memory_writer_a5957d982141ded294e38d83c98485048_icgraph.map new file mode 100644 index 0000000..3aeee14 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_writer_a5957d982141ded294e38d83c98485048_icgraph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/class_athena_1_1io_1_1_memory_writer_a5957d982141ded294e38d83c98485048_icgraph.md5 b/docs/class_athena_1_1io_1_1_memory_writer_a5957d982141ded294e38d83c98485048_icgraph.md5 new file mode 100644 index 0000000..fcfce57 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_memory_writer_a5957d982141ded294e38d83c98485048_icgraph.md5 @@ -0,0 +1 @@ +fa26c7d021bbf199b0aaf963cf53e74d \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_memory_writer_a5957d982141ded294e38d83c98485048_icgraph.png b/docs/class_athena_1_1io_1_1_memory_writer_a5957d982141ded294e38d83c98485048_icgraph.png new file mode 100644 index 0000000..0d2aa28 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_memory_writer_a5957d982141ded294e38d83c98485048_icgraph.png differ diff --git a/docs/class_athena_1_1io_1_1_skyward_sword_file_reader-members.html b/docs/class_athena_1_1io_1_1_skyward_sword_file_reader-members.html new file mode 100644 index 0000000..6bfa82c --- /dev/null +++ b/docs/class_athena_1_1io_1_1_skyward_sword_file_reader-members.html @@ -0,0 +1,175 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::io::SkywardSwordFileReader Member List
+
+
+ +

This is the complete list of members for Athena::io::SkywardSwordFileReader, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
atEnd() const Athena::io::MemoryReadervirtual
data() const Athena::io::MemoryReader
endian() const Athena::io::MemoryReadervirtual
filepath() const Athena::io::MemoryReader
isBigEndian() const Athena::io::MemoryReadervirtual
isLittleEndian() const Athena::io::MemoryReadervirtual
isOpen() const Athena::io::MemoryReadervirtual
length() const Athena::io::MemoryReadervirtual
loadData() (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_bitPosition (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_data (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_endian (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_filepathAthena::io::MemoryReaderprotected
m_length (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_position (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_progressCallback (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
MemoryReader(const atUint8 *data, atUint64 length)Athena::io::MemoryReader
MemoryReader(const std::string &filename, std::function< void(int)> progressFun=nullptr)Athena::io::MemoryReader
position() const Athena::io::MemoryReadervirtual
read() (defined in Athena::io::SkywardSwordFileReader)Athena::io::SkywardSwordFileReader
readBit()Athena::io::MemoryReadervirtual
readBool()Athena::io::MemoryReadervirtual
readByte()Athena::io::MemoryReadervirtual
readBytes(atUint64 length)Athena::io::MemoryReaderinlinevirtual
readBytesToBuf(void *buf, atUint64 len) (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderinlinevirtual
readDouble()Athena::io::MemoryReadervirtual
readFloat()Athena::io::MemoryReadervirtual
readInt16()Athena::io::MemoryReadervirtual
readInt32()Athena::io::MemoryReadervirtual
readInt64()Athena::io::MemoryReadervirtual
readString(atInt32 maxlen=-1)Athena::io::MemoryReadervirtual
readUByte()Athena::io::MemoryReadervirtual
readUBytes(atUint64 length)Athena::io::MemoryReadervirtual
readUBytesToBuf(void *buf, atUint64 len) (defined in Athena::io::MemoryReader)Athena::io::MemoryReadervirtual
readUint16()Athena::io::MemoryReadervirtual
readUint32()Athena::io::MemoryReadervirtual
readUint64()Athena::io::MemoryReadervirtual
readUnicode(atInt32 maxlen=-1)Athena::io::MemoryReadervirtual
seek(atInt64 pos, SeekOrigin origin=SeekOrigin::Current)Athena::io::MemoryReadervirtual
seekAlign32()Athena::io::MemoryReaderinlinevirtual
seekBit(int bit)Athena::io::MemoryReadervirtual
setData(const atUint8 *data, atUint64 length)Athena::io::MemoryReader
setEndian(Endian endian)Athena::io::MemoryReadervirtual
setFilepath(const std::string &filepath)Athena::io::MemoryReader
setProgressCallback(std::function< void(int)> cb) (defined in Athena::io::MemoryReader)Athena::io::MemoryReader
SkywardSwordFileReader(atUint8 *data, atUint64 length) (defined in Athena::io::SkywardSwordFileReader)Athena::io::SkywardSwordFileReader
SkywardSwordFileReader(const std::string &filename) (defined in Athena::io::SkywardSwordFileReader)Athena::io::SkywardSwordFileReader
~IStream() (defined in Athena::io::IStream)Athena::io::IStreaminlinevirtual
~IStreamReader() (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderinlinevirtual
~MemoryReader() (defined in Athena::io::MemoryReader)Athena::io::MemoryReadervirtual
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_skyward_sword_file_reader.html b/docs/class_athena_1_1io_1_1_skyward_sword_file_reader.html new file mode 100644 index 0000000..9fcdf96 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_skyward_sword_file_reader.html @@ -0,0 +1,305 @@ + + + + + + +Athena IO Library: Athena::io::SkywardSwordFileReader Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::io::SkywardSwordFileReader Class Reference
+
+
+
+Inheritance diagram for Athena::io::SkywardSwordFileReader:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::io::SkywardSwordFileReader:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

SkywardSwordFileReader (atUint8 *data, atUint64 length)
 
SkywardSwordFileReader (const std::string &filename)
 
+SkywardSwordFileread ()
 
- Public Member Functions inherited from Athena::io::MemoryReader
 MemoryReader (const atUint8 *data, atUint64 length)
 This constructor takes an existing buffer to read from. More...
 
 MemoryReader (const std::string &filename, std::function< void(int)> progressFun=nullptr)
 This constructor creates an instance from a file on disk. More...
 
void setEndian (Endian endian)
 Sets the Endianss of the stream. More...
 
Endian endian () const
 Returns the current Endianness of the stream. More...
 
bool isBigEndian () const
 Returns whether the stream is BigEndian. More...
 
bool isLittleEndian () const
 Returns whether the stream is LittleEndian. More...
 
bool isOpen () const
 Retuns whether or not the Stream is open. More...
 
void seek (atInt64 pos, SeekOrigin origin=SeekOrigin::Current)
 Sets the buffers position relative to the specified position.
+ It seeks relative to the current position by default. More...
 
+void seekAlign32 ()
 Sets the buffers position relative to the next 32-byte aligned position.
+
 
bool atEnd () const
 Returns whether or not the stream is at the end. More...
 
atUint64 position () const
 Returns the current position in the stream. More...
 
atUint64 length () const
 Returns whether or not the stream is at the end. More...
 
void setData (const atUint8 *data, atUint64 length)
 Sets the buffer to the given one, deleting the current one.
+ BEWARE: As this deletes the current buffer it WILL cause a loss of data if that was not the intent.
+ Once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
atUint8 * data () const
 Returns a copy of the current buffer.
+ Changes to the copy do not affect the buffer so it's perfectly safe to directly edit the buffer and use setData to set the new information.
+ However once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
void setFilepath (const std::string &filepath)
 Sets the target file. More...
 
std::string filepath () const
 Returns the target file. More...
 
void seekBit (int bit)
 Seeks to the specified bit within the current byte. More...
 
bool readBit ()
 Reads a bit at the current position and advances the current position. More...
 
atInt8 readByte ()
 Reads a byte at the current position and advances the current position. More...
 
atUint8 readUByte ()
 Reads a byte at the current position and advances the current position. More...
 
atInt8 * readBytes (atUint64 length)
 Reads a byte at the current position and advances the current position. More...
 
atUint8 * readUBytes (atUint64 length)
 Reads a byte at the current position and advances the current position. More...
 
+atUint64 readBytesToBuf (void *buf, atUint64 len)
 
+atUint64 readUBytesToBuf (void *buf, atUint64 len)
 
atInt16 readInt16 ()
 Reads a Int16 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint16 readUint16 ()
 Reads a Uint16 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atInt32 readInt32 ()
 Reads a Int32 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint32 readUint32 ()
 Reads a Uint32 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atInt64 readInt64 ()
 Reads a Int64 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint64 readUint64 ()
 Reads a Uint64 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
float readFloat ()
 Reads a float and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
double readDouble ()
 Reads a double and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
bool readBool ()
 Reads a bool and advances the current position. More...
 
std::string readUnicode (atInt32 maxlen=-1)
 Reads a Unicode string and advances the position in the file. More...
 
std::string readString (atInt32 maxlen=-1)
 Reads a string and advances the position in the file. More...
 
+void setProgressCallback (std::function< void(int)> cb)
 
+ + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from Athena::io::MemoryReader
+void loadData ()
 
- Protected Attributes inherited from Athena::io::MemoryReader
+atUint8 * m_data
 
+atUint64 m_length
 
+std::string m_filepath
 Path to the target file.
 
+atUint64 m_position
 
+atUint64 m_bitPosition
 
+Endian m_endian
 
+std::function< void(int)> m_progressCallback
 
+

Detailed Description

+
+

Definition at line 27 of file SkywardSwordFileReader.hpp.

+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_skyward_sword_file_reader.js b/docs/class_athena_1_1io_1_1_skyward_sword_file_reader.js new file mode 100644 index 0000000..cfa9277 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_skyward_sword_file_reader.js @@ -0,0 +1,6 @@ +var class_athena_1_1io_1_1_skyward_sword_file_reader = +[ + [ "SkywardSwordFileReader", "class_athena_1_1io_1_1_skyward_sword_file_reader.html#a9703298d60531da1fccec128a78f069b", null ], + [ "SkywardSwordFileReader", "class_athena_1_1io_1_1_skyward_sword_file_reader.html#ab1293dbe5452a442710cd5097004237e", null ], + [ "read", "class_athena_1_1io_1_1_skyward_sword_file_reader.html#af5aa4813fdd5432c676e3f21c6bfce49", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_skyward_sword_file_reader__coll__graph.map b/docs/class_athena_1_1io_1_1_skyward_sword_file_reader__coll__graph.map new file mode 100644 index 0000000..ff11158 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_skyward_sword_file_reader__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_skyward_sword_file_reader__coll__graph.md5 b/docs/class_athena_1_1io_1_1_skyward_sword_file_reader__coll__graph.md5 new file mode 100644 index 0000000..b3da1fb --- /dev/null +++ b/docs/class_athena_1_1io_1_1_skyward_sword_file_reader__coll__graph.md5 @@ -0,0 +1 @@ +1447c28575fb296ae7fb99ff47498662 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_skyward_sword_file_reader__coll__graph.png b/docs/class_athena_1_1io_1_1_skyward_sword_file_reader__coll__graph.png new file mode 100644 index 0000000..88c0387 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_skyward_sword_file_reader__coll__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_skyward_sword_file_reader__inherit__graph.map b/docs/class_athena_1_1io_1_1_skyward_sword_file_reader__inherit__graph.map new file mode 100644 index 0000000..ff11158 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_skyward_sword_file_reader__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_skyward_sword_file_reader__inherit__graph.md5 b/docs/class_athena_1_1io_1_1_skyward_sword_file_reader__inherit__graph.md5 new file mode 100644 index 0000000..b3da1fb --- /dev/null +++ b/docs/class_athena_1_1io_1_1_skyward_sword_file_reader__inherit__graph.md5 @@ -0,0 +1 @@ +1447c28575fb296ae7fb99ff47498662 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_skyward_sword_file_reader__inherit__graph.png b/docs/class_athena_1_1io_1_1_skyward_sword_file_reader__inherit__graph.png new file mode 100644 index 0000000..88c0387 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_skyward_sword_file_reader__inherit__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_skyward_sword_file_writer-members.html b/docs/class_athena_1_1io_1_1_skyward_sword_file_writer-members.html new file mode 100644 index 0000000..72e6ce3 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_skyward_sword_file_writer-members.html @@ -0,0 +1,176 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::io::SkywardSwordFileWriter Member List
+
+
+ +

This is the complete list of members for Athena::io::SkywardSwordFileWriter, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
atEnd() const Athena::io::MemoryWritervirtual
data() const Athena::io::MemoryWriter
endian() const Athena::io::MemoryWritervirtual
filepath() const Athena::io::MemoryWriter
fill(atUint8 val, atUint64 length) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWritervirtual
fill(atInt8 val, atUint64 length) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWritervirtual
isBigEndian() const Athena::io::MemoryWritervirtual
isLittleEndian() const Athena::io::MemoryWritervirtual
isOpen() const Athena::io::MemoryWritervirtual
length() const Athena::io::MemoryWritervirtual
loadData() (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_bitPosition (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_data (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_endian (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_filepathAthena::io::MemoryWriterprotected
m_length (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_position (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_progressCallback (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
MemoryWriter(atUint8 *data=nullptr, atUint64 length=0x10)Athena::io::MemoryWriterexplicit
MemoryWriter(const std::string &filename, std::function< void(int)> progressFun=nullptr)Athena::io::MemoryWriter
position() const Athena::io::MemoryWritervirtual
save(const std::string &filename="")Athena::io::MemoryWriter
seek(atInt64 pos, SeekOrigin origin=SeekOrigin::Current)Athena::io::MemoryWritervirtual
seekAlign32()Athena::io::MemoryWriterinlinevirtual
seekBit(int bit)Athena::io::MemoryWritervirtual
setData(const atUint8 *data, atUint64 length)Athena::io::MemoryWriter
setEndian(Endian endian)Athena::io::MemoryWritervirtual
setFilepath(const std::string &filepath)Athena::io::MemoryWriter
setProgressCallback(std::function< void(int)> cb) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriter
SkywardSwordFileWriter(atUint8 *data, atUint64 len) (defined in Athena::io::SkywardSwordFileWriter)Athena::io::SkywardSwordFileWriter
SkywardSwordFileWriter(const std::string &filename) (defined in Athena::io::SkywardSwordFileWriter)Athena::io::SkywardSwordFileWriter
write(SkywardSwordFile *file) (defined in Athena::io::SkywardSwordFileWriter)Athena::io::SkywardSwordFileWriter
writeBit(bool val)Athena::io::MemoryWritervirtual
writeBool(bool)Athena::io::MemoryWritervirtual
writeByte(atInt8 val)Athena::io::MemoryWritervirtual
writeBytes(atInt8 *data, atUint64 len)Athena::io::MemoryWritervirtual
writeDouble(double)Athena::io::MemoryWritervirtual
writeFloat(float)Athena::io::MemoryWritervirtual
writeInt16(atInt16 val)Athena::io::MemoryWritervirtual
writeInt32(atInt32)Athena::io::MemoryWritervirtual
writeInt64(atInt64)Athena::io::MemoryWritervirtual
writeString(const std::string &str)Athena::io::MemoryWritervirtual
writeUByte(atUint8 val)Athena::io::MemoryWritervirtual
writeUBytes(atUint8 *data, atUint64 len)Athena::io::MemoryWritervirtual
writeUint16(atUint16)Athena::io::MemoryWritervirtual
writeUint32(atUint32)Athena::io::MemoryWritervirtual
writeUint64(atUint64)Athena::io::MemoryWritervirtual
writeUnicode(const std::string &str)Athena::io::MemoryWritervirtual
~IStream() (defined in Athena::io::IStream)Athena::io::IStreaminlinevirtual
~IStreamWriter() (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterinlinevirtual
~MemoryWriter() (defined in Athena::io::MemoryWriter)Athena::io::MemoryWritervirtual
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_skyward_sword_file_writer.html b/docs/class_athena_1_1io_1_1_skyward_sword_file_writer.html new file mode 100644 index 0000000..7b04cc8 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_skyward_sword_file_writer.html @@ -0,0 +1,309 @@ + + + + + + +Athena IO Library: Athena::io::SkywardSwordFileWriter Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::io::SkywardSwordFileWriter Class Reference
+
+
+
+Inheritance diagram for Athena::io::SkywardSwordFileWriter:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::io::SkywardSwordFileWriter:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

SkywardSwordFileWriter (atUint8 *data, atUint64 len)
 
SkywardSwordFileWriter (const std::string &filename)
 
+void write (SkywardSwordFile *file)
 
- Public Member Functions inherited from Athena::io::MemoryWriter
 MemoryWriter (atUint8 *data=nullptr, atUint64 length=0x10)
 This constructor takes an existing buffer to write to. More...
 
 MemoryWriter (const std::string &filename, std::function< void(int)> progressFun=nullptr)
 This constructor creates an instance from a file on disk. More...
 
void setEndian (Endian endian)
 Sets the Endianss of the stream. More...
 
Endian endian () const
 Returns the current Endianness of the stream. More...
 
bool isBigEndian () const
 Returns whether the stream is BigEndian. More...
 
bool isLittleEndian () const
 Returns whether the stream is LittleEndian. More...
 
bool isOpen () const
 Retuns whether or not the Stream is open. More...
 
void seek (atInt64 pos, SeekOrigin origin=SeekOrigin::Current)
 Sets the buffers position relative to the specified position.
+ It seeks relative to the current position by default. More...
 
+void seekAlign32 ()
 Sets the buffers position relative to the next 32-byte aligned position.
+
 
bool atEnd () const
 Returns whether or not the stream is at the end. More...
 
atUint64 position () const
 Returns the current position in the stream. More...
 
atUint64 length () const
 Returns whether or not the stream is at the end. More...
 
void setData (const atUint8 *data, atUint64 length)
 Sets the buffer to the given one, deleting the current one.
+ BEWARE: As this deletes the current buffer it WILL cause a loss of data if that was not the intent.
+ Once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
atUint8 * data () const
 Returns a copy of the current buffer.
+ Changes to the copy do not affect the buffer so it's perfectly safe to directly edit the buffer and use setData to set the new information.
+ However once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
void setFilepath (const std::string &filepath)
 Sets the target file. More...
 
+std::string filepath () const
 Returns the target file.
 
void save (const std::string &filename="")
 Saves the file to the specified file. More...
 
void seekBit (int bit)
 Seeks to the specified bit within the current byte. More...
 
void writeBit (bool val)
 Writes a bit at the current position and advances the position by one bit. More...
 
void writeUByte (atUint8 val)
 Writes a byte at the current position and advances the position by one byte. More...
 
void writeByte (atInt8 val)
 Writes a byte at the current position and advances the position by one byte. More...
 
void writeUBytes (atUint8 *data, atUint64 len)
 Writes the given buffer with the specified length, buffers can be bigger than the length however it's undefined behavior to try and write a buffer which is smaller than the given length. More...
 
void writeBytes (atInt8 *data, atUint64 len)
 Writes the given buffer with the specified length, buffers can be bigger than the length however it's undefined behavior to try and write a buffer which is smaller than the given length. More...
 
void writeInt16 (atInt16 val)
 Writes an Int16 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint16 (atUint16)
 Writes an Uint16 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeInt32 (atInt32)
 Writes an Int32 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint32 (atUint32)
 Writes an Uint32 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeInt64 (atInt64)
 Writes an Int64 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint64 (atUint64)
 Writes an Uint64 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeFloat (float)
 Writes an float to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeDouble (double)
 Writes an double to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeBool (bool)
 Writes an bool to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUnicode (const std::string &str)
 Writes an unicode string to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeString (const std::string &str)
 Writes an string to the buffer and advances the buffer. More...
 
+void fill (atUint8 val, atUint64 length)
 
+void fill (atInt8 val, atUint64 length)
 
+void setProgressCallback (std::function< void(int)> cb)
 
+ + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from Athena::io::MemoryWriter
+void loadData ()
 
- Protected Attributes inherited from Athena::io::MemoryWriter
+atUint8 * m_data
 
+atUint64 m_length
 
+std::string m_filepath
 Path to the target file.
 
+atUint64 m_position
 
+atUint64 m_bitPosition
 
+Endian m_endian
 
+std::function< void(int)> m_progressCallback
 
+

Detailed Description

+
+

Definition at line 29 of file SkywardSwordFileWriter.hpp.

+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_skyward_sword_file_writer.js b/docs/class_athena_1_1io_1_1_skyward_sword_file_writer.js new file mode 100644 index 0000000..4327022 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_skyward_sword_file_writer.js @@ -0,0 +1,6 @@ +var class_athena_1_1io_1_1_skyward_sword_file_writer = +[ + [ "SkywardSwordFileWriter", "class_athena_1_1io_1_1_skyward_sword_file_writer.html#a87cf3acb62bdd44e4a571969b14cdfd6", null ], + [ "SkywardSwordFileWriter", "class_athena_1_1io_1_1_skyward_sword_file_writer.html#abec5995fb3a6d8accacf72a8e02494c8", null ], + [ "write", "class_athena_1_1io_1_1_skyward_sword_file_writer.html#a2883faa08c62731a7728f0f8ab96979b", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_skyward_sword_file_writer__coll__graph.map b/docs/class_athena_1_1io_1_1_skyward_sword_file_writer__coll__graph.map new file mode 100644 index 0000000..fc3a9a6 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_skyward_sword_file_writer__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_skyward_sword_file_writer__coll__graph.md5 b/docs/class_athena_1_1io_1_1_skyward_sword_file_writer__coll__graph.md5 new file mode 100644 index 0000000..cee3a76 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_skyward_sword_file_writer__coll__graph.md5 @@ -0,0 +1 @@ +fdb9be05ffd06ac2dbc0a13a6b91137e \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_skyward_sword_file_writer__coll__graph.png b/docs/class_athena_1_1io_1_1_skyward_sword_file_writer__coll__graph.png new file mode 100644 index 0000000..e4f6a58 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_skyward_sword_file_writer__coll__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_skyward_sword_file_writer__inherit__graph.map b/docs/class_athena_1_1io_1_1_skyward_sword_file_writer__inherit__graph.map new file mode 100644 index 0000000..fc3a9a6 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_skyward_sword_file_writer__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_skyward_sword_file_writer__inherit__graph.md5 b/docs/class_athena_1_1io_1_1_skyward_sword_file_writer__inherit__graph.md5 new file mode 100644 index 0000000..cee3a76 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_skyward_sword_file_writer__inherit__graph.md5 @@ -0,0 +1 @@ +fdb9be05ffd06ac2dbc0a13a6b91137e \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_skyward_sword_file_writer__inherit__graph.png b/docs/class_athena_1_1io_1_1_skyward_sword_file_writer__inherit__graph.png new file mode 100644 index 0000000..e4f6a58 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_skyward_sword_file_writer__inherit__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_sprite_file_reader-members.html b/docs/class_athena_1_1io_1_1_sprite_file_reader-members.html new file mode 100644 index 0000000..c92e06e --- /dev/null +++ b/docs/class_athena_1_1io_1_1_sprite_file_reader-members.html @@ -0,0 +1,175 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::io::SpriteFileReader Member List
+
+
+ +

This is the complete list of members for Athena::io::SpriteFileReader, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
atEnd() const Athena::io::MemoryReadervirtual
data() const Athena::io::MemoryReader
endian() const Athena::io::MemoryReadervirtual
filepath() const Athena::io::MemoryReader
isBigEndian() const Athena::io::MemoryReadervirtual
isLittleEndian() const Athena::io::MemoryReadervirtual
isOpen() const Athena::io::MemoryReadervirtual
length() const Athena::io::MemoryReadervirtual
loadData() (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_bitPosition (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_data (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_endian (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_filepathAthena::io::MemoryReaderprotected
m_length (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_position (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_progressCallback (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
MemoryReader(const atUint8 *data, atUint64 length)Athena::io::MemoryReader
MemoryReader(const std::string &filename, std::function< void(int)> progressFun=nullptr)Athena::io::MemoryReader
position() const Athena::io::MemoryReadervirtual
readBit()Athena::io::MemoryReadervirtual
readBool()Athena::io::MemoryReadervirtual
readByte()Athena::io::MemoryReadervirtual
readBytes(atUint64 length)Athena::io::MemoryReaderinlinevirtual
readBytesToBuf(void *buf, atUint64 len) (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderinlinevirtual
readDouble()Athena::io::MemoryReadervirtual
readFile() (defined in Athena::io::SpriteFileReader)Athena::io::SpriteFileReader
readFloat()Athena::io::MemoryReadervirtual
readInt16()Athena::io::MemoryReadervirtual
readInt32()Athena::io::MemoryReadervirtual
readInt64()Athena::io::MemoryReadervirtual
readString(atInt32 maxlen=-1)Athena::io::MemoryReadervirtual
readUByte()Athena::io::MemoryReadervirtual
readUBytes(atUint64 length)Athena::io::MemoryReadervirtual
readUBytesToBuf(void *buf, atUint64 len) (defined in Athena::io::MemoryReader)Athena::io::MemoryReadervirtual
readUint16()Athena::io::MemoryReadervirtual
readUint32()Athena::io::MemoryReadervirtual
readUint64()Athena::io::MemoryReadervirtual
readUnicode(atInt32 maxlen=-1)Athena::io::MemoryReadervirtual
seek(atInt64 pos, SeekOrigin origin=SeekOrigin::Current)Athena::io::MemoryReadervirtual
seekAlign32()Athena::io::MemoryReaderinlinevirtual
seekBit(int bit)Athena::io::MemoryReadervirtual
setData(const atUint8 *data, atUint64 length)Athena::io::MemoryReader
setEndian(Endian endian)Athena::io::MemoryReadervirtual
setFilepath(const std::string &filepath)Athena::io::MemoryReader
setProgressCallback(std::function< void(int)> cb) (defined in Athena::io::MemoryReader)Athena::io::MemoryReader
SpriteFileReader(atUint8 *data, atUint64 length) (defined in Athena::io::SpriteFileReader)Athena::io::SpriteFileReader
SpriteFileReader(const std::string &filepath) (defined in Athena::io::SpriteFileReader)Athena::io::SpriteFileReader
~IStream() (defined in Athena::io::IStream)Athena::io::IStreaminlinevirtual
~IStreamReader() (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderinlinevirtual
~MemoryReader() (defined in Athena::io::MemoryReader)Athena::io::MemoryReadervirtual
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_sprite_file_reader.html b/docs/class_athena_1_1io_1_1_sprite_file_reader.html new file mode 100644 index 0000000..d72bba5 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_sprite_file_reader.html @@ -0,0 +1,305 @@ + + + + + + +Athena IO Library: Athena::io::SpriteFileReader Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::io::SpriteFileReader Class Reference
+
+
+
+Inheritance diagram for Athena::io::SpriteFileReader:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::io::SpriteFileReader:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

SpriteFileReader (atUint8 *data, atUint64 length)
 
SpriteFileReader (const std::string &filepath)
 
+Sakura::SpriteFilereadFile ()
 
- Public Member Functions inherited from Athena::io::MemoryReader
 MemoryReader (const atUint8 *data, atUint64 length)
 This constructor takes an existing buffer to read from. More...
 
 MemoryReader (const std::string &filename, std::function< void(int)> progressFun=nullptr)
 This constructor creates an instance from a file on disk. More...
 
void setEndian (Endian endian)
 Sets the Endianss of the stream. More...
 
Endian endian () const
 Returns the current Endianness of the stream. More...
 
bool isBigEndian () const
 Returns whether the stream is BigEndian. More...
 
bool isLittleEndian () const
 Returns whether the stream is LittleEndian. More...
 
bool isOpen () const
 Retuns whether or not the Stream is open. More...
 
void seek (atInt64 pos, SeekOrigin origin=SeekOrigin::Current)
 Sets the buffers position relative to the specified position.
+ It seeks relative to the current position by default. More...
 
+void seekAlign32 ()
 Sets the buffers position relative to the next 32-byte aligned position.
+
 
bool atEnd () const
 Returns whether or not the stream is at the end. More...
 
atUint64 position () const
 Returns the current position in the stream. More...
 
atUint64 length () const
 Returns whether or not the stream is at the end. More...
 
void setData (const atUint8 *data, atUint64 length)
 Sets the buffer to the given one, deleting the current one.
+ BEWARE: As this deletes the current buffer it WILL cause a loss of data if that was not the intent.
+ Once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
atUint8 * data () const
 Returns a copy of the current buffer.
+ Changes to the copy do not affect the buffer so it's perfectly safe to directly edit the buffer and use setData to set the new information.
+ However once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
void setFilepath (const std::string &filepath)
 Sets the target file. More...
 
std::string filepath () const
 Returns the target file. More...
 
void seekBit (int bit)
 Seeks to the specified bit within the current byte. More...
 
bool readBit ()
 Reads a bit at the current position and advances the current position. More...
 
atInt8 readByte ()
 Reads a byte at the current position and advances the current position. More...
 
atUint8 readUByte ()
 Reads a byte at the current position and advances the current position. More...
 
atInt8 * readBytes (atUint64 length)
 Reads a byte at the current position and advances the current position. More...
 
atUint8 * readUBytes (atUint64 length)
 Reads a byte at the current position and advances the current position. More...
 
+atUint64 readBytesToBuf (void *buf, atUint64 len)
 
+atUint64 readUBytesToBuf (void *buf, atUint64 len)
 
atInt16 readInt16 ()
 Reads a Int16 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint16 readUint16 ()
 Reads a Uint16 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atInt32 readInt32 ()
 Reads a Int32 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint32 readUint32 ()
 Reads a Uint32 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atInt64 readInt64 ()
 Reads a Int64 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint64 readUint64 ()
 Reads a Uint64 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
float readFloat ()
 Reads a float and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
double readDouble ()
 Reads a double and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
bool readBool ()
 Reads a bool and advances the current position. More...
 
std::string readUnicode (atInt32 maxlen=-1)
 Reads a Unicode string and advances the position in the file. More...
 
std::string readString (atInt32 maxlen=-1)
 Reads a string and advances the position in the file. More...
 
+void setProgressCallback (std::function< void(int)> cb)
 
+ + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from Athena::io::MemoryReader
+void loadData ()
 
- Protected Attributes inherited from Athena::io::MemoryReader
+atUint8 * m_data
 
+atUint64 m_length
 
+std::string m_filepath
 Path to the target file.
 
+atUint64 m_position
 
+atUint64 m_bitPosition
 
+Endian m_endian
 
+std::function< void(int)> m_progressCallback
 
+

Detailed Description

+
+

Definition at line 32 of file SpriteFileReader.hpp.

+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_sprite_file_reader.js b/docs/class_athena_1_1io_1_1_sprite_file_reader.js new file mode 100644 index 0000000..9d59b6f --- /dev/null +++ b/docs/class_athena_1_1io_1_1_sprite_file_reader.js @@ -0,0 +1,6 @@ +var class_athena_1_1io_1_1_sprite_file_reader = +[ + [ "SpriteFileReader", "class_athena_1_1io_1_1_sprite_file_reader.html#a0dbb4044772fd899d94e5e314b1fa985", null ], + [ "SpriteFileReader", "class_athena_1_1io_1_1_sprite_file_reader.html#a62e6e49b81da407af8df554b0d081285", null ], + [ "readFile", "class_athena_1_1io_1_1_sprite_file_reader.html#a3ce5ab343419e641dba79bad5a22e741", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_sprite_file_reader__coll__graph.map b/docs/class_athena_1_1io_1_1_sprite_file_reader__coll__graph.map new file mode 100644 index 0000000..6063cdb --- /dev/null +++ b/docs/class_athena_1_1io_1_1_sprite_file_reader__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_sprite_file_reader__coll__graph.md5 b/docs/class_athena_1_1io_1_1_sprite_file_reader__coll__graph.md5 new file mode 100644 index 0000000..25864c4 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_sprite_file_reader__coll__graph.md5 @@ -0,0 +1 @@ +433f3ff52efab1ac0bda215dc7620615 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_sprite_file_reader__coll__graph.png b/docs/class_athena_1_1io_1_1_sprite_file_reader__coll__graph.png new file mode 100644 index 0000000..f39e656 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_sprite_file_reader__coll__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_sprite_file_reader__inherit__graph.map b/docs/class_athena_1_1io_1_1_sprite_file_reader__inherit__graph.map new file mode 100644 index 0000000..6063cdb --- /dev/null +++ b/docs/class_athena_1_1io_1_1_sprite_file_reader__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_sprite_file_reader__inherit__graph.md5 b/docs/class_athena_1_1io_1_1_sprite_file_reader__inherit__graph.md5 new file mode 100644 index 0000000..25864c4 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_sprite_file_reader__inherit__graph.md5 @@ -0,0 +1 @@ +433f3ff52efab1ac0bda215dc7620615 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_sprite_file_reader__inherit__graph.png b/docs/class_athena_1_1io_1_1_sprite_file_reader__inherit__graph.png new file mode 100644 index 0000000..f39e656 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_sprite_file_reader__inherit__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_sprite_file_writer-members.html b/docs/class_athena_1_1io_1_1_sprite_file_writer-members.html new file mode 100644 index 0000000..4183505 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_sprite_file_writer-members.html @@ -0,0 +1,176 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::io::SpriteFileWriter Member List
+
+
+ +

This is the complete list of members for Athena::io::SpriteFileWriter, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
atEnd() const Athena::io::MemoryWritervirtual
data() const Athena::io::MemoryWriter
endian() const Athena::io::MemoryWritervirtual
filepath() const Athena::io::MemoryWriter
fill(atUint8 val, atUint64 length) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWritervirtual
fill(atInt8 val, atUint64 length) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWritervirtual
isBigEndian() const Athena::io::MemoryWritervirtual
isLittleEndian() const Athena::io::MemoryWritervirtual
isOpen() const Athena::io::MemoryWritervirtual
length() const Athena::io::MemoryWritervirtual
loadData() (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_bitPosition (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_data (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_endian (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_filepathAthena::io::MemoryWriterprotected
m_length (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_position (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_progressCallback (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
MemoryWriter(atUint8 *data=nullptr, atUint64 length=0x10)Athena::io::MemoryWriterexplicit
MemoryWriter(const std::string &filename, std::function< void(int)> progressFun=nullptr)Athena::io::MemoryWriter
position() const Athena::io::MemoryWritervirtual
save(const std::string &filename="")Athena::io::MemoryWriter
seek(atInt64 pos, SeekOrigin origin=SeekOrigin::Current)Athena::io::MemoryWritervirtual
seekAlign32()Athena::io::MemoryWriterinlinevirtual
seekBit(int bit)Athena::io::MemoryWritervirtual
setData(const atUint8 *data, atUint64 length)Athena::io::MemoryWriter
setEndian(Endian endian)Athena::io::MemoryWritervirtual
setFilepath(const std::string &filepath)Athena::io::MemoryWriter
setProgressCallback(std::function< void(int)> cb) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriter
SpriteFileWriter(atUint8 *data, atUint64 length) (defined in Athena::io::SpriteFileWriter)Athena::io::SpriteFileWriter
SpriteFileWriter(const std::string &filepath) (defined in Athena::io::SpriteFileWriter)Athena::io::SpriteFileWriter
writeBit(bool val)Athena::io::MemoryWritervirtual
writeBool(bool)Athena::io::MemoryWritervirtual
writeByte(atInt8 val)Athena::io::MemoryWritervirtual
writeBytes(atInt8 *data, atUint64 len)Athena::io::MemoryWritervirtual
writeDouble(double)Athena::io::MemoryWritervirtual
writeFile(Sakura::SpriteFile *file) (defined in Athena::io::SpriteFileWriter)Athena::io::SpriteFileWriter
writeFloat(float)Athena::io::MemoryWritervirtual
writeInt16(atInt16 val)Athena::io::MemoryWritervirtual
writeInt32(atInt32)Athena::io::MemoryWritervirtual
writeInt64(atInt64)Athena::io::MemoryWritervirtual
writeString(const std::string &str)Athena::io::MemoryWritervirtual
writeUByte(atUint8 val)Athena::io::MemoryWritervirtual
writeUBytes(atUint8 *data, atUint64 len)Athena::io::MemoryWritervirtual
writeUint16(atUint16)Athena::io::MemoryWritervirtual
writeUint32(atUint32)Athena::io::MemoryWritervirtual
writeUint64(atUint64)Athena::io::MemoryWritervirtual
writeUnicode(const std::string &str)Athena::io::MemoryWritervirtual
~IStream() (defined in Athena::io::IStream)Athena::io::IStreaminlinevirtual
~IStreamWriter() (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterinlinevirtual
~MemoryWriter() (defined in Athena::io::MemoryWriter)Athena::io::MemoryWritervirtual
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_sprite_file_writer.html b/docs/class_athena_1_1io_1_1_sprite_file_writer.html new file mode 100644 index 0000000..e2ff186 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_sprite_file_writer.html @@ -0,0 +1,309 @@ + + + + + + +Athena IO Library: Athena::io::SpriteFileWriter Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::io::SpriteFileWriter Class Reference
+
+
+
+Inheritance diagram for Athena::io::SpriteFileWriter:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::io::SpriteFileWriter:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

SpriteFileWriter (atUint8 *data, atUint64 length)
 
SpriteFileWriter (const std::string &filepath)
 
+void writeFile (Sakura::SpriteFile *file)
 
- Public Member Functions inherited from Athena::io::MemoryWriter
 MemoryWriter (atUint8 *data=nullptr, atUint64 length=0x10)
 This constructor takes an existing buffer to write to. More...
 
 MemoryWriter (const std::string &filename, std::function< void(int)> progressFun=nullptr)
 This constructor creates an instance from a file on disk. More...
 
void setEndian (Endian endian)
 Sets the Endianss of the stream. More...
 
Endian endian () const
 Returns the current Endianness of the stream. More...
 
bool isBigEndian () const
 Returns whether the stream is BigEndian. More...
 
bool isLittleEndian () const
 Returns whether the stream is LittleEndian. More...
 
bool isOpen () const
 Retuns whether or not the Stream is open. More...
 
void seek (atInt64 pos, SeekOrigin origin=SeekOrigin::Current)
 Sets the buffers position relative to the specified position.
+ It seeks relative to the current position by default. More...
 
+void seekAlign32 ()
 Sets the buffers position relative to the next 32-byte aligned position.
+
 
bool atEnd () const
 Returns whether or not the stream is at the end. More...
 
atUint64 position () const
 Returns the current position in the stream. More...
 
atUint64 length () const
 Returns whether or not the stream is at the end. More...
 
void setData (const atUint8 *data, atUint64 length)
 Sets the buffer to the given one, deleting the current one.
+ BEWARE: As this deletes the current buffer it WILL cause a loss of data if that was not the intent.
+ Once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
atUint8 * data () const
 Returns a copy of the current buffer.
+ Changes to the copy do not affect the buffer so it's perfectly safe to directly edit the buffer and use setData to set the new information.
+ However once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
void setFilepath (const std::string &filepath)
 Sets the target file. More...
 
+std::string filepath () const
 Returns the target file.
 
void save (const std::string &filename="")
 Saves the file to the specified file. More...
 
void seekBit (int bit)
 Seeks to the specified bit within the current byte. More...
 
void writeBit (bool val)
 Writes a bit at the current position and advances the position by one bit. More...
 
void writeUByte (atUint8 val)
 Writes a byte at the current position and advances the position by one byte. More...
 
void writeByte (atInt8 val)
 Writes a byte at the current position and advances the position by one byte. More...
 
void writeUBytes (atUint8 *data, atUint64 len)
 Writes the given buffer with the specified length, buffers can be bigger than the length however it's undefined behavior to try and write a buffer which is smaller than the given length. More...
 
void writeBytes (atInt8 *data, atUint64 len)
 Writes the given buffer with the specified length, buffers can be bigger than the length however it's undefined behavior to try and write a buffer which is smaller than the given length. More...
 
void writeInt16 (atInt16 val)
 Writes an Int16 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint16 (atUint16)
 Writes an Uint16 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeInt32 (atInt32)
 Writes an Int32 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint32 (atUint32)
 Writes an Uint32 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeInt64 (atInt64)
 Writes an Int64 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint64 (atUint64)
 Writes an Uint64 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeFloat (float)
 Writes an float to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeDouble (double)
 Writes an double to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeBool (bool)
 Writes an bool to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUnicode (const std::string &str)
 Writes an unicode string to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeString (const std::string &str)
 Writes an string to the buffer and advances the buffer. More...
 
+void fill (atUint8 val, atUint64 length)
 
+void fill (atInt8 val, atUint64 length)
 
+void setProgressCallback (std::function< void(int)> cb)
 
+ + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from Athena::io::MemoryWriter
+void loadData ()
 
- Protected Attributes inherited from Athena::io::MemoryWriter
+atUint8 * m_data
 
+atUint64 m_length
 
+std::string m_filepath
 Path to the target file.
 
+atUint64 m_position
 
+atUint64 m_bitPosition
 
+Endian m_endian
 
+std::function< void(int)> m_progressCallback
 
+

Detailed Description

+
+

Definition at line 32 of file SpriteFileWriter.hpp.

+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_sprite_file_writer.js b/docs/class_athena_1_1io_1_1_sprite_file_writer.js new file mode 100644 index 0000000..3b8b04d --- /dev/null +++ b/docs/class_athena_1_1io_1_1_sprite_file_writer.js @@ -0,0 +1,6 @@ +var class_athena_1_1io_1_1_sprite_file_writer = +[ + [ "SpriteFileWriter", "class_athena_1_1io_1_1_sprite_file_writer.html#a5141fb9e4e02b89731cd1bab097552db", null ], + [ "SpriteFileWriter", "class_athena_1_1io_1_1_sprite_file_writer.html#a3626423ef524d9af4b3a4674d4e365fb", null ], + [ "writeFile", "class_athena_1_1io_1_1_sprite_file_writer.html#a9d5c94d9e02e154c194ff9082a440fbd", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_sprite_file_writer__coll__graph.map b/docs/class_athena_1_1io_1_1_sprite_file_writer__coll__graph.map new file mode 100644 index 0000000..9c69e53 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_sprite_file_writer__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_sprite_file_writer__coll__graph.md5 b/docs/class_athena_1_1io_1_1_sprite_file_writer__coll__graph.md5 new file mode 100644 index 0000000..862eaf5 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_sprite_file_writer__coll__graph.md5 @@ -0,0 +1 @@ +8c9015083fd537986379f7a6f4253d02 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_sprite_file_writer__coll__graph.png b/docs/class_athena_1_1io_1_1_sprite_file_writer__coll__graph.png new file mode 100644 index 0000000..0504126 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_sprite_file_writer__coll__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_sprite_file_writer__inherit__graph.map b/docs/class_athena_1_1io_1_1_sprite_file_writer__inherit__graph.map new file mode 100644 index 0000000..9c69e53 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_sprite_file_writer__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_sprite_file_writer__inherit__graph.md5 b/docs/class_athena_1_1io_1_1_sprite_file_writer__inherit__graph.md5 new file mode 100644 index 0000000..862eaf5 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_sprite_file_writer__inherit__graph.md5 @@ -0,0 +1 @@ +8c9015083fd537986379f7a6f4253d02 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_sprite_file_writer__inherit__graph.png b/docs/class_athena_1_1io_1_1_sprite_file_writer__inherit__graph.png new file mode 100644 index 0000000..0504126 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_sprite_file_writer__inherit__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_wii_save_reader-members.html b/docs/class_athena_1_1io_1_1_wii_save_reader-members.html new file mode 100644 index 0000000..b36b3b8 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_wii_save_reader-members.html @@ -0,0 +1,175 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::io::WiiSaveReader Member List
+
+
+ +

This is the complete list of members for Athena::io::WiiSaveReader, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
atEnd() const Athena::io::MemoryReaderprotectedvirtual
data() const Athena::io::MemoryReaderprotected
endian() const Athena::io::MemoryReaderprotectedvirtual
filepath() const Athena::io::MemoryReaderprotected
isBigEndian() const Athena::io::MemoryReaderprotectedvirtual
isLittleEndian() const Athena::io::MemoryReaderprotectedvirtual
isOpen() const Athena::io::MemoryReaderprotectedvirtual
length() const Athena::io::MemoryReaderprotectedvirtual
loadData() (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_bitPosition (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_data (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_endian (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_filepathAthena::io::MemoryReaderprotected
m_length (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_position (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_progressCallback (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
MemoryReader(const atUint8 *data, atUint64 length)Athena::io::MemoryReaderprotected
MemoryReader(const std::string &filename, std::function< void(int)> progressFun=nullptr)Athena::io::MemoryReaderprotected
position() const Athena::io::MemoryReaderprotectedvirtual
readBit()Athena::io::MemoryReaderprotectedvirtual
readBool()Athena::io::MemoryReaderprotectedvirtual
readByte()Athena::io::MemoryReaderprotectedvirtual
readBytes(atUint64 length)Athena::io::MemoryReaderinlineprotectedvirtual
readBytesToBuf(void *buf, atUint64 len) (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderinlineprotectedvirtual
readDouble()Athena::io::MemoryReaderprotectedvirtual
readFloat()Athena::io::MemoryReaderprotectedvirtual
readInt16()Athena::io::MemoryReaderprotectedvirtual
readInt32()Athena::io::MemoryReaderprotectedvirtual
readInt64()Athena::io::MemoryReaderprotectedvirtual
readSave()Athena::io::WiiSaveReader
readString(atInt32 maxlen=-1)Athena::io::MemoryReaderprotectedvirtual
readUByte()Athena::io::MemoryReaderprotectedvirtual
readUBytes(atUint64 length)Athena::io::MemoryReaderprotectedvirtual
readUBytesToBuf(void *buf, atUint64 len) (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotectedvirtual
readUint16()Athena::io::MemoryReaderprotectedvirtual
readUint32()Athena::io::MemoryReaderprotectedvirtual
readUint64()Athena::io::MemoryReaderprotectedvirtual
readUnicode(atInt32 maxlen=-1)Athena::io::MemoryReaderprotectedvirtual
seek(atInt64 pos, SeekOrigin origin=SeekOrigin::Current)Athena::io::MemoryReaderprotectedvirtual
seekAlign32()Athena::io::MemoryReaderinlineprotectedvirtual
seekBit(int bit)Athena::io::MemoryReaderprotectedvirtual
setData(const atUint8 *data, atUint64 length)Athena::io::MemoryReaderprotected
setEndian(Endian endian)Athena::io::MemoryReaderprotectedvirtual
setFilepath(const std::string &filepath)Athena::io::MemoryReaderprotected
setProgressCallback(std::function< void(int)> cb) (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
WiiSaveReader(const atUint8 *, atUint64)Athena::io::WiiSaveReader
WiiSaveReader(const std::string &)Athena::io::WiiSaveReader
~IStream() (defined in Athena::io::IStream)Athena::io::IStreaminlineprotectedvirtual
~IStreamReader() (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderinlineprotectedvirtual
~MemoryReader() (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotectedvirtual
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_wii_save_reader.html b/docs/class_athena_1_1io_1_1_wii_save_reader.html new file mode 100644 index 0000000..e6f4b0e --- /dev/null +++ b/docs/class_athena_1_1io_1_1_wii_save_reader.html @@ -0,0 +1,390 @@ + + + + + + +Athena IO Library: Athena::io::WiiSaveReader Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::io::WiiSaveReader Class Reference
+
+
+ +

Wii data.bin reader class. + More...

+ +

#include <WiiSaveReader.hpp>

+
+Inheritance diagram for Athena::io::WiiSaveReader:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::io::WiiSaveReader:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + +

+Public Member Functions

 WiiSaveReader (const atUint8 *, atUint64)
 This constructor takes an existing buffer to read from. More...
 
 WiiSaveReader (const std::string &)
 This constructor creates an instance from a file on disk. More...
 
WiiSavereadSave ()
 readSave More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from Athena::io::MemoryReader
+void loadData ()
 
 MemoryReader (const atUint8 *data, atUint64 length)
 This constructor takes an existing buffer to read from. More...
 
 MemoryReader (const std::string &filename, std::function< void(int)> progressFun=nullptr)
 This constructor creates an instance from a file on disk. More...
 
void setEndian (Endian endian)
 Sets the Endianss of the stream. More...
 
Endian endian () const
 Returns the current Endianness of the stream. More...
 
bool isBigEndian () const
 Returns whether the stream is BigEndian. More...
 
bool isLittleEndian () const
 Returns whether the stream is LittleEndian. More...
 
bool isOpen () const
 Retuns whether or not the Stream is open. More...
 
void seek (atInt64 pos, SeekOrigin origin=SeekOrigin::Current)
 Sets the buffers position relative to the specified position.
+ It seeks relative to the current position by default. More...
 
+void seekAlign32 ()
 Sets the buffers position relative to the next 32-byte aligned position.
+
 
bool atEnd () const
 Returns whether or not the stream is at the end. More...
 
atUint64 position () const
 Returns the current position in the stream. More...
 
atUint64 length () const
 Returns whether or not the stream is at the end. More...
 
void setData (const atUint8 *data, atUint64 length)
 Sets the buffer to the given one, deleting the current one.
+ BEWARE: As this deletes the current buffer it WILL cause a loss of data if that was not the intent.
+ Once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
atUint8 * data () const
 Returns a copy of the current buffer.
+ Changes to the copy do not affect the buffer so it's perfectly safe to directly edit the buffer and use setData to set the new information.
+ However once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
void setFilepath (const std::string &filepath)
 Sets the target file. More...
 
std::string filepath () const
 Returns the target file. More...
 
void seekBit (int bit)
 Seeks to the specified bit within the current byte. More...
 
bool readBit ()
 Reads a bit at the current position and advances the current position. More...
 
atInt8 readByte ()
 Reads a byte at the current position and advances the current position. More...
 
atUint8 readUByte ()
 Reads a byte at the current position and advances the current position. More...
 
atInt8 * readBytes (atUint64 length)
 Reads a byte at the current position and advances the current position. More...
 
atUint8 * readUBytes (atUint64 length)
 Reads a byte at the current position and advances the current position. More...
 
+atUint64 readBytesToBuf (void *buf, atUint64 len)
 
+atUint64 readUBytesToBuf (void *buf, atUint64 len)
 
atInt16 readInt16 ()
 Reads a Int16 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint16 readUint16 ()
 Reads a Uint16 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atInt32 readInt32 ()
 Reads a Int32 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint32 readUint32 ()
 Reads a Uint32 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atInt64 readInt64 ()
 Reads a Int64 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint64 readUint64 ()
 Reads a Uint64 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
float readFloat ()
 Reads a float and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
double readDouble ()
 Reads a double and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
bool readBool ()
 Reads a bool and advances the current position. More...
 
std::string readUnicode (atInt32 maxlen=-1)
 Reads a Unicode string and advances the position in the file. More...
 
std::string readString (atInt32 maxlen=-1)
 Reads a string and advances the position in the file. More...
 
+void setProgressCallback (std::function< void(int)> cb)
 
- Protected Attributes inherited from Athena::io::MemoryReader
+atUint8 * m_data
 
+atUint64 m_length
 
+std::string m_filepath
 Path to the target file.
 
+atUint64 m_position
 
+atUint64 m_bitPosition
 
+Endian m_endian
 
+std::function< void(int)> m_progressCallback
 
+

Detailed Description

+

Wii data.bin reader class.

+

A Class for reading binary data from a wii data.bin file, all work is done using a memory buffer, and not read directly from the disk.

See also
BinaryReader
+ +

Definition at line 40 of file WiiSaveReader.hpp.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
Athena::io::WiiSaveReader::WiiSaveReader (const atUint8 * ,
atUint64  
)
+
+ +

This constructor takes an existing buffer to read from.

+
Parameters
+ + + +
dataThe existing buffer
lengthThe length of the existing buffer
+
+
+ +
+
+ +
+
+ + + + + + + + +
Athena::io::WiiSaveReader::WiiSaveReader (const std::string & )
+
+ +

This constructor creates an instance from a file on disk.

+
Parameters
+ + +
filenameThe file to create the stream from
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + +
WiiSave* Athena::io::WiiSaveReader::readSave ()
+
+ +

readSave

+
Returns
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_wii_save_reader.js b/docs/class_athena_1_1io_1_1_wii_save_reader.js new file mode 100644 index 0000000..05664c5 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_wii_save_reader.js @@ -0,0 +1,6 @@ +var class_athena_1_1io_1_1_wii_save_reader = +[ + [ "WiiSaveReader", "class_athena_1_1io_1_1_wii_save_reader.html#a8073ea93406ee0b9d232699660bc9d19", null ], + [ "WiiSaveReader", "class_athena_1_1io_1_1_wii_save_reader.html#ae2081dff738e7d32103a61400add3084", null ], + [ "readSave", "class_athena_1_1io_1_1_wii_save_reader.html#aceecae5dc205161ab2258962082bed9f", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_wii_save_reader__coll__graph.map b/docs/class_athena_1_1io_1_1_wii_save_reader__coll__graph.map new file mode 100644 index 0000000..b4a601a --- /dev/null +++ b/docs/class_athena_1_1io_1_1_wii_save_reader__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_wii_save_reader__coll__graph.md5 b/docs/class_athena_1_1io_1_1_wii_save_reader__coll__graph.md5 new file mode 100644 index 0000000..8afd883 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_wii_save_reader__coll__graph.md5 @@ -0,0 +1 @@ +c5847cb3e1b83206dc3703305b3be41d \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_wii_save_reader__coll__graph.png b/docs/class_athena_1_1io_1_1_wii_save_reader__coll__graph.png new file mode 100644 index 0000000..7be9eb2 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_wii_save_reader__coll__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_wii_save_reader__inherit__graph.map b/docs/class_athena_1_1io_1_1_wii_save_reader__inherit__graph.map new file mode 100644 index 0000000..b4a601a --- /dev/null +++ b/docs/class_athena_1_1io_1_1_wii_save_reader__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_wii_save_reader__inherit__graph.md5 b/docs/class_athena_1_1io_1_1_wii_save_reader__inherit__graph.md5 new file mode 100644 index 0000000..8afd883 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_wii_save_reader__inherit__graph.md5 @@ -0,0 +1 @@ +c5847cb3e1b83206dc3703305b3be41d \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_wii_save_reader__inherit__graph.png b/docs/class_athena_1_1io_1_1_wii_save_reader__inherit__graph.png new file mode 100644 index 0000000..7be9eb2 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_wii_save_reader__inherit__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_wii_save_writer-members.html b/docs/class_athena_1_1io_1_1_wii_save_writer-members.html new file mode 100644 index 0000000..7bdfc43 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_wii_save_writer-members.html @@ -0,0 +1,175 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::io::WiiSaveWriter Member List
+
+
+ +

This is the complete list of members for Athena::io::WiiSaveWriter, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
atEnd() const Athena::io::MemoryWriterprotectedvirtual
data() const Athena::io::MemoryWriterprotected
endian() const Athena::io::MemoryWriterprotectedvirtual
filepath() const Athena::io::MemoryWriterprotected
fill(atUint8 val, atUint64 length) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotectedvirtual
fill(atInt8 val, atUint64 length) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotectedvirtual
isBigEndian() const Athena::io::MemoryWriterprotectedvirtual
isLittleEndian() const Athena::io::MemoryWriterprotectedvirtual
isOpen() const Athena::io::MemoryWriterprotectedvirtual
length() const Athena::io::MemoryWriterprotectedvirtual
loadData() (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_bitPosition (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_data (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_endian (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_filepathAthena::io::MemoryWriterprotected
m_length (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_position (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_progressCallback (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
MemoryWriter(atUint8 *data=nullptr, atUint64 length=0x10)Athena::io::MemoryWriterexplicitprotected
MemoryWriter(const std::string &filename, std::function< void(int)> progressFun=nullptr)Athena::io::MemoryWriterprotected
position() const Athena::io::MemoryWriterprotectedvirtual
save(const std::string &filename="")Athena::io::MemoryWriterprotected
seek(atInt64 pos, SeekOrigin origin=SeekOrigin::Current)Athena::io::MemoryWriterprotectedvirtual
seekAlign32()Athena::io::MemoryWriterinlineprotectedvirtual
seekBit(int bit)Athena::io::MemoryWriterprotectedvirtual
setData(const atUint8 *data, atUint64 length)Athena::io::MemoryWriterprotected
setEndian(Endian endian)Athena::io::MemoryWriterprotectedvirtual
setFilepath(const std::string &filepath)Athena::io::MemoryWriterprotected
setProgressCallback(std::function< void(int)> cb) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
WiiSaveWriter(const std::string &)Athena::io::WiiSaveWriter
writeBit(bool val)Athena::io::MemoryWriterprotectedvirtual
writeBool(bool)Athena::io::MemoryWriterprotectedvirtual
writeByte(atInt8 val)Athena::io::MemoryWriterprotectedvirtual
writeBytes(atInt8 *data, atUint64 len)Athena::io::MemoryWriterprotectedvirtual
writeDouble(double)Athena::io::MemoryWriterprotectedvirtual
writeFloat(float)Athena::io::MemoryWriterprotectedvirtual
writeInt16(atInt16 val)Athena::io::MemoryWriterprotectedvirtual
writeInt32(atInt32)Athena::io::MemoryWriterprotectedvirtual
writeInt64(atInt64)Athena::io::MemoryWriterprotectedvirtual
writeSave(WiiSave *save, atUint8 *macAddress, atUint32 ngId, atUint8 *ngPriv, atUint8 *ngSig, atUint32 ngKeyId, const std::string &filepath="")Athena::io::WiiSaveWriter
writeString(const std::string &str)Athena::io::MemoryWriterprotectedvirtual
writeUByte(atUint8 val)Athena::io::MemoryWriterprotectedvirtual
writeUBytes(atUint8 *data, atUint64 len)Athena::io::MemoryWriterprotectedvirtual
writeUint16(atUint16)Athena::io::MemoryWriterprotectedvirtual
writeUint32(atUint32)Athena::io::MemoryWriterprotectedvirtual
writeUint64(atUint64)Athena::io::MemoryWriterprotectedvirtual
writeUnicode(const std::string &str)Athena::io::MemoryWriterprotectedvirtual
~IStream() (defined in Athena::io::IStream)Athena::io::IStreaminlineprotectedvirtual
~IStreamWriter() (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterinlineprotectedvirtual
~MemoryWriter() (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotectedvirtual
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_wii_save_writer.html b/docs/class_athena_1_1io_1_1_wii_save_writer.html new file mode 100644 index 0000000..f74d844 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_wii_save_writer.html @@ -0,0 +1,409 @@ + + + + + + +Athena IO Library: Athena::io::WiiSaveWriter Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::io::WiiSaveWriter Class Reference
+
+
+ +

Wii data.bin writer class. + More...

+ +

#include <WiiSaveWriter.hpp>

+
+Inheritance diagram for Athena::io::WiiSaveWriter:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::io::WiiSaveWriter:
+
+
Collaboration graph
+ + +
+ + + + + + + + +

+Public Member Functions

 WiiSaveWriter (const std::string &)
 This constructor creates an instance from a file on disk. More...
 
bool writeSave (WiiSave *save, atUint8 *macAddress, atUint32 ngId, atUint8 *ngPriv, atUint8 *ngSig, atUint32 ngKeyId, const std::string &filepath="")
 writeSave More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from Athena::io::MemoryWriter
+void loadData ()
 
 MemoryWriter (atUint8 *data=nullptr, atUint64 length=0x10)
 This constructor takes an existing buffer to write to. More...
 
 MemoryWriter (const std::string &filename, std::function< void(int)> progressFun=nullptr)
 This constructor creates an instance from a file on disk. More...
 
void setEndian (Endian endian)
 Sets the Endianss of the stream. More...
 
Endian endian () const
 Returns the current Endianness of the stream. More...
 
bool isBigEndian () const
 Returns whether the stream is BigEndian. More...
 
bool isLittleEndian () const
 Returns whether the stream is LittleEndian. More...
 
bool isOpen () const
 Retuns whether or not the Stream is open. More...
 
void seek (atInt64 pos, SeekOrigin origin=SeekOrigin::Current)
 Sets the buffers position relative to the specified position.
+ It seeks relative to the current position by default. More...
 
+void seekAlign32 ()
 Sets the buffers position relative to the next 32-byte aligned position.
+
 
bool atEnd () const
 Returns whether or not the stream is at the end. More...
 
atUint64 position () const
 Returns the current position in the stream. More...
 
atUint64 length () const
 Returns whether or not the stream is at the end. More...
 
void setData (const atUint8 *data, atUint64 length)
 Sets the buffer to the given one, deleting the current one.
+ BEWARE: As this deletes the current buffer it WILL cause a loss of data if that was not the intent.
+ Once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
atUint8 * data () const
 Returns a copy of the current buffer.
+ Changes to the copy do not affect the buffer so it's perfectly safe to directly edit the buffer and use setData to set the new information.
+ However once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
void setFilepath (const std::string &filepath)
 Sets the target file. More...
 
+std::string filepath () const
 Returns the target file.
 
void save (const std::string &filename="")
 Saves the file to the specified file. More...
 
void seekBit (int bit)
 Seeks to the specified bit within the current byte. More...
 
void writeBit (bool val)
 Writes a bit at the current position and advances the position by one bit. More...
 
void writeUByte (atUint8 val)
 Writes a byte at the current position and advances the position by one byte. More...
 
void writeByte (atInt8 val)
 Writes a byte at the current position and advances the position by one byte. More...
 
void writeUBytes (atUint8 *data, atUint64 len)
 Writes the given buffer with the specified length, buffers can be bigger than the length however it's undefined behavior to try and write a buffer which is smaller than the given length. More...
 
void writeBytes (atInt8 *data, atUint64 len)
 Writes the given buffer with the specified length, buffers can be bigger than the length however it's undefined behavior to try and write a buffer which is smaller than the given length. More...
 
void writeInt16 (atInt16 val)
 Writes an Int16 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint16 (atUint16)
 Writes an Uint16 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeInt32 (atInt32)
 Writes an Int32 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint32 (atUint32)
 Writes an Uint32 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeInt64 (atInt64)
 Writes an Int64 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint64 (atUint64)
 Writes an Uint64 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeFloat (float)
 Writes an float to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeDouble (double)
 Writes an double to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeBool (bool)
 Writes an bool to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUnicode (const std::string &str)
 Writes an unicode string to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeString (const std::string &str)
 Writes an string to the buffer and advances the buffer. More...
 
+void fill (atUint8 val, atUint64 length)
 
+void fill (atInt8 val, atUint64 length)
 
+void setProgressCallback (std::function< void(int)> cb)
 
- Protected Attributes inherited from Athena::io::MemoryWriter
+atUint8 * m_data
 
+atUint64 m_length
 
+std::string m_filepath
 Path to the target file.
 
+atUint64 m_position
 
+atUint64 m_bitPosition
 
+Endian m_endian
 
+std::function< void(int)> m_progressCallback
 
+

Detailed Description

+

Wii data.bin writer class.

+

A Class for writing binary data to a wii data.bin file, all work is done using a memory buffer, and not written directly to the disk.

See also
BinaryReader
+ +

Definition at line 39 of file WiiSaveWriter.hpp.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
Athena::io::WiiSaveWriter::WiiSaveWriter (const std::string & )
+
+ +

This constructor creates an instance from a file on disk.

+
Parameters
+ + +
filenameThe file to create the stream from
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
bool Athena::io::WiiSaveWriter::writeSave (WiiSavesave,
atUint8 * macAddress,
atUint32 ngId,
atUint8 * ngPriv,
atUint8 * ngSig,
atUint32 ngKeyId,
const std::string & filepath = "" 
)
+
+ +

writeSave

+
Parameters
+ + + + + + + + +
save
macAddress
ngId
ngPriv
ngSig
ngKeyId
filepath
+
+
+
Returns
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_wii_save_writer.js b/docs/class_athena_1_1io_1_1_wii_save_writer.js new file mode 100644 index 0000000..3083140 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_wii_save_writer.js @@ -0,0 +1,5 @@ +var class_athena_1_1io_1_1_wii_save_writer = +[ + [ "WiiSaveWriter", "class_athena_1_1io_1_1_wii_save_writer.html#a488d116dcb435978d9b7d2fa0e0f03a7", null ], + [ "writeSave", "class_athena_1_1io_1_1_wii_save_writer.html#acd27a36bdb15eff2f00007fb5eb8a380", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_wii_save_writer__coll__graph.map b/docs/class_athena_1_1io_1_1_wii_save_writer__coll__graph.map new file mode 100644 index 0000000..8d8916a --- /dev/null +++ b/docs/class_athena_1_1io_1_1_wii_save_writer__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_wii_save_writer__coll__graph.md5 b/docs/class_athena_1_1io_1_1_wii_save_writer__coll__graph.md5 new file mode 100644 index 0000000..68bb17d --- /dev/null +++ b/docs/class_athena_1_1io_1_1_wii_save_writer__coll__graph.md5 @@ -0,0 +1 @@ +5f25c3be52ce1a72a0c06396a2951cb4 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_wii_save_writer__coll__graph.png b/docs/class_athena_1_1io_1_1_wii_save_writer__coll__graph.png new file mode 100644 index 0000000..886b418 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_wii_save_writer__coll__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_wii_save_writer__inherit__graph.map b/docs/class_athena_1_1io_1_1_wii_save_writer__inherit__graph.map new file mode 100644 index 0000000..8d8916a --- /dev/null +++ b/docs/class_athena_1_1io_1_1_wii_save_writer__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_wii_save_writer__inherit__graph.md5 b/docs/class_athena_1_1io_1_1_wii_save_writer__inherit__graph.md5 new file mode 100644 index 0000000..68bb17d --- /dev/null +++ b/docs/class_athena_1_1io_1_1_wii_save_writer__inherit__graph.md5 @@ -0,0 +1 @@ +5f25c3be52ce1a72a0c06396a2951cb4 \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_wii_save_writer__inherit__graph.png b/docs/class_athena_1_1io_1_1_wii_save_writer__inherit__graph.png new file mode 100644 index 0000000..886b418 Binary files /dev/null and b/docs/class_athena_1_1io_1_1_wii_save_writer__inherit__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_z_quest_file_reader-members.html b/docs/class_athena_1_1io_1_1_z_quest_file_reader-members.html new file mode 100644 index 0000000..4ca8578 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_z_quest_file_reader-members.html @@ -0,0 +1,175 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::io::ZQuestFileReader Member List
+
+
+ +

This is the complete list of members for Athena::io::ZQuestFileReader, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
atEnd() const Athena::io::MemoryReaderprotectedvirtual
data() const Athena::io::MemoryReaderprotected
endian() const Athena::io::MemoryReaderprotectedvirtual
filepath() const Athena::io::MemoryReaderprotected
isBigEndian() const Athena::io::MemoryReaderprotectedvirtual
isLittleEndian() const Athena::io::MemoryReaderprotectedvirtual
isOpen() const Athena::io::MemoryReaderprotectedvirtual
length() const Athena::io::MemoryReaderprotectedvirtual
loadData() (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_bitPosition (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_data (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_endian (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_filepathAthena::io::MemoryReaderprotected
m_length (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_position (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
m_progressCallback (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
MemoryReader(const atUint8 *data, atUint64 length)Athena::io::MemoryReaderprotected
MemoryReader(const std::string &filename, std::function< void(int)> progressFun=nullptr)Athena::io::MemoryReaderprotected
position() const Athena::io::MemoryReaderprotectedvirtual
read()Athena::io::ZQuestFileReader
readBit()Athena::io::MemoryReaderprotectedvirtual
readBool()Athena::io::MemoryReaderprotectedvirtual
readByte()Athena::io::MemoryReaderprotectedvirtual
readBytes(atUint64 length)Athena::io::MemoryReaderinlineprotectedvirtual
readBytesToBuf(void *buf, atUint64 len) (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderinlineprotectedvirtual
readDouble()Athena::io::MemoryReaderprotectedvirtual
readFloat()Athena::io::MemoryReaderprotectedvirtual
readInt16()Athena::io::MemoryReaderprotectedvirtual
readInt32()Athena::io::MemoryReaderprotectedvirtual
readInt64()Athena::io::MemoryReaderprotectedvirtual
readString(atInt32 maxlen=-1)Athena::io::MemoryReaderprotectedvirtual
readUByte()Athena::io::MemoryReaderprotectedvirtual
readUBytes(atUint64 length)Athena::io::MemoryReaderprotectedvirtual
readUBytesToBuf(void *buf, atUint64 len) (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotectedvirtual
readUint16()Athena::io::MemoryReaderprotectedvirtual
readUint32()Athena::io::MemoryReaderprotectedvirtual
readUint64()Athena::io::MemoryReaderprotectedvirtual
readUnicode(atInt32 maxlen=-1)Athena::io::MemoryReaderprotectedvirtual
seek(atInt64 pos, SeekOrigin origin=SeekOrigin::Current)Athena::io::MemoryReaderprotectedvirtual
seekAlign32()Athena::io::MemoryReaderinlineprotectedvirtual
seekBit(int bit)Athena::io::MemoryReaderprotectedvirtual
setData(const atUint8 *data, atUint64 length)Athena::io::MemoryReaderprotected
setEndian(Endian endian)Athena::io::MemoryReaderprotectedvirtual
setFilepath(const std::string &filepath)Athena::io::MemoryReaderprotected
setProgressCallback(std::function< void(int)> cb) (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotected
ZQuestFileReader(atUint8 *data, atUint64 length)Athena::io::ZQuestFileReader
ZQuestFileReader(const std::string &filename)Athena::io::ZQuestFileReader
~IStream() (defined in Athena::io::IStream)Athena::io::IStreaminlineprotectedvirtual
~IStreamReader() (defined in Athena::io::IStreamReader)Athena::io::IStreamReaderinlineprotectedvirtual
~MemoryReader() (defined in Athena::io::MemoryReader)Athena::io::MemoryReaderprotectedvirtual
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_z_quest_file_reader.html b/docs/class_athena_1_1io_1_1_z_quest_file_reader.html new file mode 100644 index 0000000..114a125 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_z_quest_file_reader.html @@ -0,0 +1,389 @@ + + + + + + +Athena IO Library: Athena::io::ZQuestFileReader Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::io::ZQuestFileReader Class Reference
+
+
+ +

The ZQuestFileReader class. + More...

+ +

#include <ZQuestFileReader.hpp>

+
+Inheritance diagram for Athena::io::ZQuestFileReader:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::io::ZQuestFileReader:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + +

+Public Member Functions

 ZQuestFileReader (atUint8 *data, atUint64 length)
 ZQuestFileReader. More...
 
 ZQuestFileReader (const std::string &filename)
 ZQuestFileReader. More...
 
ZQuestFileread ()
 read More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from Athena::io::MemoryReader
+void loadData ()
 
 MemoryReader (const atUint8 *data, atUint64 length)
 This constructor takes an existing buffer to read from. More...
 
 MemoryReader (const std::string &filename, std::function< void(int)> progressFun=nullptr)
 This constructor creates an instance from a file on disk. More...
 
void setEndian (Endian endian)
 Sets the Endianss of the stream. More...
 
Endian endian () const
 Returns the current Endianness of the stream. More...
 
bool isBigEndian () const
 Returns whether the stream is BigEndian. More...
 
bool isLittleEndian () const
 Returns whether the stream is LittleEndian. More...
 
bool isOpen () const
 Retuns whether or not the Stream is open. More...
 
void seek (atInt64 pos, SeekOrigin origin=SeekOrigin::Current)
 Sets the buffers position relative to the specified position.
+ It seeks relative to the current position by default. More...
 
+void seekAlign32 ()
 Sets the buffers position relative to the next 32-byte aligned position.
+
 
bool atEnd () const
 Returns whether or not the stream is at the end. More...
 
atUint64 position () const
 Returns the current position in the stream. More...
 
atUint64 length () const
 Returns whether or not the stream is at the end. More...
 
void setData (const atUint8 *data, atUint64 length)
 Sets the buffer to the given one, deleting the current one.
+ BEWARE: As this deletes the current buffer it WILL cause a loss of data if that was not the intent.
+ Once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
atUint8 * data () const
 Returns a copy of the current buffer.
+ Changes to the copy do not affect the buffer so it's perfectly safe to directly edit the buffer and use setData to set the new information.
+ However once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
void setFilepath (const std::string &filepath)
 Sets the target file. More...
 
std::string filepath () const
 Returns the target file. More...
 
void seekBit (int bit)
 Seeks to the specified bit within the current byte. More...
 
bool readBit ()
 Reads a bit at the current position and advances the current position. More...
 
atInt8 readByte ()
 Reads a byte at the current position and advances the current position. More...
 
atUint8 readUByte ()
 Reads a byte at the current position and advances the current position. More...
 
atInt8 * readBytes (atUint64 length)
 Reads a byte at the current position and advances the current position. More...
 
atUint8 * readUBytes (atUint64 length)
 Reads a byte at the current position and advances the current position. More...
 
+atUint64 readBytesToBuf (void *buf, atUint64 len)
 
+atUint64 readUBytesToBuf (void *buf, atUint64 len)
 
atInt16 readInt16 ()
 Reads a Int16 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint16 readUint16 ()
 Reads a Uint16 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atInt32 readInt32 ()
 Reads a Int32 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint32 readUint32 ()
 Reads a Uint32 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atInt64 readInt64 ()
 Reads a Int64 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
atUint64 readUint64 ()
 Reads a Uint64 and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
float readFloat ()
 Reads a float and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
double readDouble ()
 Reads a double and swaps to proper endianness depending on platform and Stream settings, and advances the current position. More...
 
bool readBool ()
 Reads a bool and advances the current position. More...
 
std::string readUnicode (atInt32 maxlen=-1)
 Reads a Unicode string and advances the position in the file. More...
 
std::string readString (atInt32 maxlen=-1)
 Reads a string and advances the position in the file. More...
 
+void setProgressCallback (std::function< void(int)> cb)
 
- Protected Attributes inherited from Athena::io::MemoryReader
+atUint8 * m_data
 
+atUint64 m_length
 
+std::string m_filepath
 Path to the target file.
 
+atUint64 m_position
 
+atUint64 m_bitPosition
 
+Endian m_endian
 
+std::function< void(int)> m_progressCallback
 
+

Detailed Description

+

The ZQuestFileReader class.

+ +

Definition at line 32 of file ZQuestFileReader.hpp.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
Athena::io::ZQuestFileReader::ZQuestFileReader (atUint8 * data,
atUint64 length 
)
+
+ +

ZQuestFileReader.

+
Parameters
+ + + +
data
length
+
+
+ +
+
+ +
+
+ + + + + + + + +
Athena::io::ZQuestFileReader::ZQuestFileReader (const std::string & filename)
+
+ +

ZQuestFileReader.

+
Parameters
+ + +
filename
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + +
ZQuestFile* Athena::io::ZQuestFileReader::read ()
+
+ +

read

+
Returns
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_z_quest_file_reader.js b/docs/class_athena_1_1io_1_1_z_quest_file_reader.js new file mode 100644 index 0000000..643fe22 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_z_quest_file_reader.js @@ -0,0 +1,6 @@ +var class_athena_1_1io_1_1_z_quest_file_reader = +[ + [ "ZQuestFileReader", "class_athena_1_1io_1_1_z_quest_file_reader.html#a28b19dec63cf17e58139640ebbc5412e", null ], + [ "ZQuestFileReader", "class_athena_1_1io_1_1_z_quest_file_reader.html#af2230e97cf821d95e2666c1575d0ccbf", null ], + [ "read", "class_athena_1_1io_1_1_z_quest_file_reader.html#ae040a9eabf76f1f80a8f1a5dd767d235", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_z_quest_file_reader__coll__graph.map b/docs/class_athena_1_1io_1_1_z_quest_file_reader__coll__graph.map new file mode 100644 index 0000000..3510a3f --- /dev/null +++ b/docs/class_athena_1_1io_1_1_z_quest_file_reader__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_z_quest_file_reader__coll__graph.md5 b/docs/class_athena_1_1io_1_1_z_quest_file_reader__coll__graph.md5 new file mode 100644 index 0000000..cd5b7bc --- /dev/null +++ b/docs/class_athena_1_1io_1_1_z_quest_file_reader__coll__graph.md5 @@ -0,0 +1 @@ +ae4b7abbb296feb43f3e44a211eb380a \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_z_quest_file_reader__coll__graph.png b/docs/class_athena_1_1io_1_1_z_quest_file_reader__coll__graph.png new file mode 100644 index 0000000..ea7526c Binary files /dev/null and b/docs/class_athena_1_1io_1_1_z_quest_file_reader__coll__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_z_quest_file_reader__inherit__graph.map b/docs/class_athena_1_1io_1_1_z_quest_file_reader__inherit__graph.map new file mode 100644 index 0000000..3510a3f --- /dev/null +++ b/docs/class_athena_1_1io_1_1_z_quest_file_reader__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_z_quest_file_reader__inherit__graph.md5 b/docs/class_athena_1_1io_1_1_z_quest_file_reader__inherit__graph.md5 new file mode 100644 index 0000000..cd5b7bc --- /dev/null +++ b/docs/class_athena_1_1io_1_1_z_quest_file_reader__inherit__graph.md5 @@ -0,0 +1 @@ +ae4b7abbb296feb43f3e44a211eb380a \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_z_quest_file_reader__inherit__graph.png b/docs/class_athena_1_1io_1_1_z_quest_file_reader__inherit__graph.png new file mode 100644 index 0000000..ea7526c Binary files /dev/null and b/docs/class_athena_1_1io_1_1_z_quest_file_reader__inherit__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_z_quest_file_writer-members.html b/docs/class_athena_1_1io_1_1_z_quest_file_writer-members.html new file mode 100644 index 0000000..36d3dc5 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_z_quest_file_writer-members.html @@ -0,0 +1,176 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::io::ZQuestFileWriter Member List
+
+
+ +

This is the complete list of members for Athena::io::ZQuestFileWriter, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
atEnd() const Athena::io::MemoryWriterprotectedvirtual
data() const Athena::io::MemoryWriterprotected
endian() const Athena::io::MemoryWriterprotectedvirtual
filepath() const Athena::io::MemoryWriterprotected
fill(atUint8 val, atUint64 length) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotectedvirtual
fill(atInt8 val, atUint64 length) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotectedvirtual
isBigEndian() const Athena::io::MemoryWriterprotectedvirtual
isLittleEndian() const Athena::io::MemoryWriterprotectedvirtual
isOpen() const Athena::io::MemoryWriterprotectedvirtual
length() const Athena::io::MemoryWriterprotectedvirtual
loadData() (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_bitPosition (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_data (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_endian (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_filepathAthena::io::MemoryWriterprotected
m_length (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_position (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
m_progressCallback (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
MemoryWriter(atUint8 *data=nullptr, atUint64 length=0x10)Athena::io::MemoryWriterexplicitprotected
MemoryWriter(const std::string &filename, std::function< void(int)> progressFun=nullptr)Athena::io::MemoryWriterprotected
position() const Athena::io::MemoryWriterprotectedvirtual
save(const std::string &filename="")Athena::io::MemoryWriterprotected
seek(atInt64 pos, SeekOrigin origin=SeekOrigin::Current)Athena::io::MemoryWriterprotectedvirtual
seekAlign32()Athena::io::MemoryWriterinlineprotectedvirtual
seekBit(int bit)Athena::io::MemoryWriterprotectedvirtual
setData(const atUint8 *data, atUint64 length)Athena::io::MemoryWriterprotected
setEndian(Endian endian)Athena::io::MemoryWriterprotectedvirtual
setFilepath(const std::string &filepath)Athena::io::MemoryWriterprotected
setProgressCallback(std::function< void(int)> cb) (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotected
write(ZQuestFile *quest, bool compress=true)Athena::io::ZQuestFileWriter
writeBit(bool val)Athena::io::MemoryWriterprotectedvirtual
writeBool(bool)Athena::io::MemoryWriterprotectedvirtual
writeByte(atInt8 val)Athena::io::MemoryWriterprotectedvirtual
writeBytes(atInt8 *data, atUint64 len)Athena::io::MemoryWriterprotectedvirtual
writeDouble(double)Athena::io::MemoryWriterprotectedvirtual
writeFloat(float)Athena::io::MemoryWriterprotectedvirtual
writeInt16(atInt16 val)Athena::io::MemoryWriterprotectedvirtual
writeInt32(atInt32)Athena::io::MemoryWriterprotectedvirtual
writeInt64(atInt64)Athena::io::MemoryWriterprotectedvirtual
writeString(const std::string &str)Athena::io::MemoryWriterprotectedvirtual
writeUByte(atUint8 val)Athena::io::MemoryWriterprotectedvirtual
writeUBytes(atUint8 *data, atUint64 len)Athena::io::MemoryWriterprotectedvirtual
writeUint16(atUint16)Athena::io::MemoryWriterprotectedvirtual
writeUint32(atUint32)Athena::io::MemoryWriterprotectedvirtual
writeUint64(atUint64)Athena::io::MemoryWriterprotectedvirtual
writeUnicode(const std::string &str)Athena::io::MemoryWriterprotectedvirtual
ZQuestFileWriter(atUint8 *data, atUint64 length)Athena::io::ZQuestFileWriter
ZQuestFileWriter(const std::string &filename)Athena::io::ZQuestFileWriter
~IStream() (defined in Athena::io::IStream)Athena::io::IStreaminlineprotectedvirtual
~IStreamWriter() (defined in Athena::io::IStreamWriter)Athena::io::IStreamWriterinlineprotectedvirtual
~MemoryWriter() (defined in Athena::io::MemoryWriter)Athena::io::MemoryWriterprotectedvirtual
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_z_quest_file_writer.html b/docs/class_athena_1_1io_1_1_z_quest_file_writer.html new file mode 100644 index 0000000..b03e2d3 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_z_quest_file_writer.html @@ -0,0 +1,410 @@ + + + + + + +Athena IO Library: Athena::io::ZQuestFileWriter Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::io::ZQuestFileWriter Class Reference
+
+
+ +

The ZQuestFileWriter class. + More...

+ +

#include <ZQuestFileWriter.hpp>

+
+Inheritance diagram for Athena::io::ZQuestFileWriter:
+
+
Inheritance graph
+ + +
+
+Collaboration diagram for Athena::io::ZQuestFileWriter:
+
+
Collaboration graph
+ + +
+ + + + + + + + + + + +

+Public Member Functions

 ZQuestFileWriter (atUint8 *data, atUint64 length)
 ZQuestFileWriter. More...
 
 ZQuestFileWriter (const std::string &filename)
 ZQuestFileWriter. More...
 
void write (ZQuestFile *quest, bool compress=true)
 write More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from Athena::io::MemoryWriter
+void loadData ()
 
 MemoryWriter (atUint8 *data=nullptr, atUint64 length=0x10)
 This constructor takes an existing buffer to write to. More...
 
 MemoryWriter (const std::string &filename, std::function< void(int)> progressFun=nullptr)
 This constructor creates an instance from a file on disk. More...
 
void setEndian (Endian endian)
 Sets the Endianss of the stream. More...
 
Endian endian () const
 Returns the current Endianness of the stream. More...
 
bool isBigEndian () const
 Returns whether the stream is BigEndian. More...
 
bool isLittleEndian () const
 Returns whether the stream is LittleEndian. More...
 
bool isOpen () const
 Retuns whether or not the Stream is open. More...
 
void seek (atInt64 pos, SeekOrigin origin=SeekOrigin::Current)
 Sets the buffers position relative to the specified position.
+ It seeks relative to the current position by default. More...
 
+void seekAlign32 ()
 Sets the buffers position relative to the next 32-byte aligned position.
+
 
bool atEnd () const
 Returns whether or not the stream is at the end. More...
 
atUint64 position () const
 Returns the current position in the stream. More...
 
atUint64 length () const
 Returns whether or not the stream is at the end. More...
 
void setData (const atUint8 *data, atUint64 length)
 Sets the buffer to the given one, deleting the current one.
+ BEWARE: As this deletes the current buffer it WILL cause a loss of data if that was not the intent.
+ Once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
atUint8 * data () const
 Returns a copy of the current buffer.
+ Changes to the copy do not affect the buffer so it's perfectly safe to directly edit the buffer and use setData to set the new information.
+ However once you pass the data to setData DO NOT delete the buffer as Stream now owns the address, this is done to keep memory usage down. More...
 
void setFilepath (const std::string &filepath)
 Sets the target file. More...
 
+std::string filepath () const
 Returns the target file.
 
void save (const std::string &filename="")
 Saves the file to the specified file. More...
 
void seekBit (int bit)
 Seeks to the specified bit within the current byte. More...
 
void writeBit (bool val)
 Writes a bit at the current position and advances the position by one bit. More...
 
void writeUByte (atUint8 val)
 Writes a byte at the current position and advances the position by one byte. More...
 
void writeByte (atInt8 val)
 Writes a byte at the current position and advances the position by one byte. More...
 
void writeUBytes (atUint8 *data, atUint64 len)
 Writes the given buffer with the specified length, buffers can be bigger than the length however it's undefined behavior to try and write a buffer which is smaller than the given length. More...
 
void writeBytes (atInt8 *data, atUint64 len)
 Writes the given buffer with the specified length, buffers can be bigger than the length however it's undefined behavior to try and write a buffer which is smaller than the given length. More...
 
void writeInt16 (atInt16 val)
 Writes an Int16 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint16 (atUint16)
 Writes an Uint16 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeInt32 (atInt32)
 Writes an Int32 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint32 (atUint32)
 Writes an Uint32 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeInt64 (atInt64)
 Writes an Int64 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUint64 (atUint64)
 Writes an Uint64 to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeFloat (float)
 Writes an float to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeDouble (double)
 Writes an double to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeBool (bool)
 Writes an bool to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeUnicode (const std::string &str)
 Writes an unicode string to the buffer and advances the buffer. It also swaps the bytes depending on the platform and Stream settings. More...
 
void writeString (const std::string &str)
 Writes an string to the buffer and advances the buffer. More...
 
+void fill (atUint8 val, atUint64 length)
 
+void fill (atInt8 val, atUint64 length)
 
+void setProgressCallback (std::function< void(int)> cb)
 
- Protected Attributes inherited from Athena::io::MemoryWriter
+atUint8 * m_data
 
+atUint64 m_length
 
+std::string m_filepath
 Path to the target file.
 
+atUint64 m_position
 
+atUint64 m_bitPosition
 
+Endian m_endian
 
+std::function< void(int)> m_progressCallback
 
+

Detailed Description

+

The ZQuestFileWriter class.

+ +

Definition at line 32 of file ZQuestFileWriter.hpp.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
Athena::io::ZQuestFileWriter::ZQuestFileWriter (atUint8 * data,
atUint64 length 
)
+
+ +

ZQuestFileWriter.

+
Parameters
+ + + +
data
length
+
+
+ +
+
+ +
+
+ + + + + + + + +
Athena::io::ZQuestFileWriter::ZQuestFileWriter (const std::string & filename)
+
+ +

ZQuestFileWriter.

+
Parameters
+ + +
filename
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
void Athena::io::ZQuestFileWriter::write (ZQuestFilequest,
bool compress = true 
)
+
+ +

write

+
Parameters
+ + + +
quest
compress
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_athena_1_1io_1_1_z_quest_file_writer.js b/docs/class_athena_1_1io_1_1_z_quest_file_writer.js new file mode 100644 index 0000000..e01f84d --- /dev/null +++ b/docs/class_athena_1_1io_1_1_z_quest_file_writer.js @@ -0,0 +1,6 @@ +var class_athena_1_1io_1_1_z_quest_file_writer = +[ + [ "ZQuestFileWriter", "class_athena_1_1io_1_1_z_quest_file_writer.html#a149f3b3607141aaa6a1f08500da6d0a7", null ], + [ "ZQuestFileWriter", "class_athena_1_1io_1_1_z_quest_file_writer.html#a3f6d1be42641efd81af677f43ccbde12", null ], + [ "write", "class_athena_1_1io_1_1_z_quest_file_writer.html#a37360c0cf8a045c81bca2d8764142481", null ] +]; \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_z_quest_file_writer__coll__graph.map b/docs/class_athena_1_1io_1_1_z_quest_file_writer__coll__graph.map new file mode 100644 index 0000000..cc5e907 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_z_quest_file_writer__coll__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_z_quest_file_writer__coll__graph.md5 b/docs/class_athena_1_1io_1_1_z_quest_file_writer__coll__graph.md5 new file mode 100644 index 0000000..9b63f48 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_z_quest_file_writer__coll__graph.md5 @@ -0,0 +1 @@ +6b9e9abd2da10dcbee3e0e6ad74ca21c \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_z_quest_file_writer__coll__graph.png b/docs/class_athena_1_1io_1_1_z_quest_file_writer__coll__graph.png new file mode 100644 index 0000000..e967f6c Binary files /dev/null and b/docs/class_athena_1_1io_1_1_z_quest_file_writer__coll__graph.png differ diff --git a/docs/class_athena_1_1io_1_1_z_quest_file_writer__inherit__graph.map b/docs/class_athena_1_1io_1_1_z_quest_file_writer__inherit__graph.map new file mode 100644 index 0000000..cc5e907 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_z_quest_file_writer__inherit__graph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/class_athena_1_1io_1_1_z_quest_file_writer__inherit__graph.md5 b/docs/class_athena_1_1io_1_1_z_quest_file_writer__inherit__graph.md5 new file mode 100644 index 0000000..9b63f48 --- /dev/null +++ b/docs/class_athena_1_1io_1_1_z_quest_file_writer__inherit__graph.md5 @@ -0,0 +1 @@ +6b9e9abd2da10dcbee3e0e6ad74ca21c \ No newline at end of file diff --git a/docs/class_athena_1_1io_1_1_z_quest_file_writer__inherit__graph.png b/docs/class_athena_1_1io_1_1_z_quest_file_writer__inherit__graph.png new file mode 100644 index 0000000..e967f6c Binary files /dev/null and b/docs/class_athena_1_1io_1_1_z_quest_file_writer__inherit__graph.png differ diff --git a/docs/class_binary_reader.html b/docs/class_binary_reader.html new file mode 100644 index 0000000..4b3b11d --- /dev/null +++ b/docs/class_binary_reader.html @@ -0,0 +1,139 @@ + + + + + + +Athena IO Library: BinaryReader Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
BinaryReader Class Reference
+
+
+ +

A Stream class for reading binary data. + More...

+ +

#include <MemoryReader.hpp>

+
+Collaboration diagram for BinaryReader:
+
+
Collaboration graph
+
+

Detailed Description

+

A Stream class for reading binary data.

+

A Class for reading binary data from a file or memory stream, all work is done using a memory buffer, and not read directly from the disk this allows for fast, flexible code as well as the ability to quickly modify data

See also
Stream
+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_binary_reader__coll__graph.map b/docs/class_binary_reader__coll__graph.map new file mode 100644 index 0000000..26e18ee --- /dev/null +++ b/docs/class_binary_reader__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/class_binary_reader__coll__graph.md5 b/docs/class_binary_reader__coll__graph.md5 new file mode 100644 index 0000000..caae1c4 --- /dev/null +++ b/docs/class_binary_reader__coll__graph.md5 @@ -0,0 +1 @@ +31389772b7216ad2f158ea8034d93deb \ No newline at end of file diff --git a/docs/class_binary_reader__coll__graph.png b/docs/class_binary_reader__coll__graph.png new file mode 100644 index 0000000..aae7465 Binary files /dev/null and b/docs/class_binary_reader__coll__graph.png differ diff --git a/docs/class_binary_writer.html b/docs/class_binary_writer.html new file mode 100644 index 0000000..00d73bc --- /dev/null +++ b/docs/class_binary_writer.html @@ -0,0 +1,139 @@ + + + + + + +Athena IO Library: BinaryWriter Class Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
BinaryWriter Class Reference
+
+
+ +

A Stream class for writing binary data. + More...

+ +

#include <MemoryWriter.hpp>

+
+Collaboration diagram for BinaryWriter:
+
+
Collaboration graph
+
+

Detailed Description

+

A Stream class for writing binary data.

+

A Class for writing binary data to a file or memory stream, all work is done using a memory buffer, and not written directly to the disk this allows for fast, flexible code as well as the ability to quickly modify data

See also
Stream
+

The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/class_binary_writer__coll__graph.map b/docs/class_binary_writer__coll__graph.map new file mode 100644 index 0000000..c6a59f4 --- /dev/null +++ b/docs/class_binary_writer__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/class_binary_writer__coll__graph.md5 b/docs/class_binary_writer__coll__graph.md5 new file mode 100644 index 0000000..7c6872e --- /dev/null +++ b/docs/class_binary_writer__coll__graph.md5 @@ -0,0 +1 @@ +e92e8f2be68c1e6de12720ff9c4b8c5f \ No newline at end of file diff --git a/docs/class_binary_writer__coll__graph.png b/docs/class_binary_writer__coll__graph.png new file mode 100644 index 0000000..849c0fa Binary files /dev/null and b/docs/class_binary_writer__coll__graph.png differ diff --git a/docs/classes.html b/docs/classes.html new file mode 100644 index 0000000..844629b --- /dev/null +++ b/docs/classes.html @@ -0,0 +1,158 @@ + + + + + + +Athena IO Library: Class Index + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Class Index
+
+
+
A | B | D | E | F | I | M | N | S | V | W | Z
+ + + + + + + + + + + + + + + + + + + + + +
  A  
+
  B  
+
InvalidOperationException (Athena::error)   SkywardSwordFileWriter (Athena::io)   WiiBanner (Athena)   
IOException (Athena::error)   SpriteFileReader (Athena::io)   WiiFile (Athena)   
ALTTPAbilities (Athena)   BinaryReader   IStream (Athena::io)   SpriteFileWriter (Athena::io)   WiiImage (Athena)   
ALTTPCrystals (Athena)   BinaryWriter   IStreamReader (Athena::io)   Sprite (Athena::Sakura)   WiiSave (Athena)   
ALTTPDungeonItemFlags (Athena)   
  D  
+
IStreamWriter (Athena::io)   SpriteFile (Athena::Sakura)   
  Z  
+
ALTTPFile (Athena)   
  M  
+
SpriteFrame (Athena::Sakura)   
ALTTPInventory (Athena)   Dir (Athena)   SpritePart (Athena::Sakura)   ZQuestFileReader (Athena::io)   
ALTTPLightDarkWorldIndicator (Athena)   
  E  
+
MCFileReader (Athena::io)   STexture (Athena::Sakura)   ZQuestFileWriter (Athena::io)   
ALTTPMagicUsage (Athena)   MCFileWriter (Athena::io)   SkywardSwordFile (Athena)   ZQuestFile (Athena)   
ALTTPOverworldEvent (Athena)   Exception (Athena::error)   MemoryReader (Athena::io)   SkywardSwordQuest (Athena)   
ALTTPPendants (Athena)   
  F  
+
MemoryWriter (Athena::io)   
  V  
+
ALTTPProgressFlags1 (Athena)   MCFile (Athena)   
ALTTPProgressFlags2 (Athena)   FileNotFoundException (Athena::error)   MCSlot (Athena)   Vector2D (Athena::Sakura)   
ALTTPQuest (Athena)   FileInfo (Athena)   
  N  
+
  W  
+
ALTTPRoomFlags (Athena)   FileReader (Athena::io)   
ALTTPFileReader (Athena::io)   FileWriter (Athena::io)   NotImplementedException (Athena::error)   WiiSaveReader (Athena::io)   
ALTTPFileWriter (Athena::io)   
  I  
+
  S  
+
WiiSaveWriter (Athena::io)   
InvalidDataException (Athena::error)   SkywardSwordFileReader (Athena::io)   
+
A | B | D | E | F | I | M | N | S | V | W | Z
+
+
+ + + + diff --git a/docs/closed.png b/docs/closed.png new file mode 100644 index 0000000..81fd4d5 Binary files /dev/null and b/docs/closed.png differ diff --git a/docs/dir_36438bcfc3b83360d27b8f0de6102cf6.html b/docs/dir_36438bcfc3b83360d27b8f0de6102cf6.html new file mode 100644 index 0000000..0c61253 --- /dev/null +++ b/docs/dir_36438bcfc3b83360d27b8f0de6102cf6.html @@ -0,0 +1,226 @@ + + + + + + +Athena IO Library: include/Athena Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena Directory Reference
+
+
+
+Directory dependency graph for Athena:
+
+
include/Athena
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

file  ALTTPEnums.hpp [code]
 
file  ALTTPFile.hpp [code]
 
file  ALTTPFileReader.hpp [code]
 
file  ALTTPFileWriter.hpp [code]
 
file  ALTTPQuest.hpp [code]
 
file  ALTTPStructs.hpp [code]
 
file  Checksums.hpp [code]
 
file  Compression.hpp [code]
 
file  Dir.hpp [code]
 
file  Exception.hpp [code]
 
file  FileInfo.hpp [code]
 
file  FileNotFoundException.hpp [code]
 
file  FileReader.hpp [code]
 
file  FileWriter.hpp [code]
 
file  Global.hpp [code]
 
file  InvalidDataException.hpp [code]
 
file  InvalidOperationException.hpp [code]
 
file  IOException.hpp [code]
 
file  IStream.hpp [code]
 
file  IStreamReader.hpp [code]
 
file  IStreamWriter.hpp [code]
 
file  MCFile.hpp [code]
 
file  MCFileReader.hpp [code]
 
file  MCFileWriter.hpp [code]
 
file  MCSlot.hpp [code]
 
file  MemoryReader.hpp [code]
 
file  MemoryWriter.hpp [code]
 
file  NotImplementedException.hpp [code]
 
file  PHYSFSFileReader.hpp [code]
 
file  SkywardSwordFile.hpp [code]
 
file  SkywardSwordFileReader.hpp [code]
 
file  SkywardSwordFileWriter.hpp [code]
 
file  SkywardSwordQuest.hpp [code]
 
file  Sprite.hpp [code]
 
file  SpriteFile.hpp [code]
 
file  SpriteFileReader.hpp [code]
 
file  SpriteFileWriter.hpp [code]
 
file  SpriteFrame.hpp [code]
 
file  SpritePart.hpp [code]
 
file  Types.hpp [code]
 
file  Utility.hpp [code]
 
file  WiiBanner.hpp [code]
 
file  WiiFile.hpp [code]
 
file  WiiImage.hpp [code]
 
file  WiiSave.hpp [code]
 
file  WiiSaveReader.hpp [code]
 
file  WiiSaveWriter.hpp [code]
 
file  ZQuestFile.hpp [code]
 
file  ZQuestFileReader.hpp [code]
 
file  ZQuestFileWriter.hpp [code]
 
+
+
+ + + + diff --git a/docs/dir_36438bcfc3b83360d27b8f0de6102cf6.js b/docs/dir_36438bcfc3b83360d27b8f0de6102cf6.js new file mode 100644 index 0000000..2e8ba9a --- /dev/null +++ b/docs/dir_36438bcfc3b83360d27b8f0de6102cf6.js @@ -0,0 +1,53 @@ +var dir_36438bcfc3b83360d27b8f0de6102cf6 = +[ + [ "ALTTPEnums.hpp", "_a_l_t_t_p_enums_8hpp_source.html", null ], + [ "ALTTPFile.hpp", "_a_l_t_t_p_file_8hpp_source.html", null ], + [ "ALTTPFileReader.hpp", "_a_l_t_t_p_file_reader_8hpp_source.html", null ], + [ "ALTTPFileWriter.hpp", "_a_l_t_t_p_file_writer_8hpp_source.html", null ], + [ "ALTTPQuest.hpp", "_a_l_t_t_p_quest_8hpp_source.html", null ], + [ "ALTTPStructs.hpp", "_a_l_t_t_p_structs_8hpp_source.html", null ], + [ "Checksums.hpp", "_checksums_8hpp_source.html", null ], + [ "Compression.hpp", "_compression_8hpp_source.html", null ], + [ "Dir.hpp", "_dir_8hpp_source.html", null ], + [ "Exception.hpp", "_exception_8hpp_source.html", null ], + [ "FileInfo.hpp", "_file_info_8hpp_source.html", null ], + [ "FileNotFoundException.hpp", "_file_not_found_exception_8hpp_source.html", null ], + [ "FileReader.hpp", "_file_reader_8hpp_source.html", null ], + [ "FileWriter.hpp", "_file_writer_8hpp_source.html", null ], + [ "Global.hpp", "_global_8hpp_source.html", null ], + [ "InvalidDataException.hpp", "_invalid_data_exception_8hpp_source.html", null ], + [ "InvalidOperationException.hpp", "_invalid_operation_exception_8hpp_source.html", null ], + [ "IOException.hpp", "_i_o_exception_8hpp_source.html", null ], + [ "IStream.hpp", "_i_stream_8hpp_source.html", null ], + [ "IStreamReader.hpp", "_i_stream_reader_8hpp_source.html", null ], + [ "IStreamWriter.hpp", "_i_stream_writer_8hpp_source.html", null ], + [ "MCFile.hpp", "_m_c_file_8hpp_source.html", null ], + [ "MCFileReader.hpp", "_m_c_file_reader_8hpp_source.html", null ], + [ "MCFileWriter.hpp", "_m_c_file_writer_8hpp_source.html", null ], + [ "MCSlot.hpp", "_m_c_slot_8hpp_source.html", null ], + [ "MemoryReader.hpp", "_memory_reader_8hpp_source.html", null ], + [ "MemoryWriter.hpp", "_memory_writer_8hpp_source.html", null ], + [ "NotImplementedException.hpp", "_not_implemented_exception_8hpp_source.html", null ], + [ "PHYSFSFileReader.hpp", "_p_h_y_s_f_s_file_reader_8hpp_source.html", null ], + [ "SkywardSwordFile.hpp", "_skyward_sword_file_8hpp_source.html", null ], + [ "SkywardSwordFileReader.hpp", "_skyward_sword_file_reader_8hpp_source.html", null ], + [ "SkywardSwordFileWriter.hpp", "_skyward_sword_file_writer_8hpp_source.html", null ], + [ "SkywardSwordQuest.hpp", "_skyward_sword_quest_8hpp_source.html", null ], + [ "Sprite.hpp", "_sprite_8hpp_source.html", null ], + [ "SpriteFile.hpp", "_sprite_file_8hpp_source.html", null ], + [ "SpriteFileReader.hpp", "_sprite_file_reader_8hpp_source.html", null ], + [ "SpriteFileWriter.hpp", "_sprite_file_writer_8hpp_source.html", null ], + [ "SpriteFrame.hpp", "_sprite_frame_8hpp_source.html", null ], + [ "SpritePart.hpp", "_sprite_part_8hpp_source.html", null ], + [ "Types.hpp", "_types_8hpp_source.html", null ], + [ "Utility.hpp", "_utility_8hpp_source.html", null ], + [ "WiiBanner.hpp", "_wii_banner_8hpp_source.html", null ], + [ "WiiFile.hpp", "_wii_file_8hpp_source.html", null ], + [ "WiiImage.hpp", "_wii_image_8hpp_source.html", null ], + [ "WiiSave.hpp", "_wii_save_8hpp_source.html", null ], + [ "WiiSaveReader.hpp", "_wii_save_reader_8hpp_source.html", null ], + [ "WiiSaveWriter.hpp", "_wii_save_writer_8hpp_source.html", null ], + [ "ZQuestFile.hpp", "_z_quest_file_8hpp_source.html", null ], + [ "ZQuestFileReader.hpp", "_z_quest_file_reader_8hpp_source.html", null ], + [ "ZQuestFileWriter.hpp", "_z_quest_file_writer_8hpp_source.html", null ] +]; \ No newline at end of file diff --git a/docs/dir_36438bcfc3b83360d27b8f0de6102cf6_dep.map b/docs/dir_36438bcfc3b83360d27b8f0de6102cf6_dep.map new file mode 100644 index 0000000..2576800 --- /dev/null +++ b/docs/dir_36438bcfc3b83360d27b8f0de6102cf6_dep.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/dir_36438bcfc3b83360d27b8f0de6102cf6_dep.md5 b/docs/dir_36438bcfc3b83360d27b8f0de6102cf6_dep.md5 new file mode 100644 index 0000000..1192454 --- /dev/null +++ b/docs/dir_36438bcfc3b83360d27b8f0de6102cf6_dep.md5 @@ -0,0 +1 @@ +ee37364b382892857647f355a5135e27 \ No newline at end of file diff --git a/docs/dir_36438bcfc3b83360d27b8f0de6102cf6_dep.png b/docs/dir_36438bcfc3b83360d27b8f0de6102cf6_dep.png new file mode 100644 index 0000000..f41c19e Binary files /dev/null and b/docs/dir_36438bcfc3b83360d27b8f0de6102cf6_dep.png differ diff --git a/docs/dir_d44c64559bbebec7f509842c48db8b23.html b/docs/dir_d44c64559bbebec7f509842c48db8b23.html new file mode 100644 index 0000000..32c4a67 --- /dev/null +++ b/docs/dir_d44c64559bbebec7f509842c48db8b23.html @@ -0,0 +1,128 @@ + + + + + + +Athena IO Library: include Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
include Directory Reference
+
+
+
+Directory dependency graph for include:
+
+
include
+ + +
+ + + + +

+Directories

directory  Athena
 
+
+
+ + + + diff --git a/docs/dir_d44c64559bbebec7f509842c48db8b23.js b/docs/dir_d44c64559bbebec7f509842c48db8b23.js new file mode 100644 index 0000000..3451e22 --- /dev/null +++ b/docs/dir_d44c64559bbebec7f509842c48db8b23.js @@ -0,0 +1,4 @@ +var dir_d44c64559bbebec7f509842c48db8b23 = +[ + [ "Athena", "dir_36438bcfc3b83360d27b8f0de6102cf6.html", "dir_36438bcfc3b83360d27b8f0de6102cf6" ] +]; \ No newline at end of file diff --git a/docs/dir_d44c64559bbebec7f509842c48db8b23_dep.map b/docs/dir_d44c64559bbebec7f509842c48db8b23_dep.map new file mode 100644 index 0000000..5fa259a --- /dev/null +++ b/docs/dir_d44c64559bbebec7f509842c48db8b23_dep.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/dir_d44c64559bbebec7f509842c48db8b23_dep.md5 b/docs/dir_d44c64559bbebec7f509842c48db8b23_dep.md5 new file mode 100644 index 0000000..6e68059 --- /dev/null +++ b/docs/dir_d44c64559bbebec7f509842c48db8b23_dep.md5 @@ -0,0 +1 @@ +d0638a4f6e55c7dc163833aeb0c4ee93 \ No newline at end of file diff --git a/docs/dir_d44c64559bbebec7f509842c48db8b23_dep.png b/docs/dir_d44c64559bbebec7f509842c48db8b23_dep.png new file mode 100644 index 0000000..b9d1496 Binary files /dev/null and b/docs/dir_d44c64559bbebec7f509842c48db8b23_dep.png differ diff --git a/docs/doc.png b/docs/doc.png new file mode 100644 index 0000000..527ebad Binary files /dev/null and b/docs/doc.png differ diff --git a/docs/doxygen.css b/docs/doxygen.css new file mode 100644 index 0000000..ffc5590 --- /dev/null +++ b/docs/doxygen.css @@ -0,0 +1,1449 @@ +/* The standard CSS for doxygen 1.8.9.1 */ + +body, table, div, p, dl { + font: 400 14px/22px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1.groupheader { + font-size: 150%; +} + +.title { + font: 400 14px/28px Roboto,sans-serif; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2.groupheader { + border-bottom: 1px solid #939DB1; + color: #424B5C; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +dt { + font-weight: bold; +} + +div.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; +} + +p.startli, p.startdd { + margin-top: 2px; +} + +p.starttd { + margin-top: 0px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.qindex, div.navtab{ + background-color: #EDEFF2; + border: 1px solid #ACB4C3; + text-align: center; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #4D576A; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #5A667D; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #A6AEBE; + color: #ffffff; + border: 1px double #929CB0; +} + +.contents a.qindexHL:visited { + color: #ffffff; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited, a.line, a.line:visited { + color: #4665A2; +} + +a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 4px 6px; + margin: 4px 8px 4px 2px; + background-color: #FBFCFC; + border: 1px solid #CACFD8; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +div.ah, span.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); +} + +div.classindex ul { + list-style: none; + padding-left: 0; +} + +div.classindex span.ai { + display: inline-block; +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #EDEFF2; + font-weight: bold; + border: 1px solid #CACFD8; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #EDEFF2; + border: 1px solid #CACFD8; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EFF1F3; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +blockquote { + background-color: #F7F8F9; + border-left: 2px solid #A6AEBE; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #ACB4C3; +} + +th.dirtab { + background: #EDEFF2; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #5F6B84; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFB; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memSeparator { + border-bottom: 1px solid #DEE4F0; + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight { + width: 100%; +} + +.memTemplParams { + color: #5A667D; + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtemplate { + font-size: 80%; + color: #5A667D; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #EDEFF2; + border: 1px solid #ACB4C3; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: bold; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #B0B8C6; + border-left: 1px solid #B0B8C6; + border-right: 1px solid #B0B8C6; + padding: 6px 0px 6px 0px; + color: #2C323D; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E5E7EC; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + border-top-left-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + -moz-border-radius-topleft: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + -webkit-border-top-left-radius: 4px; + +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #B0B8C6; + border-left: 1px solid #B0B8C6; + border-right: 1px solid #B0B8C6; + padding: 6px 10px 2px 10px; + background-color: #FBFCFC; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFFFF; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #818CA4; + border-top:1px solid #67748F; + border-left:1px solid #67748F; + border-right:1px solid #CACFD8; + border-bottom:1px solid #CACFD8; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view inside a (index) page */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #A6AEBE; + border-bottom: 1px solid #A6AEBE; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F7F8F9; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #4D576A; +} + +.arrow { + color: #A6AEBE; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + font-size: 80%; + display: inline-block; + width: 16px; + height: 22px; +} + +.icon { + font-family: Arial, Helvetica; + font-weight: bold; + font-size: 12px; + height: 14px; + width: 16px; + display: inline-block; + background-color: #818CA4; + color: white; + text-align: center; + border-radius: 4px; + margin-left: 2px; + margin-right: 2px; +} + +.icona { + width: 24px; + height: 22px; + display: inline-block; +} + +.iconfopen { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderopen.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.iconfclosed { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderclosed.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.icondoc { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('doc.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +table.directory { + font: 400 14px Roboto,sans-serif; +} + +/* @end */ + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #333A47; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #373E4C; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #454E60; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + /*width: 100%;*/ + margin-bottom: 10px; + border: 1px solid #B0B8C6; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #B0B8C6; + border-bottom: 1px solid #B0B8C6; + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #B0B8C6; + /*width: 100%;*/ +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E5E7EC; + font-size: 90%; + color: #2C323D; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #B0B8C6; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:#959FB3; + border:solid 1px #C8CDD7; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#434C5D; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: #313744; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color:#78849D; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#434C5D; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFB; + margin: 0px; + border-bottom: 1px solid #CACFD8; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +dl +{ + padding: 0 0 0 10px; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ +dl.section +{ + margin-left: 0px; + padding-left: 0px; +} + +dl.note +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00D000; +} + +dl.deprecated +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #505050; +} + +dl.todo +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00C0E0; +} + +dl.test +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #3030E0; +} + +dl.bug +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectname +{ + font: 300% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 120% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #67748F; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.diagraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #9BA4B6; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#3F4757; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; +} + +dl.citelist dd { + margin:2px 0; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F5F6F8; + border: 1px solid #DBDFE5; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 20px 10px 10px; + width: 200px; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #5A667D; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +/* tooltip related style info */ + +.ttc { + position: absolute; + display: none; +} + +#powerTip { + cursor: default; + white-space: nowrap; + background-color: white; + border: 1px solid gray; + border-radius: 4px 4px 4px 4px; + box-shadow: 1px 1px 7px gray; + display: none; + font-size: smaller; + max-width: 80%; + opacity: 0.9; + padding: 1ex 1em 1em; + position: absolute; + z-index: 2147483647; +} + +#powerTip div.ttdoc { + color: grey; + font-style: italic; +} + +#powerTip div.ttname a { + font-weight: bold; +} + +#powerTip div.ttname { + font-weight: bold; +} + +#powerTip div.ttdeci { + color: #006318; +} + +#powerTip div { + margin: 0px; + padding: 0px; + font: 12px/16px Roboto,sans-serif; +} + +#powerTip:before, #powerTip:after { + content: ""; + position: absolute; + margin: 0px; +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.s:after, #powerTip.s:before, +#powerTip.w:after, #powerTip.w:before, +#powerTip.e:after, #powerTip.e:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.nw:after, #powerTip.nw:before, +#powerTip.sw:after, #powerTip.sw:before { + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; +} + +#powerTip.n:after, #powerTip.s:after, +#powerTip.w:after, #powerTip.e:after, +#powerTip.nw:after, #powerTip.ne:after, +#powerTip.sw:after, #powerTip.se:after { + border-color: rgba(255, 255, 255, 0); +} + +#powerTip.n:before, #powerTip.s:before, +#powerTip.w:before, #powerTip.e:before, +#powerTip.nw:before, #powerTip.ne:before, +#powerTip.sw:before, #powerTip.se:before { + border-color: rgba(128, 128, 128, 0); +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.nw:after, #powerTip.nw:before { + top: 100%; +} + +#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { + border-top-color: #ffffff; + border-width: 10px; + margin: 0px -10px; +} +#powerTip.n:before { + border-top-color: #808080; + border-width: 11px; + margin: 0px -11px; +} +#powerTip.n:after, #powerTip.n:before { + left: 50%; +} + +#powerTip.nw:after, #powerTip.nw:before { + right: 14px; +} + +#powerTip.ne:after, #powerTip.ne:before { + left: 14px; +} + +#powerTip.s:after, #powerTip.s:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.sw:after, #powerTip.sw:before { + bottom: 100%; +} + +#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { + border-bottom-color: #ffffff; + border-width: 10px; + margin: 0px -10px; +} + +#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { + border-bottom-color: #808080; + border-width: 11px; + margin: 0px -11px; +} + +#powerTip.s:after, #powerTip.s:before { + left: 50%; +} + +#powerTip.sw:after, #powerTip.sw:before { + right: 14px; +} + +#powerTip.se:after, #powerTip.se:before { + left: 14px; +} + +#powerTip.e:after, #powerTip.e:before { + left: 100%; +} +#powerTip.e:after { + border-left-color: #ffffff; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.e:before { + border-left-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +#powerTip.w:after, #powerTip.w:before { + right: 100%; +} +#powerTip.w:after { + border-right-color: #ffffff; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.w:before { + border-right-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + diff --git a/docs/doxygen.png b/docs/doxygen.png new file mode 100644 index 0000000..b1b8512 Binary files /dev/null and b/docs/doxygen.png differ diff --git a/docs/dynsections.js b/docs/dynsections.js new file mode 100644 index 0000000..1e6bf07 --- /dev/null +++ b/docs/dynsections.js @@ -0,0 +1,104 @@ +function toggleVisibility(linkObj) +{ + var base = $(linkObj).attr('id'); + var summary = $('#'+base+'-summary'); + var content = $('#'+base+'-content'); + var trigger = $('#'+base+'-trigger'); + var src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; +} + +function updateStripes() +{ + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); +} + +function toggleLevel(level) +{ + $('table.directory tr').each(function() { + var l = this.id.split('_').length-1; + var i = $('#img'+this.id.substring(3)); + var a = $('#arr'+this.id.substring(3)); + if (l + + + + + +Athena IO Library: File List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
File List
+
+
+
Here is a list of all documented files with brief descriptions:
+
[detail level 123]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  include
  Athena
 ALTTPEnums.hpp
 ALTTPFile.hpp
 ALTTPFileReader.hpp
 ALTTPFileWriter.hpp
 ALTTPQuest.hpp
 ALTTPStructs.hpp
 Checksums.hpp
 Compression.hpp
 Dir.hpp
 Exception.hpp
 FileInfo.hpp
 FileNotFoundException.hpp
 FileReader.hpp
 FileWriter.hpp
 Global.hpp
 InvalidDataException.hpp
 InvalidOperationException.hpp
 IOException.hpp
 IStream.hpp
 IStreamReader.hpp
 IStreamWriter.hpp
 MCFile.hpp
 MCFileReader.hpp
 MCFileWriter.hpp
 MCSlot.hpp
 MemoryReader.hpp
 MemoryWriter.hpp
 NotImplementedException.hpp
 PHYSFSFileReader.hpp
 SkywardSwordFile.hpp
 SkywardSwordFileReader.hpp
 SkywardSwordFileWriter.hpp
 SkywardSwordQuest.hpp
 Sprite.hpp
 SpriteFile.hpp
 SpriteFileReader.hpp
 SpriteFileWriter.hpp
 SpriteFrame.hpp
 SpritePart.hpp
 Types.hpp
 Utility.hpp
 WiiBanner.hpp
 WiiFile.hpp
 WiiImage.hpp
 WiiSave.hpp
 WiiSaveReader.hpp
 WiiSaveWriter.hpp
 ZQuestFile.hpp
 ZQuestFileReader.hpp
 ZQuestFileWriter.hpp
+
+
+
+ + + + diff --git a/docs/files.js b/docs/files.js new file mode 100644 index 0000000..93d774e --- /dev/null +++ b/docs/files.js @@ -0,0 +1,4 @@ +var files = +[ + [ "include", "dir_d44c64559bbebec7f509842c48db8b23.html", "dir_d44c64559bbebec7f509842c48db8b23" ] +]; \ No newline at end of file diff --git a/docs/folderclosed.png b/docs/folderclosed.png new file mode 100644 index 0000000..0a50c4e Binary files /dev/null and b/docs/folderclosed.png differ diff --git a/docs/folderopen.png b/docs/folderopen.png new file mode 100644 index 0000000..60b5a97 Binary files /dev/null and b/docs/folderopen.png differ diff --git a/docs/functions.html b/docs/functions.html new file mode 100644 index 0000000..f9ac06a --- /dev/null +++ b/docs/functions.html @@ -0,0 +1,218 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- a -

+
+
+ + + + diff --git a/docs/functions_b.html b/docs/functions_b.html new file mode 100644 index 0000000..61b51da --- /dev/null +++ b/docs/functions_b.html @@ -0,0 +1,184 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- b -

+
+
+ + + + diff --git a/docs/functions_c.html b/docs/functions_c.html new file mode 100644 index 0000000..257d88b --- /dev/null +++ b/docs/functions_c.html @@ -0,0 +1,175 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- c -

+
+
+ + + + diff --git a/docs/functions_d.html b/docs/functions_d.html new file mode 100644 index 0000000..3f24e2d --- /dev/null +++ b/docs/functions_d.html @@ -0,0 +1,185 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- d -

+
+
+ + + + diff --git a/docs/functions_dup.js b/docs/functions_dup.js new file mode 100644 index 0000000..24d173c --- /dev/null +++ b/docs/functions_dup.js @@ -0,0 +1,27 @@ +var functions_dup = +[ + [ "a", "functions.html", null ], + [ "b", "functions_b.html", null ], + [ "c", "functions_c.html", null ], + [ "d", "functions_d.html", null ], + [ "e", "functions_e.html", null ], + [ "f", "functions_f.html", null ], + [ "g", "functions_g.html", null ], + [ "h", "functions_h.html", null ], + [ "i", "functions_i.html", null ], + [ "k", "functions_k.html", null ], + [ "l", "functions_l.html", null ], + [ "m", "functions_m.html", null ], + [ "n", "functions_n.html", null ], + [ "o", "functions_o.html", null ], + [ "p", "functions_p.html", null ], + [ "q", "functions_q.html", null ], + [ "r", "functions_r.html", null ], + [ "s", "functions_s.html", null ], + [ "t", "functions_t.html", null ], + [ "u", "functions_u.html", null ], + [ "v", "functions_v.html", null ], + [ "w", "functions_w.html", null ], + [ "z", "functions_z.html", null ], + [ "~", "functions_~.html", null ] +]; \ No newline at end of file diff --git a/docs/functions_e.html b/docs/functions_e.html new file mode 100644 index 0000000..2ec04a7 --- /dev/null +++ b/docs/functions_e.html @@ -0,0 +1,168 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- e -

+
+
+ + + + diff --git a/docs/functions_enum.html b/docs/functions_enum.html new file mode 100644 index 0000000..4594edf --- /dev/null +++ b/docs/functions_enum.html @@ -0,0 +1,139 @@ + + + + + + +Athena IO Library: Class Members - Enumerations + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
+ + + + diff --git a/docs/functions_eval.html b/docs/functions_eval.html new file mode 100644 index 0000000..eb9e20f --- /dev/null +++ b/docs/functions_eval.html @@ -0,0 +1,193 @@ + + + + + + +Athena IO Library: Class Members - Enumerator + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+ + + + diff --git a/docs/functions_f.html b/docs/functions_f.html new file mode 100644 index 0000000..1945a89 --- /dev/null +++ b/docs/functions_f.html @@ -0,0 +1,201 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- f -

+
+
+ + + + diff --git a/docs/functions_func.html b/docs/functions_func.html new file mode 100644 index 0000000..372c691 --- /dev/null +++ b/docs/functions_func.html @@ -0,0 +1,208 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- a -

+
+
+ + + + diff --git a/docs/functions_func.js b/docs/functions_func.js new file mode 100644 index 0000000..7dfc957 --- /dev/null +++ b/docs/functions_func.js @@ -0,0 +1,26 @@ +var functions_func = +[ + [ "a", "functions_func.html", null ], + [ "b", "functions_func_b.html", null ], + [ "c", "functions_func_c.html", null ], + [ "d", "functions_func_d.html", null ], + [ "e", "functions_func_e.html", null ], + [ "f", "functions_func_f.html", null ], + [ "g", "functions_func_g.html", null ], + [ "h", "functions_func_h.html", null ], + [ "i", "functions_func_i.html", null ], + [ "k", "functions_func_k.html", null ], + [ "l", "functions_func_l.html", null ], + [ "m", "functions_func_m.html", null ], + [ "o", "functions_func_o.html", null ], + [ "p", "functions_func_p.html", null ], + [ "q", "functions_func_q.html", null ], + [ "r", "functions_func_r.html", null ], + [ "s", "functions_func_s.html", null ], + [ "t", "functions_func_t.html", null ], + [ "u", "functions_func_u.html", null ], + [ "v", "functions_func_v.html", null ], + [ "w", "functions_func_w.html", null ], + [ "z", "functions_func_z.html", null ], + [ "~", "functions_func_~.html", null ] +]; \ No newline at end of file diff --git a/docs/functions_func_b.html b/docs/functions_func_b.html new file mode 100644 index 0000000..9ac7d40 --- /dev/null +++ b/docs/functions_func_b.html @@ -0,0 +1,180 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- b -

+
+
+ + + + diff --git a/docs/functions_func_c.html b/docs/functions_func_c.html new file mode 100644 index 0000000..4be30f3 --- /dev/null +++ b/docs/functions_func_c.html @@ -0,0 +1,174 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- c -

+
+
+ + + + diff --git a/docs/functions_func_d.html b/docs/functions_func_d.html new file mode 100644 index 0000000..688711b --- /dev/null +++ b/docs/functions_func_d.html @@ -0,0 +1,184 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- d -

+
+
+ + + + diff --git a/docs/functions_func_e.html b/docs/functions_func_e.html new file mode 100644 index 0000000..f37a277 --- /dev/null +++ b/docs/functions_func_e.html @@ -0,0 +1,167 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- e -

+
+
+ + + + diff --git a/docs/functions_func_f.html b/docs/functions_func_f.html new file mode 100644 index 0000000..d319d37 --- /dev/null +++ b/docs/functions_func_f.html @@ -0,0 +1,191 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- f -

+
+
+ + + + diff --git a/docs/functions_func_g.html b/docs/functions_func_g.html new file mode 100644 index 0000000..46ab22e --- /dev/null +++ b/docs/functions_func_g.html @@ -0,0 +1,171 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- g -

+
+
+ + + + diff --git a/docs/functions_func_h.html b/docs/functions_func_h.html new file mode 100644 index 0000000..d4f8a36 --- /dev/null +++ b/docs/functions_func_h.html @@ -0,0 +1,172 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- h -

+
+
+ + + + diff --git a/docs/functions_func_i.html b/docs/functions_func_i.html new file mode 100644 index 0000000..44b1dae --- /dev/null +++ b/docs/functions_func_i.html @@ -0,0 +1,189 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- i -

+
+
+ + + + diff --git a/docs/functions_func_k.html b/docs/functions_func_k.html new file mode 100644 index 0000000..2de255b --- /dev/null +++ b/docs/functions_func_k.html @@ -0,0 +1,162 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- k -

+
+
+ + + + diff --git a/docs/functions_func_l.html b/docs/functions_func_l.html new file mode 100644 index 0000000..92bf30b --- /dev/null +++ b/docs/functions_func_l.html @@ -0,0 +1,168 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- l -

+
+
+ + + + diff --git a/docs/functions_func_m.html b/docs/functions_func_m.html new file mode 100644 index 0000000..3b977ca --- /dev/null +++ b/docs/functions_func_m.html @@ -0,0 +1,186 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- m -

+
+
+ + + + diff --git a/docs/functions_func_o.html b/docs/functions_func_o.html new file mode 100644 index 0000000..907fb3f --- /dev/null +++ b/docs/functions_func_o.html @@ -0,0 +1,183 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- o -

+
+
+ + + + diff --git a/docs/functions_func_p.html b/docs/functions_func_p.html new file mode 100644 index 0000000..a9f93b0 --- /dev/null +++ b/docs/functions_func_p.html @@ -0,0 +1,191 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- p -

+
+
+ + + + diff --git a/docs/functions_func_q.html b/docs/functions_func_q.html new file mode 100644 index 0000000..b62d730 --- /dev/null +++ b/docs/functions_func_q.html @@ -0,0 +1,168 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- q -

+
+
+ + + + diff --git a/docs/functions_func_r.html b/docs/functions_func_r.html new file mode 100644 index 0000000..3969e1d --- /dev/null +++ b/docs/functions_func_r.html @@ -0,0 +1,235 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- r -

+
+
+ + + + diff --git a/docs/functions_func_s.html b/docs/functions_func_s.html new file mode 100644 index 0000000..aaf731b --- /dev/null +++ b/docs/functions_func_s.html @@ -0,0 +1,424 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- s -

+
+
+ + + + diff --git a/docs/functions_func_t.html b/docs/functions_func_t.html new file mode 100644 index 0000000..94df6d8 --- /dev/null +++ b/docs/functions_func_t.html @@ -0,0 +1,177 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- t -

+
+
+ + + + diff --git a/docs/functions_func_u.html b/docs/functions_func_u.html new file mode 100644 index 0000000..f9d417e --- /dev/null +++ b/docs/functions_func_u.html @@ -0,0 +1,168 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- u -

+
+
+ + + + diff --git a/docs/functions_func_v.html b/docs/functions_func_v.html new file mode 100644 index 0000000..14b83de --- /dev/null +++ b/docs/functions_func_v.html @@ -0,0 +1,162 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- v -

+
+
+ + + + diff --git a/docs/functions_func_w.html b/docs/functions_func_w.html new file mode 100644 index 0000000..d1508c4 --- /dev/null +++ b/docs/functions_func_w.html @@ -0,0 +1,242 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- w -

+
+
+ + + + diff --git a/docs/functions_func_z.html b/docs/functions_func_z.html new file mode 100644 index 0000000..da88309 --- /dev/null +++ b/docs/functions_func_z.html @@ -0,0 +1,168 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- z -

+
+
+ + + + diff --git a/docs/functions_func_~.html b/docs/functions_func_~.html new file mode 100644 index 0000000..d40811c --- /dev/null +++ b/docs/functions_func_~.html @@ -0,0 +1,165 @@ + + + + + + +Athena IO Library: Class Members - Functions + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- ~ -

+
+
+ + + + diff --git a/docs/functions_g.html b/docs/functions_g.html new file mode 100644 index 0000000..eb68ae7 --- /dev/null +++ b/docs/functions_g.html @@ -0,0 +1,178 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- g -

+
+
+ + + + diff --git a/docs/functions_h.html b/docs/functions_h.html new file mode 100644 index 0000000..f9ab83d --- /dev/null +++ b/docs/functions_h.html @@ -0,0 +1,173 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- h -

+
+
+ + + + diff --git a/docs/functions_i.html b/docs/functions_i.html new file mode 100644 index 0000000..08a08b5 --- /dev/null +++ b/docs/functions_i.html @@ -0,0 +1,190 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- i -

+
+
+ + + + diff --git a/docs/functions_k.html b/docs/functions_k.html new file mode 100644 index 0000000..a139a24 --- /dev/null +++ b/docs/functions_k.html @@ -0,0 +1,163 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- k -

+
+
+ + + + diff --git a/docs/functions_l.html b/docs/functions_l.html new file mode 100644 index 0000000..ea32eb9 --- /dev/null +++ b/docs/functions_l.html @@ -0,0 +1,175 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- l -

+
+
+ + + + diff --git a/docs/functions_m.html b/docs/functions_m.html new file mode 100644 index 0000000..a05cedd --- /dev/null +++ b/docs/functions_m.html @@ -0,0 +1,212 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- m -

+
+
+ + + + diff --git a/docs/functions_n.html b/docs/functions_n.html new file mode 100644 index 0000000..e6e80de --- /dev/null +++ b/docs/functions_n.html @@ -0,0 +1,163 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- n -

+
+
+ + + + diff --git a/docs/functions_o.html b/docs/functions_o.html new file mode 100644 index 0000000..9235766 --- /dev/null +++ b/docs/functions_o.html @@ -0,0 +1,199 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- o -

+
+
+ + + + diff --git a/docs/functions_p.html b/docs/functions_p.html new file mode 100644 index 0000000..f8dc6a7 --- /dev/null +++ b/docs/functions_p.html @@ -0,0 +1,198 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- p -

+
+
+ + + + diff --git a/docs/functions_q.html b/docs/functions_q.html new file mode 100644 index 0000000..752ba28 --- /dev/null +++ b/docs/functions_q.html @@ -0,0 +1,172 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- q -

+
+
+ + + + diff --git a/docs/functions_r.html b/docs/functions_r.html new file mode 100644 index 0000000..44e7c85 --- /dev/null +++ b/docs/functions_r.html @@ -0,0 +1,240 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- r -

+
+
+ + + + diff --git a/docs/functions_s.html b/docs/functions_s.html new file mode 100644 index 0000000..1e6e60d --- /dev/null +++ b/docs/functions_s.html @@ -0,0 +1,431 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- s -

+
+
+ + + + diff --git a/docs/functions_t.html b/docs/functions_t.html new file mode 100644 index 0000000..3b7785a --- /dev/null +++ b/docs/functions_t.html @@ -0,0 +1,184 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- t -

+
+
+ + + + diff --git a/docs/functions_type.html b/docs/functions_type.html new file mode 100644 index 0000000..b922391 --- /dev/null +++ b/docs/functions_type.html @@ -0,0 +1,136 @@ + + + + + + +Athena IO Library: Class Members - Typedefs + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
+ + + + diff --git a/docs/functions_u.html b/docs/functions_u.html new file mode 100644 index 0000000..a949e20 --- /dev/null +++ b/docs/functions_u.html @@ -0,0 +1,169 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- u -

+
+
+ + + + diff --git a/docs/functions_v.html b/docs/functions_v.html new file mode 100644 index 0000000..83d57f9 --- /dev/null +++ b/docs/functions_v.html @@ -0,0 +1,167 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- v -

+
+
+ + + + diff --git a/docs/functions_vars.html b/docs/functions_vars.html new file mode 100644 index 0000000..1cf6936 --- /dev/null +++ b/docs/functions_vars.html @@ -0,0 +1,160 @@ + + + + + + +Athena IO Library: Class Members - Variables + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ + +
+ + + + diff --git a/docs/functions_w.html b/docs/functions_w.html new file mode 100644 index 0000000..6818b7e --- /dev/null +++ b/docs/functions_w.html @@ -0,0 +1,246 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- w -

+
+
+ + + + diff --git a/docs/functions_z.html b/docs/functions_z.html new file mode 100644 index 0000000..ed57b50 --- /dev/null +++ b/docs/functions_z.html @@ -0,0 +1,169 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- z -

+
+
+ + + + diff --git a/docs/functions_~.html b/docs/functions_~.html new file mode 100644 index 0000000..23fc188 --- /dev/null +++ b/docs/functions_~.html @@ -0,0 +1,166 @@ + + + + + + +Athena IO Library: Class Members + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- ~ -

+
+
+ + + + diff --git a/docs/graph_legend.html b/docs/graph_legend.html new file mode 100644 index 0000000..9541dc8 --- /dev/null +++ b/docs/graph_legend.html @@ -0,0 +1,177 @@ + + + + + + +Athena IO Library: Graph Legend + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Graph Legend
+
+
+

This page explains how to interpret the graphs that are generated by doxygen.

+

Consider the following example:

1 /*! Invisible class because of truncation */
+
2 class Invisible { };
+
3 
+
4 /*! Truncated class, inheritance relation is hidden */
+
5 class Truncated : public Invisible { };
+
6 
+
7 /* Class not documented with doxygen comments */
+
8 class Undocumented { };
+
9 
+
10 /*! Class that is inherited using public inheritance */
+
11 class PublicBase : public Truncated { };
+
12 
+
13 /*! A template class */
+
14 template<class T> class Templ { };
+
15 
+
16 /*! Class that is inherited using protected inheritance */
+
17 class ProtectedBase { };
+
18 
+
19 /*! Class that is inherited using private inheritance */
+
20 class PrivateBase { };
+
21 
+
22 /*! Class that is used by the Inherited class */
+
23 class Used { };
+
24 
+
25 /*! Super class that inherits a number of other classes */
+
26 class Inherited : public PublicBase,
+
27  protected ProtectedBase,
+
28  private PrivateBase,
+
29  public Undocumented,
+
30  public Templ<int>
+
31 {
+
32  private:
+
33  Used *m_usedClass;
+
34 };
+

This will result in the following graph:

+
+ +
+

The boxes in the above graph have the following meaning:

+
    +
  • +A filled gray box represents the struct or class for which the graph is generated.
  • +
  • +A box with a black border denotes a documented struct or class.
  • +
  • +A box with a grey border denotes an undocumented struct or class.
  • +
  • +A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relations are shown. A graph is truncated if it does not fit within the specified boundaries.
  • +
+

The arrows have the following meaning:

+
    +
  • +A dark blue arrow is used to visualize a public inheritance relation between two classes.
  • +
  • +A dark green arrow is used for protected inheritance.
  • +
  • +A dark red arrow is used for private inheritance.
  • +
  • +A purple dashed arrow is used if a class is contained or used by another class. The arrow is labeled with the variable(s) through which the pointed class or struct is accessible.
  • +
  • +A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance.
  • +
+
+
+ + + + diff --git a/docs/graph_legend.md5 b/docs/graph_legend.md5 new file mode 100644 index 0000000..a06ed05 --- /dev/null +++ b/docs/graph_legend.md5 @@ -0,0 +1 @@ +387ff8eb65306fa251338d3c9bd7bfff \ No newline at end of file diff --git a/docs/graph_legend.png b/docs/graph_legend.png new file mode 100644 index 0000000..b2300fa Binary files /dev/null and b/docs/graph_legend.png differ diff --git a/docs/hierarchy.html b/docs/hierarchy.html new file mode 100644 index 0000000..26783a6 --- /dev/null +++ b/docs/hierarchy.html @@ -0,0 +1,187 @@ + + + + + + +Athena IO Library: Class Hierarchy + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Class Hierarchy
+
+
+
+

Go to the graphical class hierarchy

+This inheritance list is sorted roughly, but not completely, alphabetically:
+
[detail level 1234]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 CAthena::ALTTPAbilities
 CAthena::ALTTPCrystals
 CAthena::ALTTPDungeonItemFlags
 CAthena::ALTTPFileA Link to the Past data container class class
 CAthena::ALTTPInventory
 CAthena::ALTTPLightDarkWorldIndicator
 CAthena::ALTTPMagicUsage
 CAthena::ALTTPOverworldEvent
 CAthena::ALTTPPendants
 CAthena::ALTTPProgressFlags1
 CAthena::ALTTPProgressFlags2
 CAthena::ALTTPQuestA Link to the Past Quest container class
 CAthena::ALTTPRoomFlags
 CAthena::Dir
 CAthena::error::ExceptionThe baseclass for all Exceptions
 CAthena::error::FileNotFoundExceptionAn excpeption thrown when a file could not be found at the given path
 CAthena::error::InvalidDataExceptionAn exception thrown on Invalid Data calls
 CAthena::error::InvalidOperationExceptionAn excpeption thrown on Invalid Operations calls
 CAthena::error::IOExceptionAn excpeption thrown on inappropriate IO calls
 CAthena::error::NotImplementedException
 CAthena::FileInfo
 CAthena::io::IStream
 CAthena::io::IStreamReader
 CAthena::io::FileReader
 CAthena::io::MemoryReader
 CAthena::io::ALTTPFileReaderA Link to the Past save data reader class
 CAthena::io::MCFileReaderThe Minish Cap Save save data reader class
 CAthena::io::SkywardSwordFileReader
 CAthena::io::SpriteFileReader
 CAthena::io::WiiSaveReaderWii data.bin reader class
 CAthena::io::ZQuestFileReaderThe ZQuestFileReader class
 CAthena::io::IStreamWriter
 CAthena::io::FileWriter
 CAthena::io::MemoryWriter
 CAthena::io::ALTTPFileWriterA Link to the Past save data writer class
 CAthena::io::MCFileWriterThe Minish Cap Save save data writer class
 CAthena::io::SkywardSwordFileWriter
 CAthena::io::SpriteFileWriter
 CAthena::io::WiiSaveWriterWii data.bin writer class
 CAthena::io::ZQuestFileWriterThe ZQuestFileWriter class
 CAthena::MCFileThe Minish Cap data container class class
 CAthena::Sakura::Sprite
 CAthena::Sakura::SpriteFile
 CAthena::Sakura::SpriteFrame
 CAthena::Sakura::SpritePart
 CAthena::Sakura::STexture
 CAthena::Sakura::Vector2D< T >
 CAthena::SkywardSwordFile
 CAthena::WiiBannerWii banner container class
 CAthena::WiiFileWii file container class
 CAthena::WiiImageThe WiiImage class
 CAthena::WiiSaveWii data.bin container class
 CAthena::ZQuestFileZQuestFile is an export format for save data
 CAthena::MCSlot
 CAthena::SkywardSwordQuest
 CBinaryReaderA Stream class for reading binary data
 CBinaryWriterA Stream class for writing binary data
 CAthena::Sakura::Vector2D< float >
 CAthena::Sakura::Vector2D< int >
+
+
+
+ + + + diff --git a/docs/hierarchy.js b/docs/hierarchy.js new file mode 100644 index 0000000..5a8efe8 --- /dev/null +++ b/docs/hierarchy.js @@ -0,0 +1,69 @@ +var hierarchy = +[ + [ "Athena::ALTTPAbilities", "struct_athena_1_1_a_l_t_t_p_abilities.html", null ], + [ "Athena::ALTTPCrystals", "struct_athena_1_1_a_l_t_t_p_crystals.html", null ], + [ "Athena::ALTTPDungeonItemFlags", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html", null ], + [ "Athena::ALTTPFile", "class_athena_1_1_a_l_t_t_p_file.html", null ], + [ "Athena::ALTTPInventory", "struct_athena_1_1_a_l_t_t_p_inventory.html", null ], + [ "Athena::ALTTPLightDarkWorldIndicator", "struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html", null ], + [ "Athena::ALTTPMagicUsage", "struct_athena_1_1_a_l_t_t_p_magic_usage.html", null ], + [ "Athena::ALTTPOverworldEvent", "struct_athena_1_1_a_l_t_t_p_overworld_event.html", null ], + [ "Athena::ALTTPPendants", "struct_athena_1_1_a_l_t_t_p_pendants.html", null ], + [ "Athena::ALTTPProgressFlags1", "struct_athena_1_1_a_l_t_t_p_progress_flags1.html", null ], + [ "Athena::ALTTPProgressFlags2", "struct_athena_1_1_a_l_t_t_p_progress_flags2.html", null ], + [ "Athena::ALTTPQuest", "class_athena_1_1_a_l_t_t_p_quest.html", null ], + [ "Athena::ALTTPRoomFlags", "struct_athena_1_1_a_l_t_t_p_room_flags.html", null ], + [ "Athena::Dir", "class_athena_1_1_dir.html", null ], + [ "Athena::error::Exception", "class_athena_1_1error_1_1_exception.html", [ + [ "Athena::error::FileNotFoundException", "class_athena_1_1error_1_1_file_not_found_exception.html", null ], + [ "Athena::error::InvalidDataException", "class_athena_1_1error_1_1_invalid_data_exception.html", null ], + [ "Athena::error::InvalidOperationException", "class_athena_1_1error_1_1_invalid_operation_exception.html", null ], + [ "Athena::error::IOException", "class_athena_1_1error_1_1_i_o_exception.html", null ], + [ "Athena::error::NotImplementedException", "class_athena_1_1error_1_1_not_implemented_exception.html", null ] + ] ], + [ "Athena::FileInfo", "class_athena_1_1_file_info.html", null ], + [ "Athena::io::IStream", "class_athena_1_1io_1_1_i_stream.html", [ + [ "Athena::io::IStreamReader", "class_athena_1_1io_1_1_i_stream_reader.html", [ + [ "Athena::io::FileReader", "class_athena_1_1io_1_1_file_reader.html", null ], + [ "Athena::io::MemoryReader", "class_athena_1_1io_1_1_memory_reader.html", [ + [ "Athena::io::ALTTPFileReader", "class_athena_1_1io_1_1_a_l_t_t_p_file_reader.html", null ], + [ "Athena::io::MCFileReader", "class_athena_1_1io_1_1_m_c_file_reader.html", null ], + [ "Athena::io::SkywardSwordFileReader", "class_athena_1_1io_1_1_skyward_sword_file_reader.html", null ], + [ "Athena::io::SpriteFileReader", "class_athena_1_1io_1_1_sprite_file_reader.html", null ], + [ "Athena::io::WiiSaveReader", "class_athena_1_1io_1_1_wii_save_reader.html", null ], + [ "Athena::io::ZQuestFileReader", "class_athena_1_1io_1_1_z_quest_file_reader.html", null ] + ] ] + ] ], + [ "Athena::io::IStreamWriter", "class_athena_1_1io_1_1_i_stream_writer.html", [ + [ "Athena::io::FileWriter", "class_athena_1_1io_1_1_file_writer.html", null ], + [ "Athena::io::MemoryWriter", "class_athena_1_1io_1_1_memory_writer.html", [ + [ "Athena::io::ALTTPFileWriter", "class_athena_1_1io_1_1_a_l_t_t_p_file_writer.html", null ], + [ "Athena::io::MCFileWriter", "class_athena_1_1io_1_1_m_c_file_writer.html", null ], + [ "Athena::io::SkywardSwordFileWriter", "class_athena_1_1io_1_1_skyward_sword_file_writer.html", null ], + [ "Athena::io::SpriteFileWriter", "class_athena_1_1io_1_1_sprite_file_writer.html", null ], + [ "Athena::io::WiiSaveWriter", "class_athena_1_1io_1_1_wii_save_writer.html", null ], + [ "Athena::io::ZQuestFileWriter", "class_athena_1_1io_1_1_z_quest_file_writer.html", null ] + ] ] + ] ] + ] ], + [ "Athena::MCFile", "class_athena_1_1_m_c_file.html", null ], + [ "Athena::Sakura::Sprite", "class_athena_1_1_sakura_1_1_sprite.html", null ], + [ "Athena::Sakura::SpriteFile", "class_athena_1_1_sakura_1_1_sprite_file.html", null ], + [ "Athena::Sakura::SpriteFrame", "class_athena_1_1_sakura_1_1_sprite_frame.html", null ], + [ "Athena::Sakura::SpritePart", "class_athena_1_1_sakura_1_1_sprite_part.html", null ], + [ "Athena::Sakura::STexture", "struct_athena_1_1_sakura_1_1_s_texture.html", null ], + [ "Athena::Sakura::Vector2D< T >", "class_athena_1_1_sakura_1_1_vector2_d.html", null ], + [ "Athena::SkywardSwordFile", "class_athena_1_1_skyward_sword_file.html", null ], + [ "Athena::WiiBanner", "class_athena_1_1_wii_banner.html", null ], + [ "Athena::WiiFile", "class_athena_1_1_wii_file.html", null ], + [ "Athena::WiiImage", "class_athena_1_1_wii_image.html", null ], + [ "Athena::WiiSave", "class_athena_1_1_wii_save.html", null ], + [ "Athena::ZQuestFile", "class_athena_1_1_z_quest_file.html", [ + [ "Athena::MCSlot", "class_athena_1_1_m_c_slot.html", null ], + [ "Athena::SkywardSwordQuest", "class_athena_1_1_skyward_sword_quest.html", null ] + ] ], + [ "BinaryReader", "class_binary_reader.html", null ], + [ "BinaryWriter", "class_binary_writer.html", null ], + [ "Athena::Sakura::Vector2D< float >", "class_athena_1_1_sakura_1_1_vector2_d.html", null ], + [ "Athena::Sakura::Vector2D< int >", "class_athena_1_1_sakura_1_1_vector2_d.html", null ] +]; \ No newline at end of file diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..2018db0 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,114 @@ + + + + + + +Athena IO Library: Main Page + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena IO Library Documentation
+
+
+
+
+ + + + diff --git a/docs/inherit_graph_0.map b/docs/inherit_graph_0.map new file mode 100644 index 0000000..a0dc374 --- /dev/null +++ b/docs/inherit_graph_0.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_0.md5 b/docs/inherit_graph_0.md5 new file mode 100644 index 0000000..e573a12 --- /dev/null +++ b/docs/inherit_graph_0.md5 @@ -0,0 +1 @@ +071ac157cbad0af7846315959c862545 \ No newline at end of file diff --git a/docs/inherit_graph_0.png b/docs/inherit_graph_0.png new file mode 100644 index 0000000..a3c68c0 Binary files /dev/null and b/docs/inherit_graph_0.png differ diff --git a/docs/inherit_graph_1.map b/docs/inherit_graph_1.map new file mode 100644 index 0000000..931df88 --- /dev/null +++ b/docs/inherit_graph_1.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_1.md5 b/docs/inherit_graph_1.md5 new file mode 100644 index 0000000..05f4a91 --- /dev/null +++ b/docs/inherit_graph_1.md5 @@ -0,0 +1 @@ +64af3ae5d7f0b9d8d0099b1744d6bfc7 \ No newline at end of file diff --git a/docs/inherit_graph_1.png b/docs/inherit_graph_1.png new file mode 100644 index 0000000..3d7d891 Binary files /dev/null and b/docs/inherit_graph_1.png differ diff --git a/docs/inherit_graph_10.map b/docs/inherit_graph_10.map new file mode 100644 index 0000000..8156f56 --- /dev/null +++ b/docs/inherit_graph_10.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_10.md5 b/docs/inherit_graph_10.md5 new file mode 100644 index 0000000..2c5c4ad --- /dev/null +++ b/docs/inherit_graph_10.md5 @@ -0,0 +1 @@ +6c6d9590f04cd1da34e001095ff115a2 \ No newline at end of file diff --git a/docs/inherit_graph_10.png b/docs/inherit_graph_10.png new file mode 100644 index 0000000..311e76e Binary files /dev/null and b/docs/inherit_graph_10.png differ diff --git a/docs/inherit_graph_11.map b/docs/inherit_graph_11.map new file mode 100644 index 0000000..70a1b81 --- /dev/null +++ b/docs/inherit_graph_11.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_11.md5 b/docs/inherit_graph_11.md5 new file mode 100644 index 0000000..35123f0 --- /dev/null +++ b/docs/inherit_graph_11.md5 @@ -0,0 +1 @@ +af26df4074ae97972eda3a85b6e7a03e \ No newline at end of file diff --git a/docs/inherit_graph_11.png b/docs/inherit_graph_11.png new file mode 100644 index 0000000..e84b748 Binary files /dev/null and b/docs/inherit_graph_11.png differ diff --git a/docs/inherit_graph_12.map b/docs/inherit_graph_12.map new file mode 100644 index 0000000..14107af --- /dev/null +++ b/docs/inherit_graph_12.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_12.md5 b/docs/inherit_graph_12.md5 new file mode 100644 index 0000000..5b93b83 --- /dev/null +++ b/docs/inherit_graph_12.md5 @@ -0,0 +1 @@ +82f4e03226a1155f307bbad8df86b027 \ No newline at end of file diff --git a/docs/inherit_graph_12.png b/docs/inherit_graph_12.png new file mode 100644 index 0000000..9d64a2a Binary files /dev/null and b/docs/inherit_graph_12.png differ diff --git a/docs/inherit_graph_13.map b/docs/inherit_graph_13.map new file mode 100644 index 0000000..00f3f76 --- /dev/null +++ b/docs/inherit_graph_13.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_13.md5 b/docs/inherit_graph_13.md5 new file mode 100644 index 0000000..eee9292 --- /dev/null +++ b/docs/inherit_graph_13.md5 @@ -0,0 +1 @@ +282bb6b6771ac225ac1048a0995ce3a8 \ No newline at end of file diff --git a/docs/inherit_graph_13.png b/docs/inherit_graph_13.png new file mode 100644 index 0000000..46448a8 Binary files /dev/null and b/docs/inherit_graph_13.png differ diff --git a/docs/inherit_graph_14.map b/docs/inherit_graph_14.map new file mode 100644 index 0000000..16b3300 --- /dev/null +++ b/docs/inherit_graph_14.map @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/docs/inherit_graph_14.md5 b/docs/inherit_graph_14.md5 new file mode 100644 index 0000000..f93bd8c --- /dev/null +++ b/docs/inherit_graph_14.md5 @@ -0,0 +1 @@ +9fd14a6b946d6f8210e0383db85fdcef \ No newline at end of file diff --git a/docs/inherit_graph_14.png b/docs/inherit_graph_14.png new file mode 100644 index 0000000..d25b5ae Binary files /dev/null and b/docs/inherit_graph_14.png differ diff --git a/docs/inherit_graph_15.map b/docs/inherit_graph_15.map new file mode 100644 index 0000000..0f8eed8 --- /dev/null +++ b/docs/inherit_graph_15.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_15.md5 b/docs/inherit_graph_15.md5 new file mode 100644 index 0000000..6009a90 --- /dev/null +++ b/docs/inherit_graph_15.md5 @@ -0,0 +1 @@ +fcb59a82eb066a7003c6032887cb51ce \ No newline at end of file diff --git a/docs/inherit_graph_15.png b/docs/inherit_graph_15.png new file mode 100644 index 0000000..796d058 Binary files /dev/null and b/docs/inherit_graph_15.png differ diff --git a/docs/inherit_graph_16.map b/docs/inherit_graph_16.map new file mode 100644 index 0000000..a35e7e4 --- /dev/null +++ b/docs/inherit_graph_16.map @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/inherit_graph_16.md5 b/docs/inherit_graph_16.md5 new file mode 100644 index 0000000..6f04b06 --- /dev/null +++ b/docs/inherit_graph_16.md5 @@ -0,0 +1 @@ +d5b24ec586907bbf00abbf96e9a9afb9 \ No newline at end of file diff --git a/docs/inherit_graph_16.png b/docs/inherit_graph_16.png new file mode 100644 index 0000000..edef374 Binary files /dev/null and b/docs/inherit_graph_16.png differ diff --git a/docs/inherit_graph_17.map b/docs/inherit_graph_17.map new file mode 100644 index 0000000..0727519 --- /dev/null +++ b/docs/inherit_graph_17.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_17.md5 b/docs/inherit_graph_17.md5 new file mode 100644 index 0000000..082034b --- /dev/null +++ b/docs/inherit_graph_17.md5 @@ -0,0 +1 @@ +0776ee5a0d05778fb57c58a1aae80fbf \ No newline at end of file diff --git a/docs/inherit_graph_17.png b/docs/inherit_graph_17.png new file mode 100644 index 0000000..df26dce Binary files /dev/null and b/docs/inherit_graph_17.png differ diff --git a/docs/inherit_graph_18.map b/docs/inherit_graph_18.map new file mode 100644 index 0000000..f9d0a2d --- /dev/null +++ b/docs/inherit_graph_18.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_18.md5 b/docs/inherit_graph_18.md5 new file mode 100644 index 0000000..d05fba5 --- /dev/null +++ b/docs/inherit_graph_18.md5 @@ -0,0 +1 @@ +2c808594e2c119bdc4722ef4dce87ab8 \ No newline at end of file diff --git a/docs/inherit_graph_18.png b/docs/inherit_graph_18.png new file mode 100644 index 0000000..1b0e1c5 Binary files /dev/null and b/docs/inherit_graph_18.png differ diff --git a/docs/inherit_graph_19.map b/docs/inherit_graph_19.map new file mode 100644 index 0000000..3d026a6 --- /dev/null +++ b/docs/inherit_graph_19.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_19.md5 b/docs/inherit_graph_19.md5 new file mode 100644 index 0000000..876a85e --- /dev/null +++ b/docs/inherit_graph_19.md5 @@ -0,0 +1 @@ +f81170d59eb7853ecbefc49ba6af9bec \ No newline at end of file diff --git a/docs/inherit_graph_19.png b/docs/inherit_graph_19.png new file mode 100644 index 0000000..9f8786f Binary files /dev/null and b/docs/inherit_graph_19.png differ diff --git a/docs/inherit_graph_2.map b/docs/inherit_graph_2.map new file mode 100644 index 0000000..41492c4 --- /dev/null +++ b/docs/inherit_graph_2.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_2.md5 b/docs/inherit_graph_2.md5 new file mode 100644 index 0000000..711dc0b --- /dev/null +++ b/docs/inherit_graph_2.md5 @@ -0,0 +1 @@ +ddc30885fd8986a9b8dae12ffc4f5d47 \ No newline at end of file diff --git a/docs/inherit_graph_2.png b/docs/inherit_graph_2.png new file mode 100644 index 0000000..0e3ea8a Binary files /dev/null and b/docs/inherit_graph_2.png differ diff --git a/docs/inherit_graph_20.map b/docs/inherit_graph_20.map new file mode 100644 index 0000000..50b5c33 --- /dev/null +++ b/docs/inherit_graph_20.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_20.md5 b/docs/inherit_graph_20.md5 new file mode 100644 index 0000000..8b7961e --- /dev/null +++ b/docs/inherit_graph_20.md5 @@ -0,0 +1 @@ +f3fb016ed147e2fbfd8c6f7e1292905c \ No newline at end of file diff --git a/docs/inherit_graph_20.png b/docs/inherit_graph_20.png new file mode 100644 index 0000000..689968c Binary files /dev/null and b/docs/inherit_graph_20.png differ diff --git a/docs/inherit_graph_21.map b/docs/inherit_graph_21.map new file mode 100644 index 0000000..79b24ee --- /dev/null +++ b/docs/inherit_graph_21.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_21.md5 b/docs/inherit_graph_21.md5 new file mode 100644 index 0000000..c87af4f --- /dev/null +++ b/docs/inherit_graph_21.md5 @@ -0,0 +1 @@ +294ba135d87437833ec6890a4b9fbca7 \ No newline at end of file diff --git a/docs/inherit_graph_21.png b/docs/inherit_graph_21.png new file mode 100644 index 0000000..44981ea Binary files /dev/null and b/docs/inherit_graph_21.png differ diff --git a/docs/inherit_graph_22.map b/docs/inherit_graph_22.map new file mode 100644 index 0000000..3c03322 --- /dev/null +++ b/docs/inherit_graph_22.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_22.md5 b/docs/inherit_graph_22.md5 new file mode 100644 index 0000000..7c79d3f --- /dev/null +++ b/docs/inherit_graph_22.md5 @@ -0,0 +1 @@ +86975af52684ae0f0b83b871c8a6ed5c \ No newline at end of file diff --git a/docs/inherit_graph_22.png b/docs/inherit_graph_22.png new file mode 100644 index 0000000..f5023ac Binary files /dev/null and b/docs/inherit_graph_22.png differ diff --git a/docs/inherit_graph_23.map b/docs/inherit_graph_23.map new file mode 100644 index 0000000..cbcca32 --- /dev/null +++ b/docs/inherit_graph_23.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_23.md5 b/docs/inherit_graph_23.md5 new file mode 100644 index 0000000..bb280a3 --- /dev/null +++ b/docs/inherit_graph_23.md5 @@ -0,0 +1 @@ +620598d9bfd66e97a2c9a903729da387 \ No newline at end of file diff --git a/docs/inherit_graph_23.png b/docs/inherit_graph_23.png new file mode 100644 index 0000000..3cf358b Binary files /dev/null and b/docs/inherit_graph_23.png differ diff --git a/docs/inherit_graph_24.map b/docs/inherit_graph_24.map new file mode 100644 index 0000000..bcc4ba9 --- /dev/null +++ b/docs/inherit_graph_24.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_24.md5 b/docs/inherit_graph_24.md5 new file mode 100644 index 0000000..aef9eb7 --- /dev/null +++ b/docs/inherit_graph_24.md5 @@ -0,0 +1 @@ +df0094cf7434ed49973126357b2be7e2 \ No newline at end of file diff --git a/docs/inherit_graph_24.png b/docs/inherit_graph_24.png new file mode 100644 index 0000000..86c9724 Binary files /dev/null and b/docs/inherit_graph_24.png differ diff --git a/docs/inherit_graph_25.map b/docs/inherit_graph_25.map new file mode 100644 index 0000000..923b035 --- /dev/null +++ b/docs/inherit_graph_25.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_25.md5 b/docs/inherit_graph_25.md5 new file mode 100644 index 0000000..db3da3c --- /dev/null +++ b/docs/inherit_graph_25.md5 @@ -0,0 +1 @@ +32cff5a797171797e6fd9be0980481ce \ No newline at end of file diff --git a/docs/inherit_graph_25.png b/docs/inherit_graph_25.png new file mode 100644 index 0000000..a3613ee Binary files /dev/null and b/docs/inherit_graph_25.png differ diff --git a/docs/inherit_graph_26.map b/docs/inherit_graph_26.map new file mode 100644 index 0000000..82138d8 --- /dev/null +++ b/docs/inherit_graph_26.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_26.md5 b/docs/inherit_graph_26.md5 new file mode 100644 index 0000000..624dc5e --- /dev/null +++ b/docs/inherit_graph_26.md5 @@ -0,0 +1 @@ +539acaedbcaa33a56bbca02307c99b0d \ No newline at end of file diff --git a/docs/inherit_graph_26.png b/docs/inherit_graph_26.png new file mode 100644 index 0000000..66a0efe Binary files /dev/null and b/docs/inherit_graph_26.png differ diff --git a/docs/inherit_graph_27.map b/docs/inherit_graph_27.map new file mode 100644 index 0000000..6c5c0bb --- /dev/null +++ b/docs/inherit_graph_27.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_27.md5 b/docs/inherit_graph_27.md5 new file mode 100644 index 0000000..2700c22 --- /dev/null +++ b/docs/inherit_graph_27.md5 @@ -0,0 +1 @@ +ff7586328320e45c45ef1bf62f507196 \ No newline at end of file diff --git a/docs/inherit_graph_27.png b/docs/inherit_graph_27.png new file mode 100644 index 0000000..2dde7fc Binary files /dev/null and b/docs/inherit_graph_27.png differ diff --git a/docs/inherit_graph_28.map b/docs/inherit_graph_28.map new file mode 100644 index 0000000..57c4b9d --- /dev/null +++ b/docs/inherit_graph_28.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_28.md5 b/docs/inherit_graph_28.md5 new file mode 100644 index 0000000..e9a316d --- /dev/null +++ b/docs/inherit_graph_28.md5 @@ -0,0 +1 @@ +01cfcc2e5794405aaa8bdf4da35a1487 \ No newline at end of file diff --git a/docs/inherit_graph_28.png b/docs/inherit_graph_28.png new file mode 100644 index 0000000..d2971d8 Binary files /dev/null and b/docs/inherit_graph_28.png differ diff --git a/docs/inherit_graph_29.map b/docs/inherit_graph_29.map new file mode 100644 index 0000000..8c0305e --- /dev/null +++ b/docs/inherit_graph_29.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_29.md5 b/docs/inherit_graph_29.md5 new file mode 100644 index 0000000..a897001 --- /dev/null +++ b/docs/inherit_graph_29.md5 @@ -0,0 +1 @@ +7b6b66496d0215d911f62c3579c61838 \ No newline at end of file diff --git a/docs/inherit_graph_29.png b/docs/inherit_graph_29.png new file mode 100644 index 0000000..b0c780e Binary files /dev/null and b/docs/inherit_graph_29.png differ diff --git a/docs/inherit_graph_3.map b/docs/inherit_graph_3.map new file mode 100644 index 0000000..0b2f3e1 --- /dev/null +++ b/docs/inherit_graph_3.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_3.md5 b/docs/inherit_graph_3.md5 new file mode 100644 index 0000000..5927323 --- /dev/null +++ b/docs/inherit_graph_3.md5 @@ -0,0 +1 @@ +29ea45878d1cd985f93a49817b8257f3 \ No newline at end of file diff --git a/docs/inherit_graph_3.png b/docs/inherit_graph_3.png new file mode 100644 index 0000000..9fd1913 Binary files /dev/null and b/docs/inherit_graph_3.png differ diff --git a/docs/inherit_graph_30.map b/docs/inherit_graph_30.map new file mode 100644 index 0000000..e50e3c6 --- /dev/null +++ b/docs/inherit_graph_30.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_30.md5 b/docs/inherit_graph_30.md5 new file mode 100644 index 0000000..6be96d3 --- /dev/null +++ b/docs/inherit_graph_30.md5 @@ -0,0 +1 @@ +9a9e64923762e3763855e723161f8c91 \ No newline at end of file diff --git a/docs/inherit_graph_30.png b/docs/inherit_graph_30.png new file mode 100644 index 0000000..43b1ec2 Binary files /dev/null and b/docs/inherit_graph_30.png differ diff --git a/docs/inherit_graph_31.map b/docs/inherit_graph_31.map new file mode 100644 index 0000000..db6b4ba --- /dev/null +++ b/docs/inherit_graph_31.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/inherit_graph_31.md5 b/docs/inherit_graph_31.md5 new file mode 100644 index 0000000..4df4225 --- /dev/null +++ b/docs/inherit_graph_31.md5 @@ -0,0 +1 @@ +aae869f9212f6e9b1d8d9a0e23021541 \ No newline at end of file diff --git a/docs/inherit_graph_31.png b/docs/inherit_graph_31.png new file mode 100644 index 0000000..be64690 Binary files /dev/null and b/docs/inherit_graph_31.png differ diff --git a/docs/inherit_graph_32.map b/docs/inherit_graph_32.map new file mode 100644 index 0000000..57815a2 --- /dev/null +++ b/docs/inherit_graph_32.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_32.md5 b/docs/inherit_graph_32.md5 new file mode 100644 index 0000000..213db88 --- /dev/null +++ b/docs/inherit_graph_32.md5 @@ -0,0 +1 @@ +bf0c0968773211cb47c917d7c1904054 \ No newline at end of file diff --git a/docs/inherit_graph_32.png b/docs/inherit_graph_32.png new file mode 100644 index 0000000..c9274a4 Binary files /dev/null and b/docs/inherit_graph_32.png differ diff --git a/docs/inherit_graph_33.map b/docs/inherit_graph_33.map new file mode 100644 index 0000000..67765de --- /dev/null +++ b/docs/inherit_graph_33.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_33.md5 b/docs/inherit_graph_33.md5 new file mode 100644 index 0000000..d9f44fc --- /dev/null +++ b/docs/inherit_graph_33.md5 @@ -0,0 +1 @@ +9b1b1e5b2980a3ec3f43faded6eba136 \ No newline at end of file diff --git a/docs/inherit_graph_33.png b/docs/inherit_graph_33.png new file mode 100644 index 0000000..2a68941 Binary files /dev/null and b/docs/inherit_graph_33.png differ diff --git a/docs/inherit_graph_4.map b/docs/inherit_graph_4.map new file mode 100644 index 0000000..900c8a8 --- /dev/null +++ b/docs/inherit_graph_4.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_4.md5 b/docs/inherit_graph_4.md5 new file mode 100644 index 0000000..055221f --- /dev/null +++ b/docs/inherit_graph_4.md5 @@ -0,0 +1 @@ +a2579eb112e2392ec8c231b9939fc99d \ No newline at end of file diff --git a/docs/inherit_graph_4.png b/docs/inherit_graph_4.png new file mode 100644 index 0000000..7a3951f Binary files /dev/null and b/docs/inherit_graph_4.png differ diff --git a/docs/inherit_graph_5.map b/docs/inherit_graph_5.map new file mode 100644 index 0000000..e7f54bb --- /dev/null +++ b/docs/inherit_graph_5.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_5.md5 b/docs/inherit_graph_5.md5 new file mode 100644 index 0000000..fbb601c --- /dev/null +++ b/docs/inherit_graph_5.md5 @@ -0,0 +1 @@ +ed547dc7c50684d432d85419ccfb5252 \ No newline at end of file diff --git a/docs/inherit_graph_5.png b/docs/inherit_graph_5.png new file mode 100644 index 0000000..81d5d2b Binary files /dev/null and b/docs/inherit_graph_5.png differ diff --git a/docs/inherit_graph_6.map b/docs/inherit_graph_6.map new file mode 100644 index 0000000..35cff29 --- /dev/null +++ b/docs/inherit_graph_6.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_6.md5 b/docs/inherit_graph_6.md5 new file mode 100644 index 0000000..bdef122 --- /dev/null +++ b/docs/inherit_graph_6.md5 @@ -0,0 +1 @@ +0ea8e41282d00cc3791bf5793441dff2 \ No newline at end of file diff --git a/docs/inherit_graph_6.png b/docs/inherit_graph_6.png new file mode 100644 index 0000000..6e73a6f Binary files /dev/null and b/docs/inherit_graph_6.png differ diff --git a/docs/inherit_graph_7.map b/docs/inherit_graph_7.map new file mode 100644 index 0000000..fd7033f --- /dev/null +++ b/docs/inherit_graph_7.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_7.md5 b/docs/inherit_graph_7.md5 new file mode 100644 index 0000000..9a61f49 --- /dev/null +++ b/docs/inherit_graph_7.md5 @@ -0,0 +1 @@ +2349dad9e057505e673f40757aaefa4a \ No newline at end of file diff --git a/docs/inherit_graph_7.png b/docs/inherit_graph_7.png new file mode 100644 index 0000000..2b8c947 Binary files /dev/null and b/docs/inherit_graph_7.png differ diff --git a/docs/inherit_graph_8.map b/docs/inherit_graph_8.map new file mode 100644 index 0000000..c3c4710 --- /dev/null +++ b/docs/inherit_graph_8.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_8.md5 b/docs/inherit_graph_8.md5 new file mode 100644 index 0000000..fb42ad0 --- /dev/null +++ b/docs/inherit_graph_8.md5 @@ -0,0 +1 @@ +641f99da1102037bdeb76150666c31a6 \ No newline at end of file diff --git a/docs/inherit_graph_8.png b/docs/inherit_graph_8.png new file mode 100644 index 0000000..bbed332 Binary files /dev/null and b/docs/inherit_graph_8.png differ diff --git a/docs/inherit_graph_9.map b/docs/inherit_graph_9.map new file mode 100644 index 0000000..0491b08 --- /dev/null +++ b/docs/inherit_graph_9.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/inherit_graph_9.md5 b/docs/inherit_graph_9.md5 new file mode 100644 index 0000000..5d8743a --- /dev/null +++ b/docs/inherit_graph_9.md5 @@ -0,0 +1 @@ +8e71dd393c47156d6ad2be1b008bc4b4 \ No newline at end of file diff --git a/docs/inherit_graph_9.png b/docs/inherit_graph_9.png new file mode 100644 index 0000000..ae902ac Binary files /dev/null and b/docs/inherit_graph_9.png differ diff --git a/docs/inherits.html b/docs/inherits.html new file mode 100644 index 0000000..09d89c7 --- /dev/null +++ b/docs/inherits.html @@ -0,0 +1,262 @@ + + + + + + +Athena IO Library: Class Hierarchy + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Class Hierarchy
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+
+
+ + + + diff --git a/docs/jquery.js b/docs/jquery.js new file mode 100644 index 0000000..1f4d0b4 --- /dev/null +++ b/docs/jquery.js @@ -0,0 +1,68 @@ +/*! + * jQuery JavaScript Library v1.7.1 + * http://jquery.com/ + * + * Copyright 2011, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Mon Nov 21 21:11:03 2011 -0500 + */ +(function(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bb.jQuery,bH=bb.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b40){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bb.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bb.attachEvent("onload",bF.ready);var b0=false;try{b0=bb.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0&&typeof b0==="object"&&"setInterval" in b0},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){var b0,b1;try{if(bb.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bb.execScript||function(b1){bb["eval"].call(bb,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b40&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b21?aJ.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aJ.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv
a";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bM,bU,bV,bT,bN,bO,bL,bS,bR,e,bP,bQ=av.getElementsByTagName("body")[0];if(!bQ){return}bL=1;bS="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bR="visibility:hidden;border:0;";e="style='"+bS+"border:5px solid #000;padding:0;'";bP="
";bM=av.createElement("div");bM.style.cssText=bR+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bQ.insertBefore(bM,bQ.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="
t
";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="
";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bS+bR;bv.innerHTML=bP;bU=bv.firstChild;bV=bU.firstChild;bN=bU.nextSibling.firstChild.firstChild;bO={doesNotAddBorder:(bV.offsetTop!==5),doesAddBorderForTableAndCells:(bN.offsetTop===5)};bV.style.position="fixed";bV.style.top="20px";bO.fixedPosition=(bV.offsetTop===20||bV.offsetTop===15);bV.style.position=bV.style.top="";bU.style.overflow="hidden";bU.style.position="relative";bO.subtractsBorderForOverflowNotVisible=(bV.offsetTop===-5);bO.doesNotIncludeMarginInBodyOffset=(bQ.offsetTop!==bL);bQ.removeChild(bM);bv=bM=null;b.extend(bJ,bO)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aU,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType;if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aY:be)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(bx,bz){var by,bA,bv,e,bw=0;if(bz&&bx.nodeType===1){bA=bz.toLowerCase().split(af);e=bA.length;for(;bw=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bb,bI])}}for(bC=0;bCbA){bH.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aO.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bf.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); +/*! + * Sizzle CSS Selector Engine + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * More information: http://sizzlejs.com/ + */ +(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},ac=a(av);ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
","
"]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1>");try{for(var bw=0,bv=this.length;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]===""&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length;if(bA>0){if(bv!=="border"){for(;bx)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);/*! + * jQuery UI 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI + */ +(function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function j(m,l,i,n){a.each(f,function(){l-=parseFloat(a.curCSS(m,"padding"+this,true))||0;if(i){l-=parseFloat(a.curCSS(m,"border"+this+"Width",true))||0}if(n){l-=parseFloat(a.curCSS(m,"margin"+this,true))||0}});return l}a.fn["inner"+e]=function(i){if(i===d){return k["inner"+e].call(this)}return this.each(function(){a(this).css(h,j(this,i)+"px")})};a.fn["outer"+e]=function(i,l){if(typeof i!=="number"){return k["outer"+e].call(this,i)}return this.each(function(){a(this).css(h,j(this,i,true,l)+"px")})}});function c(g,e){var j=g.nodeName.toLowerCase();if("area"===j){var i=g.parentNode,h=i.name,f;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"==j?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));f.offsetHeight;a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(e,g,f){var j=e.plugins[g];if(!j||!e.element[0].parentNode){return}for(var h=0;h0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(j,f,i,h,e,g){return a.ui.isOverAxis(j,i,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);/*! + * jQuery UI Widget 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Widget + */ +(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,f,g){var j,i,h=this.options[e];g=g||{};f=b.Event(f);f.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f.target=this.element[0];i=f.originalEvent;if(i){for(j in i){if(!(j in f)){f[j]=i[j]}}}this.element.trigger(f,g);return !(b.isFunction(h)&&h.call(this.element[0],f,g)===false||f.isDefaultPrevented())}}})(jQuery);/*! + * jQuery UI Mouse 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Mouse + * + * Depends: + * jquery.ui.widget.js + */ +(function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap(c('
').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g
');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(hl.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/*! + * jQuery hashchange event - v1.3 - 7/21/2010 + * http://benalman.com/projects/jquery-hashchange-plugin/ + * + * Copyright (c) 2010 "Cowboy" Ben Alman + * Dual licensed under the MIT and GPL licenses. + * http://benalman.com/about/license/ + */ +(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$(' + + +
+
+
Athena::ALTTPAbilities Member List
+
+
+ +

This is the complete list of members for Athena::ALTTPAbilities, including all inherited members.

+
+ + + + + + + + +
Dash (defined in Athena::ALTTPAbilities)Athena::ALTTPAbilities
Nothing (defined in Athena::ALTTPAbilities)Athena::ALTTPAbilities
Pull (defined in Athena::ALTTPAbilities)Athena::ALTTPAbilities
Read (defined in Athena::ALTTPAbilities)Athena::ALTTPAbilities
Swim (defined in Athena::ALTTPAbilities)Athena::ALTTPAbilities
Talk (defined in Athena::ALTTPAbilities)Athena::ALTTPAbilities
Unknown1 (defined in Athena::ALTTPAbilities)Athena::ALTTPAbilities
Unknown2 (defined in Athena::ALTTPAbilities)Athena::ALTTPAbilities
+ + + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_abilities.html b/docs/struct_athena_1_1_a_l_t_t_p_abilities.html new file mode 100644 index 0000000..b8b5232 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_abilities.html @@ -0,0 +1,165 @@ + + + + + + +Athena IO Library: Athena::ALTTPAbilities Struct Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::ALTTPAbilities Struct Reference
+
+
+
+Collaboration diagram for Athena::ALTTPAbilities:
+
+
Collaboration graph
+
+ + + + + + + + + + + + + + + + + + +

+Public Attributes

+bool Nothing: 1
 
+bool Swim: 1
 
+bool Dash: 1
 
+bool Pull: 1
 
+bool Unknown1: 1
 
+bool Talk: 1
 
+bool Read: 1
 
+bool Unknown2: 1
 
+

Detailed Description

+
+

Definition at line 154 of file ALTTPStructs.hpp.

+

The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_abilities.js b/docs/struct_athena_1_1_a_l_t_t_p_abilities.js new file mode 100644 index 0000000..7f0dc5b --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_abilities.js @@ -0,0 +1,11 @@ +var struct_athena_1_1_a_l_t_t_p_abilities = +[ + [ "Dash", "struct_athena_1_1_a_l_t_t_p_abilities.html#a136410c42007bf06c58bd18fa9b3c778", null ], + [ "Nothing", "struct_athena_1_1_a_l_t_t_p_abilities.html#a5ef39d084790af47e098552839c69fab", null ], + [ "Pull", "struct_athena_1_1_a_l_t_t_p_abilities.html#aef0e1139cafc2c6ef6d7e71ff54fe6d8", null ], + [ "Read", "struct_athena_1_1_a_l_t_t_p_abilities.html#a97b125fff119daee1b34b37c70f3521a", null ], + [ "Swim", "struct_athena_1_1_a_l_t_t_p_abilities.html#acbc08000bb5c98149b8bba98ef64c0f2", null ], + [ "Talk", "struct_athena_1_1_a_l_t_t_p_abilities.html#ad68c9de18d14e31405ca7dbe69cd6958", null ], + [ "Unknown1", "struct_athena_1_1_a_l_t_t_p_abilities.html#ae95629b1a1bf9b1352cc797229a0b777", null ], + [ "Unknown2", "struct_athena_1_1_a_l_t_t_p_abilities.html#a9c88796048771833ae61a911a501e69b", null ] +]; \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_abilities__coll__graph.map b/docs/struct_athena_1_1_a_l_t_t_p_abilities__coll__graph.map new file mode 100644 index 0000000..14a0c42 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_abilities__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_abilities__coll__graph.md5 b/docs/struct_athena_1_1_a_l_t_t_p_abilities__coll__graph.md5 new file mode 100644 index 0000000..853c732 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_abilities__coll__graph.md5 @@ -0,0 +1 @@ +3556a410aa210de9d78c9479fc61b68f \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_abilities__coll__graph.png b/docs/struct_athena_1_1_a_l_t_t_p_abilities__coll__graph.png new file mode 100644 index 0000000..a0caa97 Binary files /dev/null and b/docs/struct_athena_1_1_a_l_t_t_p_abilities__coll__graph.png differ diff --git a/docs/struct_athena_1_1_a_l_t_t_p_crystals-members.html b/docs/struct_athena_1_1_a_l_t_t_p_crystals-members.html new file mode 100644 index 0000000..730019a --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_crystals-members.html @@ -0,0 +1,132 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::ALTTPCrystals Member List
+
+
+ +

This is the complete list of members for Athena::ALTTPCrystals, including all inherited members.

+ + + + + + + + +
DarkPalace (defined in Athena::ALTTPCrystals)Athena::ALTTPCrystals
GargoyleDomain (defined in Athena::ALTTPCrystals)Athena::ALTTPCrystals
IcePalace (defined in Athena::ALTTPCrystals)Athena::ALTTPCrystals
MiseryMire (defined in Athena::ALTTPCrystals)Athena::ALTTPCrystals
SkullWoods (defined in Athena::ALTTPCrystals)Athena::ALTTPCrystals
SwampPalace (defined in Athena::ALTTPCrystals)Athena::ALTTPCrystals
TurtleRock (defined in Athena::ALTTPCrystals)Athena::ALTTPCrystals
+
+ + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_crystals.html b/docs/struct_athena_1_1_a_l_t_t_p_crystals.html new file mode 100644 index 0000000..ea0fdf8 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_crystals.html @@ -0,0 +1,162 @@ + + + + + + +Athena IO Library: Athena::ALTTPCrystals Struct Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::ALTTPCrystals Struct Reference
+
+
+
+Collaboration diagram for Athena::ALTTPCrystals:
+
+
Collaboration graph
+
+ + + + + + + + + + + + + + + + +

+Public Attributes

+bool MiseryMire: 1
 
+bool DarkPalace: 1
 
+bool IcePalace: 1
 
+bool TurtleRock: 1
 
+bool SwampPalace: 1
 
+bool GargoyleDomain: 1
 
+bool SkullWoods: 1
 
+

Detailed Description

+
+

Definition at line 166 of file ALTTPStructs.hpp.

+

The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_crystals.js b/docs/struct_athena_1_1_a_l_t_t_p_crystals.js new file mode 100644 index 0000000..c3a29e5 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_crystals.js @@ -0,0 +1,10 @@ +var struct_athena_1_1_a_l_t_t_p_crystals = +[ + [ "DarkPalace", "struct_athena_1_1_a_l_t_t_p_crystals.html#ac7fa0b8b7d176d7d70a644be84ceee1a", null ], + [ "GargoyleDomain", "struct_athena_1_1_a_l_t_t_p_crystals.html#a913ea99cd395653af55c3d4c8524a093", null ], + [ "IcePalace", "struct_athena_1_1_a_l_t_t_p_crystals.html#aed71e6b879bc0f67db3880ddd7be2cab", null ], + [ "MiseryMire", "struct_athena_1_1_a_l_t_t_p_crystals.html#a90a72683366ea154acc66d5c2ed93c1c", null ], + [ "SkullWoods", "struct_athena_1_1_a_l_t_t_p_crystals.html#a2098744a2155b096c0777cda9ef37625", null ], + [ "SwampPalace", "struct_athena_1_1_a_l_t_t_p_crystals.html#a03c6dcce5c4b1dc143ba98e9a77614fd", null ], + [ "TurtleRock", "struct_athena_1_1_a_l_t_t_p_crystals.html#a50a7589911cc69a4193e127ea644d52a", null ] +]; \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_crystals__coll__graph.map b/docs/struct_athena_1_1_a_l_t_t_p_crystals__coll__graph.map new file mode 100644 index 0000000..78257e0 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_crystals__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_crystals__coll__graph.md5 b/docs/struct_athena_1_1_a_l_t_t_p_crystals__coll__graph.md5 new file mode 100644 index 0000000..9b8744b --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_crystals__coll__graph.md5 @@ -0,0 +1 @@ +bc2895b7976961c7bd6c21c197375f70 \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_crystals__coll__graph.png b/docs/struct_athena_1_1_a_l_t_t_p_crystals__coll__graph.png new file mode 100644 index 0000000..1f569da Binary files /dev/null and b/docs/struct_athena_1_1_a_l_t_t_p_crystals__coll__graph.png differ diff --git a/docs/struct_athena_1_1_a_l_t_t_p_dungeon_item_flags-members.html b/docs/struct_athena_1_1_a_l_t_t_p_dungeon_item_flags-members.html new file mode 100644 index 0000000..1432003 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_dungeon_item_flags-members.html @@ -0,0 +1,143 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::ALTTPDungeonItemFlags Member List
+
+
+ +

This is the complete list of members for Athena::ALTTPDungeonItemFlags, including all inherited members.

+ + + + + + + + + + + + + + + + + + + +
DarkPalace (defined in Athena::ALTTPDungeonItemFlags)Athena::ALTTPDungeonItemFlags
DesertPalace (defined in Athena::ALTTPDungeonItemFlags)Athena::ALTTPDungeonItemFlags
EasternPalace (defined in Athena::ALTTPDungeonItemFlags)Athena::ALTTPDungeonItemFlags
flags1 (defined in Athena::ALTTPDungeonItemFlags)Athena::ALTTPDungeonItemFlags
flags2 (defined in Athena::ALTTPDungeonItemFlags)Athena::ALTTPDungeonItemFlags
GanonsTower (defined in Athena::ALTTPDungeonItemFlags)Athena::ALTTPDungeonItemFlags
GargoylesDomain (defined in Athena::ALTTPDungeonItemFlags)Athena::ALTTPDungeonItemFlags
HyruleCastle (defined in Athena::ALTTPDungeonItemFlags)Athena::ALTTPDungeonItemFlags
HyruleCastle2 (defined in Athena::ALTTPDungeonItemFlags)Athena::ALTTPDungeonItemFlags
IcePalace (defined in Athena::ALTTPDungeonItemFlags)Athena::ALTTPDungeonItemFlags
MiseryMire (defined in Athena::ALTTPDungeonItemFlags)Athena::ALTTPDungeonItemFlags
SewerPassage (defined in Athena::ALTTPDungeonItemFlags)Athena::ALTTPDungeonItemFlags
SkullWoods (defined in Athena::ALTTPDungeonItemFlags)Athena::ALTTPDungeonItemFlags
SwampPalace (defined in Athena::ALTTPDungeonItemFlags)Athena::ALTTPDungeonItemFlags
TowerOfHera (defined in Athena::ALTTPDungeonItemFlags)Athena::ALTTPDungeonItemFlags
TurtleRock (defined in Athena::ALTTPDungeonItemFlags)Athena::ALTTPDungeonItemFlags
Unused1 (defined in Athena::ALTTPDungeonItemFlags)Athena::ALTTPDungeonItemFlags
Unused2 (defined in Athena::ALTTPDungeonItemFlags)Athena::ALTTPDungeonItemFlags
+
+ + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html b/docs/struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html new file mode 100644 index 0000000..8c94815 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html @@ -0,0 +1,211 @@ + + + + + + +Athena IO Library: Athena::ALTTPDungeonItemFlags Struct Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::ALTTPDungeonItemFlags Struct Reference
+
+
+
+Collaboration diagram for Athena::ALTTPDungeonItemFlags:
+
+
Collaboration graph
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+union {
+   struct {
+      bool   Unused1: 1
 
+      bool   Unused2: 1
 
+      bool   GanonsTower: 1
 
+      bool   TurtleRock: 1
 
+      bool   GargoylesDomain: 1
 
+      bool   TowerOfHera: 1
 
+      bool   IcePalace: 1
 
+      bool   SkullWoods: 1
 
   } 
 
+   atUint8   flags1
 
}; 
 
+union {
+   struct {
+      bool   MiseryMire: 1
 
+      bool   DarkPalace: 1
 
+      bool   SwampPalace: 1
 
+      bool   HyruleCastle2: 1
 
+      bool   DesertPalace: 1
 
+      bool   EasternPalace: 1
 
+      bool   HyruleCastle: 1
 
+      bool   SewerPassage: 1
 
   } 
 
+   atUint8   flags2
 
}; 
 
+

Detailed Description

+
+

Definition at line 107 of file ALTTPStructs.hpp.

+

The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.js b/docs/struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.js new file mode 100644 index 0000000..28700c4 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.js @@ -0,0 +1,21 @@ +var struct_athena_1_1_a_l_t_t_p_dungeon_item_flags = +[ + [ "DarkPalace", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html#a9e74659e372d112d6ce26ed90669d1e7", null ], + [ "DesertPalace", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html#ac7de49394c06fdc2a360b37dc1fadff0", null ], + [ "EasternPalace", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html#a7e79c94d3f115e7a35b53c5e905bac95", null ], + [ "flags1", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html#ae1cea2b413b1b27907fb115ec802c863", null ], + [ "flags2", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html#ab9dd8154e39f565a96fdba79371fcdd4", null ], + [ "GanonsTower", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html#a50c3b32542c14814973ab028c26d70a5", null ], + [ "GargoylesDomain", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html#abcc93b451e1785bc463d3c837f02dd14", null ], + [ "HyruleCastle", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html#ac8e25cf773350907b28e3461540680ec", null ], + [ "HyruleCastle2", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html#a33a6d8727b6e3afe610c4562121588b6", null ], + [ "IcePalace", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html#a30f01dd8854070201c80384177ed43d7", null ], + [ "MiseryMire", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html#ad0e09bd335d8adf0b4a4a1cc68c97ca3", null ], + [ "SewerPassage", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html#a15662977f634d4326eaa4e35f248f0df", null ], + [ "SkullWoods", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html#a1d32ef9b54cf35a73bcfc4075ea90d77", null ], + [ "SwampPalace", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html#a820852513f982093c3709693efa7913a", null ], + [ "TowerOfHera", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html#aaac50c36af5232c8d7b9fe55c6a26d22", null ], + [ "TurtleRock", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html#a0b6afe3ac9093c818d57c12292d354e6", null ], + [ "Unused1", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html#a5a1674f0bce8a7955ccdf8ffa45293bc", null ], + [ "Unused2", "struct_athena_1_1_a_l_t_t_p_dungeon_item_flags.html#aaf7b7568c045db1283c40768c21d3215", null ] +]; \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_dungeon_item_flags__coll__graph.map b/docs/struct_athena_1_1_a_l_t_t_p_dungeon_item_flags__coll__graph.map new file mode 100644 index 0000000..0adfb45 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_dungeon_item_flags__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_dungeon_item_flags__coll__graph.md5 b/docs/struct_athena_1_1_a_l_t_t_p_dungeon_item_flags__coll__graph.md5 new file mode 100644 index 0000000..7fcf184 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_dungeon_item_flags__coll__graph.md5 @@ -0,0 +1 @@ +4be28163645f7fb4e26a7bff25f73bc9 \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_dungeon_item_flags__coll__graph.png b/docs/struct_athena_1_1_a_l_t_t_p_dungeon_item_flags__coll__graph.png new file mode 100644 index 0000000..c07ccd4 Binary files /dev/null and b/docs/struct_athena_1_1_a_l_t_t_p_dungeon_item_flags__coll__graph.png differ diff --git a/docs/struct_athena_1_1_a_l_t_t_p_inventory-members.html b/docs/struct_athena_1_1_a_l_t_t_p_inventory-members.html new file mode 100644 index 0000000..92fa57f --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_inventory-members.html @@ -0,0 +1,154 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::ALTTPInventory Member List
+
+
+ +

This is the complete list of members for Athena::ALTTPInventory, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Armor (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Bombos (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Bombs (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Book (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Boomerang (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Boots (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Bottles (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
BottleTypes (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Bow (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
BugNet (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Byrna (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Ether (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
FireRod (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Flippers (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Flute (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Gloves (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Hammer (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Hookshot (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
IceRod (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Magic (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
MagicCape (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
MagicMirror (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
MoonPearl (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Quake (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Shield (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Somaria (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Sword (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Torch (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
Unused (defined in Athena::ALTTPInventory)Athena::ALTTPInventory
+
+ + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_inventory.html b/docs/struct_athena_1_1_a_l_t_t_p_inventory.html new file mode 100644 index 0000000..21c18df --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_inventory.html @@ -0,0 +1,228 @@ + + + + + + +Athena IO Library: Athena::ALTTPInventory Struct Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::ALTTPInventory Struct Reference
+
+
+
+Collaboration diagram for Athena::ALTTPInventory:
+
+
Collaboration graph
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+char Bow
 
+char Boomerang
 
+bool Hookshot
 
+char Bombs
 
+char Magic
 
+bool FireRod
 
+bool IceRod
 
+bool Bombos
 
+bool Ether
 
+bool Quake
 
+bool Torch
 
+bool Hammer
 
+char Flute
 
+bool BugNet
 
+bool Book
 
+bool Bottles
 
+bool Somaria
 
+bool Byrna
 
+bool MagicCape
 
+char MagicMirror
 
+char Gloves
 
+char Boots
 
+bool Flippers
 
+bool MoonPearl
 
+char Unused
 
+char Sword
 
+char Shield
 
+char Armor
 
+char BottleTypes [4]
 
+

Detailed Description

+
+

Definition at line 59 of file ALTTPStructs.hpp.

+

The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_inventory.js b/docs/struct_athena_1_1_a_l_t_t_p_inventory.js new file mode 100644 index 0000000..cd45bd8 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_inventory.js @@ -0,0 +1,32 @@ +var struct_athena_1_1_a_l_t_t_p_inventory = +[ + [ "Armor", "struct_athena_1_1_a_l_t_t_p_inventory.html#ad1977157fa95ecdcaac69f837b32a7b6", null ], + [ "Bombos", "struct_athena_1_1_a_l_t_t_p_inventory.html#a4a0b330142364d56ab363c96442ad159", null ], + [ "Bombs", "struct_athena_1_1_a_l_t_t_p_inventory.html#a2c762e8ad5189f53d5d9f19cb105121e", null ], + [ "Book", "struct_athena_1_1_a_l_t_t_p_inventory.html#accb188cd67824fbe5f015ea26dfbdd78", null ], + [ "Boomerang", "struct_athena_1_1_a_l_t_t_p_inventory.html#abb454564fe7a2b16d6f5da270b5d7608", null ], + [ "Boots", "struct_athena_1_1_a_l_t_t_p_inventory.html#aded1fe802cbc7a30c45377ceb611f38e", null ], + [ "Bottles", "struct_athena_1_1_a_l_t_t_p_inventory.html#af0c4a599c6f5a31a1870b2b1b53ec5e5", null ], + [ "BottleTypes", "struct_athena_1_1_a_l_t_t_p_inventory.html#a6b5d9314ff0682b8134bdcb583e4f8bd", null ], + [ "Bow", "struct_athena_1_1_a_l_t_t_p_inventory.html#a1c4526cc9305628db873cf809978dba9", null ], + [ "BugNet", "struct_athena_1_1_a_l_t_t_p_inventory.html#a75b5d5d867347e856179d03c9c40d02a", null ], + [ "Byrna", "struct_athena_1_1_a_l_t_t_p_inventory.html#a4194cef260e3c7540006a379eeabfd94", null ], + [ "Ether", "struct_athena_1_1_a_l_t_t_p_inventory.html#a3d4857526a800857d76edfceb951ca13", null ], + [ "FireRod", "struct_athena_1_1_a_l_t_t_p_inventory.html#a237d5f6e48b3b298f6cb3c400f8684fb", null ], + [ "Flippers", "struct_athena_1_1_a_l_t_t_p_inventory.html#a0eb24b3d835473bfb4a77ce31745c3d3", null ], + [ "Flute", "struct_athena_1_1_a_l_t_t_p_inventory.html#a9e202e3552b9f9359321c2c4caff134d", null ], + [ "Gloves", "struct_athena_1_1_a_l_t_t_p_inventory.html#a98ed24bf758e2cb0223abb1677871b84", null ], + [ "Hammer", "struct_athena_1_1_a_l_t_t_p_inventory.html#a76eb6a7fecca1ca8ee0aadb91475fa7f", null ], + [ "Hookshot", "struct_athena_1_1_a_l_t_t_p_inventory.html#a5ef53edd42800fcf49f3be3ee1b811fc", null ], + [ "IceRod", "struct_athena_1_1_a_l_t_t_p_inventory.html#a92d046a2945420b1ac6e46ea45d99bfd", null ], + [ "Magic", "struct_athena_1_1_a_l_t_t_p_inventory.html#af5bafd293148cfcc3dfe3de2d11702f6", null ], + [ "MagicCape", "struct_athena_1_1_a_l_t_t_p_inventory.html#a527cb8486e06bd88a833a114652cae6f", null ], + [ "MagicMirror", "struct_athena_1_1_a_l_t_t_p_inventory.html#a4f0e715afd253edfb0d4fe534f33e16f", null ], + [ "MoonPearl", "struct_athena_1_1_a_l_t_t_p_inventory.html#a6aece087173dd4b15ab2a68601d072f5", null ], + [ "Quake", "struct_athena_1_1_a_l_t_t_p_inventory.html#aaaed9d47aae65b0dd443674bdb743651", null ], + [ "Shield", "struct_athena_1_1_a_l_t_t_p_inventory.html#a30a5e377efeb4b02e9114e09a36f847a", null ], + [ "Somaria", "struct_athena_1_1_a_l_t_t_p_inventory.html#a8bbb50c6dc8c9e99cbd5d33f24b6053a", null ], + [ "Sword", "struct_athena_1_1_a_l_t_t_p_inventory.html#ad86d7ca734b8fb7b114f6a0627d15650", null ], + [ "Torch", "struct_athena_1_1_a_l_t_t_p_inventory.html#a47701bdd3c61a5141de7dceb6a976ae5", null ], + [ "Unused", "struct_athena_1_1_a_l_t_t_p_inventory.html#a9b8c350c7aafef09cc8b0629920f7c84", null ] +]; \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_inventory__coll__graph.map b/docs/struct_athena_1_1_a_l_t_t_p_inventory__coll__graph.map new file mode 100644 index 0000000..2e19d53 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_inventory__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_inventory__coll__graph.md5 b/docs/struct_athena_1_1_a_l_t_t_p_inventory__coll__graph.md5 new file mode 100644 index 0000000..9f076af --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_inventory__coll__graph.md5 @@ -0,0 +1 @@ +e8d0a978644c5fe0a3efb6c9daa7dc74 \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_inventory__coll__graph.png b/docs/struct_athena_1_1_a_l_t_t_p_inventory__coll__graph.png new file mode 100644 index 0000000..4e7bb38 Binary files /dev/null and b/docs/struct_athena_1_1_a_l_t_t_p_inventory__coll__graph.png differ diff --git a/docs/struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator-members.html b/docs/struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator-members.html new file mode 100644 index 0000000..d26fa3c --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator-members.html @@ -0,0 +1,133 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ + + + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html b/docs/struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html new file mode 100644 index 0000000..2157937 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html @@ -0,0 +1,165 @@ + + + + + + +Athena IO Library: Athena::ALTTPLightDarkWorldIndicator Struct Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::ALTTPLightDarkWorldIndicator Struct Reference
+
+
+
+Collaboration diagram for Athena::ALTTPLightDarkWorldIndicator:
+
+
Collaboration graph
+
+ + + + + + + + + + + + + + + + + + +

+Public Attributes

+bool Unused1: 1
 
+bool Unused2: 1
 
+bool Unused3: 1
 
+bool Unused4: 1
 
+bool Unused5: 1
 
+bool Unused6: 1
 
+bool IsDarkWorld: 1
 
+bool Unused7: 1
 
+

Detailed Description

+
+

Definition at line 94 of file ALTTPStructs.hpp.

+

The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.js b/docs/struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.js new file mode 100644 index 0000000..9e5c05f --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.js @@ -0,0 +1,11 @@ +var struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator = +[ + [ "IsDarkWorld", "struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html#aabbd3b58883465f430e489cbffa2e753", null ], + [ "Unused1", "struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html#ae88c636b1f712831ce74ce47c528af38", null ], + [ "Unused2", "struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html#ac0140902b263c808ec0685ab9a71fc1a", null ], + [ "Unused3", "struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html#a29a50647aa80d9f036f6eab94fae8157", null ], + [ "Unused4", "struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html#a895af9f81f0f067c410ca70b361f51e4", null ], + [ "Unused5", "struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html#ac874e66bd9464d21325886b5e14f4781", null ], + [ "Unused6", "struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html#a795a21cf9783728021915adde8275945", null ], + [ "Unused7", "struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator.html#aca3d6c4d63e1a941b4e31ef848ef9121", null ] +]; \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator__coll__graph.map b/docs/struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator__coll__graph.map new file mode 100644 index 0000000..a201feb --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator__coll__graph.md5 b/docs/struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator__coll__graph.md5 new file mode 100644 index 0000000..4d20f3d --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator__coll__graph.md5 @@ -0,0 +1 @@ +c9aab64996b8774d6ab674cc5bb78e9f \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator__coll__graph.png b/docs/struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator__coll__graph.png new file mode 100644 index 0000000..04db684 Binary files /dev/null and b/docs/struct_athena_1_1_a_l_t_t_p_light_dark_world_indicator__coll__graph.png differ diff --git a/docs/struct_athena_1_1_a_l_t_t_p_magic_usage-members.html b/docs/struct_athena_1_1_a_l_t_t_p_magic_usage-members.html new file mode 100644 index 0000000..c1e2485 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_magic_usage-members.html @@ -0,0 +1,133 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::ALTTPMagicUsage Member List
+
+
+ +

This is the complete list of members for Athena::ALTTPMagicUsage, including all inherited members.

+ + + + + + + + + +
Half (defined in Athena::ALTTPMagicUsage)Athena::ALTTPMagicUsage
Normal (defined in Athena::ALTTPMagicUsage)Athena::ALTTPMagicUsage
Quarter (defined in Athena::ALTTPMagicUsage)Athena::ALTTPMagicUsage
Unused1 (defined in Athena::ALTTPMagicUsage)Athena::ALTTPMagicUsage
Unused2 (defined in Athena::ALTTPMagicUsage)Athena::ALTTPMagicUsage
Unused3 (defined in Athena::ALTTPMagicUsage)Athena::ALTTPMagicUsage
Unused4 (defined in Athena::ALTTPMagicUsage)Athena::ALTTPMagicUsage
Unused5 (defined in Athena::ALTTPMagicUsage)Athena::ALTTPMagicUsage
+
+ + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_magic_usage.html b/docs/struct_athena_1_1_a_l_t_t_p_magic_usage.html new file mode 100644 index 0000000..f79636e --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_magic_usage.html @@ -0,0 +1,165 @@ + + + + + + +Athena IO Library: Athena::ALTTPMagicUsage Struct Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::ALTTPMagicUsage Struct Reference
+
+
+
+Collaboration diagram for Athena::ALTTPMagicUsage:
+
+
Collaboration graph
+
+ + + + + + + + + + + + + + + + + + +

+Public Attributes

+bool Normal: 1
 
+bool Half: 1
 
+bool Quarter: 1
 
+bool Unused1: 1
 
+bool Unused2: 1
 
+bool Unused3: 1
 
+bool Unused4: 1
 
+bool Unused5: 1
 
+

Detailed Description

+
+

Definition at line 177 of file ALTTPStructs.hpp.

+

The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_magic_usage.js b/docs/struct_athena_1_1_a_l_t_t_p_magic_usage.js new file mode 100644 index 0000000..4c68003 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_magic_usage.js @@ -0,0 +1,11 @@ +var struct_athena_1_1_a_l_t_t_p_magic_usage = +[ + [ "Half", "struct_athena_1_1_a_l_t_t_p_magic_usage.html#aef4bb3b404d9b35641ad090f6eefd17a", null ], + [ "Normal", "struct_athena_1_1_a_l_t_t_p_magic_usage.html#a2181b8fdce91011252e845df1314835f", null ], + [ "Quarter", "struct_athena_1_1_a_l_t_t_p_magic_usage.html#a7c1bfedc3fac7c797a76cf6e91a01688", null ], + [ "Unused1", "struct_athena_1_1_a_l_t_t_p_magic_usage.html#afaca47bebf91441d6ee32e649d68ecf6", null ], + [ "Unused2", "struct_athena_1_1_a_l_t_t_p_magic_usage.html#a0d2be8e0ff3305c92ba904da7f7ba0e5", null ], + [ "Unused3", "struct_athena_1_1_a_l_t_t_p_magic_usage.html#aa062b06347d9d45a7ec5066ab13deba9", null ], + [ "Unused4", "struct_athena_1_1_a_l_t_t_p_magic_usage.html#a087f0b253b29b4b704f619e0ef699bb3", null ], + [ "Unused5", "struct_athena_1_1_a_l_t_t_p_magic_usage.html#a8c837cc5da24bab3a2bfc86c1cb20608", null ] +]; \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_magic_usage__coll__graph.map b/docs/struct_athena_1_1_a_l_t_t_p_magic_usage__coll__graph.map new file mode 100644 index 0000000..516c37d --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_magic_usage__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_magic_usage__coll__graph.md5 b/docs/struct_athena_1_1_a_l_t_t_p_magic_usage__coll__graph.md5 new file mode 100644 index 0000000..e220add --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_magic_usage__coll__graph.md5 @@ -0,0 +1 @@ +3a788cb3c67923020106dc87acb02a06 \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_magic_usage__coll__graph.png b/docs/struct_athena_1_1_a_l_t_t_p_magic_usage__coll__graph.png new file mode 100644 index 0000000..283b3aa Binary files /dev/null and b/docs/struct_athena_1_1_a_l_t_t_p_magic_usage__coll__graph.png differ diff --git a/docs/struct_athena_1_1_a_l_t_t_p_overworld_event-members.html b/docs/struct_athena_1_1_a_l_t_t_p_overworld_event-members.html new file mode 100644 index 0000000..c1454ad --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_overworld_event-members.html @@ -0,0 +1,133 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::ALTTPOverworldEvent Member List
+
+ +
+ + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_overworld_event.html b/docs/struct_athena_1_1_a_l_t_t_p_overworld_event.html new file mode 100644 index 0000000..4d86513 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_overworld_event.html @@ -0,0 +1,165 @@ + + + + + + +Athena IO Library: Athena::ALTTPOverworldEvent Struct Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::ALTTPOverworldEvent Struct Reference
+
+
+
+Collaboration diagram for Athena::ALTTPOverworldEvent:
+
+
Collaboration graph
+
+ + + + + + + + + + + + + + + + + + +

+Public Attributes

+bool Unused1: 1
 
+bool HeartPiece: 1
 
+bool Overlay: 1
 
+bool Unused2: 1
 
+bool Unused3: 1
 
+bool Unused4: 1
 
+bool Set: 1
 
+bool Unused5: 1
 
+

Detailed Description

+
+

Definition at line 47 of file ALTTPStructs.hpp.

+

The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_overworld_event.js b/docs/struct_athena_1_1_a_l_t_t_p_overworld_event.js new file mode 100644 index 0000000..ac2ee07 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_overworld_event.js @@ -0,0 +1,11 @@ +var struct_athena_1_1_a_l_t_t_p_overworld_event = +[ + [ "HeartPiece", "struct_athena_1_1_a_l_t_t_p_overworld_event.html#a9f50af5635e1aa88f737a57b9976cc66", null ], + [ "Overlay", "struct_athena_1_1_a_l_t_t_p_overworld_event.html#a2a77337ac1c466068aad7a8c081bca8e", null ], + [ "Set", "struct_athena_1_1_a_l_t_t_p_overworld_event.html#a246732065b61409c425545cb2cb42cf8", null ], + [ "Unused1", "struct_athena_1_1_a_l_t_t_p_overworld_event.html#ae4115fc241276a17c86500b2ae1eede3", null ], + [ "Unused2", "struct_athena_1_1_a_l_t_t_p_overworld_event.html#a469789ffd2b9e344f9e436d810a38552", null ], + [ "Unused3", "struct_athena_1_1_a_l_t_t_p_overworld_event.html#ae0aa2152ba13d9e75933b42fccb585f8", null ], + [ "Unused4", "struct_athena_1_1_a_l_t_t_p_overworld_event.html#ae95ce33f6bec513e4c121234ecbf3878", null ], + [ "Unused5", "struct_athena_1_1_a_l_t_t_p_overworld_event.html#a32317408757fe96d7fd992a700203adb", null ] +]; \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_overworld_event__coll__graph.map b/docs/struct_athena_1_1_a_l_t_t_p_overworld_event__coll__graph.map new file mode 100644 index 0000000..7b72471 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_overworld_event__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_overworld_event__coll__graph.md5 b/docs/struct_athena_1_1_a_l_t_t_p_overworld_event__coll__graph.md5 new file mode 100644 index 0000000..9c41d9d --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_overworld_event__coll__graph.md5 @@ -0,0 +1 @@ +93e728e73ea0e7d79885c39363a362e6 \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_overworld_event__coll__graph.png b/docs/struct_athena_1_1_a_l_t_t_p_overworld_event__coll__graph.png new file mode 100644 index 0000000..cd25a48 Binary files /dev/null and b/docs/struct_athena_1_1_a_l_t_t_p_overworld_event__coll__graph.png differ diff --git a/docs/struct_athena_1_1_a_l_t_t_p_pendants-members.html b/docs/struct_athena_1_1_a_l_t_t_p_pendants-members.html new file mode 100644 index 0000000..3700279 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_pendants-members.html @@ -0,0 +1,133 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::ALTTPPendants Member List
+
+
+ +

This is the complete list of members for Athena::ALTTPPendants, including all inherited members.

+ + + + + + + + + +
Courage (defined in Athena::ALTTPPendants)Athena::ALTTPPendants
Power (defined in Athena::ALTTPPendants)Athena::ALTTPPendants
Unused1 (defined in Athena::ALTTPPendants)Athena::ALTTPPendants
Unused2 (defined in Athena::ALTTPPendants)Athena::ALTTPPendants
Unused3 (defined in Athena::ALTTPPendants)Athena::ALTTPPendants
Unused4 (defined in Athena::ALTTPPendants)Athena::ALTTPPendants
Unused5 (defined in Athena::ALTTPPendants)Athena::ALTTPPendants
Wisdom (defined in Athena::ALTTPPendants)Athena::ALTTPPendants
+
+ + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_pendants.html b/docs/struct_athena_1_1_a_l_t_t_p_pendants.html new file mode 100644 index 0000000..3986f98 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_pendants.html @@ -0,0 +1,165 @@ + + + + + + +Athena IO Library: Athena::ALTTPPendants Struct Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::ALTTPPendants Struct Reference
+
+
+
+Collaboration diagram for Athena::ALTTPPendants:
+
+
Collaboration graph
+
+ + + + + + + + + + + + + + + + + + +

+Public Attributes

+bool Courage: 1
 
+bool Wisdom: 1
 
+bool Power: 1
 
+bool Unused1: 1
 
+bool Unused2: 1
 
+bool Unused3: 1
 
+bool Unused4: 1
 
+bool Unused5: 1
 
+

Detailed Description

+
+

Definition at line 142 of file ALTTPStructs.hpp.

+

The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_pendants.js b/docs/struct_athena_1_1_a_l_t_t_p_pendants.js new file mode 100644 index 0000000..3b896dc --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_pendants.js @@ -0,0 +1,11 @@ +var struct_athena_1_1_a_l_t_t_p_pendants = +[ + [ "Courage", "struct_athena_1_1_a_l_t_t_p_pendants.html#a568e84bb3bac4a75e890e6384d1362fd", null ], + [ "Power", "struct_athena_1_1_a_l_t_t_p_pendants.html#a34b75536236ce42180c83a9eae087b4f", null ], + [ "Unused1", "struct_athena_1_1_a_l_t_t_p_pendants.html#a180b9282592d733cdfbbdbec1904c488", null ], + [ "Unused2", "struct_athena_1_1_a_l_t_t_p_pendants.html#afd477ff94893505eaaac6926bf68a31f", null ], + [ "Unused3", "struct_athena_1_1_a_l_t_t_p_pendants.html#a7e692bc1e1fab6dfc90432267fa8e476", null ], + [ "Unused4", "struct_athena_1_1_a_l_t_t_p_pendants.html#aa698b17ce9761b37ba9c131ec602c630", null ], + [ "Unused5", "struct_athena_1_1_a_l_t_t_p_pendants.html#a7b25bf4b50aa1896393423f1a94275a7", null ], + [ "Wisdom", "struct_athena_1_1_a_l_t_t_p_pendants.html#a39a00ef8fae9ec75cfa5965f1e750621", null ] +]; \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_pendants__coll__graph.map b/docs/struct_athena_1_1_a_l_t_t_p_pendants__coll__graph.map new file mode 100644 index 0000000..6db0083 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_pendants__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_pendants__coll__graph.md5 b/docs/struct_athena_1_1_a_l_t_t_p_pendants__coll__graph.md5 new file mode 100644 index 0000000..18f1a17 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_pendants__coll__graph.md5 @@ -0,0 +1 @@ +335d7a3387a2a222dcd5ef0390c23cba \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_pendants__coll__graph.png b/docs/struct_athena_1_1_a_l_t_t_p_pendants__coll__graph.png new file mode 100644 index 0000000..df1df11 Binary files /dev/null and b/docs/struct_athena_1_1_a_l_t_t_p_pendants__coll__graph.png differ diff --git a/docs/struct_athena_1_1_a_l_t_t_p_progress_flags1-members.html b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags1-members.html new file mode 100644 index 0000000..8b0f78e --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags1-members.html @@ -0,0 +1,133 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::ALTTPProgressFlags1 Member List
+
+
+ +

This is the complete list of members for Athena::ALTTPProgressFlags1, including all inherited members.

+ + + + + + + + + +
BookOfMudora (defined in Athena::ALTTPProgressFlags1)Athena::ALTTPProgressFlags1
DwarfPartner (defined in Athena::ALTTPProgressFlags1)Athena::ALTTPProgressFlags1
DyingPriest (defined in Athena::ALTTPProgressFlags1)Athena::ALTTPProgressFlags1
UncleLeftHouse (defined in Athena::ALTTPProgressFlags1)Athena::ALTTPProgressFlags1
UncleSecretPassage (defined in Athena::ALTTPProgressFlags1)Athena::ALTTPProgressFlags1
Unused1 (defined in Athena::ALTTPProgressFlags1)Athena::ALTTPProgressFlags1
Unused2 (defined in Athena::ALTTPProgressFlags1)Athena::ALTTPProgressFlags1
ZeldaSanctuary (defined in Athena::ALTTPProgressFlags1)Athena::ALTTPProgressFlags1
+
+ + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_progress_flags1.html b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags1.html new file mode 100644 index 0000000..09f1959 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags1.html @@ -0,0 +1,165 @@ + + + + + + +Athena IO Library: Athena::ALTTPProgressFlags1 Struct Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::ALTTPProgressFlags1 Struct Reference
+
+
+
+Collaboration diagram for Athena::ALTTPProgressFlags1:
+
+
Collaboration graph
+
+ + + + + + + + + + + + + + + + + + +

+Public Attributes

+bool UncleSecretPassage: 1
 
+bool DyingPriest: 1
 
+bool ZeldaSanctuary: 1
 
+bool Unused1: 1
 
+bool UncleLeftHouse: 1
 
+bool BookOfMudora: 1
 
+bool DwarfPartner: 1
 
+bool Unused2: 1
 
+

Detailed Description

+
+

Definition at line 190 of file ALTTPStructs.hpp.

+

The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_progress_flags1.js b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags1.js new file mode 100644 index 0000000..bdce361 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags1.js @@ -0,0 +1,11 @@ +var struct_athena_1_1_a_l_t_t_p_progress_flags1 = +[ + [ "BookOfMudora", "struct_athena_1_1_a_l_t_t_p_progress_flags1.html#a9a18378e5b08de0c10cf7cd03b0e6639", null ], + [ "DwarfPartner", "struct_athena_1_1_a_l_t_t_p_progress_flags1.html#aaf52441b5b4dfb4e3f44645f823cfe4c", null ], + [ "DyingPriest", "struct_athena_1_1_a_l_t_t_p_progress_flags1.html#add48384ba7a8fdcd0be4a0a6d4349eff", null ], + [ "UncleLeftHouse", "struct_athena_1_1_a_l_t_t_p_progress_flags1.html#a9147c1d9ebfe08b911e519f162ebbaf5", null ], + [ "UncleSecretPassage", "struct_athena_1_1_a_l_t_t_p_progress_flags1.html#a0b6d22235d6b85ad4ef912db632d429c", null ], + [ "Unused1", "struct_athena_1_1_a_l_t_t_p_progress_flags1.html#affcb4ef69bf0dac5f9f77799dbd09a4f", null ], + [ "Unused2", "struct_athena_1_1_a_l_t_t_p_progress_flags1.html#ad27cff8f135e44da5568442782ee33ea", null ], + [ "ZeldaSanctuary", "struct_athena_1_1_a_l_t_t_p_progress_flags1.html#a126b8eb307618e4f33708bd2969f6ded", null ] +]; \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_progress_flags1__coll__graph.map b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags1__coll__graph.map new file mode 100644 index 0000000..0347835 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags1__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_progress_flags1__coll__graph.md5 b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags1__coll__graph.md5 new file mode 100644 index 0000000..f22a353 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags1__coll__graph.md5 @@ -0,0 +1 @@ +716d5be7fe35b97bdd7de750abe66080 \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_progress_flags1__coll__graph.png b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags1__coll__graph.png new file mode 100644 index 0000000..64e4440 Binary files /dev/null and b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags1__coll__graph.png differ diff --git a/docs/struct_athena_1_1_a_l_t_t_p_progress_flags2-members.html b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags2-members.html new file mode 100644 index 0000000..ce10d17 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags2-members.html @@ -0,0 +1,133 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::ALTTPProgressFlags2 Member List
+
+
+ +

This is the complete list of members for Athena::ALTTPProgressFlags2, including all inherited members.

+ + + + + + + + + +
BottleFromBum (defined in Athena::ALTTPProgressFlags2)Athena::ALTTPProgressFlags2
BottleFromSalesMen (defined in Athena::ALTTPProgressFlags2)Athena::ALTTPProgressFlags2
FluteBoy (defined in Athena::ALTTPProgressFlags2)Athena::ALTTPProgressFlags2
SavedSmithPartner (defined in Athena::ALTTPProgressFlags2)Athena::ALTTPProgressFlags2
SmithsHaveSword (defined in Athena::ALTTPProgressFlags2)Athena::ALTTPProgressFlags2
ThiefsChest (defined in Athena::ALTTPProgressFlags2)Athena::ALTTPProgressFlags2
Unused1 (defined in Athena::ALTTPProgressFlags2)Athena::ALTTPProgressFlags2
Unused2 (defined in Athena::ALTTPProgressFlags2)Athena::ALTTPProgressFlags2
+
+ + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_progress_flags2.html b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags2.html new file mode 100644 index 0000000..c6630f9 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags2.html @@ -0,0 +1,165 @@ + + + + + + +Athena IO Library: Athena::ALTTPProgressFlags2 Struct Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::ALTTPProgressFlags2 Struct Reference
+
+
+
+Collaboration diagram for Athena::ALTTPProgressFlags2:
+
+
Collaboration graph
+
+ + + + + + + + + + + + + + + + + + +

+Public Attributes

+bool BottleFromBum: 1
 
+bool BottleFromSalesMen: 1
 
+bool Unused1: 1
 
+bool FluteBoy: 1
 
+bool ThiefsChest: 1
 
+bool SavedSmithPartner: 1
 
+bool Unused2: 1
 
+bool SmithsHaveSword: 1
 
+

Detailed Description

+
+

Definition at line 203 of file ALTTPStructs.hpp.

+

The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_progress_flags2.js b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags2.js new file mode 100644 index 0000000..bbe600a --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags2.js @@ -0,0 +1,11 @@ +var struct_athena_1_1_a_l_t_t_p_progress_flags2 = +[ + [ "BottleFromBum", "struct_athena_1_1_a_l_t_t_p_progress_flags2.html#a49f8afc9077aa1d9fcf8d9023564fdb3", null ], + [ "BottleFromSalesMen", "struct_athena_1_1_a_l_t_t_p_progress_flags2.html#ab8be5b7f87a206882ca1220d903d416c", null ], + [ "FluteBoy", "struct_athena_1_1_a_l_t_t_p_progress_flags2.html#aa794e6b966a0b5669f55c5948c20bafa", null ], + [ "SavedSmithPartner", "struct_athena_1_1_a_l_t_t_p_progress_flags2.html#a352b3ac62c19af83b2b8eca1f0a9ee49", null ], + [ "SmithsHaveSword", "struct_athena_1_1_a_l_t_t_p_progress_flags2.html#af3af3d6dd15b929df30ce3659f34a5b8", null ], + [ "ThiefsChest", "struct_athena_1_1_a_l_t_t_p_progress_flags2.html#a0fc3e95c26ef3bb15c4fa96f0ff18b0e", null ], + [ "Unused1", "struct_athena_1_1_a_l_t_t_p_progress_flags2.html#a8daa9283e0d8a63f0fc4577847798f91", null ], + [ "Unused2", "struct_athena_1_1_a_l_t_t_p_progress_flags2.html#aec1efde39fa24f804875802a9ae55318", null ] +]; \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_progress_flags2__coll__graph.map b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags2__coll__graph.map new file mode 100644 index 0000000..c6fda8a --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags2__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_progress_flags2__coll__graph.md5 b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags2__coll__graph.md5 new file mode 100644 index 0000000..c5fff08 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags2__coll__graph.md5 @@ -0,0 +1 @@ +69816ddfb11c3849e26928a0d75d797d \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_progress_flags2__coll__graph.png b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags2__coll__graph.png new file mode 100644 index 0000000..b0d3f23 Binary files /dev/null and b/docs/struct_athena_1_1_a_l_t_t_p_progress_flags2__coll__graph.png differ diff --git a/docs/struct_athena_1_1_a_l_t_t_p_room_flags-members.html b/docs/struct_athena_1_1_a_l_t_t_p_room_flags-members.html new file mode 100644 index 0000000..b3ff3f9 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_room_flags-members.html @@ -0,0 +1,141 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::ALTTPRoomFlags Member List
+
+ +
+ + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_room_flags.html b/docs/struct_athena_1_1_a_l_t_t_p_room_flags.html new file mode 100644 index 0000000..0ce36d9 --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_room_flags.html @@ -0,0 +1,189 @@ + + + + + + +Athena IO Library: Athena::ALTTPRoomFlags Struct Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::ALTTPRoomFlags Struct Reference
+
+
+
+Collaboration diagram for Athena::ALTTPRoomFlags:
+
+
Collaboration graph
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+bool Chest1: 1
 
+bool Chest2: 1
 
+bool Chest3: 1
 
+bool Chest4: 1
 
+bool Quadrant1: 1
 
+bool Quadrant2: 1
 
+bool Quadrant3: 1
 
+bool Quadrant4: 1
 
+bool Door1: 1
 
+bool Door2: 1
 
+bool Door3: 1
 
+bool Door4: 1
 
+bool BossBattleWon: 1
 
+bool Key: 1
 
+bool KeyOrChest: 1
 
+bool ChestOrTile: 1
 
+

Detailed Description

+
+

Definition at line 27 of file ALTTPStructs.hpp.

+

The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_room_flags.js b/docs/struct_athena_1_1_a_l_t_t_p_room_flags.js new file mode 100644 index 0000000..e0fcfdf --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_room_flags.js @@ -0,0 +1,19 @@ +var struct_athena_1_1_a_l_t_t_p_room_flags = +[ + [ "BossBattleWon", "struct_athena_1_1_a_l_t_t_p_room_flags.html#ac8d61bf55c04ce4ba9932ab4aee493d5", null ], + [ "Chest1", "struct_athena_1_1_a_l_t_t_p_room_flags.html#af98cc7c41f84a8750f1a6901b672e3d5", null ], + [ "Chest2", "struct_athena_1_1_a_l_t_t_p_room_flags.html#a77d8c83602fbc34c7f0f7d267b9c7b7e", null ], + [ "Chest3", "struct_athena_1_1_a_l_t_t_p_room_flags.html#a66a2a90ac233540342ee52153bdc41d1", null ], + [ "Chest4", "struct_athena_1_1_a_l_t_t_p_room_flags.html#a1d3ad44f684cab2cb71599be7ff1e879", null ], + [ "ChestOrTile", "struct_athena_1_1_a_l_t_t_p_room_flags.html#a30869c0f483edc515470ec72b902112a", null ], + [ "Door1", "struct_athena_1_1_a_l_t_t_p_room_flags.html#a500d0af0545ce45622f1ca561903303f", null ], + [ "Door2", "struct_athena_1_1_a_l_t_t_p_room_flags.html#add8415f48b3db0f6d037a817384164f5", null ], + [ "Door3", "struct_athena_1_1_a_l_t_t_p_room_flags.html#a74091a89c3a9642013cdff2f53c64e89", null ], + [ "Door4", "struct_athena_1_1_a_l_t_t_p_room_flags.html#a302f2c014d80f7d125b75aa0440ae07a", null ], + [ "Key", "struct_athena_1_1_a_l_t_t_p_room_flags.html#a1e22167bc4f348b19d49425a2c7c6820", null ], + [ "KeyOrChest", "struct_athena_1_1_a_l_t_t_p_room_flags.html#a133de35cbf0cbf18a52f727b4da7ee07", null ], + [ "Quadrant1", "struct_athena_1_1_a_l_t_t_p_room_flags.html#a57e09d2b6a846098311283e62f49f906", null ], + [ "Quadrant2", "struct_athena_1_1_a_l_t_t_p_room_flags.html#a6aa0ad2be45ded554ee2249a73d718fe", null ], + [ "Quadrant3", "struct_athena_1_1_a_l_t_t_p_room_flags.html#af09a8f9bd29122f6b377bb977d35bc0d", null ], + [ "Quadrant4", "struct_athena_1_1_a_l_t_t_p_room_flags.html#a7f203e83ce67d113bda1956f3bbaeb9f", null ] +]; \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_room_flags__coll__graph.map b/docs/struct_athena_1_1_a_l_t_t_p_room_flags__coll__graph.map new file mode 100644 index 0000000..50a818d --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_room_flags__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/struct_athena_1_1_a_l_t_t_p_room_flags__coll__graph.md5 b/docs/struct_athena_1_1_a_l_t_t_p_room_flags__coll__graph.md5 new file mode 100644 index 0000000..14071dd --- /dev/null +++ b/docs/struct_athena_1_1_a_l_t_t_p_room_flags__coll__graph.md5 @@ -0,0 +1 @@ +37040395fae7646c3b248a7720db8f11 \ No newline at end of file diff --git a/docs/struct_athena_1_1_a_l_t_t_p_room_flags__coll__graph.png b/docs/struct_athena_1_1_a_l_t_t_p_room_flags__coll__graph.png new file mode 100644 index 0000000..63e65b6 Binary files /dev/null and b/docs/struct_athena_1_1_a_l_t_t_p_room_flags__coll__graph.png differ diff --git a/docs/struct_athena_1_1_sakura_1_1_s_texture-members.html b/docs/struct_athena_1_1_sakura_1_1_s_texture-members.html new file mode 100644 index 0000000..393c765 --- /dev/null +++ b/docs/struct_athena_1_1_sakura_1_1_s_texture-members.html @@ -0,0 +1,127 @@ + + + + + + +Athena IO Library: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Athena::Sakura::STexture Member List
+
+
+ +

This is the complete list of members for Athena::Sakura::STexture, including all inherited members.

+ + + +
Filepath (defined in Athena::Sakura::STexture)Athena::Sakura::STexture
Preload (defined in Athena::Sakura::STexture)Athena::Sakura::STexture
+
+ + + + diff --git a/docs/struct_athena_1_1_sakura_1_1_s_texture.html b/docs/struct_athena_1_1_sakura_1_1_s_texture.html new file mode 100644 index 0000000..69c6bc8 --- /dev/null +++ b/docs/struct_athena_1_1_sakura_1_1_s_texture.html @@ -0,0 +1,147 @@ + + + + + + +Athena IO Library: Athena::Sakura::STexture Struct Reference + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Athena IO Library +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Athena::Sakura::STexture Struct Reference
+
+
+
+Collaboration diagram for Athena::Sakura::STexture:
+
+
Collaboration graph
+
+ + + + + + +

+Public Attributes

+std::string Filepath
 
+bool Preload
 
+

Detailed Description

+
+

Definition at line 38 of file SpriteFile.hpp.

+

The documentation for this struct was generated from the following file: +
+
+ + + + diff --git a/docs/struct_athena_1_1_sakura_1_1_s_texture.js b/docs/struct_athena_1_1_sakura_1_1_s_texture.js new file mode 100644 index 0000000..f922532 --- /dev/null +++ b/docs/struct_athena_1_1_sakura_1_1_s_texture.js @@ -0,0 +1,5 @@ +var struct_athena_1_1_sakura_1_1_s_texture = +[ + [ "Filepath", "struct_athena_1_1_sakura_1_1_s_texture.html#ad22bf0259603c7c7dd47ddd49dc15af1", null ], + [ "Preload", "struct_athena_1_1_sakura_1_1_s_texture.html#a2c5976f62bc8cfea88272e5069f7613a", null ] +]; \ No newline at end of file diff --git a/docs/struct_athena_1_1_sakura_1_1_s_texture__coll__graph.map b/docs/struct_athena_1_1_sakura_1_1_s_texture__coll__graph.map new file mode 100644 index 0000000..ce0d2ee --- /dev/null +++ b/docs/struct_athena_1_1_sakura_1_1_s_texture__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/docs/struct_athena_1_1_sakura_1_1_s_texture__coll__graph.md5 b/docs/struct_athena_1_1_sakura_1_1_s_texture__coll__graph.md5 new file mode 100644 index 0000000..78ff224 --- /dev/null +++ b/docs/struct_athena_1_1_sakura_1_1_s_texture__coll__graph.md5 @@ -0,0 +1 @@ +7faaac8093ccde0cac2b6d85383ad2f6 \ No newline at end of file diff --git a/docs/struct_athena_1_1_sakura_1_1_s_texture__coll__graph.png b/docs/struct_athena_1_1_sakura_1_1_s_texture__coll__graph.png new file mode 100644 index 0000000..248bd30 Binary files /dev/null and b/docs/struct_athena_1_1_sakura_1_1_s_texture__coll__graph.png differ diff --git a/docs/sync_off.png b/docs/sync_off.png new file mode 100644 index 0000000..5c162c9 Binary files /dev/null and b/docs/sync_off.png differ diff --git a/docs/sync_on.png b/docs/sync_on.png new file mode 100644 index 0000000..710481f Binary files /dev/null and b/docs/sync_on.png differ diff --git a/docs/tab_a.png b/docs/tab_a.png new file mode 100644 index 0000000..6311d32 Binary files /dev/null and b/docs/tab_a.png differ diff --git a/docs/tab_b.png b/docs/tab_b.png new file mode 100644 index 0000000..5df2c72 Binary files /dev/null and b/docs/tab_b.png differ diff --git a/docs/tab_h.png b/docs/tab_h.png new file mode 100644 index 0000000..a05f78b Binary files /dev/null and b/docs/tab_h.png differ diff --git a/docs/tab_s.png b/docs/tab_s.png new file mode 100644 index 0000000..fd9c18d Binary files /dev/null and b/docs/tab_s.png differ diff --git a/docs/tabs.css b/docs/tabs.css new file mode 100644 index 0000000..a512128 --- /dev/null +++ b/docs/tabs.css @@ -0,0 +1,60 @@ +.tabs, .tabs2, .tabs3 { + background-image: url('tab_b.png'); + width: 100%; + z-index: 101; + font-size: 13px; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +} + +.tabs2 { + font-size: 10px; +} +.tabs3 { + font-size: 9px; +} + +.tablist { + margin: 0; + padding: 0; + display: table; +} + +.tablist li { + float: left; + display: table-cell; + background-image: url('tab_b.png'); + line-height: 36px; + list-style: none; +} + +.tablist a { + display: block; + padding: 0 20px; + font-weight: bold; + background-image:url('tab_s.png'); + background-repeat:no-repeat; + background-position:right; + color: #313744; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; + outline: none; +} + +.tabs3 .tablist a { + padding: 0 10px; +} + +.tablist a:hover { + background-image: url('tab_h.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); + text-decoration: none; +} + +.tablist li.current a { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +}