Posted By: Secret_V
Mouse Problem [Solved] - 11/08/08 18:37
Can anyone tell me what's wrong with this script?
////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>
////////////////////////////////////////////////////////////////////
var speed = 50;
BMAP* mouse_pcx = "mouse.pcx"; // bitmap used for the mouse pointer
////////////////////////////////////////////////////////////////////
function main()
{
video_mode = 7;
screen_color.blue = 150;
mouse_map = mouse_pcx;
mouse_mode = 4;
}
//////////////////////////////////////////////////////////////////////
PANEL* main_pan =
{
bmap = "main2.pcx";
pos_x = 250;
pos_y = 200;
vslider (16, 71, 90, "slider.pcx", 0, 100, speed);
digits (15, 50, 3, *, 1, speed);
flags = OVERLAY | VISIBLE;
}
//////////////////////////////////////////////////////////////////////
This script came with the lite-c tutorial, so it should work. But I can't even see my mouse. Let alone use the slider.
////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>
////////////////////////////////////////////////////////////////////
var speed = 50;
BMAP* mouse_pcx = "mouse.pcx"; // bitmap used for the mouse pointer
////////////////////////////////////////////////////////////////////
function main()
{
video_mode = 7;
screen_color.blue = 150;
mouse_map = mouse_pcx;
mouse_mode = 4;
}
//////////////////////////////////////////////////////////////////////
PANEL* main_pan =
{
bmap = "main2.pcx";
pos_x = 250;
pos_y = 200;
vslider (16, 71, 90, "slider.pcx", 0, 100, speed);
digits (15, 50, 3, *, 1, speed);
flags = OVERLAY | VISIBLE;
}
//////////////////////////////////////////////////////////////////////
This script came with the lite-c tutorial, so it should work. But I can't even see my mouse. Let alone use the slider.