delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/09/14:09:51

From: "Chris La Mantia" <lamantia AT gte DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: allegro+plush, many bmps on screen
Date: 9 Aug 1997 01:01:19 GMT
Organization: gte.net
Lines: 34
Message-ID: <5sgfgv$fkk$2@gte1.gte.net>
References: <869282931 DOT 13355 AT dejanews DOT com>
NNTP-Posting-Host: 1cust34.tnt1.columbia.mo.da.uu.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

nazgul AT hubb DOT com wrote in article <869282931 DOT 13355 AT dejanews DOT com>...
> In my main loop, I do this:
>   - render to the 3d bitmap.
>   - blit the button bar to the button bar bitmap.
>   - add the text to the bb bitmap
>      (repeat for all displays)
>   - blit bitmaps into respective subbitmaps of the hires 640x480 screen
>   - vsync() w/ allegro
>   - blit 640x480 buffer to screen mem
>   - get user input         \
>   - make AI choices         >  (actually beginning of loop, but hey...)
>   - update positions       /
> 
> So, after I do all this, for some twisted perversion of logic reason,
> the only thing that actually shows up is my 3d window...

Am I reading this right?  It looks like you're blitting your button bar and
other displays, and then blitting _over_ them when you blit the 3D
window....

Perhaps if you posted the source of the main loop, I could give you a
better answer...

Regards,

Chris


---------------------------------------------------------------------------
Chris La Mantia / lamantia AT gte DOT net
Current Project: Infinite Worlds, an RPG with a dynamic world
http://home1.gte.net/lamantia/infinite
NO UNSOLICITED COMMERCIAL E-MAIL ACCEPTED

- Raw text -


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