hmm didn't work.
I tried without the array in predefinition:
PANEL* bul_panel;
and then trying to create the panel in runtime into it. (without for loop etc, just like one run). Nothing.
I even tried to crash my game through this function testing if the bul_panel[a] existsed or not. It didn't close program when I tested NULL and it didn't close when I tested bul_panel in the "else" part (if it isn't NULL then else indicates that pointer was given)
for (a=0; a < bullets; a+=1)
{
bul_panel[a] = pan_create(NULL, 101);
if (bul_panel[a] == NULL)
{
sys_exit("blabla");
}else{
sys_exit("blabla");
[...]
So I'm guessing the pan_create doesn't do its job ?
Also just to think, when i give panel bmap wouldn't it take it's size according to that image? Also I didn't get
width and
height parameters coloured, maybe another manual flaw or
LiteC doesn't recognise them?