Fix for initialization of scalos preferences library. Library is now loaded only...
[AROS-Contrib.git] / Games / Bomber / GraphicStuff.c
blob5c47c3d7bf4e5cf849a43a5e2bf73625a38e9308
1 //Creates a new bitmap to draw to
2 void InitGraph ()
4 UBYTE *mem;
6 mem = malloc(WIDTH * HEIGHT * 2);
7 if (!mem) cleanup("Out of memory!");
9 MainBitmapData = mem;
10 BackBitmapData = mem + (WIDTH * HEIGHT);
14 //Return old bitmap
15 void CloseGraph ()