From: Tudor Newsgroups: comp.os.msdos.djgpp Subject: Re: graphics Date: Fri, 20 Dec 1996 16:01:53 -0800 Organization: Communications Accesibles Montreal Lines: 28 Message-ID: <32BB28F1.2470@cam.org> References: <1 DOT 5 DOT 4 DOT 16 DOT 19961218230509 DOT 19f7ab66 AT mail DOT algonet DOT se> Reply-To: tudor AT cam DOT org NNTP-Posting-Host: dynamicppp-149.hip.cam.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit To: Adam Skoglund DJ-Gateway: from newsgroup comp.os.msdos.djgpp Adam Skoglund wrote: > > Hallo verybody! > I know how to use graphics in Borland: initgraph(....... > bgi-graphics donīt work whit djgpp for me so how do you do it? > The question might seem a bit elementary but Iīm exreamly new > whit this. > I have Allegro but how do I get it to work? > Thanks! It's well explained in allegro.txt..if you print it,it's very handy! anyway: allegro_init(); set_gfx_mode(GFX_VGA,320,200,0,0);<--mode 13h The prototype is: int set_gfx_mode(int card, int w, int h, int v_w, int v_h); -- 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------