Mail Archives: djgpp/1997/09/06/11:33:44
"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
- Raw text -