<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Set path</title>
		<link>http://www.allegro.cc/forums/view/588935</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Thu, 07 Dec 2006 11:38:56 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I need to force al_findfirst to search in a specific path, but I don&#39;t know how to do it.<br /><span class="source-code"><a href="http://www.allegro.cc/manual/al_findfirst" target="_blank"><span class="a">al_findfirst</span></a></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Paul whoknows)</author>
		<pubDate>Thu, 07 Dec 2006 04:34:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><span class="source-code"><a href="http://www.allegro.cc/manual/set_allegro_resource_path" target="_blank"><span class="a">set_allegro_resource_path</span></a></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (TeamTerradactyl)</author>
		<pubDate>Thu, 07 Dec 2006 07:06:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The manual says
</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Sometimes Allegro doesn&#39;t look in enough places to find a resource. For those special cases, you can call this function before loading your resource with additional paths to search for. You set up the priorities, higher numbers are searched for first. To modify an already setup path, call this function with the same priority and the new path. To remove an already setup path, call this function with the priority of the path and NULL as the path parameter. Example:
</p></div></div><p>

</p><div class="source-code snippet"><div class="inner"><pre><a href="http://www.allegro.cc/manual/set_allegro_resource_path" target="_blank"><span class="a">set_allegro_resource_path</span></a>
<a href="http://www.allegro.cc/manual/find_allegro_resource" target="_blank"><span class="a">find_allegro_resource</span></a>
</pre></div></div><p>

These function are not what I am looking for.<br />.</p><p>I just want to use al_findfirst in a specific user-defined path.<br />In other words I need to set a working path, can I do that using allegro? how?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Paul whoknows)</author>
		<pubDate>Thu, 07 Dec 2006 07:45:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><span class="source-code"><a href="http://www.allegro.cc/manual/al_findfirst" target="_blank"><span class="a">al_findfirst</span></a><span class="k2">(</span><span class="s">"foo/*.bar"</span>, ...</span>?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (gnolam)</author>
		<pubDate>Thu, 07 Dec 2006 07:49:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Oh yes! thanks! 
</p><div class="quote_container"><div class="title">manual said:</div><div class="quote"><p>

if (al_findfirst(&quot;*.pcx&quot;, &amp;info, FA_ALL) != 0)
</p></div></div><p>

It wasn&#39;t so obvious to me at first, gnolam your post was much more clear, can you write the manual?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Paul whoknows)</author>
		<pubDate>Thu, 07 Dec 2006 08:21:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That is pretty standard for anything.  When things ask for a filename you either supply just the filename and have to put the file in the same path as the executable or using relative or fixed paths.  A manual shouldn&#39;t have to include that unless it was some how different.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Dalrymple)</author>
		<pubDate>Thu, 07 Dec 2006 11:38:56 +0000</pubDate>
	</item>
</rss>
