Im doing the 25 starter tutorials from this website and they were working just fine until i got to part 4 which is for loading bitmaps etc and im using the prewritten code and its giving me errors.... idk for some reason demo code on tutorials fails alot for me even with c+/++ i had the same issues



here is the code,
its saying error in MAIN line 2:"BMAP" undeclared identifier



////////////////////////////////////////////////////////////////////
BMAP first_pcx = "first.pcx"; // my first bmap
PANEL first_pan = // my first panel
{
pos_x = 0;
pos_y = 0;
layer = 1;
bmap = first_pcx;
flags = OVERLAY | SHOW;
}
/////////////////////////////////////////////////////////////////////
function main()
{
screen_size.x = 800;
screen_size.y = 600;
screen_color.blue = 150;
}