Mail Archives: djgpp/1998/05/28/16:35:19
I have several questions for you all... That I cannot figure out how to
slove or do. First, can allegro display gifs or animated gifs?
Second, when i put in c++ commands... I try to actually make the .o file
into an .exe, it gives me a bunch of errors, and it cant find a library
called stdcx
full error |
v
Error: c:/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or directory
(ENOENT)
Third, When i use the code for displaying a BMP file... (
main()
{
BITMAP *bmp;
RGB pal[256];
allegro_init();
set_gfx_mode(GFX_AUTODETECT,800,600,0,0);
bmp=load_bitmap(filename,pal);
blit(bmp,screen,0,0,0,0,bmp->w,bmp->h);
}
) ... It seems that i can only display one bitmap to the screen at a
time... could i change that? And... could I make it so all you would do is
set a varible, perhaps named image and set it to a specific bmp name, so
that you would only have to make it goto a sub with a variable set to
display a bitmap.
Fourth, Are there any other good libraries like allegro out there? Ive
tried a couple... but I have never gotten them in correctly...
Thanks,
Jeremy
- Raw text -