Skip to content

Commit

Permalink
deploy: cda9498
Browse files Browse the repository at this point in the history
  • Loading branch information
scawful committed Aug 31, 2024
1 parent 440f9ca commit b3bcb75
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 23 deletions.
35 changes: 13 additions & 22 deletions app_2yaze_8cc_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,28 +141,19 @@
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="preprocessor">#ifdef __APPLE__</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> InitializeCocoa();</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <span class="keywordflow">try</span> {</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <span class="keywordflow">while</span> (controller.<a class="code hl_function" href="classyaze_1_1app_1_1core_1_1Controller.html#afd6011a3b58a78452d3ab5308382bf0d">IsActive</a>()) {</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> controller.<a class="code hl_function" href="classyaze_1_1app_1_1core_1_1Controller.html#ab91b550d982432084d70abcbe0fa76bd">OnInput</a>();</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> status = controller.<a class="code hl_function" href="classyaze_1_1app_1_1core_1_1Controller.html#a0fe694ddfbbfa5c288983d1e5cdb50de">OnLoad</a>(); !status.ok()) {</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> std::cerr &lt;&lt; status.message() &lt;&lt; std::endl;</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> }</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> controller.<a class="code hl_function" href="classyaze_1_1app_1_1core_1_1Controller.html#a3bb770108edb03390f0458b1ad48af00">DoRender</a>();</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> }</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> controller.<a class="code hl_function" href="classyaze_1_1app_1_1core_1_1Controller.html#a473842231f08f37aba1e40ad62397760">OnExit</a>();</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> } <span class="keywordflow">catch</span> (<span class="keyword">const</span> std::bad_alloc&amp; e) {</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> std::cerr &lt;&lt; <span class="stringliteral">&quot;Memory allocation failed: &quot;</span> &lt;&lt; e.what() &lt;&lt; std::endl;</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <span class="keywordflow">return</span> EXIT_FAILURE;</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> } <span class="keywordflow">catch</span> (<span class="keyword">const</span> std::exception&amp; e) {</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> std::cerr &lt;&lt; <span class="stringliteral">&quot;Exception: &quot;</span> &lt;&lt; e.what() &lt;&lt; std::endl;</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="keywordflow">return</span> EXIT_FAILURE;</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> } <span class="keywordflow">catch</span> (...) {</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> std::cerr &lt;&lt; <span class="stringliteral">&quot;Unknown exception&quot;</span> &lt;&lt; std::endl;</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <span class="keywordflow">return</span> EXIT_FAILURE;</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> }</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <span class="keywordflow">return</span> EXIT_SUCCESS;</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span>}</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <span class="keywordflow">while</span> (controller.<a class="code hl_function" href="classyaze_1_1app_1_1core_1_1Controller.html#afd6011a3b58a78452d3ab5308382bf0d">IsActive</a>()) {</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> controller.<a class="code hl_function" href="classyaze_1_1app_1_1core_1_1Controller.html#ab91b550d982432084d70abcbe0fa76bd">OnInput</a>();</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> status = controller.<a class="code hl_function" href="classyaze_1_1app_1_1core_1_1Controller.html#a0fe694ddfbbfa5c288983d1e5cdb50de">OnLoad</a>(); !status.ok()) {</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> std::cerr &lt;&lt; status.message() &lt;&lt; std::endl;</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <span class="keywordflow">break</span>;</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> }</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> controller.<a class="code hl_function" href="classyaze_1_1app_1_1core_1_1Controller.html#a3bb770108edb03390f0458b1ad48af00">DoRender</a>();</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> }</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> controller.<a class="code hl_function" href="classyaze_1_1app_1_1core_1_1Controller.html#a473842231f08f37aba1e40ad62397760">OnExit</a>();</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <span class="keywordflow">return</span> EXIT_SUCCESS;</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span>}</div>
</div>
<div class="ttc" id="aapp_2yaze_8cc_html_a3c04138a5bfe5d72780bb7e82a18e627"><div class="ttname"><a href="app_2yaze_8cc.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a></div><div class="ttdeci">int main(int argc, char **argv)</div><div class="ttdoc">Main entry point for the application.</div><div class="ttdef"><b>Definition</b> <a href="#l00020">yaze.cc:20</a></div></div>
<div class="ttc" id="aapp__delegate_8h_html"><div class="ttname"><a href="app__delegate_8h.html">app_delegate.h</a></div></div>
Expand Down
2 changes: 1 addition & 1 deletion overworld__editor_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <span class="stringliteral">&quot;#zoomInTool&quot;</span>, <span class="stringliteral">&quot;#separator&quot;</span>, <span class="stringliteral">&quot;#drawTool&quot;</span>, <span class="stringliteral">&quot;#history&quot;</span>,</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <span class="stringliteral">&quot;#entranceTool&quot;</span>, <span class="stringliteral">&quot;#exitTool&quot;</span>, <span class="stringliteral">&quot;#itemTool&quot;</span>, <span class="stringliteral">&quot;#spriteTool&quot;</span>,</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="stringliteral">&quot;#transportTool&quot;</span>, <span class="stringliteral">&quot;#musicTool&quot;</span>, <span class="stringliteral">&quot;#separator3&quot;</span>, <span class="stringliteral">&quot;#tilemapTool&quot;</span>,</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <span class="stringliteral">&quot;propertiesTool&quot;</span>, <span class="stringliteral">&quot;#separator4&quot;</span>, <span class="stringliteral">&quot;#experimentalTool&quot;</span>};</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <span class="stringliteral">&quot;propertiesTool&quot;</span>, <span class="stringliteral">&quot;#separator4&quot;</span>, <span class="stringliteral">&quot;#experimentalTool&quot;</span>, <span class="stringliteral">&quot;#properties&quot;</span>, <span class="stringliteral">&quot;#separator5&quot;</span>};</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="namespaceyaze_1_1app_1_1editor.html#ab365f83737393fc1ac411d87ba2fbdb8"> 59</a></span><span class="keyword">constexpr</span> absl::string_view <a class="code hl_variable" href="namespaceyaze_1_1app_1_1editor.html#ab365f83737393fc1ac411d87ba2fbdb8">kWorldList</a> =</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <span class="stringliteral">&quot;Light World\0Dark World\0Extra World\0&quot;</span>;</div>
Expand Down

0 comments on commit b3bcb75

Please sign in to comment.