mirror of https://github.com/libAthena/athena.git
158 lines
40 KiB
HTML
158 lines
40 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.11"/>
|
|
<title>Athena IO Library: include/athena/ZQuestFile.hpp Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(initResizable);
|
|
$(window).load(resizeHeight);
|
|
</script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() { init_search(); });
|
|
</script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">Athena IO Library
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.11 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="files.html"><span>File List</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){initNavTree('_z_quest_file_8hpp_source.html','');});
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">ZQuestFile.hpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef ATHENA_NO_ZQUEST</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// This file is part of libAthena.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">//</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// libAthena is free software: you can redistribute it and/or modify</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// it under the terms of the GNU General Public License as published by</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// the Free Software Foundation, either version 3 of the License, or</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// (at your option) any later version.</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// libAthena is distributed in the hope that it will be useful,</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// GNU General Public License for more details.</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">//</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// You should have received a copy of the GNU General Public License</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// along with libAthena. If not, see <http://www.gnu.org/licenses/></span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef ZQUEST_HPP</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define ZQUEST_HPP</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "athena/Global.hpp"</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <memory></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#define ZQUEST_VERSION_CHECK(major, minor, revision) \</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor"> (major | (minor << 8) | (revision << 16))</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">namespace </span><a class="code" href="namespaceathena.html">athena</a></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> {</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html"> 34</a></span> <span class="keyword">class </span><a class="code" href="classathena_1_1_z_quest_file.html">ZQuestFile</a></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#afd04e66aeec19eb08273c601757173b8"> 40</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> atUint32 <a class="code" href="classathena_1_1_z_quest_file.html#afd04e66aeec19eb08273c601757173b8">Major</a>;</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#ab6d6208c4d5c16e23fd4d8cba186a71e"> 44</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> atUint32 <a class="code" href="classathena_1_1_z_quest_file.html#ab6d6208c4d5c16e23fd4d8cba186a71e">Minor</a>;</div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#af7497f3b46e94769359fb21849089060"> 48</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> atUint32 <a class="code" href="classathena_1_1_z_quest_file.html#af7497f3b46e94769359fb21849089060">Revision</a>;</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#a8e4134fd492740304adaac603d79e3be"> 52</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> atUint32 <a class="code" href="classathena_1_1_z_quest_file.html#a8e4134fd492740304adaac603d79e3be">Version</a>;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#a91268ff767f73ed703f2b0eebf947c81"> 57</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> atUint32 <a class="code" href="classathena_1_1_z_quest_file.html#a91268ff767f73ed703f2b0eebf947c81">Magic</a>;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92b"> 63</a></span>  <span class="keyword">enum</span> <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92b">Game</a></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  {</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92baff1ada17bbc7866033c5ed575ccdb180"> 65</a></span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92baff1ada17bbc7866033c5ed575ccdb180">NoGame</a>, </div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bae59b4295725dd3e20718d831ab5f8e38"> 66</a></span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bae59b4295725dd3e20718d831ab5f8e38">LoZ</a>, </div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bad379f8bbf9694c18ef98c1e560519201"> 67</a></span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bad379f8bbf9694c18ef98c1e560519201">AoL</a>, </div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92baed072975c4cd28cfc139ef8092bf6068"> 68</a></span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92baed072975c4cd28cfc139ef8092bf6068">ALttP</a>, </div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bafecce45fe8ffa775e86aadf5873c1422"> 69</a></span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bafecce45fe8ffa775e86aadf5873c1422">LA</a>, </div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba42f63a0335ea97ce9f6a07f965658ba7"> 70</a></span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba42f63a0335ea97ce9f6a07f965658ba7">OoT</a>, </div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bad641366da92e34f0ad1ac039ccd6c739"> 71</a></span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bad641366da92e34f0ad1ac039ccd6c739">OoT3D</a>, </div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba4c8342a63512be0a221ad5ff883a5e73"> 72</a></span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba4c8342a63512be0a221ad5ff883a5e73">MM</a>, </div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bad2517eb0a4731b899b36a32ac9553049"> 73</a></span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bad2517eb0a4731b899b36a32ac9553049">OoS</a>, </div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92baa773dac297267b7ccd2e377da55de48f"> 74</a></span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92baa773dac297267b7ccd2e377da55de48f">OoA</a>, </div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba42b3a8a28da7a3964f7fdd20f882f80c"> 75</a></span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba42b3a8a28da7a3964f7fdd20f882f80c">FS</a>, </div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bad811b56a0a960a2f4b06247da51de10f"> 76</a></span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bad811b56a0a960a2f4b06247da51de10f">WW</a>, </div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba641ae3636cef076710a7d752b1e1e299"> 77</a></span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba641ae3636cef076710a7d752b1e1e299">FSA</a>, </div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba6c1c51262106d8dfa607fe4e3ddb14f3"> 78</a></span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba6c1c51262106d8dfa607fe4e3ddb14f3">MC</a>, </div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba041b7d9329c95066a994abff457b53fd"> 79</a></span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba041b7d9329c95066a994abff457b53fd">TP</a>, </div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba1a3584aba25f0d7033d091562bb42a4b"> 80</a></span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba1a3584aba25f0d7033d091562bb42a4b">PH</a>, </div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bac1ad815d4278fae22b51a4f3e23bba91"> 81</a></span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bac1ad815d4278fae22b51a4f3e23bba91">ST</a>, </div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba5f6aafc3ec7edf7532f070d44304bff6"> 82</a></span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba5f6aafc3ec7edf7532f070d44304bff6">SS</a>, </div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba983c520bc406c73522b2f96d964c832d"> 83</a></span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba983c520bc406c73522b2f96d964c832d">ALBW</a>, </div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="comment">// Add more games here</span></div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="comment">// This must always be last</span></div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba6655179eca8d417ece2a5739066e3300"> 87</a></span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba6655179eca8d417ece2a5739066e3300">GameCount</a> </div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  };</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <a class="code" href="classathena_1_1_z_quest_file.html#aba3990131a19907f17947d1e42e168fa">ZQuestFile</a>();</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <a class="code" href="classathena_1_1_z_quest_file.html#aba3990131a19907f17947d1e42e168fa">ZQuestFile</a>(<a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92b">Game</a> <a class="code" href="classathena_1_1_z_quest_file.html#ab44ce802b398e5d8ef89a06144e5d5fa">game</a>, Endian <a class="code" href="classathena_1_1_z_quest_file.html#ada2732548478a0c16bf4a75382976b3f">endian</a>, std::unique_ptr<atUint8[]>&& <a class="code" href="classathena_1_1_z_quest_file.html#a3d1e224415a790c3ba4f20531256fec7">data</a>, atUint32 <a class="code" href="classathena_1_1_z_quest_file.html#afda5477a5edf2ad48dad703d60df8e88">length</a>, <span class="keyword">const</span> std::string& <a class="code" href="classathena_1_1_z_quest_file.html#a7c7825a6c97402d6aca343e72e89a22f">gameString</a> = std::string());</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordtype">void</span> <a class="code" href="classathena_1_1_z_quest_file.html#aca5386a08dc5d26510a098ad61b01976">setGame</a>(<a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92b">Game</a> game);</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92b">Game</a> <a class="code" href="classathena_1_1_z_quest_file.html#ab44ce802b398e5d8ef89a06144e5d5fa">game</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> </div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordtype">void</span> <a class="code" href="classathena_1_1_z_quest_file.html#a79e7d3754b0d9cb3f040f98c7d966426">setEndian</a>(Endian endian);</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  Endian <a class="code" href="classathena_1_1_z_quest_file.html#ada2732548478a0c16bf4a75382976b3f">endian</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordtype">void</span> <a class="code" href="classathena_1_1_z_quest_file.html#ab098e03596bc352412299355ae4a79f7">setData</a>(std::unique_ptr<atUint8[]>&& <a class="code" href="classathena_1_1_z_quest_file.html#a3d1e224415a790c3ba4f20531256fec7">data</a>, atUint32 length);</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  atUint8* <a class="code" href="classathena_1_1_z_quest_file.html#a3d1e224415a790c3ba4f20531256fec7">data</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  atUint32 <a class="code" href="classathena_1_1_z_quest_file.html#afda5477a5edf2ad48dad703d60df8e88">length</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordtype">void</span> setGameString(<span class="keyword">const</span> std::string& <a class="code" href="classathena_1_1_z_quest_file.html#a7c7825a6c97402d6aca343e72e89a22f">gameString</a>);</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  std::string <a class="code" href="classathena_1_1_z_quest_file.html#a7c7825a6c97402d6aca343e72e89a22f">gameString</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> </div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keyword">static</span> <span class="keyword">const</span> std::vector<std::string> gameStringList();</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <a class="code" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92b">Game</a> m_game;</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  std::string m_gameString;</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  Endian m_endian;</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  std::unique_ptr<atUint8[]> m_data;</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  atUint32 m_length;</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span> </div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="comment">// Game strings support</span></div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span> };</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span> } <span class="comment">// zelda</span></div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="preprocessor">#endif // ZQUEST_HPP</span></div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="preprocessor">#endif // ATHENA_NO_ZQUEST</span></div><div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92ba42b3a8a28da7a3964f7fdd20f882f80c"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba42b3a8a28da7a3964f7fdd20f882f80c">athena::ZQuestFile::FS</a></div><div class="ttdoc">Four Swords. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00075">ZQuestFile.hpp:75</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92ba983c520bc406c73522b2f96d964c832d"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba983c520bc406c73522b2f96d964c832d">athena::ZQuestFile::ALBW</a></div><div class="ttdoc">A Link Between Worlds. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00083">ZQuestFile.hpp:83</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_ab6d6208c4d5c16e23fd4d8cba186a71e"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#ab6d6208c4d5c16e23fd4d8cba186a71e">athena::ZQuestFile::Minor</a></div><div class="ttdeci">static const atUint32 Minor</div><div class="ttdoc">The current minor version of the ZQuest format. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00044">ZQuestFile.hpp:44</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_ab098e03596bc352412299355ae4a79f7"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#ab098e03596bc352412299355ae4a79f7">athena::ZQuestFile::setData</a></div><div class="ttdeci">void setData(std::unique_ptr< atUint8[]> &&data, atUint32 length)</div><div class="ttdoc">setData </div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92b"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92b">athena::ZQuestFile::Game</a></div><div class="ttdeci">Game</div><div class="ttdoc">The list of games currently supported by ZQuest. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00063">ZQuestFile.hpp:63</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92bad811b56a0a960a2f4b06247da51de10f"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bad811b56a0a960a2f4b06247da51de10f">athena::ZQuestFile::WW</a></div><div class="ttdoc">Wind Waker. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00076">ZQuestFile.hpp:76</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aca5386a08dc5d26510a098ad61b01976"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aca5386a08dc5d26510a098ad61b01976">athena::ZQuestFile::setGame</a></div><div class="ttdeci">void setGame(Game game)</div><div class="ttdoc">setGame </div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html"><div class="ttname"><a href="classathena_1_1_z_quest_file.html">athena::ZQuestFile</a></div><div class="ttdoc">ZQuestFile is an export format for save data. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00034">ZQuestFile.hpp:34</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92bac1ad815d4278fae22b51a4f3e23bba91"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bac1ad815d4278fae22b51a4f3e23bba91">athena::ZQuestFile::ST</a></div><div class="ttdoc">Spirit Tracks. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00081">ZQuestFile.hpp:81</a></div></div>
|
|
<div class="ttc" id="namespaceathena_html"><div class="ttname"><a href="namespaceathena.html">athena</a></div><div class="ttdef"><b>Definition:</b> <a href="_a_l_t_t_p_enums_8hpp_source.html#l00006">ALTTPEnums.hpp:6</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92ba1a3584aba25f0d7033d091562bb42a4b"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba1a3584aba25f0d7033d091562bb42a4b">athena::ZQuestFile::PH</a></div><div class="ttdoc">Phantom Hourglass. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00080">ZQuestFile.hpp:80</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_a7c7825a6c97402d6aca343e72e89a22f"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#a7c7825a6c97402d6aca343e72e89a22f">athena::ZQuestFile::gameString</a></div><div class="ttdeci">std::string gameString() const </div><div class="ttdoc">gameString </div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92bae59b4295725dd3e20718d831ab5f8e38"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bae59b4295725dd3e20718d831ab5f8e38">athena::ZQuestFile::LoZ</a></div><div class="ttdoc">Legend of Zelda. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00066">ZQuestFile.hpp:66</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92baed072975c4cd28cfc139ef8092bf6068"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92baed072975c4cd28cfc139ef8092bf6068">athena::ZQuestFile::ALttP</a></div><div class="ttdoc">A Link to the Past. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00068">ZQuestFile.hpp:68</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92ba041b7d9329c95066a994abff457b53fd"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba041b7d9329c95066a994abff457b53fd">athena::ZQuestFile::TP</a></div><div class="ttdoc">Twilight Princess. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00079">ZQuestFile.hpp:79</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_afd04e66aeec19eb08273c601757173b8"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#afd04e66aeec19eb08273c601757173b8">athena::ZQuestFile::Major</a></div><div class="ttdeci">static const atUint32 Major</div><div class="ttdoc">The current major version of the ZQuest format. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00040">ZQuestFile.hpp:40</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92ba5f6aafc3ec7edf7532f070d44304bff6"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba5f6aafc3ec7edf7532f070d44304bff6">athena::ZQuestFile::SS</a></div><div class="ttdoc">Skyward Sword. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00082">ZQuestFile.hpp:82</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_a91268ff767f73ed703f2b0eebf947c81"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#a91268ff767f73ed703f2b0eebf947c81">athena::ZQuestFile::Magic</a></div><div class="ttdeci">static const atUint32 Magic</div><div class="ttdoc">The magic number used to identify the file e.g. "ZQS1". </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00057">ZQuestFile.hpp:57</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_af7497f3b46e94769359fb21849089060"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#af7497f3b46e94769359fb21849089060">athena::ZQuestFile::Revision</a></div><div class="ttdeci">static const atUint32 Revision</div><div class="ttdoc">The current revision of the ZQuest format. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00048">ZQuestFile.hpp:48</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92bad641366da92e34f0ad1ac039ccd6c739"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bad641366da92e34f0ad1ac039ccd6c739">athena::ZQuestFile::OoT3D</a></div><div class="ttdoc">Ocarina of Time 3D. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00071">ZQuestFile.hpp:71</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_ada2732548478a0c16bf4a75382976b3f"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#ada2732548478a0c16bf4a75382976b3f">athena::ZQuestFile::endian</a></div><div class="ttdeci">Endian endian() const </div><div class="ttdoc">endian </div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aba3990131a19907f17947d1e42e168fa"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aba3990131a19907f17947d1e42e168fa">athena::ZQuestFile::ZQuestFile</a></div><div class="ttdeci">ZQuestFile()</div><div class="ttdoc">ZQuest. </div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92bafecce45fe8ffa775e86aadf5873c1422"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bafecce45fe8ffa775e86aadf5873c1422">athena::ZQuestFile::LA</a></div><div class="ttdoc">Links Awakening. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00069">ZQuestFile.hpp:69</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92ba42f63a0335ea97ce9f6a07f965658ba7"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba42f63a0335ea97ce9f6a07f965658ba7">athena::ZQuestFile::OoT</a></div><div class="ttdoc">Ocarin of Time. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00070">ZQuestFile.hpp:70</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_a8e4134fd492740304adaac603d79e3be"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#a8e4134fd492740304adaac603d79e3be">athena::ZQuestFile::Version</a></div><div class="ttdeci">static const atUint32 Version</div><div class="ttdoc">The current version of the ZQuest format. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00052">ZQuestFile.hpp:52</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_a3d1e224415a790c3ba4f20531256fec7"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#a3d1e224415a790c3ba4f20531256fec7">athena::ZQuestFile::data</a></div><div class="ttdeci">atUint8 * data() const </div><div class="ttdoc">data </div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92bad379f8bbf9694c18ef98c1e560519201"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bad379f8bbf9694c18ef98c1e560519201">athena::ZQuestFile::AoL</a></div><div class="ttdoc">Adventure of Link. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00067">ZQuestFile.hpp:67</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92baa773dac297267b7ccd2e377da55de48f"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92baa773dac297267b7ccd2e377da55de48f">athena::ZQuestFile::OoA</a></div><div class="ttdoc">Oracle of Ages. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00074">ZQuestFile.hpp:74</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92ba6655179eca8d417ece2a5739066e3300"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba6655179eca8d417ece2a5739066e3300">athena::ZQuestFile::GameCount</a></div><div class="ttdoc">Total number of supported games. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00087">ZQuestFile.hpp:87</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92ba6c1c51262106d8dfa607fe4e3ddb14f3"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba6c1c51262106d8dfa607fe4e3ddb14f3">athena::ZQuestFile::MC</a></div><div class="ttdoc">Minish Cap. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00078">ZQuestFile.hpp:78</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92bad2517eb0a4731b899b36a32ac9553049"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bad2517eb0a4731b899b36a32ac9553049">athena::ZQuestFile::OoS</a></div><div class="ttdoc">Oracle of Season. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00073">ZQuestFile.hpp:73</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_ab44ce802b398e5d8ef89a06144e5d5fa"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#ab44ce802b398e5d8ef89a06144e5d5fa">athena::ZQuestFile::game</a></div><div class="ttdeci">Game game() const </div><div class="ttdoc">game </div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92ba641ae3636cef076710a7d752b1e1e299"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba641ae3636cef076710a7d752b1e1e299">athena::ZQuestFile::FSA</a></div><div class="ttdoc">Four Swords Adventures. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00077">ZQuestFile.hpp:77</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92baff1ada17bbc7866033c5ed575ccdb180"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92baff1ada17bbc7866033c5ed575ccdb180">athena::ZQuestFile::NoGame</a></div><div class="ttdoc">None or Unsupported. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00065">ZQuestFile.hpp:65</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_a79e7d3754b0d9cb3f040f98c7d966426"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#a79e7d3754b0d9cb3f040f98c7d966426">athena::ZQuestFile::setEndian</a></div><div class="ttdeci">void setEndian(Endian endian)</div><div class="ttdoc">setEndian </div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_aa35ae676a70042d56600e90b9e7dc92ba4c8342a63512be0a221ad5ff883a5e73"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba4c8342a63512be0a221ad5ff883a5e73">athena::ZQuestFile::MM</a></div><div class="ttdoc">Majora&#39;s Mask. </div><div class="ttdef"><b>Definition:</b> <a href="_z_quest_file_8hpp_source.html#l00072">ZQuestFile.hpp:72</a></div></div>
|
|
<div class="ttc" id="classathena_1_1_z_quest_file_html_afda5477a5edf2ad48dad703d60df8e88"><div class="ttname"><a href="classathena_1_1_z_quest_file.html#afda5477a5edf2ad48dad703d60df8e88">athena::ZQuestFile::length</a></div><div class="ttdeci">atUint32 length() const </div><div class="ttdoc">length </div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_9b3fbfcb7fc609b7105d1ff63111043b.html">athena</a></li><li class="navelem"><b>ZQuestFile.hpp</b></li>
|
|
<li class="footer">Generated on Sat Sep 17 2016 13:10:08 for Athena IO Library by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|