11 static void BlitScreenToBitmap_SP__Stage_Blt()
13 BlitScreenToBitmap_SP(window);
17 static void init_struct_functions()
20 Stage.Blt = &DDScrollBuffer_Blt;
22 Stage.Blt = &BlitScreenToBitmap_SP__Stage_Blt;
25 Stage.ScrollTo = &DDScrollBuffer_ScrollTo;
26 Stage.ScrollTowards = &DDScrollBuffer_ScrollTowards;
27 Stage.SoftScrollTo = &DDScrollBuffer_SoftScrollTo;
29 StretchedSprites.BltEx = &DDSpriteBuffer_BltEx;
32 static void init_global_values()
34 menBorder.Checked = True * 0;
35 menPanel.Checked = True;
36 menAutoScroll.Checked = True;
38 MainForm.picPane.Width = picPane.Width = SCR_FIELDX * TILEX;
39 MainForm.picPane.Height = picPane.Height = SCR_FIELDY * TILEY;
44 init_struct_functions();
49 SetBitmaps_SP(&sp_objects);
52 screenBitmap = CreateBitmap(60 * TILEX, 24 * TILEY,
55 screenBitmap = CreateBitmap(MAX_BUF_XSIZE * TILEX, MAX_BUF_YSIZE * TILEY,
59 DDSpriteBuffer_CreateFromFile("[NONE]", 16, 16);