<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>[SH09] Secret of Fantasy</title>
		<link>http://www.allegro.cc/forums/view/600900</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Mon, 20 Jul 2009 22:03:02 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><span class="remote-thumbnail"><span class="json">{"name":"598985","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/e\/0\/e0a1420c36476fdcd1130c692c65d8ec.png","w":629,"h":479,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/e\/0\/e0a1420c36476fdcd1130c692c65d8ec"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/e/0/e0a1420c36476fdcd1130c692c65d8ec-240.jpg" alt="598985" width="240" height="182" /></span><span class="remote-thumbnail"><span class="json">{"name":"598984","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/8\/a\/8a6d03e81944522228f9784a41c18e4c.png","w":639,"h":481,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/8\/a\/8a6d03e81944522228f9784a41c18e4c"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/8/a/8a6d03e81944522228f9784a41c18e4c-240.jpg" alt="598984" width="240" height="180" /></span><span class="remote-thumbnail"><span class="json">{"name":"599079","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/0\/b0b12fa487049e87cbb3f1c22cb47a8c.png","w":640,"h":479,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/0\/b0b12fa487049e87cbb3f1c22cb47a8c"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/b/0/b0b12fa487049e87cbb3f1c22cb47a8c-240.jpg" alt="599079" width="240" height="179" /></span></p><p>Secret of Fantasy The Calcium Crystals is a role playing game that revolves around buying milk.</p><p>Binary: <a href="http://www.allegro.cc/files/attachment/599104">http://www.allegro.cc/files/attachment/599104</a> version 7 (past deadline)<br />Source: <a href="http://www.allegro.cc/files/attachment/599122">http://www.allegro.cc/files/attachment/599122</a> version 7 (past deadline) (should compile in Linux with CMake)</p><p>Use arrow keys to move around. Use left ALT for actions, left CONTROL for attacks, SPACE for usable items and I to open the inventory.</p><p><b>Caution:</b> pressing ESCAPE exits the game without prompting!<br /><b>Note:</b> the game requires <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&amp;displaylang=en">Microsoft Visual C++ 2008 Redistributable Package (x86)</a> to run!</p><p>Bugs
</p><ol><li><p>Doors suddenly not working - FIXED</p></li><li><p>Crash when dying - FIXED</p></li><li><p>No continue - FIXED</p></li><li><p>Player get stuck in walls when taking damage - Might be fixed, no promises</p></li><li><p>Crash in one of the dungeons - FIXED</p></li><li><p>Windows line feeds in txt-files - FIXED</p></li><li><p>GCC compilation issues - FIXED</p></li><li><p>Missing CMakeLists.txt file - FIXED</p></li></ol><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Næssén)</author>
		<pubDate>Mon, 13 Jul 2009 16:49:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I just finished this and I must say I almost gave up in my quest for the calcium crystals. The game itself didn&#39;t motivate me much. I just wanted to get it done with and check out what was at the end.</p><p>I understand you guys love RPGs, but I don&#39;t think you have enough time to make a truly enjoyable RPG in a compo like this. Maybe it&#39;s just me...</p><p>This game was actually nice though. Pretty much everything worked as it should. I have only two things to point out as far as gameplay goes:</p><p>1. It sucks when stuff goes off the limits and you can&#39;t get it, i.e. a heart getting stuck inside a wall. That irritates me a lot.</p><p>2. For stupid people like me, it&#39;d be cool to know I had to press &quot;alt&quot; to start the game, without actually having to read the readme... It&#39;s much more intuitive to press &quot;enter&quot;.</p><p>Congrats, it&#39;s a nice and polished game.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (codnik)</author>
		<pubDate>Tue, 14 Jul 2009 02:54:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Nice game. Great music.</p><p>I haven&#39;t finished it, but I will.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (kenmasters1976)</author>
		<pubDate>Tue, 14 Jul 2009 04:33:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/821333#target">codnik</a> said:</div><div class="quote"><p>I don&#39;t think you have enough time to make a truly enjoyable RPG in a compo like this</p></div></div><p>
You are probably right. We wanted a real challenge this year so we decided to try to make a RPG. Personally I&#39;m quite pleased with the result, but the hunt for crystals tend to get boring. We should cut down the number of crystals to three or something so players don&#39;t quit without battling Lord Vapor (and hopefully see the end).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Næssén)</author>
		<pubDate>Tue, 14 Jul 2009 17:14:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I don&#39;t think it&#39;s a matter of cutting down on the number of crystals. Once you know that &quot;hard work pays off&quot;, the last two crystals are pretty much a given. It&#39;s just that before you realize this you&#39;re already running desperate with the price of the damn thing. I don&#39;t wanna give it away, but people need to know there&#39;s a faithful RPG element in this game that makes all the difference. (and I think that&#39;s remarkable) Be a good boy to mother and try to be good to others too.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (codnik)</author>
		<pubDate>Tue, 14 Jul 2009 19:14:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m thinking about making a director&#39;s cut of the game. We had a lot of ideas we never had time to implement that should make the game more fun to play. To be honest, we never actually played the game through until after the deadline... But before I do a director&#39;s cut I&#39;m looking forward to play all the other entries. The creativity Speedhack and TINS bring to this forum is amazing!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Næssén)</author>
		<pubDate>Tue, 14 Jul 2009 19:20:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I liked the game very much. However it crashes sometimes when i die (apparently, when I die in a cave level previous to the deepest reached or if I die in the map screen). And this is really very irritating and frustrating.</p><p>I also noticed that you&#39;ve used some save state internal feature. There is someway to load a previous gameplay?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Victor Williams Stafusa da Silva)</author>
		<pubDate>Tue, 14 Jul 2009 20:04:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>A the moment there is no way to load a previous game. All the code to load a previous game is in place as you have pointed out, it&#39;s just a matter of putting an option in the start menu, but we were out of time. I&#39;ll fix it in a future update.</p><p>The crashes sound very annoying. When you die we try to load the previously saved game state, my guess is that there is something wrong with that state. Are you running the game under Windows, or do you use Wine or something fishy like that? I can look into our save function and look for any errors. The game should NOT crash when you die... My apologies.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Næssén)</author>
		<pubDate>Tue, 14 Jul 2009 20:41:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yet another pretty impressive Team Darkbits game. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>IMO, this does an excellent job at employing a team in a SpeedHack game - by having people working for 72 hours on art and levels, you can actually dream of making a playable RPG game.</p><p>Most of the game is pretty well-made, and it has a very strong nostalgic flavour. If this was SH05, it could have taken the &quot;Make it a Classic&quot; award. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>There are its share of problems (the ones that codnik pointed out, plus the slooow movement that bores me to tears and lack of usable savestate), but it&#39;s overall a very good entry.</p><p>I&#39;ll try to beat it once you release a binary with save/load hacked in, even if it&#39;s just F1/F2, I don&#39;t care. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Rodrigo Monteiro)</author>
		<pubDate>Tue, 14 Jul 2009 20:56:50 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Nice graphics and music (although a lot was made beforehand?). I got the magic gun and returned to the previous room (with the brownish bats) and I got pushed inside the wall from getting damaged. That was the end of Ted.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Inphernic)</author>
		<pubDate>Tue, 14 Jul 2009 21:23:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Looks great. Another game from SH09 that I&#39;m excited to try. <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/821499#target">Næssén</a> said:</div><div class="quote"><p>The game should NOT crash when you die...</p></div></div><p>
<img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Tue, 14 Jul 2009 21:29:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Næssén:<br />I am using windows XP in an (somewhat old) Aspire 3000 notebook.</p><p>The crash happens sometimes, it&#39;s somewhat rare. But when this occurs I will need to redo it all again. I played your game 4 times, but never reached the final tower (the best time I could get 3 calcium crystals, without buying one). I die sometimes in the game and starts the cave where I died again, no problem here. But eventually if I got some bad luck, that bug kills me definitively.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Victor Williams Stafusa da Silva)</author>
		<pubDate>Tue, 14 Jul 2009 21:34:49 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Victor, if you quit the game on a crash recently could you perhaps upload the files data/gamestate.sav and data/inventory.txt?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Næssén)</author>
		<pubDate>Tue, 14 Jul 2009 21:58:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Short and sweet.</p><p>I played the game through without getting bored, although I wonder if I would have if I haden&#39;t found &quot;you know what&quot; that gives me huge amounts of money.</p><p>Well done.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Albin Engström)</author>
		<pubDate>Tue, 14 Jul 2009 22:38:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>When it crashed, it said that was the line 285 of some file, saying something about save/load inventory. I make a screenshot of that, but I was dumb enough to make a Ctrl+c of other thing before pasting the screenshot in paint.</p><p>The files are attached.</p><p>I died inside the central cave which has the entrance blocked by some stones just after the middle bridge (not sure if I was in the second or third level). I was in the middle of a crowd of bats. There were at least 3 bats coliding with me and a lot more very near.</p><p>EDIT: *** Spoiler deleted ***
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Victor Williams Stafusa da Silva)</author>
		<pubDate>Tue, 14 Jul 2009 23:17:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ve fixed the bug now thanks to your save files. I&#39;ve also added a continue option and tweaked some of the levels sizes (to make it easier). Victor, if you want to continue playing your game just replace the exe file and change the name of your inventory.txt file to inventory.sav.</p><p>As I tweaked the level sizes, and all levels are generated randomly, things might get weird if you simply add your save files to the updated release. Many thanks Victor for pointing out the bug!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Næssén)</author>
		<pubDate>Wed, 15 Jul 2009 00:34:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>PFFFF Victor! Way to spoil the fun! There are other people still playing this.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (codnik)</author>
		<pubDate>Wed, 15 Jul 2009 02:23:54 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/821578#target">codnik</a> said:</div><div class="quote"><p>PFFFF Victor! Way to spoil the fun! There are other people still playing this.</p></div></div><p>

Sorry. I deleted the spoiler.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Victor Williams Stafusa da Silva)</author>
		<pubDate>Wed, 15 Jul 2009 02:38:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>that&#39;s a nice little engine.  I like the animation of the coins and hearts as they bounce out of enemies.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Wed, 15 Jul 2009 02:45:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Just finished the game, very nice entry - probably my favourite.</p><p>But the walking speed kiiiiiiiills me... <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>Anyway, what&#39;s with heroic mode? I don&#39;t quite get what it does?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Rodrigo Monteiro)</author>
		<pubDate>Wed, 15 Jul 2009 10:00:10 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><img src="http://www.allegro.cc/forums/smileys/cool.gif" alt="8-)" />:  &quot;We don&#39;t go down there anymore...&quot;</p><p>Okay, I&#39;ve got three of the five crystals.  When I go to the lowest dungeon, I can walk through one door, but on the second, I get this:</p><p><i>An STD exception occured:  &quot;bad allocation&quot;.</i></p><p>Hopefully this can be fixed without me having to start over...?</p><p><sup>By the way, I&#39;m totally digging it...</sup>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Wed, 15 Jul 2009 11:20:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/821640#target">Onewing</a> said:</div><div class="quote"><p>An STD exception occured: &quot;bad allocation&quot;</p></div></div><p>
Which version of the game are you running Onewing? Version 5?</p><p>Edit: Found the bug. One of the dungeon generator files had an invalid character. Onewing, you can just copy your sav-files in the data directory to the new release&#39;s data directory and continue playing.</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/821637#target">Rodrigo Monteiro</a> said:</div><div class="quote"><p>Anyway, what&#39;s with heroic mode? I don&#39;t quite get what it does?</p></div></div><p>
In heroic mode dungeons get a random seed when you start. Also enemies has twice the amount of HP and when you die you get game over, instead of returning to the map.</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/821509#target">Inphernic</a> said:</div><div class="quote"><p>Nice graphics and music (although a lot was made beforehand?).</p></div></div><p>
All of the music except the menu music was made before the competition. The graphics however was made during the competition.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Næssén)</author>
		<pubDate>Wed, 15 Jul 2009 12:48:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>This game looks really good. <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /> I&#39;m excited to try it. <img src="http://www.allegro.cc/forums/smileys/rolleyes.gif" alt="::)" /> Shame it&#39;s Windows only...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Wed, 15 Jul 2009 19:21:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/821681#target">bamccaig</a> said:</div><div class="quote"><p>Shame it&#39;s Windows only...</p></div></div><p>
It works just fine with Wine, if you have Linux that is...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Næssén)</author>
		<pubDate>Wed, 15 Jul 2009 19:28:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/821682#target">Næssén</a> said:</div><div class="quote"><p>It works just fine with Wine, if you have Linux that is...</p></div></div><p>
I do, but I&#39;m not sure if Wine is installed, let alone correctly... <img src="http://www.allegro.cc/forums/smileys/lipsrsealed.gif" alt=":-X" /> Wine just feels...<i>dirty</i> to me.</p><p>I just spent a bunch of time trying to get Secret of Fantasy to compile in Linux, but a bad <tt>sed</tt> command resulted in overwriting all the source with empty files... <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" /> I&#39;ll have to start again and this time maybe I&#39;ll create a temporary Subversion repository to hold onto my progress. <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /> Is there anything in the source that would prevent it from running in Linux (or would make porting it more than a couple of hours work)?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Wed, 15 Jul 2009 19:57:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/821686#target">bamccaig</a> said:</div><div class="quote"><p>Is there anything in the source that would prevent it</p></div></div><p>
There are a couple of things you have to do, check os.hpp header and add a define for the data prefix (in the file or by using a gcc -D flag), check includes as we were lazy and didn&#39;t use full paths at some places, convert all dungeon and room files to use Unix line feeds. You should also really use the latest source as a couple of bugs have been fixed. I&#39;ve updated the source package with the latest source (it now also includes Guichan and Dumb). </p><p>Unfortunately I don&#39;t have Linux installed at the moment, if I did I would make a Linux package.</p><p>You should probably change line 33 in game.cpp to use windowed mode when trying to compile and run the game.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Næssén)</author>
		<pubDate>Wed, 15 Jul 2009 20:06:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Fun all the way around. Great entry!:D
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jazone Xie)</author>
		<pubDate>Wed, 15 Jul 2009 20:16:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/821647#target">Næssén</a> said:</div><div class="quote"><p>Onewing, you can just copy your sav-files in the data directory to the new release&#39;s data directory and continue playing.</p></div></div><p>
Sweet, thanks!</p><p>Finished the game, definitely enjoyed it.  Although, I think the music, which was created beforehand, had a lot to do with it.  There&#39;s definitely potential in the gameplay with some different monster AI.  I think you should spend just a little more time on it and it could vastly improve the fun value.  None the less, great speedhack entry.  Congrats on your team&#39;s success.  <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Thu, 16 Jul 2009 02:10:35 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>This is my favourite speedhack 2009 entry that I had tested so far (tested about half of them). Great job. I bet that you will probably be the winners or at least the second place.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Victor Williams Stafusa da Silva)</author>
		<pubDate>Thu, 16 Jul 2009 04:07:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><span class="cuss"><span>Fuck</span></span> it. I&#39;m booting Windows. And I hope you&#39;re happy. <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /></p><p><i>** EDIT **</i></p><p>Very nice entry. You should implement a skip feature on the dialog though. As a habit from Final Fantasy, I talk to each person multiple times to see if they have other things to say and it&#39;s nice when you know the dialog is a repeat to be able to skip past it rather than wait. The ESC <i>feature</i> bit me when trying to figure out how to skip the repeat dialog. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /></p><p>Also, the redundancy is very clever. I like it.</p><p><i>** EDIT **</i></p><p><i>Mother<span class="cuss"><span>fuck</span></span>er!</i> <img src="http://www.allegro.cc/forums/smileys/angry.gif" alt="&gt;:(" /> Before I play some more I should go and implement an exit prompt. <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Thu, 16 Jul 2009 05:18:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Just pull the ESC key off your keyboard. <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jeff Bernard)</author>
		<pubDate>Thu, 16 Jul 2009 06:33:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Beaten. <img src="http://www.allegro.cc/forums/smileys/cool.gif" alt="8-)" /> Great game. <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /> I like it a lot. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /> I was <i>interputed</i> once, but only for a minute.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Thu, 16 Jul 2009 06:56:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m happy to see people enjoying the game!</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/821798#target">bamccaig</a> said:</div><div class="quote"><p>Motherer!  Before I play some more I should go and implement an exit prompt.</p></div></div><p>
We totally forgot exiting this year and added the escape button in the last minute of the competition. If I make an update of the game, exiting is on the TODO list <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Næssén)</author>
		<pubDate>Thu, 16 Jul 2009 12:38:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/821844#target">Næssén</a> said:</div><div class="quote"><p>the TODO list <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p></div></div><p>Joystick support? <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /> <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /><img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Thu, 16 Jul 2009 20:43:35 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/821904#target">Mark Oates</a> said:</div><div class="quote"><p>Joystick support?</p></div></div><p>
Nah, I don&#39;t own a joystick <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Næssén)</author>
		<pubDate>Fri, 17 Jul 2009 03:10:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ve hacked the game to double player speed (which had the side-effect of doubling enemy speed as well...) and I found the game to be far more fun and enjoyable that way. Makes me wonder why it wasn&#39;t that way out of the box.</p><p>In case anyone wants to patch it, change lines 20-23 in normalactor.cpp like this:</p><div class="source-code"><div class="toolbar"><span class="name">normalactor.cpp</span><span class="button numbers"><b>#</b></span><span class="button select">Select</span><span class="button expand">Expand</span></div><div class="inner"><span class="number"> 20</span>  addState<span class="k2">(</span><span class="s">"walkright"</span>, <span class="k3">&amp;</span>mWalkSidewaysAnimation, <span class="n">2</span>, <span class="n">0</span>, <span class="n">6</span>, RIGHT, <span class="k1">true</span>, <span class="k1">false</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 21</span>  addState<span class="k2">(</span><span class="s">"walkleft"</span>, <span class="k3">&amp;</span>mWalkSidewaysAnimation, <span class="k3">-</span><span class="n">2</span>, <span class="n">0</span>, <span class="n">6</span>, LEFT, <span class="k1">false</span>, <span class="k1">false</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 22</span>  addState<span class="k2">(</span><span class="s">"walkdown"</span>, <span class="k3">&amp;</span>mWalkDownwardsAnimation, <span class="n">0</span>, <span class="n">2</span>, <span class="n">6</span>, DOWN, <span class="k1">false</span>, <span class="k1">false</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 23</span>  addState<span class="k2">(</span><span class="s">"walkup"</span>, <span class="k3">&amp;</span>mWalkUpwardsAnimation, <span class="n">0</span>, <span class="k3">-</span><span class="n">2</span>, <span class="n">6</span>, UP, <span class="k1">false</span>, <span class="k1">false</span><span class="k2">)</span><span class="k2">;</span>
</div></div><p>

This also has the (IMO) nice side effect of making the game a bit more challenging by making monsters faster.</p><p>[EDIT] BTW, this is the second time I find myself hacking a Darkbits game... I also felt compelled to hack Dr. Madness so I could hold down the mouse button and not develop RSI while playing the game.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Rodrigo Monteiro)</author>
		<pubDate>Fri, 17 Jul 2009 07:47:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I wouldn&#39;t really call that a &quot;hack&quot;. The source was freely available and you just tweaked it. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>I found in many &quot;rooms&quot; the enemies were decently challenging. At least, it took me a good few retries in the beginning to do well enough to survive to the end (albeit, my inventory was plentiful when I did...). The final boss was a little disappointing.</p><p>FYI, the <tt>&lt;code&gt;</tt> tag supports a <tt>name</tt> attribute (if you&#39;re going to do the line number you might as well do the file as well).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Fri, 17 Jul 2009 09:00:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well,</p><div class="quote_container"><div class="title">Wikipedia said:</div><div class="quote"><p>Hack has several related meanings in the technology and computer science fields. It may refer to a clever or quick fix to a computer program problem, or to what may be perceived to be a clumsy or inelegant (but usually relatively quick) solution to a problem.</p></div></div><p>

<img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>And thanks for the tip, edited the post!</p><p>P.S. I thought the game was really easy, never died on it... and I never figured what the energy drinks did until the battle with Vapor.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Rodrigo Monteiro)</author>
		<pubDate>Fri, 17 Jul 2009 09:04:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822018#target">Rodrigo Monteiro</a> said:</div><div class="quote"><p>...and I never figured what the energy drinks did until the battle with Vapor.</p></div></div><p>
Now that you mention it I never did use those... <img src="http://www.allegro.cc/forums/smileys/lipsrsealed.gif" alt=":-X" />
</p><div class="spoiler"><p>The time a hit would freeze Vapor was plenty to hit him again. I beat him in a matter of seconds, IIRC.</p></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Fri, 17 Jul 2009 09:47:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Took me a few seconds as well.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (codnik)</author>
		<pubDate>Sat, 18 Jul 2009 01:20:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I tried to compile this for Linux, but I got stuck with too many bugs. Something with line endings in text files - anyway, didn&#39;t get it to run.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Simon Parzer)</author>
		<pubDate>Sat, 18 Jul 2009 03:28:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822012#target">Rodrigo Monteiro</a> said:</div><div class="quote"><p>Makes me wonder why it wasn&#39;t that way out of the box.</p></div></div><p>
I&#39;m not sure. The walk speed never bothered us, but I can understand if people find it annoying. Isn&#39;t it difficult to enter doors when walking faster?</p><div class="quote_container"><div class="title">Rodrigo Monteiro said:</div><div class="quote"><p>BTW, this is the second time I find myself hacking a Darkbits game...</p></div></div><p>
I remember your last hack. It&#39;s always fun when people modify our games as it hopefully means they are worth playing <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> </p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822019#target">bamccaig</a> said:</div><div class="quote"><p>I beat him in a matter of seconds</p></div></div><p>
</p><div class="spoiler"><p>
Lord Vapor turned out a bit lame in the end. It&#39;s really difficult to balance a game in Speedhack, especially considering we never played the game through until after the deadline. I made Vapor able to teleport to counter the fact that he could easily be killed by cornering him. To make Vapor more fun I think the freeze time after a hit should be lowered, his HP should be increased and he should teleport more frequently.</p></div><p>

</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822126#target">Simon Parzer</a> said:</div><div class="quote"><p>I tried to compile this for Linux, but I got stuck with too many bugs. Something with line endings in text files - anyway, didn&#39;t get it to run.</p></div></div><p>
That&#39;s not bugs, it&#39;s called Windows line feeds. You have to replace all the Windows line feeds in our txt files with Unix line feeds. The game works fine with Wine by the way.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Næssén)</author>
		<pubDate>Sat, 18 Jul 2009 03:36:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822131#target">Næssén</a> said:</div><div class="quote"><p>That&#39;s not bugs, it&#39;s called Windows line feeds. </p></div></div><p>Or do what I&#39;ve done in the past, write the file loader to support all three line ending formats.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Sat, 18 Jul 2009 03:42:36 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822131#target">Næssén</a> said:</div><div class="quote"><p>That&#39;s not bugs, it&#39;s called Windows line feeds. You have to replace all the Windows line feeds in our txt files with Unix line feeds. The game works fine with Wine by the way.</p></div></div><p>
Ok, some files had mixed DOS and UNIX line feeds (mostly CRLF, but some lines had LF only). I converted those text files by hand and now it runs. Thank you.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Simon Parzer)</author>
		<pubDate>Sat, 18 Jul 2009 04:17:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822133#target">Thomas Fjellstrom</a> said:</div><div class="quote"><p>Or do what I&#39;ve done in the past, write the file loader to support all three line ending formats.</p></div></div><p>
I should remember that for the next competition.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Næssén)</author>
		<pubDate>Sat, 18 Jul 2009 04:30:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I finally get to try this game. It&#39;s a very cool game, with nice graphics, and it&#39;s an RPG! <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /> And I really like the music too. I&#39;ll try my best to finish the game.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Fishcake)</author>
		<pubDate>Sat, 18 Jul 2009 04:53:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822138#target">Simon Parzer</a> said:</div><div class="quote"><p>I converted those text files by hand and now it runs.</p></div></div><p>
Are you saying you got Secret Of Fantasy to compile and run in Linux!? Do please post the modified source!
</p><div class="spoiler"><p><tt>&lt;cough&gt;dos2unix&lt;/cough&gt;</tt> <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" /></p></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Sat, 18 Jul 2009 09:01:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822133#target">Thomas Fjellstrom</a> said:</div><div class="quote"><p>Or do what I&#39;ve done in the past, write the file loader to support all three line ending formats.</p></div></div><p>

I&#39;ve always just used &#39;nix style line endings and it&#39;s always worked fine for me on Windows. I guess pre-OSX macs wouldn&#39;t like it though.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Sat, 18 Jul 2009 14:36:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822138#target">Simon Parzer</a> said:</div><div class="quote"><p>
Ok, some files had mixed DOS and UNIX line feeds (mostly CRLF, but some lines had LF only). I converted those text files by hand and now it runs. Thank you.
</p></div></div><p>

IIRC the Allegro install routines have dtou and utod (&quot;dos to unix&quot; and &quot;unix to dos&quot;), also there&#39;s source available on the web for lots of variations.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Sat, 18 Jul 2009 17:22:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822178#target">bamccaig</a> said:</div><div class="quote"><p>&lt;cough&gt;dos2unix&lt;/cough&gt;</p></div></div><p>
</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822197#target">Arthur Kalliokoski</a> said:</div><div class="quote"><p>IIRC the Allegro install routines have dtou and utod (&quot;dos to unix&quot; and &quot;unix to dos&quot;), also there&#39;s source available on the web for lots of variations.</p></div></div><p>
Thanks for the hints - dos2unix would have worked.</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822178#target">bamccaig</a> said:</div><div class="quote"><p>Are you saying you got Secret Of Fantasy to compile and run in Linux!? Do please post the modified source!</p></div></div><p>
Yes, got it to compile and run. <a href="http://www.allegro.cc/files/attachment/599102">Here&#39;s the modified source</a> -- I included a Code::Blocks project and a CMake file, so compiling should be easy.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Simon Parzer)</author>
		<pubDate>Sat, 18 Jul 2009 22:49:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The dtou and utod were DJGPP programs. I&#39;m not sure if anything exists in Windows land outside of that.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (MiquelFire)</author>
		<pubDate>Sat, 18 Jul 2009 23:47:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822019#target">bamccaig</a> said:</div><div class="quote"><p>I beat him in a matter of seconds, IIRC.</p></div></div><p>
</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822105#target">codnik</a> said:</div><div class="quote"><p>Took me a few seconds as well.</p></div></div><p>
I&#39;ve made an update where I&#39;ve tweaked Vapor to be more challenging. I&#39;ve also changed some of the dungeon&#39;s sizes to be more challenging.</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822241#target">Simon Parzer</a> said:</div><div class="quote"><p>I included a Code::Blocks project and a CMake file, so compiling should be easy.</p></div></div><p>
I&#39;ve updated our source package with your CMake file and I&#39;ve also converted all text files to use Unix line feeds. Thanks for the CMake file Simon!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Næssén)</author>
		<pubDate>Sun, 19 Jul 2009 00:40:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822241#target">Simon Parzer</a> said:</div><div class="quote"><p>Yes, got it to compile and run. <a href="http://www.allegro.cc/files/attachment/599102">Here&#39;s the modified source</a> -- I included a Code::Blocks project and a CMake file, so compiling should be easy.</p></div></div><p>
</p><pre class="terminal scroll">[bamccaig@rufus build]$ cmake ..
...
[bamccaig@rufus build]$ make
...
[ 98%] Building C object src/CMakeFiles/secret_of_fantasy.dir/dumb/it/itorder.c.o
[ 99%] Building C object src/CMakeFiles/secret_of_fantasy.dir/dumb/it/loadmod.c.o
[100%] Building C object src/CMakeFiles/secret_of_fantasy.dir/dumb/it/itmisc.c.o
Linking CXX executable ../secret_of_fantasy
/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../lib64/liballeg-4.2.2.so: undefined reference to `_i_cx_r&#39;
/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../lib64/liballeg-4.2.2.so: undefined reference to `_i_is_cpuid_supported&#39;
/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../lib64/liballeg-4.2.2.so: undefined reference to `_i_get_cpuid_info&#39;
/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../lib64/liballeg-4.2.2.so: undefined reference to `_i_is_486&#39;
/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../lib64/liballeg-4.2.2.so: undefined reference to `_i_cx_w&#39;
/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../lib64/liballeg-4.2.2.so: undefined reference to `_i_is_cyrix&#39;
/usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../lib64/liballeg-4.2.2.so: undefined reference to `_i_is_fpu&#39;
collect2: ld returned 1 exit status
make[2]: *** [secret_of_fantasy] Error 1
make[1]: *** [src/CMakeFiles/secret_of_fantasy.dir/all] Error 2
make: *** [all] Error 2</pre><p>

What am I missing? <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Sun, 19 Jul 2009 05:53:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>On Linux you are supposed to use allegro-config instead of specifying the library directly.</p><p>Specifically, alleg_unsharable library is not linked.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Sun, 19 Jul 2009 05:59:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m completely unfamiliar with CMake so I have no idea how to look into that... <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Sun, 19 Jul 2009 06:02:10 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>A small addition in the CMakeLists.txt located in the src subfolder fixed it for me.</p><div class="source-code snippet"><div class="inner"><pre>LIST<span class="k2">(</span>APPEND Src $<span class="k2">{</span>SrcGame<span class="k2">}</span> $<span class="k2">{</span>SrcGuichan<span class="k2">}</span> $<span class="k2">{</span>SrcDumb<span class="k2">}</span><span class="k2">)</span>

execute_process<span class="k2">(</span>COMMAND allegro-config <span class="k3">-</span><span class="k3">-</span>libs OUTPUT_VARIABLE LIBS OUTPUT_STRIP_TRAILING_WHITESPACE<span class="k2">)</span>
link_libraries<span class="k2">(</span>$<span class="k2">{</span>LIBS<span class="k2">}</span><span class="k2">)</span>
add_executable<span class="k2">(</span>secret_of_fantasy $<span class="k2">{</span>Src<span class="k2">}</span><span class="k2">)</span>
set<span class="k2">(</span>EXECUTABLE_OUTPUT_PATH ..<span class="k2">)</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Sun, 19 Jul 2009 06:15:22 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822303#target">SiegeLord</a> said:</div><div class="quote"><p><span class="source-code">LIST<span class="k2">(</span>APPEND Src $<span class="k2">{</span>SrcGame<span class="k2">}</span> $<span class="k2">{</span>SrcGuichan<span class="k2">}</span> $<span class="k2">{</span>SrcDumb<span class="k2">}</span><span class="k2">)</span></span></p></div></div><p>
Where do <tt>SrcGame</tt>, <tt>SrcGuichan</tt>, and <tt>SrcDumb</tt> come from? <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" /> I&#39;m guessing I need to define them somehow, but as I said I&#39;m completely unfamiliar with CMake. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Sun, 19 Jul 2009 06:46:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Sorry, what I posted was a handmade diff, heh. Just look at the end of the CMakeLists.txt in question and you&#39;ll see what I mean (look at its end).</p><p>The modified CMakeLists.txt is attached for your convenience.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Sun, 19 Jul 2009 07:22:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><pre class="terminal scroll">[bamccaig@rufus build]$ cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib64/ccache/gcc
-- Check for working C compiler: /usr/lib64/ccache/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib64/ccache/c++
-- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:27 (add_executable):
  add_executable called with incorrect number of arguments


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.6)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run &quot;cmake --help-policy CMP0000&quot;.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
[bamccaig@rufus build]$ cmake -Wno-dev ..
CMake Error at CMakeLists.txt:27 (add_executable):
  add_executable called with incorrect number of arguments


-- Configuring incomplete, errors occurred!
[bamccaig@rufus build]$ </pre><p>
<img src="http://www.allegro.cc/forums/smileys/cry.gif" alt=":&#39;(" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Sun, 19 Jul 2009 08:40:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m not very familiar with CMake either, so I didn&#39;t know about the execute_process command. Thanks to SiegeLord for pointing that out.<br />bamccaig, you have two CMakeLists.txt files, one in the main directory, and one in the src/ subdirectory. Maybe you replaced the wrong one.</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822251#target">Næssén</a> said:</div><div class="quote"><p>I&#39;ve updated our source package with your CMake file and I&#39;ve also converted all text files to use Unix line feeds. Thanks for the CMake file Simon!</p></div></div><p>
Sorry for not telling you right away, as I stated above there are two CMakeLists.txt files, you only included one of them. Also I had to make a few changes to the source code, or it wouldn&#39;t compile with GCC.
</p><div class="source-code"><div class="toolbar"><span class="button numbers"><b>#</b></span><span class="button select">Select</span><span class="button expand">Expand</span></div><div class="inner"><span class="number">   1</span>diff <span class="k3">-</span>Naur db-06_secret_of_fantasy-7_src<span class="k3">/</span>src<span class="k3">/</span>CMakeLists.txt db-06_secret_of_fantasy-7_src_linux<span class="k3">/</span>src<span class="k3">/</span>CMakeLists.txt
<span class="number">   2</span><span class="k3">-</span><span class="k3">-</span><span class="k3">-</span> db-06_secret_of_fantasy-7_src<span class="k3">/</span>src<span class="k3">/</span>CMakeLists.txt  <span class="n">1970</span><span class="k3">-</span><span class="n">01</span><span class="k3">-</span><span class="n">01</span> <span class="n">01</span><span class="k2">:</span><span class="n">00</span><span class="k2">:</span><span class="n">00</span>.<span class="n">000000000</span> <span class="k3">+</span><span class="n">0100</span>
<span class="number">   3</span><span class="k3">+</span><span class="k3">+</span><span class="k3">+</span> db-06_secret_of_fantasy-7_src_linux<span class="k3">/</span>src<span class="k3">/</span>CMakeLists.txt  <span class="n">2009</span><span class="k3">-</span><span class="n">07</span><span class="k3">-</span><span class="n">19</span> <span class="n">11</span><span class="k2">:</span><span class="n">36</span><span class="k2">:</span><span class="n">47</span>.<span class="n">000000000</span> <span class="k3">+</span><span class="n">0200</span>
<span class="number">   4</span>@@ <span class="k3">-</span><span class="n">0</span>,<span class="n">0</span> <span class="k3">+</span><span class="n">1</span>,<span class="n">29</span> @@
<span class="number">   5</span><span class="k3">+</span>include_directories<span class="k2">(</span>. guichan dumb<span class="k2">)</span>
<span class="number">   6</span><span class="k3">+</span>
<span class="number">   7</span><span class="k3">+</span># Game
<span class="number">   8</span><span class="k3">+</span>FILE<span class="k2">(</span>GLOB SrcMain <span class="s">"*.cpp"</span><span class="k2">)</span>
<span class="number">   9</span><span class="k3">+</span>FILE<span class="k2">(</span>GLOB SrcEntities <span class="s">"entities/*.cpp"</span><span class="k2">)</span>
<span class="number">  10</span><span class="k3">+</span>FILE<span class="k2">(</span>GLOB SrcItems <span class="s">"items/*.cpp"</span><span class="k2">)</span>
<span class="number">  11</span><span class="k3">+</span>FILE<span class="k2">(</span>GLOB SrcGui <span class="s">"gui/*.cpp"</span><span class="k2">)</span>
<span class="number">  12</span><span class="k3">+</span>LIST<span class="k2">(</span>APPEND SrcGame $<span class="k2">{</span>SrcMain<span class="k2">}</span> $<span class="k2">{</span>SrcEntities<span class="k2">}</span> $<span class="k2">{</span>SrcItems<span class="k2">}</span> $<span class="k2">{</span>SrcGui<span class="k2">}</span><span class="k2">)</span>
<span class="number">  13</span><span class="k3">+</span>
<span class="number">  14</span><span class="k3">+</span># Guichan
<span class="number">  15</span><span class="k3">+</span>FILE<span class="k2">(</span>GLOB SrcGuichanMain <span class="s">"guichan/*.cpp"</span><span class="k2">)</span>
<span class="number">  16</span><span class="k3">+</span>FILE<span class="k2">(</span>GLOB SrcGuichanAllegro <span class="s">"guichan/allegro/*.cpp"</span><span class="k2">)</span>
<span class="number">  17</span><span class="k3">+</span>FILE<span class="k2">(</span>GLOB SrcGuichanWidgets <span class="s">"guichan/widgets/*.cpp"</span><span class="k2">)</span>
<span class="number">  18</span><span class="k3">+</span>LIST<span class="k2">(</span>APPEND SrcGuichan $<span class="k2">{</span>SrcGuichanMain<span class="k2">}</span> $<span class="k2">{</span>SrcGuichanAllegro<span class="k2">}</span> $<span class="k2">{</span>SrcGuichanWidgets<span class="k2">}</span><span class="k2">)</span>
<span class="number">  19</span><span class="k3">+</span>
<span class="number">  20</span><span class="k3">+</span># DUMB
<span class="number">  21</span><span class="k3">+</span>FILE<span class="k2">(</span>GLOB SrcDumbAllegro <span class="s">"dumb/allegro/*.c"</span><span class="k2">)</span>
<span class="number">  22</span><span class="k3">+</span>FILE<span class="k2">(</span>GLOB SrcDumbCore <span class="s">"dumb/core/*.c"</span><span class="k2">)</span>
<span class="number">  23</span><span class="k3">+</span>FILE<span class="k2">(</span>GLOB SrcDumbHelpers <span class="s">"dumb/helpers/*.c"</span><span class="k2">)</span>
<span class="number">  24</span><span class="k3">+</span>FILE<span class="k2">(</span>GLOB SrcDumbIt <span class="s">"dumb/it/*.c"</span><span class="k2">)</span>
<span class="number">  25</span><span class="k3">+</span>LIST<span class="k2">(</span>APPEND SrcDumb $<span class="k2">{</span>SrcDumbAllegro<span class="k2">}</span> $<span class="k2">{</span>SrcDumbCore<span class="k2">}</span> $<span class="k2">{</span>SrcDumbHelpers<span class="k2">}</span> $<span class="k2">{</span>SrcDumbIt<span class="k2">}</span><span class="k2">)</span>
<span class="number">  26</span><span class="k3">+</span>
<span class="number">  27</span><span class="k3">+</span>LIST<span class="k2">(</span>APPEND Src $<span class="k2">{</span>SrcGame<span class="k2">}</span> $<span class="k2">{</span>SrcGuichan<span class="k2">}</span> $<span class="k2">{</span>SrcDumb<span class="k2">}</span><span class="k2">)</span>
<span class="number">  28</span><span class="k3">+</span>
<span class="number">  29</span><span class="k3">+</span>execute_process<span class="k2">(</span>COMMAND allegro-config <span class="k3">-</span><span class="k3">-</span>libs OUTPUT_VARIABLE LIBS OUTPUT_STRIP_TRAILING_WHITESPACE<span class="k2">)</span>
<span class="number">  30</span><span class="k3">+</span>link_libraries<span class="k2">(</span>$<span class="k2">{</span>LIBS<span class="k2">}</span><span class="k2">)</span>
<span class="number">  31</span><span class="k3">+</span>add_executable<span class="k2">(</span>secret_of_fantasy $<span class="k2">{</span>Src<span class="k2">}</span><span class="k2">)</span>
<span class="number">  32</span><span class="k3">+</span>set<span class="k2">(</span>EXECUTABLE_OUTPUT_PATH ..<span class="k2">)</span>
<span class="number">  33</span><span class="k3">+</span>
<span class="number">  34</span>diff <span class="k3">-</span>Naur db-06_secret_of_fantasy-7_src<span class="k3">/</span>src<span class="k3">/</span>animation.hpp db-06_secret_of_fantasy-7_src_linux<span class="k3">/</span>src<span class="k3">/</span>animation.hpp
<span class="number">  35</span><span class="k3">-</span><span class="k3">-</span><span class="k3">-</span> db-06_secret_of_fantasy-7_src<span class="k3">/</span>src<span class="k3">/</span>animation.hpp  <span class="n">2009</span><span class="k3">-</span><span class="n">07</span><span class="k3">-</span><span class="n">10</span> <span class="n">19</span><span class="k2">:</span><span class="n">34</span><span class="k2">:</span><span class="n">08</span>.<span class="n">000000000</span> <span class="k3">+</span><span class="n">0200</span>
<span class="number">  36</span><span class="k3">+</span><span class="k3">+</span><span class="k3">+</span> db-06_secret_of_fantasy-7_src_linux<span class="k3">/</span>src<span class="k3">/</span>animation.hpp  <span class="n">2009</span><span class="k3">-</span><span class="n">07</span><span class="k3">-</span><span class="n">19</span> <span class="n">11</span><span class="k2">:</span><span class="n">42</span><span class="k2">:</span><span class="n">18</span>.<span class="n">000000000</span> <span class="k3">+</span><span class="n">0200</span>
<span class="number">  37</span>@@ <span class="k3">-</span><span class="n">2</span>,<span class="n">6</span> <span class="k3">+</span><span class="n">2</span>,<span class="n">7</span> @@
<span class="number">  38</span> <span class="p">#define DBSH07_ANIMATION_HPP</span>
<span class="number">  39</span> 
<span class="number">  40</span> <span class="p">#include &lt;vector&gt;</span>
<span class="number">  41</span><span class="k3">+</span>#include <span class="k3">&lt;</span>string&gt;
<span class="number">  42</span> <span class="p">#include &lt;allegro.h&gt;</span>
<span class="number">  43</span> 
<span class="number">  44</span> <span class="k1">class</span> Animation
<span class="number">  45</span>diff <span class="k3">-</span>Naur db-06_secret_of_fantasy-7_src<span class="k3">/</span>src<span class="k3">/</span>entities<span class="k3">/</span>chest.hpp db-06_secret_of_fantasy-7_src_linux<span class="k3">/</span>src<span class="k3">/</span>entities<span class="k3">/</span>chest.hpp
<span class="number">  46</span><span class="k3">-</span><span class="k3">-</span><span class="k3">-</span> db-06_secret_of_fantasy-7_src<span class="k3">/</span>src<span class="k3">/</span>entities<span class="k3">/</span>chest.hpp  <span class="n">2009</span><span class="k3">-</span><span class="n">07</span><span class="k3">-</span><span class="n">12</span> <span class="n">19</span><span class="k2">:</span><span class="n">29</span><span class="k2">:</span><span class="n">26</span>.<span class="n">000000000</span> <span class="k3">+</span><span class="n">0200</span>
<span class="number">  47</span><span class="k3">+</span><span class="k3">+</span><span class="k3">+</span> db-06_secret_of_fantasy-7_src_linux<span class="k3">/</span>src<span class="k3">/</span>entities<span class="k3">/</span>chest.hpp  <span class="n">2009</span><span class="k3">-</span><span class="n">07</span><span class="k3">-</span><span class="n">19</span> <span class="n">11</span><span class="k2">:</span><span class="n">40</span><span class="k2">:</span><span class="n">49</span>.<span class="n">000000000</span> <span class="k3">+</span><span class="n">0200</span>
<span class="number">  48</span>@@ <span class="k3">-</span><span class="n">13</span>,<span class="n">7</span> <span class="k3">+</span><span class="n">13</span>,<span class="n">7</span> @@
<span class="number">  49</span>   <span class="k1">void</span> draw<span class="k2">(</span><a href="http://www.allegro.cc/manual/BITMAP" target="_blank"><span class="a">BITMAP</span></a> <span class="k3">*</span>dest, <span class="k1">int</span> scrollx, <span class="k1">int</span> scrolly<span class="k2">)</span><span class="k2">;</span>
<span class="number">  50</span>   <span class="k1">bool</span> isToBeDeleted<span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  51</span>   Item<span class="k3">*</span> getItem<span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  52</span><span class="k3">-</span>  Chest::~Chest<span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  53</span><span class="k3">+</span>  <span class="k1">virtual</span> ~Chest<span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  54</span> 
<span class="number">  55</span> private:
<span class="number">  56</span>   <span class="k1">static</span> <span class="k1">const</span> <span class="k1">int</span> NO_FRAMES_TO_BE_OPEN <span class="k3">=</span> <span class="n">40</span><span class="k2">;</span>
<span class="number">  57</span>diff <span class="k3">-</span>Naur db-06_secret_of_fantasy-7_src<span class="k3">/</span>src<span class="k3">/</span>entities<span class="k3">/</span>towerdoor.hpp db-06_secret_of_fantasy-7_src_linux<span class="k3">/</span>src<span class="k3">/</span>entities<span class="k3">/</span>towerdoor.hpp
<span class="number">  58</span><span class="k3">-</span><span class="k3">-</span><span class="k3">-</span> db-06_secret_of_fantasy-7_src<span class="k3">/</span>src<span class="k3">/</span>entities<span class="k3">/</span>towerdoor.hpp  <span class="n">2009</span><span class="k3">-</span><span class="n">07</span><span class="k3">-</span><span class="n">13</span> <span class="n">00</span><span class="k2">:</span><span class="n">11</span><span class="k2">:</span><span class="n">58</span>.<span class="n">000000000</span> <span class="k3">+</span><span class="n">0200</span>
<span class="number">  59</span><span class="k3">+</span><span class="k3">+</span><span class="k3">+</span> db-06_secret_of_fantasy-7_src_linux<span class="k3">/</span>src<span class="k3">/</span>entities<span class="k3">/</span>towerdoor.hpp  <span class="n">2009</span><span class="k3">-</span><span class="n">07</span><span class="k3">-</span><span class="n">19</span> <span class="n">11</span><span class="k2">:</span><span class="n">42</span><span class="k2">:</span><span class="n">59</span>.<span class="n">000000000</span> <span class="k3">+</span><span class="n">0200</span>
<span class="number">  60</span>@@ <span class="k3">-</span><span class="n">16</span>,<span class="n">7</span> <span class="k3">+</span><span class="n">16</span>,<span class="n">7</span> @@
<span class="number">  61</span>   <span class="k1">void</span> draw<span class="k2">(</span><a href="http://www.allegro.cc/manual/BITMAP" target="_blank"><span class="a">BITMAP</span></a> <span class="k3">*</span>dest, <span class="k1">int</span> scrollx, <span class="k1">int</span> scrolly<span class="k2">)</span><span class="k2">;</span>
<span class="number">  62</span> 
<span class="number">  63</span> private:
<span class="number">  64</span><span class="k3">-</span>  std::string TowerDoor::buildGameStateVariableString<span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  65</span><span class="k3">+</span>  std::string buildGameStateVariableString<span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  66</span>   Animation animation<span class="k2">;</span>
<span class="number">  67</span>   <span class="k1">bool</span> <a href="http://www.delorie.com/djgpp/doc/libc/libc_600.html" target="_blank">open</a><span class="k2">;</span>
<span class="number">  68</span>   std::string targetDungeon<span class="k2">;</span>
<span class="number">  69</span>diff <span class="k3">-</span>Naur db-06_secret_of_fantasy-7_src<span class="k3">/</span>src<span class="k3">/</span>os.hpp db-06_secret_of_fantasy-7_src_linux<span class="k3">/</span>src<span class="k3">/</span>os.hpp
<span class="number">  70</span><span class="k3">-</span><span class="k3">-</span><span class="k3">-</span> db-06_secret_of_fantasy-7_src<span class="k3">/</span>src<span class="k3">/</span>os.hpp  <span class="n">2009</span><span class="k3">-</span><span class="n">07</span><span class="k3">-</span><span class="n">09</span> <span class="n">21</span><span class="k2">:</span><span class="n">52</span><span class="k2">:</span><span class="n">34</span>.<span class="n">000000000</span> <span class="k3">+</span><span class="n">0200</span>
<span class="number">  71</span><span class="k3">+</span><span class="k3">+</span><span class="k3">+</span> db-06_secret_of_fantasy-7_src_linux<span class="k3">/</span>src<span class="k3">/</span>os.hpp  <span class="n">2009</span><span class="k3">-</span><span class="n">07</span><span class="k3">-</span><span class="n">19</span> <span class="n">11</span><span class="k2">:</span><span class="n">41</span><span class="k2">:</span><span class="n">47</span>.<span class="n">000000000</span> <span class="k3">+</span><span class="n">0200</span>
<span class="number">  72</span>@@ <span class="k3">-</span><span class="n">1</span>,<span class="n">3</span> <span class="k3">+</span><span class="n">1</span>,<span class="n">5</span> @@
<span class="number">  73</span><span class="k3">+</span>#define DB_DATA_PREFIX <span class="s">"data/"</span>
<span class="number">  74</span><span class="k3">+</span>
<span class="number">  75</span> <span class="p">#if defined (__MINGW32__)</span>
<span class="number">  76</span> <span class="p">#define DB_WIN32</span>
<span class="number">  77</span> <span class="p">#define DB_DATA_PREFIX "data/"</span>
<span class="number">  78</span>diff <span class="k3">-</span>Naur db-06_secret_of_fantasy-7_src<span class="k3">/</span>src<span class="k3">/</span>room.cpp db-06_secret_of_fantasy-7_src_linux<span class="k3">/</span>src<span class="k3">/</span>room.cpp
<span class="number">  79</span><span class="k3">-</span><span class="k3">-</span><span class="k3">-</span> db-06_secret_of_fantasy-7_src<span class="k3">/</span>src<span class="k3">/</span>room.cpp  <span class="n">2009</span><span class="k3">-</span><span class="n">07</span><span class="k3">-</span><span class="n">13</span> <span class="n">15</span><span class="k2">:</span><span class="n">50</span><span class="k2">:</span><span class="n">26</span>.<span class="n">000000000</span> <span class="k3">+</span><span class="n">0200</span>
<span class="number">  80</span><span class="k3">+</span><span class="k3">+</span><span class="k3">+</span> db-06_secret_of_fantasy-7_src_linux<span class="k3">/</span>src<span class="k3">/</span>room.cpp  <span class="n">2009</span><span class="k3">-</span><span class="n">07</span><span class="k3">-</span><span class="n">19</span> <span class="n">11</span><span class="k2">:</span><span class="n">41</span><span class="k2">:</span><span class="n">28</span>.<span class="n">000000000</span> <span class="k3">+</span><span class="n">0200</span>
<span class="number">  81</span>@@ <span class="k3">-</span><span class="n">18</span>,<span class="n">6</span> <span class="k3">+</span><span class="n">18</span>,<span class="n">7</span> @@
<span class="number">  82</span> <span class="p">#include "resourcehandler.hpp"</span>
<span class="number">  83</span> 
<span class="number">  84</span> <span class="p">#include &lt;cmath&gt;</span>
<span class="number">  85</span><span class="k3">+</span>#include <span class="k3">&lt;</span>algorithm&gt;
<span class="number">  86</span> 
<span class="number">  87</span> Room::Room<span class="k2">(</span>TileMap<span class="k3">*</span> tileMap, Animation <span class="k3">*</span>tileSet<span class="k2">)</span>
<span class="number">  88</span> <span class="k2">{</span>
<span class="number">  89</span>@@ <span class="k3">-</span><span class="n">328</span>,<span class="n">18</span> <span class="k3">+</span><span class="n">329</span>,<span class="n">18</span> @@
<span class="number">  90</span> 
<span class="number">  91</span> <span class="k2">}</span>
<span class="number">  92</span> 
<span class="number">  93</span><span class="k3">-</span><span class="k1">void</span> Room::drawGame<span class="k2">(</span><a href="http://www.allegro.cc/manual/BITMAP" target="_blank"><span class="a">BITMAP</span></a> <span class="k3">*</span>buffer, <span class="k1">int</span> scrollX, <span class="k1">int</span> scrollY<span class="k2">)</span>
<span class="number">  94</span><span class="k3">+</span><span class="k1">class</span> EntityComparator
<span class="number">  95</span> <span class="k2">{</span>
<span class="number">  96</span><span class="k3">-</span>  std::vector<span class="k3">&lt;</span>Entity <span class="k3">*</span><span class="k3">&gt;</span> toDraw<span class="k2">(</span>mEntities<span class="k2">)</span><span class="k2">;</span>
<span class="number">  97</span><span class="k3">-</span>
<span class="number">  98</span><span class="k3">-</span>  <span class="k1">class</span> EntityComparator
<span class="number">  99</span><span class="k3">-</span>  <span class="k2">{</span>
<span class="number"> 100</span>   public:
<span class="number"> 101</span>     <span class="k1">int</span> <span class="k1">operator</span><span class="k2">(</span><span class="k2">)</span><span class="k2">(</span>Entity <span class="k3">*</span>a, Entity <span class="k3">*</span>b<span class="k2">)</span>
<span class="number"> 102</span>     <span class="k2">{</span>
<span class="number"> 103</span>       <span class="k1">return</span> <span class="k2">(</span>a-&gt;getY<span class="k2">(</span><span class="k2">)</span> <span class="k3">+</span> a-&gt;getHeight<span class="k2">(</span><span class="k2">)</span><span class="k2">)</span> <span class="k3">&lt;</span> <span class="k2">(</span>b-&gt;getY<span class="k2">(</span><span class="k2">)</span> <span class="k3">+</span> b-&gt;getHeight<span class="k2">(</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 104</span>     <span class="k2">}</span>
<span class="number"> 105</span><span class="k3">-</span>  <span class="k2">}</span><span class="k2">;</span>
<span class="number"> 106</span><span class="k3">+</span><span class="k2">}</span><span class="k2">;</span>
<span class="number"> 107</span><span class="k3">+</span>
<span class="number"> 108</span><span class="k3">+</span><span class="k1">void</span> Room::drawGame<span class="k2">(</span><a href="http://www.allegro.cc/manual/BITMAP" target="_blank"><span class="a">BITMAP</span></a> <span class="k3">*</span>buffer, <span class="k1">int</span> scrollX, <span class="k1">int</span> scrollY<span class="k2">)</span>
<span class="number"> 109</span><span class="k3">+</span><span class="k2">{</span>
<span class="number"> 110</span><span class="k3">+</span>  std::vector<span class="k3">&lt;</span>Entity <span class="k3">*</span><span class="k3">&gt;</span> toDraw<span class="k2">(</span>mEntities<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 111</span> 
<span class="number"> 112</span>   std::sort<span class="k2">(</span>toDraw.begin<span class="k2">(</span><span class="k2">)</span>, toDraw.end<span class="k2">(</span><span class="k2">)</span>, EntityComparator<span class="k2">(</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 113</span>   <span class="k1">int</span> drawEntityIndex <span class="k3">=</span> <span class="n">0</span><span class="k2">;</span>
<span class="number"> 114</span>diff <span class="k3">-</span>Naur db-06_secret_of_fantasy-7_src<span class="k3">/</span>src<span class="k3">/</span>room.hpp db-06_secret_of_fantasy-7_src_linux<span class="k3">/</span>src<span class="k3">/</span>room.hpp
<span class="number"> 115</span><span class="k3">-</span><span class="k3">-</span><span class="k3">-</span> db-06_secret_of_fantasy-7_src<span class="k3">/</span>src<span class="k3">/</span>room.hpp  <span class="n">2009</span><span class="k3">-</span><span class="n">07</span><span class="k3">-</span><span class="n">13</span> <span class="n">15</span><span class="k2">:</span><span class="n">50</span><span class="k2">:</span><span class="n">26</span>.<span class="n">000000000</span> <span class="k3">+</span><span class="n">0200</span>
<span class="number"> 116</span><span class="k3">+</span><span class="k3">+</span><span class="k3">+</span> db-06_secret_of_fantasy-7_src_linux<span class="k3">/</span>src<span class="k3">/</span>room.hpp  <span class="n">2009</span><span class="k3">-</span><span class="n">07</span><span class="k3">-</span><span class="n">19</span> <span class="n">11</span><span class="k2">:</span><span class="n">39</span><span class="k2">:</span><span class="n">11</span>.<span class="n">000000000</span> <span class="k3">+</span><span class="n">0200</span>
<span class="number"> 117</span>@@ <span class="k3">-</span><span class="n">167</span>,<span class="n">7</span> <span class="k3">+</span><span class="n">167</span>,<span class="n">7</span> @@
<span class="number"> 118</span>   <a href="http://www.allegro.cc/manual/BITMAP" target="_blank"><span class="a">BITMAP</span></a> <span class="k3">*</span>mZoomBuffer<span class="k2">;</span>
<span class="number"> 119</span> 
<span class="number"> 120</span>   std::vector<span class="k3">&lt;</span>Entity <span class="k3">*</span><span class="k3">&gt;</span> mEntities<span class="k2">;</span>
<span class="number"> 121</span><span class="k3">-</span>  std::map<span class="k3">&lt;</span>Entity::Type, std::vector<span class="k3">&lt;</span>Entity <span class="k3">*</span><span class="k3">&gt;</span><span class="k3">&gt;</span> mEntitiesByType<span class="k2">;</span>
<span class="number"> 122</span><span class="k3">+</span>  std::map<span class="k3">&lt;</span>Entity::Type, std::vector<span class="k3">&lt;</span>Entity <span class="k3">*</span><span class="k3">&gt;</span> <span class="k3">&gt;</span> mEntitiesByType<span class="k2">;</span>
<span class="number"> 123</span> 
<span class="number"> 124</span>   Game<span class="k3">*</span> mGame<span class="k2">;</span>
<span class="number"> 125</span>   Player<span class="k3">*</span> mPlayer<span class="k2">;</span>
<span class="number"> 126</span>diff <span class="k3">-</span>Naur db-06_secret_of_fantasy-7_src<span class="k3">/</span>src<span class="k3">/</span>stringutil.hpp db-06_secret_of_fantasy-7_src_linux<span class="k3">/</span>src<span class="k3">/</span>stringutil.hpp
<span class="number"> 127</span><span class="k3">-</span><span class="k3">-</span><span class="k3">-</span> db-06_secret_of_fantasy-7_src<span class="k3">/</span>src<span class="k3">/</span>stringutil.hpp  <span class="n">2009</span><span class="k3">-</span><span class="n">07</span><span class="k3">-</span><span class="n">11</span> <span class="n">13</span><span class="k2">:</span><span class="n">07</span><span class="k2">:</span><span class="n">08</span>.<span class="n">000000000</span> <span class="k3">+</span><span class="n">0200</span>
<span class="number"> 128</span><span class="k3">+</span><span class="k3">+</span><span class="k3">+</span> db-06_secret_of_fantasy-7_src_linux<span class="k3">/</span>src<span class="k3">/</span>stringutil.hpp  <span class="n">2009</span><span class="k3">-</span><span class="n">07</span><span class="k3">-</span><span class="n">19</span> <span class="n">11</span><span class="k2">:</span><span class="n">40</span><span class="k2">:</span><span class="n">16</span>.<span class="n">000000000</span> <span class="k3">+</span><span class="n">0200</span>
<span class="number"> 129</span>@@ <span class="k3">-</span><span class="n">64</span>,<span class="n">7</span> <span class="k3">+</span><span class="n">64</span>,<span class="n">11</span> @@
<span class="number"> 130</span> 
<span class="number"> 131</span> <span class="k1">inline</span> std::string toUpperCase<span class="k2">(</span><span class="k1">const</span> std::string<span class="k3">&amp;</span> str<span class="k2">)</span>
<span class="number"> 132</span> <span class="k2">{</span>
<span class="number"> 133</span><span class="k3">-</span>  <span class="k1">return</span> std::string<span class="k2">(</span>_strupr<span class="k2">(</span><span class="k2">(</span><span class="k1">char</span> <span class="k3">*</span><span class="k2">)</span>str.c_str<span class="k2">(</span><span class="k2">)</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 134</span><span class="k3">+</span>  std::string str_up<span class="k2">(</span>str<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 135</span><span class="k3">+</span>  <span class="k1">for</span> <span class="k2">(</span><span class="k1">unsigned</span> <span class="k1">int</span> i<span class="k3">=</span><span class="n">0</span><span class="k2">;</span> i<span class="k3">&lt;</span>str_up.size<span class="k2">(</span><span class="k2">)</span><span class="k2">;</span> <span class="k3">+</span><span class="k3">+</span>i<span class="k2">)</span> <span class="k2">{</span>
<span class="number"> 136</span><span class="k3">+</span>    str_up<span class="k2">[</span>i<span class="k2">]</span> <span class="k3">=</span> <a href="http://www.delorie.com/djgpp/doc/libc/libc_827.html" target="_blank">toupper</a><span class="k2">(</span>str_up<span class="k2">[</span>i<span class="k2">]</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 137</span><span class="k3">+</span>  <span class="k2">}</span>
<span class="number"> 138</span><span class="k3">+</span>  <span class="k1">return</span> str_up<span class="k2">;</span>
<span class="number"> 139</span> <span class="k2">}</span>
<span class="number"> 140</span> 
<span class="number"> 141</span> <span class="k1">inline</span> <span class="k1">int</span> stringToInt<span class="k2">(</span><span class="k1">const</span> std::string <span class="k3">&amp;</span>str<span class="k2">)</span> <span class="k2">{</span>
</div></div><p>
The following things turned out to be problems:<br /> - MSVC supports class declarations inside functions, GCC doesn&#39;t<br /> - MSVC provides _strupr, GCC/ANSI C doesn&#39;t<br /> - MSVC tolerates declarations like vector&lt;vector&lt;blah&gt;&gt;, GCC doesn&#39;t (&gt;&gt; is an operator)<br /> - MSVC includes modules like &lt;algorithm&gt;, &lt;string&gt; and &lt;vector&gt; by default, GCC doesn&#39;t<br /> - MSVC allows additional qualifiers inside class declarations (like int Blah::x inside class Blah{ }), GCC doesn&#39;t</p><p>On the other hand, there were zero problems concering case sensitive path names on UNIX, which made porting a lot easier than usual.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Simon Parzer)</author>
		<pubDate>Sun, 19 Jul 2009 15:09:35 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822340#target">Simon Parzer</a> said:</div><div class="quote"><p>I&#39;m not very familiar with CMake either, so I didn&#39;t know about the execute_process command. Thanks to SiegeLord for pointing that out.<br />bamccaig, you have two CMakeLists.txt files, one in the main directory, and one in the src/ subdirectory. Maybe you replaced the wrong one.</p></div></div><p>
My bad. <img src="http://www.allegro.cc/forums/smileys/embarassed.gif" alt=":-[" /> Thanks both of you. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Sun, 19 Jul 2009 23:46:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ve only briefly played it ... but it was well done. </p><p>In terms of rating it as a SpeedHack game, I have a hard time giving it a good score if there was a lot of code re-use and not much attention paid to the rules. But I haven&#39;t played it enough to judge it in terms of the rules, nor have I checked to see how much recycled material was included. </p><p>So if I get a chance to play it, I&#39;ll give you a better review. <img src="http://www.allegro.cc/forums/smileys/kiss.gif" alt=":-*" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Mon, 20 Jul 2009 06:52:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822340#target">Simon Parzer</a> said:</div><div class="quote"><p>you have two CMakeLists.txt files, one in the main directory, and one in the src/ subdirectory.</p></div></div><p>
Ah, I see. I should have known as I&#39;m familiar with CMake, guess I was tired or something. I should really boot up my Linux machine and make a decent source package. </p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822432#target">Matthew Leverton</a> said:</div><div class="quote"><p>if there was a lot of code re-use and not much attention paid to the rules</p></div></div><p>
There was not a lot of code re-use in this game. In all our Speedhack and TINS entries the engines have always been rewritten from scratch, it&#39;s not like we have a finished engine laying around that we use in Speedhack and TINS (as a lot of people seem to believe). Of course we reuse some code like utility code - for handling strings, files and such - and some Guichan widgets - like the dialogue widget. Sometimes we are lucky (perhaps experience is a better term), adding a bomb in this games was very easy as I have written two other games that included a similar bomb (just as you have written a lot of Tetris games). As far as I understand, code reuse is a part of the competition and not something that should make a game less competitive as long as there is a code reuse at a reasonable level. A games code structure is usually very similar, having written a couple of games you get pretty fast at structuring your engine.</p><p>The rule we didn&#39;t really pay much attention to was the &quot;Fantastically Mundane&quot; rule (although the game is about buying milk, the implementation was quite lame...), all other rules are present.  Read our readme file.</p><p>We always take these competitions quite seriously and we usually work our asses of during the whole competition. I think we enjoy Speedhack and TINS not so much for the sake of competing, but for having a good excuse for family and friends to sit infront of our computers for 72 hours making silly games <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Næssén)</author>
		<pubDate>Mon, 20 Jul 2009 14:47:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Fantastic game. I was impressed by both the ambition and the execution of this project. I always looked at RPG&#39;s as insane amounts of work, that Team Darkbits put one together for a Speedhack and made it good just boggels the mind. I salute you.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Wilson Saunders)</author>
		<pubDate>Mon, 20 Jul 2009 21:11:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ve updated the source package with the missing CMakeLists.txt file and with the changes that Simon Parzer did to the code. I managed to get it up and running with my Ubuntu installation (no sound though... which bothers me...). Again, thank you very much Simon!</p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/600900/822477#target">Wilson Saunders</a> said:</div><div class="quote"><p>I always looked at RPG&#39;s as insane amounts of work</p></div></div><p>
We did too! I&#39;ve never done an RPG before but we just couldn&#39;t resist the challenge. Most of the game content, all the dungeons, are generated using a custom rand function. Thanks to the generated content we could focus on adding cut scenes, enemies, items and design a couple of custom rooms (like the map, the cut scene rooms and the grocery store) making the game look and feel like an RPG with a lot of content for a Speedhack game. As I&#39;ve said before, we never got around to play the game through until after the deadline, we relied on the generated content to work (and it did, but we forgot to add a dungeon in the Speedhack version so the game shouldn&#39;t be beatable, but thanks to a clever mistake by me letting the player begin with 6 calcium crystal in the inventory there really was no need to look for crystals in the Speedhack version...).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Næssén)</author>
		<pubDate>Mon, 20 Jul 2009 22:03:02 +0000</pubDate>
	</item>
</rss>
