PANEL* startgame_pan =
{
bmap = "main2_tga";
pos_x = 0;
pos_y = 468;
button (0, 1, "StartGame3_bmp", "StartGame3_bmp", "StartGame3_bmp",NULL, NULL, NULL);
button (330, 1, "settings3_bmp", "settings1_bmp", "settings2_bmp", startgame_to_settings, NULL, NULL);
button (580, 3, "extras3_bmp", "extras1_bmp", "extras2_bmp", startgame_to_extras, NULL, NULL);
button (800, 0, "quit3_bmp", "quit1_bmp", "quit2_bmp", startgame_to_quit, NULL, NULL);
button (10, 70, "new3_bmp", "new1_bmp", "new2_bmp", start_game, NULL, NULL);
button (10, 120, "load3_bmp", "load1_bmp", "load2_bmp", NULL, NULL, NULL);
button (10, 170, "save3_bmp", "save1_bmp", "save2_bmp", NULL, NULL, NULL);
flags = OVERLAY;
}
function main()
{
fps_max = 70;
video_mode = 9;
video_screen = 1;
set (main_pan, VISIBLE);
mouse_mode = 4;
mouse_map = mouse_pcx;
}
function start_game()
{
reset(main_pan, VISIBLE);
reset(startgame_pan, VISIBLE);
game_started = 1;
mouse_mode = 0;
level_load (NULL);
}