www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/28/16:35:19

Message-Id: <3.0.5.32.19980528163406.0079ee10@wcnet.org>
Date: Thu, 28 May 1998 16:34:06 -0400
To: djgpp AT delorie DOT com
From: Joseph Schroeder <zack AT acmepet DOT com>
Subject: Error, and more...
Mime-Version: 1.0

  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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019