www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/05/10:00:31

Xref: news2.mv.net comp.os.msdos.djgpp:3455
From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro and Dialogues
Date: 5 May 1996 04:12:29 GMT
Organization: The National Capital FreeNet
Lines: 24
Sender: ao950 AT freenet5 DOT carleton DOT ca (Paul Derbyshire)
Message-ID: <4mh9rd$lfo@freenet-news.carleton.ca>
References: <4mgu9h$1b9 AT frodo DOT smartlink DOT net>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
NNTP-Posting-Host: freenet5.carleton.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Nicholas Marrone (nmarrone AT smartlink DOT net) writes:
> Hullo,
> 	I am once again having trouble with the dialouges in Allegro because
> of my inexperience with it. I have been trying to display a bitmap
> while staying in the main dialogue. I've been able to do this, but
> allegro refreshes the bitmap constantly, and the sprites over it
> causing a lot of flickering. The way I've done this is by making a
> function in a dialouge list that displays a bitmap and all the sprites
> over it. I just want to display it all once, though, not constantly.
> Any suggestions? I want to stay in the dialouge so that it will update
> buttons, lists, and other stuff like that. Any help appreciated.

This might be stupid but:

Do you call the function to display the bitmaps once, or are you perhaps
accidentally calling it every time something happnes, like every time the
mouse pointer moves, or something?

--
    .*.  "Clouds are not spheres, mountains are not cones, coastlines are not
 -()  <  circles, and bark is not smooth, nor does lightning travel in a
    `*'  straight line."    ,------------------------------------------------
         -- B. Mandelbrot  |  Paul Derbyshire (PGD) ao950 AT freenet DOT carleton DOT ca

- Raw text -


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