Thank you.

Can this process be hardware accelerated with the bitmaps preloaded? Ultimately, the names of images will be read from a file into a STRUCT along with other information (e.g., x/y coord) while time elapsed, in ms, between display and key press will be critical.

Are there any benefits to doing this in legacy mode?

Again, I apologize for the basic nature of the questions. I am hoping to systematically reach a flexible end point which may necessitate very naive posts.

Code:
////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>

////////////////////////////////////////////////////////////////////

BMAP* first_pcx = "first.pcx"; 
BMAP* second_pcx = "main.pcx";


PANEL* first_pan = 
{
	pos_x = 0;
	pos_y = 0;
	layer = 1;
	bmap = first_pcx;
	flags = OVERLAY | VISIBLE;
}


/////////////////////////////////////////////////////////////////////

void main()
{
	video_mode = 7; 
	screen_color.blue = 150;


while(!key_enter)
{
	wait(1);
	} //wait until the enter key is pressed
  
  first_pan.bmap = second_pcx; //show new bmap	
	
}


Last edited by kns; 05/10/09 16:54.