www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/17/18:57:13

From: arg AT whangomatic DOT freeserve DOT co DOT uk (Andrew R. Gillett)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro Graphics Problem
Date: Tue, 17 Aug 1999 20:35:15 +0100
Organization: www.release-dates.co.uk
Message-ID: <MPG.1223aee21c2294c898b057@news.freeserve.net>
References: <7paacd$ij$1 AT nnrp1 DOT deja DOT com> <rrig0is23uk85 AT corp DOT supernews DOT com>
NNTP-Posting-Host: modem-28.scuba.dialup.pol.co.uk
X-Trace: news7.svr.pol.co.uk 934918562 7972 62.136.150.28 (17 Aug 1999 19:36:02 GMT)
NNTP-Posting-Date: 17 Aug 1999 19:36:02 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: MicroPlanet Gravity v2.12
Lines: 12
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In comp.os.msdos.djgpp, Al Morgan wrote:
> The solution is quite simple (as most programming bugs are).  320x200 res.
> graphics mode, but your writing to y-position 255!  That's way off the
> screen.  Try
> 
> textout_centre(screen,font,"Ready. Beep.",160,100,100);

The Y position is the second to last number. The last one is the colour.

-- 
Andrew Gillett      http://argnet.fatal-design.com/     ICQ: See homepage
"I've always wanted to be a sandcastle." - Chelmer Monkton, Starship Losers

- Raw text -


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