delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/16/17:00:34

From: a DOT gillett AT virgin DOT net (Andrew R. Gillett)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: HELP!!![Allegro] Datafile problem!!!
Date: Tue, 16 Jun 1998 16:56:38 +0100
Organization: Virgin Net Usenet Service
Lines: 19
Message-ID: <MPG.ff07ddb9023ecf59897a7@news.virgin.net>
References: <358596F4 DOT A5F6088C AT netrover DOT com>
NNTP-Posting-Host: 194.168.67.38
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In comp.os.msdos.djgpp, article <358596F4 DOT A5F6088C AT netrover DOT com>, Nicolas 
Blais (eletech AT netrover DOT com) wrote:

> void show_centered_bmp(char filename[20],int y)
>      {
>      BITMAP* bmp;
>      PALETTE pal;
>      bmp = load_bmp(filename,pal);
>      masked_blit(bmp,screen,0,0,(SCREEN_W-bmp->w)/2,y,bmp->w,bmp->h);
>      destroy_bitmap(bmp);
>       }
> show_centered_bmp(datafile[Title_Main].dat, 100);

Title_Main is a string?
 
-- 
Andrew Gillett
http://argnet.fatal-design.com/
ICQ: 12142937

- Raw text -


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