Mail Archives: djgpp/1996/12/20/18:08:35
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------
- Raw text -