Hi all,
I got a problem. Here's the code:
#define Health skill10 Health = 100;
#define Mana skill11 Mana = 50;
PANEL* skill_panel =
{
pos_x = 0;
pos_y = 0;
digits(50, 25, "Health = %0.f", *, 1, Health);
digits(50, 50, "Mana = %0.f", *, 1, Mana);
flags = OVERLAY | SHOW;
}
function main()
{
video_mode = 9;
screen_color.blue = 180;
mouse_mode = 4;
}
The problem is when I start the program, Health and Mana are still 0. How does this come?
Greetings Dave