I'm fairly new to lite-c and starting to dive right into developing games. I'm starting out by building all the user interfaces first. But I've run into a problem it seems, I want more than one panel to be visible at any given time ... but every time I try to test the engine crashes ... why is this. I have two basic panels as follows ...
PANEL* info_pan =
{
pos_x = 0; pos_y = 560;
bmap = black_map;
layer = 1;
flags = VISIBLE;
}
PANEL* map =
{
pos_x = 101; pos_y = 101;
bmap = map;
layer = 2;
flags = VISIBLE;
}
when I run the code we crash ... if I comment out any one of the visible flags in either PANEL the game runs and that panel is showing ...
What am I doing wrong??