<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.9.7" xml:lang="en-US">
  <compounddef id="d8/d4f/IGraphicsEngineRenderer_8hpp" kind="file" language="C++">
    <compoundname>IGraphicsEngineRenderer.hpp</compoundname>
    <includes local="no">SDL.h</includes>
    <includedby refid="d3/d48/Engine_8hpp" local="yes">include/Engine.hpp</includedby>
    <includedby refid="df/d47/GameMakerGUI_8hpp" local="yes">include/GameMakerGUI.hpp</includedby>
    <includedby refid="da/da5/Sprite_8hpp" local="yes">include/Sprite.hpp</includedby>
    <includedby refid="de/d03/TileMap_8hpp" local="yes">include/TileMap.hpp</includedby>
    <includedby refid="de/d9c/IGraphicsEngineRenderer_8cpp" local="yes">src/IGraphicsEngineRenderer.cpp</includedby>
    <includedby refid="df/d4c/lab_8cpp" local="yes">src/lab.cpp</includedby>
    <incdepgraph>
      <node id="1">
        <label>include/IGraphicsEngineRenderer.hpp</label>
        <link refid="d8/d4f/IGraphicsEngineRenderer_8hpp"/>
        <childnode refid="2" relation="include">
        </childnode>
      </node>
      <node id="2">
        <label>SDL.h</label>
      </node>
    </incdepgraph>
    <invincdepgraph>
      <node id="2">
        <label>include/Engine.hpp</label>
        <link refid="d3/d48/Engine_8hpp_source"/>
      </node>
      <node id="3">
        <label>include/GameMakerGUI.hpp</label>
        <link refid="df/d47/GameMakerGUI_8hpp_source"/>
        <childnode refid="2" relation="include">
        </childnode>
      </node>
      <node id="1">
        <label>include/IGraphicsEngineRenderer.hpp</label>
        <link refid="d8/d4f/IGraphicsEngineRenderer_8hpp"/>
        <childnode refid="2" relation="include">
        </childnode>
        <childnode refid="3" relation="include">
        </childnode>
        <childnode refid="4" relation="include">
        </childnode>
        <childnode refid="5" relation="include">
        </childnode>
      </node>
      <node id="4">
        <label>include/Sprite.hpp</label>
        <link refid="da/da5/Sprite_8hpp_source"/>
      </node>
      <node id="5">
        <label>include/TileMap.hpp</label>
        <link refid="de/d03/TileMap_8hpp_source"/>
      </node>
    </invincdepgraph>
    <innerclass refid="d7/dea/classIGraphicsEngineRenderer" prot="public">IGraphicsEngineRenderer</innerclass>
    <innerclass refid="d1/d7f/classSDLGraphicsEngineRenderer" prot="public">SDLGraphicsEngineRenderer</innerclass>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<codeline lineno="1"><highlight class="preprocessor">#ifndef<sp/>GRAPHICS_ENGINE_RENDERER_HPP</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="2"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>GRAPHICS_ENGINE_RENDERER_HPP</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="3"><highlight class="normal"></highlight><highlight class="comment">//<sp/>====================<sp/>Libraries<sp/>==================</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="4"><highlight class="normal"></highlight><highlight class="comment">//<sp/>Depending<sp/>on<sp/>the<sp/>operating<sp/>system<sp/>we<sp/>use</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="5"><highlight class="normal"></highlight><highlight class="comment">//<sp/>The<sp/>paths<sp/>to<sp/>SDL<sp/>are<sp/>actually<sp/>different.</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="6"><highlight class="normal"></highlight><highlight class="comment">//<sp/>The<sp/>#define<sp/>statement<sp/>should<sp/>be<sp/>passed<sp/>in</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="7"><highlight class="normal"></highlight><highlight class="comment">//<sp/>when<sp/>compiling<sp/>using<sp/>the<sp/>-D<sp/>argument.</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="8"><highlight class="normal"></highlight><highlight class="comment">//<sp/>This<sp/>gives<sp/>an<sp/>example<sp/>of<sp/>how<sp/>a<sp/>programmer</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="9"><highlight class="normal"></highlight><highlight class="comment">//<sp/>may<sp/>support<sp/>multiple<sp/>platforms<sp/>with<sp/>different</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="10"><highlight class="normal"></highlight><highlight class="comment">//<sp/>dependencies.</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="11"><highlight class="normal"></highlight><highlight class="comment">//</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="12"><highlight class="normal"></highlight><highlight class="comment">//<sp/>Note<sp/>that<sp/>your<sp/>path<sp/>may<sp/>be<sp/>different<sp/>depending<sp/>on<sp/>where<sp/>you<sp/>intalled<sp/>things</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="13"><highlight class="normal"></highlight><highlight class="comment">//</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="14"><highlight class="normal"></highlight><highlight class="comment">//</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="15"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>defined(LINUX)<sp/>||<sp/>defined(MINGW)</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="16"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;SDL2/SDL.h&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="17"><highlight class="normal"></highlight><highlight class="preprocessor">#else<sp/></highlight><highlight class="comment">//<sp/>This<sp/>works<sp/>for<sp/>Mac</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="18"><highlight class="normal"></highlight></codeline>
<codeline lineno="19"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&lt;SDL.h&gt;</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="20"><highlight class="normal"></highlight></codeline>
<codeline lineno="21"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="22"><highlight class="normal"></highlight></codeline>
<codeline lineno="27" refid="d7/dea/classIGraphicsEngineRenderer" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="d7/dea/classIGraphicsEngineRenderer" kindref="compound">IGraphicsEngineRenderer</ref><sp/>{</highlight></codeline>
<codeline lineno="28"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="32" refid="d7/dea/classIGraphicsEngineRenderer_1a325c7b3f89ca510ed038e52e9a3c3d74" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="d7/dea/classIGraphicsEngineRenderer_1a325c7b3f89ca510ed038e52e9a3c3d74" kindref="member">IGraphicsEngineRenderer</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>w,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>h)<sp/>:<sp/>mScreenWidth(w),<sp/>mScreenHeight(h)<sp/>{};</highlight></codeline>
<codeline lineno="33"><highlight class="normal"></highlight></codeline>
<codeline lineno="37" refid="d7/dea/classIGraphicsEngineRenderer_1a1b5219e8b718d38b4e54be31557eee17" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/><ref refid="d7/dea/classIGraphicsEngineRenderer_1a1b5219e8b718d38b4e54be31557eee17" kindref="member">~IGraphicsEngineRenderer</ref>()<sp/>{};</highlight></codeline>
<codeline lineno="38"><highlight class="normal"></highlight></codeline>
<codeline lineno="43" refid="d7/dea/classIGraphicsEngineRenderer_1acf62a15fc0e1c52356b09c57e2628529" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="d7/dea/classIGraphicsEngineRenderer_1acf62a15fc0e1c52356b09c57e2628529" kindref="member">SetRenderDrawColor</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>r,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>g,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>b,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>a)<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="44"><highlight class="normal"></highlight></codeline>
<codeline lineno="48" refid="d7/dea/classIGraphicsEngineRenderer_1a33dc89efb652168680736dc4871df48e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="d7/dea/classIGraphicsEngineRenderer_1a33dc89efb652168680736dc4871df48e" kindref="member">RenderClear</ref>()<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="49"><highlight class="normal"></highlight></codeline>
<codeline lineno="54" refid="d7/dea/classIGraphicsEngineRenderer_1aae42681e8163b9321b6b742c47365012" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">virtual</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="d7/dea/classIGraphicsEngineRenderer_1aae42681e8163b9321b6b742c47365012" kindref="member">RenderPresent</ref>()<sp/>=<sp/>0;</highlight></codeline>
<codeline lineno="55"><highlight class="normal"></highlight></codeline>
<codeline lineno="56"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="57"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>Screen<sp/>dimension<sp/>constants</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="58"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>mScreenWidth{0};</highlight></codeline>
<codeline lineno="59"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>mScreenHeight{0};</highlight></codeline>
<codeline lineno="60"><highlight class="normal">};</highlight></codeline>
<codeline lineno="61"><highlight class="normal"></highlight></codeline>
<codeline lineno="62"><highlight class="normal"></highlight></codeline>
<codeline lineno="63" refid="d1/d7f/classSDLGraphicsEngineRenderer" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="d1/d7f/classSDLGraphicsEngineRenderer" kindref="compound">SDLGraphicsEngineRenderer</ref><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="d7/dea/classIGraphicsEngineRenderer" kindref="compound">IGraphicsEngineRenderer</ref><sp/>{</highlight></codeline>
<codeline lineno="64"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="68"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="d1/d7f/classSDLGraphicsEngineRenderer" kindref="compound">SDLGraphicsEngineRenderer</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>w,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>h);</highlight></codeline>
<codeline lineno="69"><highlight class="normal"></highlight></codeline>
<codeline lineno="73"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="d1/d7f/classSDLGraphicsEngineRenderer_1a1420b7422b6cbaadae4490c554716117" kindref="member">~SDLGraphicsEngineRenderer</ref>();</highlight></codeline>
<codeline lineno="74"><highlight class="normal"></highlight></codeline>
<codeline lineno="75"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="d1/d7f/classSDLGraphicsEngineRenderer_1a91b29bf19986c6ad8710238778312277" kindref="member">SetRenderDrawColor</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>r,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>g,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>b,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>a)<sp/></highlight><highlight class="keyword">override</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="76"><highlight class="normal"></highlight></codeline>
<codeline lineno="80"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="d1/d7f/classSDLGraphicsEngineRenderer_1ae6edfc67a39076c0c12101ad85be4f6a" kindref="member">RenderClear</ref>()<sp/></highlight><highlight class="keyword">override</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="81"><highlight class="normal"></highlight></codeline>
<codeline lineno="86"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="d1/d7f/classSDLGraphicsEngineRenderer_1acddd7c456e4311d71fc1d43f29343d81" kindref="member">RenderPresent</ref>()<sp/></highlight><highlight class="keyword">override</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="87"><highlight class="normal"></highlight></codeline>
<codeline lineno="91"><highlight class="normal"><sp/><sp/><sp/><sp/>SDL_Window<sp/>*<ref refid="d1/d7f/classSDLGraphicsEngineRenderer_1abd24deb029577fc237b47a3cbf30c121" kindref="member">GetWindow</ref>();</highlight></codeline>
<codeline lineno="92"><highlight class="normal"></highlight></codeline>
<codeline lineno="96"><highlight class="normal"><sp/><sp/><sp/><sp/>SDL_Renderer<sp/>*<ref refid="d1/d7f/classSDLGraphicsEngineRenderer_1a93e5f435d003933cf3304e44c5aa7324" kindref="member">GetRenderer</ref>();</highlight></codeline>
<codeline lineno="97"><highlight class="normal"></highlight></codeline>
<codeline lineno="98"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="99"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>SDL<sp/>Window</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="100"><highlight class="normal"><sp/><sp/><sp/><sp/>SDL_Window<sp/>*mWindow<sp/>=<sp/></highlight><highlight class="keyword">nullptr</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="101"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="comment">//<sp/>SDL<sp/>Renderer</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="102"><highlight class="normal"><sp/><sp/><sp/><sp/>SDL_Renderer<sp/>*mRenderer<sp/>=<sp/></highlight><highlight class="keyword">nullptr</highlight><highlight class="normal">;</highlight></codeline>
<codeline lineno="103"><highlight class="normal">};</highlight></codeline>
<codeline lineno="104"><highlight class="normal"></highlight></codeline>
<codeline lineno="105"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight></codeline>
    </programlisting>
    <location file="include/IGraphicsEngineRenderer.hpp"/>
  </compounddef>
</doxygen>
