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
Lines: 34
Message-ID: <5sgfgv$fkk$>
References: <869282931 DOT 13355 AT dejanews DOT com>
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

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



Chris La Mantia / lamantia AT gte DOT net
Current Project: Infinite Worlds, an RPG with a dynamic world

- Raw text -

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