Der Script
#define PRAGMA_PATH "files/Grafiken_2"
#define PRAGMA_PATH "files"
///////////////////////////////////////////////////////
BMAP* cursor_1 = "cursor_1.tga";
///////////////////////////////////////////////////////
function Men();
function n_spiel();
function quit_program()
{
while (key_any) {wait (1);}
sys_exit(NULL);
}
PANEL* Neues_S =
{
pos_x = 0;
pos_y = 0;
bmap = "neues_s_hint.pcx";
button(30, 540, "back_1.pcx", "back_2.pcx", "back_1.pcx", Men, NULL, NULL);
flags = SHOW;
}
PANEL* Men_1 =
{
pos_x = 0;
pos_y = 0;
bmap = "Hauptbild.pcx";
button(300, 200, "Neues_S_1.pcx", "Neues_S_2.pcx", "Neues_S_1.pcx", n_spiel, NULL, NULL);
button(300, 250, "EXIT_1.pcx", "EXIT_2.pcx", "EXIT_1.pcx", quit_program, NULL, NULL);
}
function Men()
{
Neues_S.flags &= ~SHOW;
Men_1.flags = SHOW;
}
function n_spiel()
{
Men_1.flags &= ~SHOW;
Neues_S.flags = SHOW;
}
function main()
{
video_screen = 1;
mouse_mode = 4;
mouse_map = cursor_1;
Neues_S.flags &= ~SHOW;
wait(-5);
Men_1.flags |= SHOW;
}