From: Lo'oRiS il K. <_l...@li...> - 2001-11-12 17:31:12
|
> > I'm not sure exactly what you mean with flipping here: if you implement > > page flipping, it surely would be a pity if it didn't flip? :-) > Yes, I thought flickering... So my small pgm again, with comments, what > I thought, that it will do: i had the same flickering problem... i do not remember who told me that this probably is because it changes page too fast... and a timer should be added... (my program worked fine if i used 4 pages) > set_gfx_mode (GFX_AUTODETECT, 640, 480, 640*2, 480*2); ^^ don't need it > BITMAP *page1 = create_video_bitmap(640,480); ^^^^^^^^ i love c99... but lots of compiler don't support it... > show_video_bitmap(bmp); > textout(bmp,font,"After show_video_bitmap() ",30,30,2000); u should see for a while "before video bitmap" because when u call show_video_bitmap, that is displayed, and overwrote only *after* by "after show..." > remove_keyboard (); > remove_mouse (); > remove_timer (); > allegro_exit (); useless... allegro should take care of it "Chocobos ignore humans who don't look like they'll give them greens" Final Fantasy 7 _.-:/°^^°\:-._.-:/°^^°\:-._ __. ____ - Lo'oRiS il Kabukimono - / /| /^___ \ Real Name: Lorenzo Petrone / / / / /L_/ / e-mail: _l...@li... / / / / ___-°/ irc.azzurra.net #lano / /_/__ / /|__-° digilander.iol.it/lano666 /______/| /__/ / ^°\:-.__.-:/°^°\:-.__.-:/°^ |______|/ |__L/ >From <all...@ca...> Mon Nov 12 09:47:48 2001 Received: from metallica.nexxera.com [200.196.30.26] by canvaslink.com with ESMTP (SMTPD32-6.00) id A10E87BD01CA; Mon, 12 Nov 2001 09:47:42 -0500 Received: from foster.nexxera.com ([10.9.15.132]) by metallica.nexxera.com (8.11.4/linuxconf) with ESMTP id fACAjNa25949 for <al...@ca...>; Mon, 12 Nov 2001 12:45:23 +0200 Message-Id: <5.1.0.14.0.20011112124622.00a64d20@10.9.15.1> X-Sender: fabio.stange@10.9.15.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 12 Nov 2001 12:49:36 -0300 To: al...@ca... From: Fabio Luis Stange <fab...@ne...> In-Reply-To: <001a01c16b84$7ad94900$030000c4@titan> References: <F12...@ho...> <4.3.2.7.2.20011112103730.0320ff90@203.59.70.242> <200...@li...> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: [AL] Allegro with NT Precedence: bulk Sender: all...@ca... Reply-To: al...@ca... X-UIDL: 308772641 Status: O Content-Length: 204 Lines: 8 Is it possible to run an Allegro program under NT? How? (sorry that has already been answered) Fabio Luis Stange Analista de Sistemas Nexxera Tecnologia e Servicos S.A. fab...@ne... |