delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/01/13:36:12

From: icemaze <icemaze AT planet DOT it>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How can I return to text mode in Allegro?
Date: Sat, 01 Jan 2000 17:06:03 +0100
Organization: Centro Servizi Interbusiness
Lines: 15
Message-ID: <386E25EB.AC32F4FF@planet.it>
References: <385d4c18 DOT 194319 AT news DOT iddeo DOT es>
NNTP-Posting-Host: 212.110.161.95
Mime-Version: 1.0
X-Mailer: Mozilla 4.61 [en] (Win98; I)
X-Accept-Language: it,en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Pablo Parra wrote:
> 
> How can I return to text mode in Allegro?
> 
> That's my question. If anybody knows the answer, Ąplease respond!
> 
> Than you ;-)

simple:
--
set_gfx_mode (GFX_TEXT, 80, 25, 0, 0);
--
Actually, the "80" and "25" stuff is not necessary (you could put just
0, 0, 0, 0). I use those parameters just in case that Allegro developers
decide to add different text resolution support.

- Raw text -


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