init_draw()
{

	/* Get the address of the array of pointers to the 3 system
	 * font headers
	 */
	linea0();

	font_table = la_init.li_a1;

	/* Now set up the pointer to the font we want to use: */
	font_hdr = font_table[ AL_Font[ Getrez() ] ];

	/* Set up the character height */
	charHeight = font_hdr->font_height;
	charWidth = font_hdr->font_fat_cell;

	if( charWidth != 8 ) {
		form_alert( 1, "[2][System Font must be 8 bits wide][OK]" );
		exit(1);
	}

	font_base = font_hdr->font_data;
	f_nxt_lin = font_hdr->font_width;
	s_nxt_lin = VWRAP;

	next_char = (VPLANES * 2) - 1;
	num_planes = VPLANES;

	init_colmap();
}
Beispiel #2
0
void main( void )
{
  appl_init();
  linea0();
  if (ReadScreen())
  {
    MakeMap();
    SaveMap();
  }
  appl_exit();
}