<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: SDL Coordinates and Bliting</title>
	<atom:link href="http://www.sdltutorials.com/sdl-coordinates-and-blitting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sdltutorials.com/sdl-coordinates-and-blitting/</link>
	<description>SDL Tutorials - Game Tutorials - Programming Tutorials</description>
	<lastBuildDate>Thu, 11 Mar 2010 22:05:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: tim</title>
		<link>http://www.sdltutorials.com/sdl-coordinates-and-blitting/comment-page-5/#comment-6719</link>
		<dc:creator>tim</dc:creator>
		<pubDate>Sun, 14 Feb 2010 03:46:54 +0000</pubDate>
		<guid isPermaLink="false">http://devhub.lostfish.org/sdl-tutorial-2/#comment-6719</guid>
		<description>Not all linux users have to do that...I&#039;m running Ubuntu Karmic ( not on a netbook ) and programming in Code::Blocks.
#include  works for me.  With libSDL.so added in the linker.</description>
		<content:encoded><![CDATA[<p>Not all linux users have to do that&#8230;I&#8217;m running Ubuntu Karmic ( not on a netbook ) and programming in Code::Blocks.<br />
#include  works for me.  With libSDL.so added in the linker.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phoff</title>
		<link>http://www.sdltutorials.com/sdl-coordinates-and-blitting/comment-page-5/#comment-6464</link>
		<dc:creator>phoff</dc:creator>
		<pubDate>Tue, 09 Feb 2010 01:31:28 +0000</pubDate>
		<guid isPermaLink="false">http://devhub.lostfish.org/sdl-tutorial-2/#comment-6464</guid>
		<description>Do this on Linux too (I&#039;m using Kubuntu Karmic and HP&#039;s netbook distro, which is also Debian-based).</description>
		<content:encoded><![CDATA[<p>Do this on Linux too (I&#8217;m using Kubuntu Karmic and HP&#8217;s netbook distro, which is also Debian-based).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Jones</title>
		<link>http://www.sdltutorials.com/sdl-coordinates-and-blitting/comment-page-6/#comment-6307</link>
		<dc:creator>Tim Jones</dc:creator>
		<pubDate>Tue, 19 Jan 2010 12:03:52 +0000</pubDate>
		<guid isPermaLink="false">http://devhub.lostfish.org/sdl-tutorial-2/#comment-6307</guid>
		<description>Glad you figured it out. You&#039;re correct, you need both of them. What we are doing is called overloading the function.</description>
		<content:encoded><![CDATA[<p>Glad you figured it out. You&#8217;re correct, you need both of them. What we are doing is called overloading the function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Restler</title>
		<link>http://www.sdltutorials.com/sdl-coordinates-and-blitting/comment-page-6/#comment-6181</link>
		<dc:creator>Restler</dc:creator>
		<pubDate>Sun, 03 Jan 2010 01:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://devhub.lostfish.org/sdl-tutorial-2/#comment-6181</guid>
		<description>Hi again, I think I missunderstood the code, the second OnDraw(...) wasn&#039;t supposed to replace the the first one in CSurface.cpp right? 

To draw a part of a picture you said:
&quot;Open back up CSurface.cpp, and add the following function:

bool CSurface::OnDraw(SDL_Surface* Surf_Dest, SDL_Surface* Surf_Src, int X, int Y, int X2, int Y2, int W, int H) {...&quot;

The first OnDraw wasnät there so I thought I was supposed to replace it with the new one. Sorry!
Well, now it works fine!
Thanks again for the tutorial!!</description>
		<content:encoded><![CDATA[<p>Hi again, I think I missunderstood the code, the second OnDraw(&#8230;) wasn&#8217;t supposed to replace the the first one in CSurface.cpp right? </p>
<p>To draw a part of a picture you said:<br />
&#8220;Open back up CSurface.cpp, and add the following function:</p>
<p>bool CSurface::OnDraw(SDL_Surface* Surf_Dest, SDL_Surface* Surf_Src, int X, int Y, int X2, int Y2, int W, int H) {&#8230;&#8221;</p>
<p>The first OnDraw wasnät there so I thought I was supposed to replace it with the new one. Sorry!<br />
Well, now it works fine!<br />
Thanks again for the tutorial!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Restler</title>
		<link>http://www.sdltutorials.com/sdl-coordinates-and-blitting/comment-page-6/#comment-6180</link>
		<dc:creator>Restler</dc:creator>
		<pubDate>Sun, 03 Jan 2010 00:46:59 +0000</pubDate>
		<guid isPermaLink="false">http://devhub.lostfish.org/sdl-tutorial-2/#comment-6180</guid>
		<description>Hello, I have exactly the same problem as #27 had, and I use VC++ 2008 too (I&#039;ve never used any other IDE before so I wanted to go with the safest choice for now).

I get 2 linking errors:
1&gt;CApp_OnRender.obj : error LNK2019: unresolved external symbol &quot;public: static bool __cdecl CSurface::OnDraw(struct SDL_Surface *,struct SDL_Surface *,int,int)&quot; (?OnDraw@CSurface@@SA_NPAUSDL_Surface@@0HH@Z) referenced in function &quot;public: void __thiscall CApp::OnRender(void)&quot; (?OnRender@CApp@@QAEXXZ)
1&gt; fatal error LNK1120: 1 unresolved externals

But just like #27, when I erase &quot;CSurface::OnDraw(surf_Display, surf_Test, 0, 0);&quot;
it all works fine..?</description>
		<content:encoded><![CDATA[<p>Hello, I have exactly the same problem as #27 had, and I use VC++ 2008 too (I&#8217;ve never used any other IDE before so I wanted to go with the safest choice for now).</p>
<p>I get 2 linking errors:<br />
1&gt;CApp_OnRender.obj : error LNK2019: unresolved external symbol &#8220;public: static bool __cdecl CSurface::OnDraw(struct SDL_Surface *,struct SDL_Surface *,int,int)&#8221; (?OnDraw@CSurface@@SA_NPAUSDL_Surface@@0HH@Z) referenced in function &#8220;public: void __thiscall CApp::OnRender(void)&#8221; (?OnRender@CApp@@QAEXXZ)<br />
1&gt; fatal error LNK1120: 1 unresolved externals</p>
<p>But just like #27, when I erase &#8220;CSurface::OnDraw(surf_Display, surf_Test, 0, 0);&#8221;<br />
it all works fine..?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SeedGameMaster</title>
		<link>http://www.sdltutorials.com/sdl-coordinates-and-blitting/comment-page-6/#comment-5879</link>
		<dc:creator>SeedGameMaster</dc:creator>
		<pubDate>Wed, 16 Dec 2009 01:10:25 +0000</pubDate>
		<guid isPermaLink="false">http://devhub.lostfish.org/sdl-tutorial-2/#comment-5879</guid>
		<description>Hi !
As many of your readers/alumns, i am starting in this SDL programming &quot;stuff&quot;, i find your tutorials very clear and intuitive so far. I just wanted to say &quot;Great Job&quot; and thanks for your dedication to this... 

PS: Please Forgive my bad &quot;English&quot; ... i will work on improve it</description>
		<content:encoded><![CDATA[<p>Hi !<br />
As many of your readers/alumns, i am starting in this SDL programming &#8220;stuff&#8221;, i find your tutorials very clear and intuitive so far. I just wanted to say &#8220;Great Job&#8221; and thanks for your dedication to this&#8230; </p>
<p>PS: Please Forgive my bad &#8220;English&#8221; &#8230; i will work on improve it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://www.sdltutorials.com/sdl-coordinates-and-blitting/comment-page-5/#comment-5081</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Fri, 16 Oct 2009 18:36:36 +0000</pubDate>
		<guid isPermaLink="false">http://devhub.lostfish.org/sdl-tutorial-2/#comment-5081</guid>
		<description>thanks i dont understand why but there were just some spaces between the functions arguments and the commas i was bored so i removed them and now it works didn&#039;t think tht wud matter but thanks for the help about the error</description>
		<content:encoded><![CDATA[<p>thanks i dont understand why but there were just some spaces between the functions arguments and the commas i was bored so i removed them and now it works didn&#8217;t think tht wud matter but thanks for the help about the error</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Jones</title>
		<link>http://www.sdltutorials.com/sdl-coordinates-and-blitting/comment-page-5/#comment-5074</link>
		<dc:creator>Tim Jones</dc:creator>
		<pubDate>Thu, 15 Oct 2009 13:15:39 +0000</pubDate>
		<guid isPermaLink="false">http://devhub.lostfish.org/sdl-tutorial-2/#comment-5074</guid>
		<description>Sam,
It means that you didn&#039;t actually define the function inside CSurface.cpp - hence the error: &quot;unresolved external symbol.&quot; Unresolved means it cannot find it, external symbol &quot;[stuff here]&quot; is what it can&#039;t find. Make sure all the parameters match exactly.</description>
		<content:encoded><![CDATA[<p>Sam,<br />
It means that you didn&#8217;t actually define the function inside CSurface.cpp &#8211; hence the error: &#8220;unresolved external symbol.&#8221; Unresolved means it cannot find it, external symbol &#8220;[stuff here]&#8221; is what it can&#8217;t find. Make sure all the parameters match exactly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://www.sdltutorials.com/sdl-coordinates-and-blitting/comment-page-5/#comment-5068</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Wed, 14 Oct 2009 13:51:13 +0000</pubDate>
		<guid isPermaLink="false">http://devhub.lostfish.org/sdl-tutorial-2/#comment-5068</guid>
		<description>I&#039;m attempting to use VC++ but everything worked perfectly until i introduced the second OnDraw function 

my code is identical to yours but im getting an error that i don&#039;t understand whatsoever if you could just look at the error and see if you understand it thtat would help because googling hasen&#039;t

&gt;OnRender.obj : error LNK2019: unresolved external symbol &quot;public: static bool __cdecl CSurface::OnDraw(struct SDL_Surface *,struct SDL_Surface *,int,int,int,int,int,int)&quot; (?OnDraw@CSurface@@SA_NPAUSDL_Surface@@0HHHHHH@Z) referenced in function &quot;public: void __thiscall CApp::OnRender(void)&quot; (?OnRender@CApp@@QAEXXZ)

It might be linked to VC settings but i have no idea

The reason im using VC by the way is because codeblocks just won&#039;t compile says it can&#039;t find my mingw-g++.exe file but its defenitly where i have told codeblocks to look</description>
		<content:encoded><![CDATA[<p>I&#8217;m attempting to use VC++ but everything worked perfectly until i introduced the second OnDraw function </p>
<p>my code is identical to yours but im getting an error that i don&#8217;t understand whatsoever if you could just look at the error and see if you understand it thtat would help because googling hasen&#8217;t</p>
<p>&gt;OnRender.obj : error LNK2019: unresolved external symbol &#8220;public: static bool __cdecl CSurface::OnDraw(struct SDL_Surface *,struct SDL_Surface *,int,int,int,int,int,int)&#8221; (?OnDraw@CSurface@@SA_NPAUSDL_Surface@@0HHHHHH@Z) referenced in function &#8220;public: void __thiscall CApp::OnRender(void)&#8221; (?OnRender@CApp@@QAEXXZ)</p>
<p>It might be linked to VC settings but i have no idea</p>
<p>The reason im using VC by the way is because codeblocks just won&#8217;t compile says it can&#8217;t find my mingw-g++.exe file but its defenitly where i have told codeblocks to look</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://www.sdltutorials.com/sdl-coordinates-and-blitting/comment-page-5/#comment-5067</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Wed, 14 Oct 2009 10:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://devhub.lostfish.org/sdl-tutorial-2/#comment-5067</guid>
		<description>If your using Dev C++ like me replace, 
#include &quot;SDL.h&quot; with
#include &quot;SDL/SDL.h&quot;</description>
		<content:encoded><![CDATA[<p>If your using Dev C++ like me replace,<br />
#include &#8220;SDL.h&#8221; with<br />
#include &#8220;SDL/SDL.h&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
