can i test for allegro gfx mode?
I'm working on a casino game, and I want to switch from console to FULLSCREEN_AUTODETECT to play movies of slot machines and roulette wheels and such. The problem is that the first few seconds of the movie go unseen while set_gfx_mode() does its thing. Is there any way to test to see if the program has switched to fullscreen before I start the movie, or should I just put in something like:
Code:
set_gfx_mode(GFX_AUTODETECT_FULLSCREEN,800,600,0,0);
rest(5000);
drawboard();
I'd rather know when it switches in so that the user won't have to wait for the movie/skip the first part. Thanks.
(code attached)