<?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>Header File - Programming Blog</title>
	<atom:link href="http://headerfile.net/feed" rel="self" type="application/rss+xml" />
	<link>http://headerfile.net</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 15 Feb 2010 19:14:31 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ViewGit repo</title>
		<link>http://headerfile.net/archives/35</link>
		<comments>http://headerfile.net/archives/35#comments</comments>
		<pubDate>Sun, 14 Feb 2010 04:29:02 +0000</pubDate>
		<dc:creator>Jari Vetoniemi</dc:creator>
				<category><![CDATA[irrMaple]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[opera unite]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://headerfile.net/archives/35</guid>
		<description><![CDATA[Git Repo
Created a viewgit repository, not so interesting. But the way it runs is pretty interesting. I dint want to yet host the project on those big subversion sites so i made a local git with gitosis first. 
Then when browsing with the Opera Browser, I noticed something amazing. Service called Unity. It basically turns [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://nappi.cloudef.operaunite.com/localhost/">Git Repo</a></p>
<p>Created a viewgit repository, not so interesting. But the way it runs is pretty interesting. I dint want to yet host the project on those big subversion sites so i made a local git with gitosis first. </p>
<p>Then when browsing with the <a href="http://www.opera.com">Opera Browser</a>, I noticed something amazing. Service called Unity. It basically turns your Opera browser into web server and gives many many functionality shared with others.</p>
<p>I first tested it with the unite programs like fridge and so.. And then started finding more, and found unite app that proxies your local web server to unite.</p>
<p>So basically, whenever i run opera, you can proxy to my local Apache web server through Opera Unite site.</p>
<p>Pretty nice.</p>
<p>Anyways, some may be interested whats happening with IrrMaple?<br />
Well, currently I&#8217;ve got edu, and it takes all my damn time. But recently I&#8217;ve organized a bit of time for programming. So I started rewriting the engine and making it modular. You can watch the progress on git. It should have a bit activity for now.</p>
<p><a href="http://nappi.cloudef.operaunite.com/localhost/">Git Repo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://headerfile.net/archives/35/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rewriting in progress.</title>
		<link>http://headerfile.net/archives/32</link>
		<comments>http://headerfile.net/archives/32#comments</comments>
		<pubDate>Wed, 10 Feb 2010 14:46:36 +0000</pubDate>
		<dc:creator>Jari Vetoniemi</dc:creator>
				<category><![CDATA[irrMaple]]></category>

		<guid isPermaLink="false">http://headerfile.net/?p=32</guid>
		<description><![CDATA[I&#8217;ve lost lots of my project files in HDD crash, so i started rewriting the whole thing from scratch, expect for the character loader.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve lost lots of my project files in HDD crash, so i started rewriting the whole thing from scratch, expect for the character loader.</p>
]]></content:encoded>
			<wfw:commentRss>http://headerfile.net/archives/32/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Pandora</title>
		<link>http://headerfile.net/archives/30</link>
		<comments>http://headerfile.net/archives/30#comments</comments>
		<pubDate>Thu, 09 Jul 2009 11:45:47 +0000</pubDate>
		<dc:creator>Jari Vetoniemi</dc:creator>
				<category><![CDATA[irrMaple]]></category>

		<guid isPermaLink="false">http://headerfile.net/archives/30</guid>
		<description><![CDATA[
Thanks to Irrlicht, i can port this project to Pandora console painless and easy way. And hopefully boost my speed at coding =)
If someone is curious what Pandora is then i suggest to visit this link.
]]></description>
			<content:encoded><![CDATA[<p><img alt="" src="http://media.giantbomb.com/uploads/0/8920/838390-open_pandora_super.jpg" title="Pandora" class="alignnone" width="450" height="365" /><br />
Thanks to Irrlicht, i can port this project to Pandora console painless and easy way. And hopefully boost my speed at coding =)</p>
<p>If someone is curious what Pandora is then i suggest to visit this <a href="http://www.openpandora.org">link</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://headerfile.net/archives/30/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Stress testing.</title>
		<link>http://headerfile.net/archives/28</link>
		<comments>http://headerfile.net/archives/28#comments</comments>
		<pubDate>Sun, 05 Jul 2009 14:50:51 +0000</pubDate>
		<dc:creator>Jari Vetoniemi</dc:creator>
				<category><![CDATA[irrMaple]]></category>

		<guid isPermaLink="false">http://headerfile.net/?p=28</guid>
		<description><![CDATA[
It seems i have to do some optimizing ]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/vZypXg2vDwQ&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/vZypXg2vDwQ&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>It seems i have to do some optimizing <_<</p>
]]></content:encoded>
			<wfw:commentRss>http://headerfile.net/archives/28/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Start of Mob code</title>
		<link>http://headerfile.net/archives/25</link>
		<comments>http://headerfile.net/archives/25#comments</comments>
		<pubDate>Wed, 01 Jul 2009 14:02:29 +0000</pubDate>
		<dc:creator>Jari Vetoniemi</dc:creator>
				<category><![CDATA[irrMaple]]></category>

		<guid isPermaLink="false">http://headerfile.net/?p=25</guid>
		<description><![CDATA[
Moved to new place and got the internet. Here is video of Monster with basic AI Script.
]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/uo6dQdrG4lM&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/uo6dQdrG4lM&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>Moved to new place and got the internet. Here is video of Monster with basic AI Script.</p>
]]></content:encoded>
			<wfw:commentRss>http://headerfile.net/archives/25/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>irrMaple, WTF?</title>
		<link>http://headerfile.net/archives/22</link>
		<comments>http://headerfile.net/archives/22#comments</comments>
		<pubDate>Wed, 01 Jul 2009 12:23:06 +0000</pubDate>
		<dc:creator>Jari Vetoniemi</dc:creator>
				<category><![CDATA[irrMaple]]></category>

		<guid isPermaLink="false">http://headerfile.net/?p=22</guid>
		<description><![CDATA[irrMaple &#8211; A Maple Story &#8220;pseudo reverse-engineering&#8221; project
The goal of this project is to take a free 2D Side-Scroller MMORPG called MapleStory and make own Client and Server which works with MapleStory data and media files when extracted and converted to my data format. The final result will be fully functional game engine that is [...]]]></description>
			<content:encoded><![CDATA[<p><strong>irrMaple &#8211; A Maple Story &#8220;pseudo reverse-engineering&#8221; project</strong><br />
The goal of this project is to take a free 2D Side-Scroller MMORPG called MapleStory and make own Client and Server which works with MapleStory data and media files when extracted and converted to my data format. The final result will be fully functional game engine that is scriptable.<br />
<span id="more-22"></span></p>
<p>Some screenshots so far:<br />
<img alt="" src="http://flare.xenmedia.org/uploads/TextBubble.png" class="alignnone" width="800" height="600" /><br />
<img alt="" src="http://flare.xenmedia.org/uploads/UI.png" lass="alignnone" width="800" height="600" /><br />
<img alt="" src="http://flare.xenmedia.org/uploads/UusUI.png" lass="alignnone" width="800" height="600" /><br />
<img alt="" src="http://flare.xenmedia.org/uploads/IrrMapleUpdate.png" lass="alignnone" width="800" height="600" /><br />
<img alt="" src="http://flare.xenmedia.org/uploads/LolNPC.png" lass="alignnone" width="800" height="600" /></p>
<p>Code : C++<br />
Rendering Engine : Irrlicht<br />
Network library : ENet [irrNetLite]</p>
]]></content:encoded>
			<wfw:commentRss>http://headerfile.net/archives/22/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working on the Scripting system.</title>
		<link>http://headerfile.net/archives/3</link>
		<comments>http://headerfile.net/archives/3#comments</comments>
		<pubDate>Fri, 26 Jun 2009 22:47:04 +0000</pubDate>
		<dc:creator>Jari Vetoniemi</dc:creator>
				<category><![CDATA[irrMaple]]></category>

		<guid isPermaLink="false">http://headerfile.net/?p=3</guid>
		<description><![CDATA[I&#8217;ve been lately looking at the AngelScript&#8217;s manual and found out how to use the Objects and Handles. Then i implented GUI System that is pretty easy. When i get the Element system done then these combined they are really powerful as you have all image events automatically because of the Element system so you [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been lately looking at the AngelScript&#8217;s manual and found out how to use the Objects and Handles. Then i implented GUI System that is pretty easy. When i get the Element system done then these combined they are really powerful as you have all image events automatically because of the Element system so you dont have to worry about animations nor loading different images.</p>
<p>Anyways here is commented example script:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
</pre></td><td class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #ff0000; font-style: italic;">/*
	This AngelScript file is for XML definied Button that automatically places itself into game 
	using the info provided on XML file. To create script for that button we simply create script
	with same filename as provided in XML file. In example this file is Equip.as.
*/</span>
&nbsp;
<span style="color: #666666;">//All variables declared outside of scope are globals.</span>
<span style="color: #0000ff;">int</span> x		<span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span>
<span style="color: #0000ff;">int</span> y		<span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span> <span style="color: #666666;">//Lets declare global X and Y for our Equip inventory window.</span>
&nbsp;
<span style="color: #666666;">//In AngelScript we have types called Objects and Handles just think them similar as pointers</span>
<span style="color: #666666;">//but instead of * you use @</span>
IWindow@ 	handle<span style="color: #008080;">;</span>
&nbsp;
&nbsp;
<span style="color: #666666;">//Here is the predefined onClick() global behavior for button.</span>
<span style="color: #0000ff;">void</span> onClick<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
			<span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>handle is null<span style="color: #008000;">&#41;</span> <span style="color: #008000;">&#123;</span> <span style="color: #666666;">//We check if the window is NULL aka does not exist.</span>
				<span style="color: #ff0000; font-style: italic;">/*
					We create Window. Don`t worry about the Equip.backgrnd thingy, 
					when i get element system complete you can simply type Equip and you get all states automatically.
                                        Like Hover image, Pressed Image etc.. if definied.
				*/</span>
				@handle <span style="color: #000080;">=</span> addWindow<span style="color: #008000;">&#40;</span><span style="color: #FF0000;">&quot;Equip.backgrnd&quot;</span>,x,y,x,y,<span style="color: #FF0000;">&quot;&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
				handle.<span style="color: #007788;">setEvent</span><span style="color: #008000;">&#40;</span><span style="color: #0000dd;">1</span>,<span style="color: #FF0000;">&quot;void equipClose()&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span> <span style="color: #666666;">//We register Close event for the Window we just created.</span>
									<span style="color: #666666;">//The event ID`s will be all Constanted. So don`t worry.</span>
			<span style="color: #008000;">&#125;</span> <span style="color: #0000ff;">else</span> <span style="color: #008000;">&#123;</span> <span style="color: #666666;">//If window exist and you press the button.</span>
				handle.<span style="color: #007788;">close</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span> <span style="color: #666666;">//We close the window.</span>
			<span style="color: #008000;">&#125;</span>
<span style="color: #008000;">&#125;</span>
&nbsp;
<span style="color: #666666;">//onHover event, won`t mess with it now. But could be useful for popups, tooltips etc..</span>
<span style="color: #0000ff;">void</span> onHover<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
<span style="color: #008000;">&#125;</span>
&nbsp;
<span style="color: #666666;">//Now here is our registered event for the Window. It`s actually normal function.</span>
<span style="color: #0000ff;">void</span> equipClose<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
	x <span style="color: #000080;">=</span> handle.<span style="color: #007788;">getX</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
	y <span style="color: #000080;">=</span> handle.<span style="color: #007788;">getY</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span> <span style="color: #666666;">//We store the X and Y when the window is closed, so it will open up in same place again.</span>
	@handle <span style="color: #000080;">=</span> null<span style="color: #008080;">;</span>    <span style="color: #666666;">//And then kill the window handle.</span>
<span style="color: #008000;">&#125;</span>
&nbsp;
<span style="color: #ff0000; font-style: italic;">/*
	That`s it. The scripting implentations are still far for done and i may include Vector2d type for x and y.
*/</span></pre></td></tr></table></div>

<p>Result:<br />
<img src="http://flare.xenmedia.org/uploads/Script.png" alt="Draggable gui" /></p>
<p>Fully draggable Window which is customized with Maple Story element.</p>
]]></content:encoded>
			<wfw:commentRss>http://headerfile.net/archives/3/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
