From: Tudor Newsgroups: comp.os.msdos.djgpp Subject: Re: Text in Allegro Date: Fri, 20 Dec 1996 15:53:12 -0800 Organization: Communications Accesibles Montreal Lines: 24 Message-ID: <32BB26E8.756@cam.org> References: <32b7679e DOT 16409210 AT news DOT primenet DOT com> Reply-To: tudor AT cam DOT org NNTP-Posting-Host: dynamicppp-149.hip.cam.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Mike McLean DJ-Gateway: from newsgroup comp.os.msdos.djgpp Mike McLean wrote: > > I have the allegro library and haven't experimented with it, or even > looked at it much, but I am curious if you can do text in a screen > mode like 640x480x256. Please don't flame me for posting this > question. I am writing a game that will need a good amount of text > displayed to the screen Yeah.It's something like : void textout(BITMAP *bmp, FONT *f, char *str, int x, int y, int color) Where: bitmap *bmp is where to draw(screen if you want to do it directly on it) font *f is the font and so on.... Read allegro.txt,it explains everything there. -- tudor 'at' cam 'dot' org http://www.cam.org/~tudor -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d-(--) s(-):(+) a? C+ UL>++++ P L>+++++ E- W++ N o K---(----) w--- O---- M-- V-? PS+++ PE Y PGP t+ 5-- X+++>++++ R tv b+ DI D+ G e->++ h>++ r- y>+++++ ------END GEEK CODE BLOCK------