<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>load_PE_bmp</title>
		<link>http://www.allegro.cc/forums/view/604527</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Wed, 14 Jul 2010 00:52:32 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hey i was working on loading .egf files desmond had a topic about this and lenny made a system for it i was testing it and i didnt get any errors but when i start the program it says &quot;PE file doesnt have any resources&quot; but i just used gfx025.egf 102 does maybe anyone knows the solution?</p><p><img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (jeroen valk)</author>
		<pubDate>Mon, 05 Jul 2010 23:32:17 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If you can email me the *.egf file to lennylen AT woosh DOT co DOT nz, I&#39;ll take a look at it.  </p><p>edit: On second thoughts, it&#39;s probably too big to email, so you&#39;ll need to  host it online somewhere.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Tue, 06 Jul 2010 03:15:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>This is the GFX file that he&#39;s on about. I&#39;m also going to test that file for an error too.</p><p><a href="http://www.mediafire.com/?y0kfildmdry">http://www.mediafire.com/?y0kfildmdry</a></p><p>Edit:<br />Nope it works fine for me... You must have done something wrong yourself.</p><p>I used
</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>ALLEGRO_BITMAP <span class="k3">*</span>bmp <span class="k3">=</span> load_PE_bmp<span class="k2">(</span><span class="s">"gfx/gfx025.egf"</span>, <span class="n">102</span><span class="k2">)</span><span class="k2">;</span>
</div></div><p>

And it worked perfectly.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Desmond Taylor)</author>
		<pubDate>Tue, 06 Jul 2010 09:11:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>well i dont know what im doing wrong at the moment i use allegro 4.4.0.2 and i just use exactly the same code as you released</p><p>ow wait i puted the .c file and the .h again into my source and now i get those errors:&#39;(: </p><p>Compiler: Default compiler<br />Building Makefile: &quot;C:\Documents and Settings\Wil\Bureaublad\addict\eogfx\project van gfx\src\Makefile.win&quot;<br />Executing  make...<br />make.exe -f &quot;C:\Documents and Settings\Wil\Bureaublad\addict\eogfx\project van gfx\src\Makefile.win&quot; all<br />g++.exe -D__DEBUG__ -c load_PE_bmp.c -o load_PE_bmp.o -I&quot;C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include&quot;  -I&quot;C:/Dev-Cpp/include/c++/3.4.2/backward&quot;  -I&quot;C:/Dev-Cpp/include/c++/3.4.2/mingw32&quot;  -I&quot;C:/Dev-Cpp/include/c++/3.4.2&quot;  -I&quot;C:/Dev-Cpp/include&quot;    -g3</p><p>load_PE_bmp.c: In function `BITMAP* load_PE_bmp(const char*, int)&#39;:<br />load_PE_bmp.c:84: error: invalid conversion from `void*&#39; to `IMAGE_RESOURCE_DIRECTORY_ENTRY*&#39;</p><p>load_PE_bmp.c:122: error: invalid conversion from `void*&#39; to `IMAGE_RESOURCE_DIRECTORY_ENTRY*&#39;</p><p>load_PE_bmp.c:130: error: invalid conversion from `void*&#39; to `IMAGE_RESOURCE_DIRECTORY*&#39;<br />load_PE_bmp.c:131: error: invalid conversion from `void*&#39; to `IMAGE_RESOURCE_DIRECTORY_ENTRY*&#39;<br />load_PE_bmp.c:143: error: invalid conversion from `void*&#39; to `IMAGE_RESOURCE_DATA_ENTRY*&#39;</p><p>make.exe: *** [load_PE_bmp.o] Error 1</p><p>Execution terminated</p><p>its about this line:<br />root_entries = malloc(sizeof(IMAGE_RESOURCE_DIRECTORY_ENTRY) * (root.NumberOfNamedEntries + root.NumberOfIdEntries));
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (jeroen valk)</author>
		<pubDate>Tue, 06 Jul 2010 16:31:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Those errors are because you&#39;re compiling C code as C++, which is a lot stricter on casting.</p><p>You can either fix it yourself by changing each of the offending lines like this:</p><p><span class="source-code">root_entries <span class="k3">=</span> <span class="k2">(</span>IMAGE_RESOURCE_DIRECTORY_ENTRY<span class="k3">*</span><span class="k2">)</span><a href="http://www.delorie.com/djgpp/doc/libc/libc_551.html" target="_blank">malloc</a><span class="k2">(</span><span class="k1">sizeof</span><span class="k2">(</span>IMAGE_RESOURCE_DIRECTORY_ENTRY<span class="k2">)</span> <span class="k3">*</span> <span class="k2">(</span>root.NumberOfNamedEntries <span class="k3">+</span> root.NumberOfIdEntries<span class="k2">)</span><span class="k2">)</span><span class="k2">;</span></span></p><p>Or wait until I get around to doing it myself, which will probably take longer.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Tue, 06 Jul 2010 18:03:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Its working now really your the best <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /> <br />im so happy with this thx <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /><br /><img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (jeroen valk)</author>
		<pubDate>Tue, 06 Jul 2010 18:35:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That silly error which isn&#39;t one made me ask why to one of our old coding boss.</p><p>He told me that story:</p><p>Initially, malloc was returning a (char *) pointer, which, as far as he remember, wasn&#39;t guaranteed to have the same size everywhere, hence the cast.<br />Since C98 (or 99 he do not remember exactly) malloc return was changed to return a (void *) ptr, avoiding the cast (in C).</p><p>So, as Lenny said, this isn&#39;t an error in C because (void *) can be casted to whatever pointer you have, but as you saw, the behavior isn&#39;t the same in C++.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Tue, 06 Jul 2010 18:59:54 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>well it&#39;s working i load them from .egf files the only problem i got now when i load a picture the color changes is this because im using allegro 4.4? ( i see this is because i have to change the background color to 255,0,255 that&#39;s why the color changes so if it&#39;s possible to change that 255,0,255 to 0,0,0 my problem is over;D)</p><p>also i got an other question when i have for example a picture and i wanna only have the picture and not the background with the color: 255,0,255 it won&#39;t view.<br />can i change that 255,0,255 in to 0,0,0 in allegro 4.4?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (jeroen valk)</author>
		<pubDate>Tue, 06 Jul 2010 23:37:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I don&#39;t really understand your questions, anyway what I know is that from the first allegro version I used I was able to make a function which convert colors easily.</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><span class="c">/* function */</span>
<span class="number">  2</span><span class="k1">int</span> convert_spr_to_color<span class="k2">(</span> <a href="http://www.allegro.cc/manual/BITMAP" target="_blank"><span class="a">BITMAP</span></a> <span class="k3">*</span>spr , <span class="k1">int</span> color , <span class="k1">int</span> mask <span class="k2">)</span>
<span class="number">  3</span><span class="k2">{</span>
<span class="number">  4</span>  <span class="k1">register</span> <span class="k1">int</span> x , y <span class="k2">;</span>
<span class="number">  5</span>  
<span class="number">  6</span>  <span class="k1">if</span><span class="k2">(</span> <span class="k3">!</span>spr <span class="k2">)</span>
<span class="number">  7</span>    <span class="k1">return</span> <span class="k1">false</span> <span class="k2">;</span>
<span class="number">  8</span>    
<span class="number">  9</span>  <span class="k1">for</span><span class="k2">(</span> x <span class="k3">=</span> <span class="n">0</span> <span class="k2">;</span> x <span class="k3">&lt;</span> spr <span class="k3">-</span><span class="k3">&gt;</span> w <span class="k2">;</span> x <span class="k3">+</span><span class="k3">+</span> <span class="k2">)</span>
<span class="number"> 10</span>  <span class="k2">{</span>
<span class="number"> 11</span>    <span class="k1">for</span><span class="k2">(</span> y <span class="k3">=</span> <span class="n">0</span> <span class="k2">;</span> x <span class="k3">&lt;</span> spr <span class="k3">-</span><span class="k3">&gt;</span> h <span class="k2">;</span> y <span class="k3">+</span><span class="k3">+</span> <span class="k2">)</span>
<span class="number"> 12</span>    <span class="k2">{</span>
<span class="number"> 13</span>      <span class="k1">if</span><span class="k2">(</span> <a href="http://www.allegro.cc/manual/_getpixel" target="_blank"><span class="a">_getpixel</span></a><span class="k2">(</span> spr , x , y <span class="k2">)</span> <span class="k3">=</span><span class="k3">=</span> mask <span class="k2">)</span>
<span class="number"> 14</span>        <a href="http://www.allegro.cc/manual/_putpixel" target="_blank"><span class="a">_putpixel</span></a><span class="k2">(</span> spr , x , y , color <span class="k2">)</span><span class="k2">;</span>
<span class="number"> 15</span>    <span class="k2">}</span>
<span class="number"> 16</span>  <span class="k2">}</span>
<span class="number"> 17</span>  <span class="k1">return</span> <span class="k1">true</span> <span class="k2">;</span>
<span class="number"> 18</span><span class="k2">}</span>
<span class="number"> 19</span>
<span class="number"> 20</span><span class="c">/* use */</span>
<span class="number"> 21</span><a href="http://www.allegro.cc/manual/BITMAP" target="_blank"><span class="a">BITMAP</span></a> <span class="k3">*</span>bmp <span class="k2">;</span>
<span class="number"> 22</span>
<span class="number"> 23</span><span class="c">/*</span>
<span class="number"> 24</span><span class="c">  ... here you do whatever to fill your bmp with some data ...</span>
<span class="number"> 25</span><span class="c">*/</span>
<span class="number"> 26</span>
<span class="number"> 27</span><span class="c">/*converting !*/</span>
<span class="number"> 28</span>convert_spr_to_color<span class="k2">(</span> spr , <a href="http://www.allegro.cc/manual/makecol" target="_blank"><span class="a">makecol</span></a><span class="k2">(</span> <span class="n">255</span> , <span class="n">255</span> , <span class="n">255</span> <span class="k2">)</span> , <a href="http://www.allegro.cc/manual/makecol" target="_blank"><span class="a">makecol</span></a><span class="k2">(</span> <span class="n">0</span> , <span class="n">0</span> , <span class="n">0</span> <span class="k2">)</span> <span class="k2">)</span><span class="k2">;</span>
</div></div><p>

Well, untested !
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Wed, 07 Jul 2010 03:41: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/604527/874107#target">GullRaDriel</a> said:</div><div class="quote"><p> anyway what I know is that from the first allegro version I used I was able to make a function which convert colors easily</p></div></div><p>The only problem with this approach is that because the background colour is black, any black pixels that aren&#39;t part of the background will also be converted.</p><p>Doing <span class="source-code"><a href="http://www.allegro.cc/manual/floodfill" target="_blank"><span class="a">floodfill</span></a><span class="k2">(</span>bmp, <span class="n">0</span>, <span class="n">0</span>, <a href="http://www.allegro.cc/manual/makecol" target="_blank"><span class="a">makecol</span></a><span class="k2">(</span><span class="n">255</span>, <span class="n">0</span>, <span class="n">255</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span></span> on each image should do the trick, but will probably be a bit slow and will have odd results on any images that has black pixels along the edge of the background.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Wed, 07 Jul 2010 04:15:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>This is wy I upgraded to 4.9.20 as it has a built in function to convert to alpha <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Desmond Taylor)</author>
		<pubDate>Wed, 07 Jul 2010 05:10:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>A floodfill like Lenny proposed would work. Better in some case (you use pure black in the sprite&#39;s body) worse in other (i.e you also have parts to fill inside the body of the sprite).</p><p>It&#39;s really a thing to think before starting to draw.</p><p>Edit: I also think the OP don&#39;t use the right function for displaying his sprites.</p><p>Just a reminder for him:<br /><span class="source-code"><a href="http://www.allegro.cc/manual/masked_blit" target="_blank"><span class="a">masked_blit</span></a></span> for 255,0,255 masked sprites<br /><span class="source-code"><a href="http://www.allegro.cc/manual/draw_sprite" target="_blank"><span class="a">draw_sprite</span></a></span> for 0,0,0 masked sprites<br /><span class="source-code"><a href="http://www.allegro.cc/manual/blit" target="_blank"><span class="a">blit</span></a></span> for non-masked sprites.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Wed, 07 Jul 2010 13:25:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>K so with allegro it isnt possible to change that 255,0,255 <br />and if i go to allegro 4.9 it is?<br />but if i upgrade to 4.9 will my old code still work? with allegro 4.9???
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (jeroen valk)</author>
		<pubDate>Wed, 07 Jul 2010 16:38:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">jeroen said:</div><div class="quote"><p>
K so with allegro it isnt possible to change that 255,0,255 
</p></div></div><p>
We never said that !</p><div class="quote_container"><div class="title">jeroen said:</div><div class="quote"><p>
and if i go to allegro 4.9 it is?
</p></div></div><p>
I don&#39;t know since I don&#39;t exactly know what is your problem. Not enough informations.</p><p>We need:
</p><ul><li><p>The shortest piece of code showing the problem
</p></li><li><p>The complete description of the problem
</p></li><li><p>Some screenshots are welcome
</p></li><li><p>Finally, the data you used if any and if &lt; 10 MB (else you&#39;ll be forced to upload it elsewhere than allegro.cc)</p></li></ul><div class="quote_container"><div class="title">jeroen said:</div><div class="quote"><p>
but if i upgrade to 4.9 will my old code still work? with allegro 4.9???
</p></div></div><p>
Not without some major API change in your code, since 4.2/4.4 and 4.9 have very different ones.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Wed, 07 Jul 2010 18:02:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I had to make my own function to do this and here is what I did but I now use ALlegro5 so I&#39;m sorry if the code within is wrong.</p><p>I do know that this is about the same speed of allegro5&#39;s built in function so there is no need to change really.</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><span class="c">// Convert a color to allegro alpha.</span>
<span class="number">  2</span><span class="k1">void</span> convert_color_to_alpha<span class="k2">(</span><a href="http://www.allegro.cc/manual/BITMAP" target="_blank"><span class="a">BITMAP</span></a> <span class="k3">*</span>bmp, <span class="k1">int</span> color<span class="k2">)</span>
<span class="number">  3</span><span class="k2">{</span>
<span class="number">  4</span>    <span class="k1">for</span> <span class="k2">(</span><span class="k1">int</span> x<span class="k3">=</span><span class="n">0</span><span class="k2">;</span> x<span class="k3">&lt;</span><span class="k3">=</span>bmp-&gt;w<span class="k2">;</span> x<span class="k3">+</span><span class="k3">+</span><span class="k2">)</span>
<span class="number">  5</span>    <span class="k2">{</span>
<span class="number">  6</span>        <span class="k1">for</span> <span class="k2">(</span><span class="k1">int</span> y<span class="k3">=</span><span class="n">0</span><span class="k2">;</span> y<span class="k3">&lt;</span><span class="k3">=</span>bmp-&gt;h<span class="k2">;</span> y<span class="k3">+</span><span class="k3">+</span><span class="k2">)</span>
<span class="number">  7</span>        <span class="k2">{</span>
<span class="number">  8</span>            <span class="k1">if</span> <span class="k2">(</span><a href="http://www.allegro.cc/manual/getpixel" target="_blank"><span class="a">getpixel</span></a><span class="k2">(</span>bmp, x, y<span class="k2">)</span> <span class="k3">=</span><span class="k3">=</span> color<span class="k2">)</span>
<span class="number">  9</span>                <a href="http://www.allegro.cc/manual/putpixel" target="_blank"><span class="a">putpixel</span></a><span class="k2">(</span>bmp, x, y, <a href="http://www.allegro.cc/manual/makecol" target="_blank"><span class="a">makecol</span></a><span class="k2">(</span><span class="n">255</span>, <span class="n">0</span>, <span class="n">255</span><span class="k2">)</span><span class="k2">)</span>
<span class="number"> 10</span>        <span class="k2">}</span>
<span class="number"> 11</span>    <span class="k2">}</span>
<span class="number"> 12</span><span class="k2">}</span>
<span class="number"> 13</span>
<span class="number"> 14</span><span class="c">// Load the bitmap.</span>
<span class="number"> 15</span><a href="http://www.allegro.cc/manual/BITMAP" target="_blank"><span class="a">BITMAP</span></a> <span class="k3">*</span>tile <span class="k3">=</span> <a href="http://www.allegro.cc/manual/load_bitmap" target="_blank"><span class="a">load_bitmap</span></a><span class="k2">(</span><span class="s">"tile.bmp"</span>, NULL<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 16</span>
<span class="number"> 17</span><span class="c">// Make black transparent.</span>
<span class="number"> 18</span>convert_color_to_alpha<span class="k2">(</span>tile, <a href="http://www.allegro.cc/manual/makecol" target="_blank"><span class="a">makecol</span></a><span class="k2">(</span><span class="n">0</span>, <span class="n">0</span>, <span class="n">0</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span>
</div></div><p>

Note: This code is untested but it should work fine <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Desmond Taylor)</author>
		<pubDate>Thu, 08 Jul 2010 04:20:42 +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/604527/874308#target">Desmond Taylor</a> said:</div><div class="quote"><p> Note: This code is untested but it should work fine</p></div></div><p>Doesn&#39;t that make all black pixels in the image transparent then?  Or do they just not use black except for the background?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Thu, 08 Jul 2010 04:45:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Perhaps they use a tiny 1,1,1 black ^^
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Thu, 08 Jul 2010 13:18:56 +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/604527/874365#target">GullRaDriel</a> said:</div><div class="quote"><p> Perhaps they use a tiny 1,1,1 black</p></div></div><p>I just checked with a bmp from one of the .egf files I was sent, and they do use 0, 0, 0.  I also noticed, while I was checking, that my floodfill idea wouldn&#39;t have worked as is.  It would take up to 4 floodfills, as there is not a complete border of black around the subject of the picture, as I had believed.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Thu, 08 Jul 2010 15:54:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Which come down to the following: their sprites aren&#39;t suited for that type of display and they&#39;re better adapting the existing using their favorite&#39;s paint proggy.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Thu, 08 Jul 2010 16:51:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>well desmond it&#39;s working ^^ only a bit bad i have to do this for each bmp but it&#39;s working well :p thx
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (jeroen valk)</author>
		<pubDate>Thu, 08 Jul 2010 17:17:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yea it&#39;s 0 0 0 for each image with Endless Online.</p><p>You would have to call the function all the time.</p><p>Either call the following with Allegro 4.2.x/4.4.x</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>convert_color_to_alpha<span class="k2">(</span>bmp, <a href="http://www.allegro.cc/manual/makecol" target="_blank"><span class="a">makecol</span></a><span class="k2">(</span><span class="n">0</span>, <span class="n">0</span>, <span class="n">0</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span>
</div></div><p>

Or this for allegro 4.9.x</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>al_convert_mask_to_alpha<span class="k2">(</span>bmp, al_map_rgb<span class="k2">(</span><span class="n">0</span>, <span class="n">0</span>, <span class="n">0</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span>
</div></div><p>

It&#39;s still an extra line what ever you do.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Desmond Taylor)</author>
		<pubDate>Thu, 08 Jul 2010 18:09:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Ey also i saw it&#39;s not possible to load compressed .egf files but the normal eo client can do this?<br />is there a fix for this that would be awesome <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /> <img src="http://www.allegro.cc/forums/smileys/rolleyes.gif" alt="::)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (jeroen valk)</author>
		<pubDate>Mon, 12 Jul 2010 16:55:58 +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/604527/875120#target">jeroen valk</a> said:</div><div class="quote"><p> Ey also i saw it&#39;s not possible to load compressed .egf files but the normal eo client can do this?</p></div></div><p>If you can provide any info on the format, I could probably add support for it.  Until now, I didn&#39;t know there were compressed files (I&#39;ve never played EO myself).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Mon, 12 Jul 2010 17:39:22 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>
It&#39;s compressed with a .exe compresser <br />main EO didn&#39;t add this but Pserver are using it to protect there files from stealing the custome graphics i just wanna load them in the project but i saw it wasnt possible ( Main eo can load them ) Here&#39;s a link to the file im talking about: <a href="http://www.mediafire.com/?xmmwjxjxjfz">http://www.mediafire.com/?xmmwjxjxjfz</a> <br />it&#39;s compressed if i&#39;m right it&#39;s compressed with a program called PEID<br />also i&#39;m working with allegro5 <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /><br />it would be cool if you made support for it <img src="http://www.allegro.cc/forums/smileys/shocked.gif" alt=":o" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (jeroen valk)</author>
		<pubDate>Mon, 12 Jul 2010 17:44:24 +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/604527/875126#target">jeroen valk</a> said:</div><div class="quote"><p> it&#39;s compressed if i&#39;m right it&#39;s compressed with a program called PEID</p></div></div><p>PEid is a program for identifying what compressor was used.  It failed to detect it for the file you provided.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Mon, 12 Jul 2010 17:55:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s compressed in Expressor<br />I hope you can support it ^^
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (jeroen valk)</author>
		<pubDate>Mon, 12 Jul 2010 18:15:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You do know that Arvid will get pissed at you for editing his GFX files. The only way I can stop him being a twit is by not giving the *.egf files with my client downloads. The only way people can play with my client is by downloading the original client and copying the files from that. It&#39;s the only way you cant get sued my friend. Vult-R doesn&#39;t care but as he has said before in countless emails. Arvid will not change his mind and as you also should know Sausage had to wipe half of his forums because of arvid threatening him with copyright laws.</p><p>I would strongly recomend you use the original *.egf files and not include them with the download.</p><p>Would be a big shame if you got sued over this so strong advice is just don&#39;t use these private server edit&#39;s they still contain original Endless Online stuff and you know the rest.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Desmond Taylor)</author>
		<pubDate>Mon, 12 Jul 2010 22:59:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I know i won&#39;t add them in my download but i just want to know how to load compressed gfx files because it&#39;s pretty useful for other people too
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (jeroen valk)</author>
		<pubDate>Tue, 13 Jul 2010 01:15:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That is true if they want to use you&#39;re client for their server
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Desmond Taylor)</author>
		<pubDate>Tue, 13 Jul 2010 03:54:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I hope you can support it, it would be awesome<br />also i don&#39;t understand why normaly eo client support it but this doesnt
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (jeroen valk)</author>
		<pubDate>Tue, 13 Jul 2010 17:05:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Some of the graphics are 8bit and load_PE_bmp dont load them correctly.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Desmond Taylor)</author>
		<pubDate>Tue, 13 Jul 2010 20:15:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Ok <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /> <br />you think it&#39;s hard to fix it?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (jeroen valk)</author>
		<pubDate>Tue, 13 Jul 2010 21:06:26 +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/604527/875263#target">jeroen valk</a> said:</div><div class="quote"><p> you think it&#39;s hard to fix it?</p></div></div><p>No, it&#39;s a pretty easy fix.  I just haven&#39;t gotten around to doing it yet.  I already have the necessary code for loading every type of DIB format in my .cur library, I just need to add it to this function.</p><p>I&#39;ll try to have it done by the end of the week.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Tue, 13 Jul 2010 21:14:22 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Ok thank you <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> <br />your really helpful to me <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /><img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (jeroen valk)</author>
		<pubDate>Tue, 13 Jul 2010 21:31:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>jeroen valk, I told you on EOServ&#39;s forums that I will let you know when LennyLen has added the code for that as I have already messaged him about it.</p><p>I ain&#39;t in a rush since I&#39;m not bothered about readin EGF files atm. I wan&#39;t the game to just run nice so the graphics I have extracted like you did in you&#39;re first clone release <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Desmond Taylor)</author>
		<pubDate>Wed, 14 Jul 2010 00:52:32 +0000</pubDate>
	</item>
</rss>
