path "gui"
path "snd"
var video_mode = 8;
var video_screen = 1;
var video_depth = 32;
bmap map_1 "map_1.tga";///mouse map
bmap but_1 "but_1.tga";
bmap but_2 "but_2.tga";///basic buttons
panel side_panel_1
{
layer = 10;
button = 66,159,but_1,but_2,but_1,null,null,null;
flags = VISIBLE | OVERLAY;
}
function mouse
{
while(1)
{
vec_set(mouse_pos,mouse_cursor);
wait(1);
}
}
function main
{
fps_max=60;
mouse_range=3000;
level_load("begin.wmb");
wait(3);
///move_cam();
mouse();
mouse_spot.x = bmap_width(map_1)/2;
mouse_spot.y = bmap_height(map_1)/2;
mouse_map = map_1;
mouse_mode = 1;
}