by Danyblue » Sep 4, 2001 @ 6:41am
Hi all<br>I have been trying to load an background image from a file using your routines "Loadtga" and i am not able to visualize them on the screen. <br>I am using the sample code of Easyce, and for bitmap I've tried images that i created with GIMP, but now to try to discover where is the error i am debugging with an image from the lemmings source code.<br>Could any one help me??<br><br>Thanx<br><br>Danyblue<br><br>void main()<br>{<br>unsigned short* p = (unsigned short*)getbuffer();<br>loadtga(L"\\MY Code\\sampleapp_easyce3\\background.tga",240,320,p,true);<br>while (1) { update(); if (clicked()) break; }<br>}