From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro: shutdown_gfx Date: 3 Sep 1997 05:38:46 GMT Organization: The National Capital FreeNet Lines: 19 Message-ID: <5uit56$sh7@freenet-news.carleton.ca> References: Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) NNTP-Posting-Host: freenet3.carleton.ca To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk "Salvador Eduardo Tropea " (salvador AT inti DOT edu DOT ar) writes: > Hi all, specially Shawn: > > I'm trying to use Allegro in combination with TVision (waco no?). I need to > turn on and off Allegro frequently, so I want to use shutdown_gfx() but is an > static function so perhaps I'm confused and I must use another function. Does > anybody know about it? If it's static it's probably not to be f*cked with. Like private members in a C++ class. Exploiting the guts of an implementation and all. I think you should just use set_gfx_mode(GFX_TEXT,80,25,0,0). If you really need to clear away Allegro-rerouted interrupts and other stuff call allegro_exit(), and call allegro_init() when you need it again. -- .*. Where feelings are concerned, answers are rarely simple [GeneDeWeese] -() < When I go to the theater, I always go straight to the "bag and mix" `*' bulk candy section...because variety is the spice of life... [me] Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh