Mail Archives: djgpp/1997/10/16/17:16:12
From: | gregorio AT jet DOT es (Grzegorz Adam Hankiewicz)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Text Mode with allegro
|
Date: | Thu, 16 Oct 1997 17:32:42 GMT
|
Organization: | Gogosoftware
|
Message-ID: | <34464e87.2254098@news.jet.es>
|
References: | <6257hd$1anj$1 AT power DOT ci DOT uv DOT es>
|
NNTP-Posting-Host: | info218.jet.es
|
Lines: | 24
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
>I am using allegro
>I change to graphics mode with set_gfx_mode(GFX_AUTODETECT,640,480,0,0);
>then I change to text mode with set_gfx_mode(GFX_TEXT,80,25,0,0);
>but I use the function clrscr() and it does not work.
>
>I am doing anything wrong ?
Yes. All of Allegro's function are written ONLY for graphical modes,
like 320x200, 640x480, etc. The GFX_TEXT mode is there only to come
back to text mode when your program using graphics has ended.
You can't draw *anything* in text mode using Allegro.
However, I am already working in a small library to acceed the text
modes. It can be used with or without Allegro. Actually you can
download the first beta from my homepage at :
http://web.jet.es/gregorio/gogosoftware
PD: Si te apetece, podemos mandarnos emails privados en español.
Podría ayudarte con el Allegro... si quieres...
- G.A. Hankiewicz - ICQ 255289 - gregorio AT jet DOT es
http://web.jet.es/gregorio
- Gogosoftware
http://gogosoftware.base.org
- Raw text -