setup.fullscreen = video.fullscreen_enabled;
/* redraw background to newly created backbuffer */
- BlitBitmap(new_graphic_info[IMG_GLOBAL_BORDER].bitmap, backbuffer,
+ BlitBitmap(graphic_info[IMG_GLOBAL_BORDER].bitmap, backbuffer,
0,0, WIN_XSIZE,WIN_YSIZE, 0,0);
/* restore old door content */
GetPlayerConfig();
LoadLevel(level_nr);
- SetMainBackgroundBitmap(new_graphic_info[IMG_BACKGROUND_DEFAULT].bitmap);
+ SetMainBackgroundImage(IMG_BACKGROUND_MAIN);
ClearWindow();
DrawHeadline();
int xstart = SX + 56, ystart = SY + 65 + 2 * 32, ystep = TILEY + 4;
int ybottom = SYSIZE - 20;
+ SetMainBackgroundImage(IMG_BACKGROUND_INFO);
ClearWindow();
DrawHeadline();
helpscreen_step[i] = helpscreen_frame[i] = 0;
helpscreen_musicpos = 0;
helpscreen_state = 0;
+
DrawHelpScreenElText(0);
DrawHelpScreenElAction(0);
CloseDoor(DOOR_CLOSE_2);
ClearWindow();
+
HandleChooseTree(0,0, 0,0, MB_MENU_INITIALIZE, ti_ptr);
MapChooseTreeGadgets(*ti_ptr);
void DrawChooseLevel()
{
+ SetMainBackgroundImage(IMG_BACKGROUND_LEVEL_SERIES);
+
DrawChooseTree(&leveldir_current);
}
{
int i;
+ SetMainBackgroundImage(IMG_BACKGROUND_HALL_OF_FAME);
ClearWindow();
+
DrawText(SX + 80, SY + 8, "Hall Of Fame", FS_BIG, FC_YELLOW);
DrawTextFCentered(46, FC_RED, "HighScores of Level %d", level_nr);
UnmapAllGadgets();
CloseDoor(DOOR_CLOSE_2);
+
ClearWindow();
if (setup_mode == SETUP_MODE_MAIN)
void DrawSetupScreen_Input()
{
ClearWindow();
+
DrawText(SX+16, SY+16, "Setup Input", FS_BIG, FC_YELLOW);
initCursor(0, IMG_BALL_BLUE);
{
DeactivateJoystick();
+ SetMainBackgroundImage(IMG_BACKGROUND_SETUP);
+
if (setup_mode == SETUP_MODE_INPUT)
DrawSetupScreen_Input();
else if (setup_mode == SETUP_MODE_CHOOSE_GRAPHICS)
gfx_unpressed = scrollbutton_info[i].gfx_unpressed;
gfx_pressed = scrollbutton_info[i].gfx_pressed;
- gd_bitmap_unpressed = new_graphic_info[gfx_unpressed].bitmap;
- gd_bitmap_pressed = new_graphic_info[gfx_pressed].bitmap;
- gd_x1 = new_graphic_info[gfx_unpressed].src_x;
- gd_y1 = new_graphic_info[gfx_unpressed].src_y;
- gd_x2 = new_graphic_info[gfx_pressed].src_x;
- gd_y2 = new_graphic_info[gfx_pressed].src_y;
+ gd_bitmap_unpressed = graphic_info[gfx_unpressed].bitmap;
+ gd_bitmap_pressed = graphic_info[gfx_pressed].bitmap;
+ gd_x1 = graphic_info[gfx_unpressed].src_x;
+ gd_y1 = graphic_info[gfx_unpressed].src_y;
+ gd_x2 = graphic_info[gfx_pressed].src_x;
+ gd_y2 = graphic_info[gfx_pressed].src_y;
gi = CreateGadget(GDI_CUSTOM_ID, id,
GDI_CUSTOM_TYPE_ID, i,
#else
gfx_unpressed = scrollbar_info[i].gfx_unpressed;
gfx_pressed = scrollbar_info[i].gfx_pressed;
- gd_bitmap_unpressed = new_graphic_info[gfx_unpressed].bitmap;
- gd_bitmap_pressed = new_graphic_info[gfx_pressed].bitmap;
- gd_x1 = new_graphic_info[gfx_unpressed].src_x;
- gd_y1 = new_graphic_info[gfx_unpressed].src_y;
- gd_x2 = new_graphic_info[gfx_pressed].src_x;
- gd_y2 = new_graphic_info[gfx_pressed].src_y;
+ gd_bitmap_unpressed = graphic_info[gfx_unpressed].bitmap;
+ gd_bitmap_pressed = graphic_info[gfx_pressed].bitmap;
+ gd_x1 = graphic_info[gfx_unpressed].src_x;
+ gd_y1 = graphic_info[gfx_unpressed].src_y;
+ gd_x2 = graphic_info[gfx_pressed].src_x;
+ gd_y2 = graphic_info[gfx_pressed].src_y;
#endif
gi = CreateGadget(GDI_CUSTOM_ID, id,
/* copy pointers to clip mask and GC */
scrollbar_bitmap[i]->clip_mask =
- new_graphic_info[IMG_SCROLLBAR_BLUE + i].clip_mask;
+ graphic_info[IMG_SCROLLBAR_BLUE + i].clip_mask;
scrollbar_bitmap[i]->stored_clip_gc =
- new_graphic_info[IMG_SCROLLBAR_BLUE + i].clip_gc;
+ graphic_info[IMG_SCROLLBAR_BLUE + i].clip_gc;
- BlitBitmap(new_graphic_info[IMG_SCROLLBAR_BLUE + i].bitmap,
+ BlitBitmap(graphic_info[IMG_SCROLLBAR_BLUE + i].bitmap,
scrollbar_bitmap[i],
- new_graphic_info[IMG_SCROLLBAR_BLUE + i].src_x,
- new_graphic_info[IMG_SCROLLBAR_BLUE + i].src_y,
+ graphic_info[IMG_SCROLLBAR_BLUE + i].src_x,
+ graphic_info[IMG_SCROLLBAR_BLUE + i].src_y,
TILEX, TILEY, 0, 0);
}
#endif