<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>News zur Spieleentwicklung &#187; Dev-C++</title>
	<atom:link href="http://www.gamux.net/tag/dev-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gamux.net</link>
	<description>Alles rund um die (Browser-)Game Entwicklung</description>
	<lastBuildDate>Thu, 25 Jun 2009 14:41:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Irrlicht mit Dev-C++ verwenden</title>
		<link>http://www.gamux.net/game-engines/irrlicht-installieren/</link>
		<comments>http://www.gamux.net/game-engines/irrlicht-installieren/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 17:52:36 +0000</pubDate>
		<dc:creator>Sebastian</dc:creator>
				<category><![CDATA[Game-Engines]]></category>
		<category><![CDATA[Dev-C++]]></category>
		<category><![CDATA[Irrlicht]]></category>

		<guid isPermaLink="false">http://www.gamux.net/?p=85</guid>
		<description><![CDATA[In diesem Schriit werde ich euch noch einmal zeigen, wie man Irrlicht unter Dev-C++ einrichten kann. Dev-C++ wird zwar nicht mehr weiterentwickelt, trotzdem benutze ich es immer noch gerne. Ich gehe hier einfach mal davon aus, dass ihr Dev-C++ bereits erfolgreich installiert habt.
Als nächstes müsst ihr euch die neuste Version von Irrlicht herunterladen. Die Zip-Datei [...]]]></description>
			<content:encoded><![CDATA[<p>In diesem Schriit werde ich euch noch einmal zeigen, wie man Irrlicht unter Dev-C++ einrichten kann. Dev-C++ wird zwar nicht mehr weiterentwickelt, trotzdem benutze ich es immer noch gerne. Ich gehe hier einfach mal davon aus, dass ihr Dev-C++ bereits erfolgreich installiert habt.</p>
<p>Als nächstes müsst ihr euch die neuste Version von <a href="http://irrlicht.sourceforge.net/index.html">Irrlicht</a> herunterladen. Die Zip-Datei entpackt ihr dann in einen Ordner, der beispielweise von der Struktur her so aussehen kann.<span id="more-85"></span></p>
<blockquote><p>C:\code\irrlicht</p></blockquote>
<p>Als nächstes öffnet ihr Dev-C++ und legt unter &#8220;Datei&#8221; -&gt; &#8220;Neu&#8221; -&gt; &#8220;Projekt&#8230;&#8221; ein neues Projekt ein. Als Vorlage &#8220;Empty Project&#8221;. Eure Projektnamen könnt ihr euch beliebig aussuchen. Die ganze Datei speichert ihr dann in einem seperaten Ordner. Bei mir sieht das ganze so aus</p>
<blockquote><p>C:\gamux\irrtest.dev</p></blockquote>
<p>Nun müsst ihr Dev-C++ noch sagen, dass ihr ein Projekt mithilfe von Irrlicht erstellen wollt. Dazu geht ihr unter &#8220;Projekt&#8221; auf &#8220;Projekt Optionen&#8221;. Als Oberreiter wählt ihr erstmal &#8220;Verzeichnisse&#8221; und als Unterreiter &#8220;Include-Verzeichnisse&#8221;. Dort fügt ihr folgenden Ordner ein.</p>
<blockquote><p>C:\code\irrlicht\include</p></blockquote>
<p>Jetzt wählt ihr beim Oberreiter &#8220;Parameter&#8221; und fügt folgende Datei hinzu.</p>
<blockquote><p>C:\code\irrlicht\lib\Win32-gcc\libIrrlicht.a</p></blockquote>
<p>Als letztes geht ihr noch auf den Reiter &#8220;Build O&#8230;&#8221; und wählt bei &#8220;Ausgabeverzeichnis für ausführbare Dateien&#8221; folgendes als Pfad.</p>
<blockquote><p>C:\code\irrlicht\bin\Win32-gcc</p></blockquote>
<p>Jetzt ist Dev-C++ komplett auf Irrlicht umgestellt. Testen könnt ihr dies indem ihr auf &#8220;Neue Quelldatei&#8221; geht. Dort schreibt ihr folgendes rein und führt es testweise aus.</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #666666;">// Irrlicht Namespaces</span>
<span style="color: #0000ff;">using</span> <span style="color: #0000ff;">namespace</span> irr<span style="color: #008080;">;</span>
<span style="color: #0000ff;">using</span> <span style="color: #0000ff;">namespace</span> core<span style="color: #008080;">;</span>
<span style="color: #0000ff;">using</span> <span style="color: #0000ff;">namespace</span> scene<span style="color: #008080;">;</span>
<span style="color: #0000ff;">using</span> <span style="color: #0000ff;">namespace</span> video<span style="color: #008080;">;</span>
<span style="color: #0000ff;">using</span> <span style="color: #0000ff;">namespace</span> io<span style="color: #008080;">;</span>
<span style="color: #0000ff;">using</span> <span style="color: #0000ff;">namespace</span> gui<span style="color: #008080;">;</span>
&nbsp;
<span style="color: #0000ff;">int</span> main<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
IrrlichtDevice <span style="color: #000040;">*</span>irrDevice <span style="color: #000080;">=</span> createDevice<span style="color: #008000;">&#40;</span>EDT_SOFTWARE, dimension2d<span style="color: #000040;">&amp;</span>lt<span style="color: #008080;">;</span>s32<span style="color: #000040;">&amp;</span>gt<span style="color: #008080;">;</span><span style="color: #008000;">&#40;</span><span style="color: #0000dd;">600</span>, <span style="color: #0000dd;">400</span><span style="color: #008000;">&#41;</span>, <span style="color: #0000dd;">16</span>, <span style="color: #0000ff;">false</span>, <span style="color: #0000ff;">false</span>, <span style="color: #0000dd;">0</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
&nbsp;
irrDevice<span style="color: #000040;">-</span><span style="color: #000040;">&amp;</span>gt<span style="color: #008080;">;</span>setWindowCaption<span style="color: #008000;">&#40;</span>L<span style="color: #FF0000;">&quot;Es hat geklappt!&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
&nbsp;
IVideoDriver<span style="color: #000040;">*</span> irrDriver <span style="color: #000080;">=</span> irrDevice<span style="color: #000040;">-</span><span style="color: #000040;">&amp;</span>gt<span style="color: #008080;">;</span>getVideoDriver<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
ISceneManager<span style="color: #000040;">*</span> irrSceneMgr <span style="color: #000080;">=</span> irrDevice<span style="color: #000040;">-</span><span style="color: #000040;">&amp;</span>gt<span style="color: #008080;">;</span>getSceneManager<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
IGUIEnvironment<span style="color: #000040;">*</span> irrGUIEnv <span style="color: #000080;">=</span> irrDevice<span style="color: #000040;">-</span><span style="color: #000040;">&amp;</span>gt<span style="color: #008080;">;</span>getGUIEnvironment<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
&nbsp;
irrGUIEnv<span style="color: #000040;">-</span><span style="color: #000040;">&amp;</span>gt<span style="color: #008080;">;</span>addStaticText<span style="color: #008000;">&#40;</span>L<span style="color: #FF0000;">&quot;Du hast Irrlicht erfolgreich installiert!&quot;</span>, rect<span style="color: #000040;">&amp;</span>lt<span style="color: #008080;">;</span><span style="color: #0000ff;">int</span><span style="color: #000040;">&amp;</span>gt<span style="color: #008080;">;</span><span style="color: #008000;">&#40;</span><span style="color: #0000dd;">10</span>,<span style="color: #0000dd;">10</span>,<span style="color: #0000dd;">200</span>,<span style="color: #0000dd;">30</span><span style="color: #008000;">&#41;</span>, <span style="color: #0000ff;">true</span>, <span style="color: #0000ff;">true</span>, <span style="color: #0000dd;">0</span>, <span style="color: #000040;">-</span><span style="color: #0000dd;">1</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
&nbsp;
<span style="color: #0000ff;">while</span><span style="color: #008000;">&#40;</span>irrDevice<span style="color: #000040;">-</span><span style="color: #000040;">&amp;</span>gt<span style="color: #008080;">;</span>run<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
irrDriver<span style="color: #000040;">-</span><span style="color: #000040;">&amp;</span>gt<span style="color: #008080;">;</span>beginScene<span style="color: #008000;">&#40;</span><span style="color: #0000ff;">true</span>, <span style="color: #0000ff;">true</span>, SColor<span style="color: #008000;">&#40;</span><span style="color: #0000dd;">0</span>,<span style="color: #0000dd;">192</span>,<span style="color: #0000dd;">192</span>,<span style="color: #0000dd;">192</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
&nbsp;
irrSceneMgr<span style="color: #000040;">-</span><span style="color: #000040;">&amp;</span>gt<span style="color: #008080;">;</span>drawAll<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
irrGUIEnv<span style="color: #000040;">-</span><span style="color: #000040;">&amp;</span>gt<span style="color: #008080;">;</span>drawAll<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
&nbsp;
irrDriver<span style="color: #000040;">-</span><span style="color: #000040;">&amp;</span>gt<span style="color: #008080;">;</span>endScene<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
<span style="color: #008000;">&#125;</span>
&nbsp;
irrDevice<span style="color: #000040;">-</span><span style="color: #000040;">&amp;</span>gt<span style="color: #008080;">;</span>drop<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
&nbsp;
<span style="color: #0000ff;">return</span><span style="color: #008000;">&#40;</span><span style="color: #0000dd;">0</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
<span style="color: #008000;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.gamux.net/game-engines/irrlicht-installieren/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>
