// **********************    Globals *****************************************

// Bildschirmgroessen ***************************
// Leider ist Makroverschachtelung nicht eingestellt => unten aufloesung auch
// aendern !!!!!!!!!!!!!!!!! VGAMODE !!!
#define vga_size_x 640
#define vga_size_y 480
#define scroll_size_x 640
#define scroll_size_y 480
#define scroll_mitte_x (scroll_size_x/2)
#define scroll_mitte_y (scroll_size_y/2)
#define menu_size_x (vga_size_x-scroll_size_x)
#define menu_size_y vga_size_y

// vgalib Init ****************************************
#define VGAMODE G640x480x256
// Farben *******************************************
#define col_black (char)0
#define col_trans (char)0

#include "sprite01.H"

sprite_linear_nontransparenttype *scrollscreenptr;
sprite_linear_nontransparenttype *menuscreenptr;


// ****************************************************** VGA - Initialisierung
// ****************************************************** VGA - Initialisierung

void initvga()
{
    	// VgaMode initen
#ifdef vgaoutput
	vga_setmode(VGAMODE);
	gl_setcontextvga(VGAMODE);
#endif
	scrollscreenptr=new sprite_linear_nontransparenttype(scroll_size_x,
							     scroll_size_y,
							     scroll_mitte_x,
							     scroll_mitte_y);
/*	menuscreenptr=new sprite_linear_nontransparenttype(menu_size_x,
							   menu_size_y,
							   0,0);*/
};



// **************************************************** Vga - Deinitialisierung

void deinitvga()
{
#ifdef vgaoutput
    vga_setmode(TEXT);
#endif
#ifdef DEBUG_tudvga_H
    printf("deinitvga() ...... \n");
#endif

    delete scrollscreenptr;
//    delete menuscreenptr;
};







