Indeed, thank you TechMuc. Any idea why it seems to have issues with putting PANEL* inside of a struct? Both of these are in a different source file now. The top works, but the struct does not compile
// works
PANEL* Menu =
{
pos_x = 0;
pos_y = 0;
layer = 1;
bmap = "blue8x8.tga";
flags = OVERLAY | SHOW;
}
// Does not work
struct TestMenu
{
PANEL* Menu2 = // <---- Syntax error
{
pos_x = 750;
pos_y = 550;
layer = 1;
bmap = "blue8x8.tga";
flags = OVERLAY | SHOW;
}
};