Gah! So much happening at once!
Hard for me to tell whats going on.
But Im fairly sure there is no way to get to the bitmap names when you load a BMAP into a panel.
Whereas you can (my way) when you load a bmap FILE into a panel, like this.
PANEL* mainpan = pan_create("pos_x=300; pos_y=150; bmap = \"Mountainroad.bmp\"; flags = SHOW;", -1);Also,
Make this change to game_structs.c to get your structures working
//=================================================================================================================================
// //
// STRUCKTURENPOINTER //
// """""""""""""""""" //
// //
//=================================================================================================================================
PANELMAP mypanmap;
//=================================================================================================================================
// //
// STRUCKTURENFUNKTION //
// """"""""""""""""""" //
// //
//=================================================================================================================================
PANELMAP* panelmapSetup(PANELMAP* inpanel)
{
str_cpy(inpanel.name, "test");
inpanel.bitmap = bmap_create(testobjekt);
}
//=================================================================================================================================
// //
// STRUCKTURENMEMORY //
// """"""""""""""""" //
// //
//=================================================================================================================================
//mypanmap = malloc(sizeof(PANELMAP));
panelmapSetup(mypanmap);