Here's an example of where I'm headed with my own version. This is incomplete, unpolished, and represents only one video_mode. I've also added the "panel" parameter to it. It allows me to get more specific. The final version of this section will have all of the required "panel" sections and all of the correct values assigned to whatever else gets included:

Code:

define pause, 0; //defines for resize parameter
define loadmenu, 1;
define savemenu, 2;
define gameSavingScreen, 3;
define mainmenu, 4;
define credits, 5;
bmap mm_640 = <mm640.bmp>; //mainmenu master panels
bmap mm_800 = <mm800.bmp>;
bmap mm_1024 = <mm1024.bmp>;
bmap mm_1280 = <mm1280.bmp>;
bmap mm_1600 = <mm1600.bmp>;
bmap cred_640 = <cred640.bmp>; //credits panels
bmap cred_800 = <cred800.bmp>;
bmap cred_1024 = <cred1024.bmp>;
bmap cred_1280 = <cred1280.bmp>;
bmap cred_1600 = <cred1600.bmp>;
bmap blackpanel_pan = <blackpanel_pcx.bmp>; //background panel

if(video_mode == 7) //800x600
{
if(panel == pause)
{
pnl = blackpanel_pan;
pnl.scale_x = 1.25;
pnl.scale_y = 1.25;

//add specific here

return;
}
if(panel == loadmenu)
{
pnl = blackpanel_pan;
pnl.scale_x = 1.25;
pnl.scale_y = 1.25;

//add specific here

return;
}
if(panel == savemenu)
{
pnl = blackpanel_pan;
pnl.scale_x = 1.25;
pnl.scale_y = 1.25;

//add specific here

return;
}
if(panel == gameSavingScreen)
{
pnl = blackpanel_pan;
pnl.scale_x = 1.25;
pnl.scale_y = 1.25;

//add specific here

return;
}
if(panel == mainmenu)
{
pnl = mainmenu_pan;
pnl.bmap = mm_800;
return;
}
if(panel == credits)
{
pnl = creditsPnl;
pnl.bmap = cred_800;
return;
}
}




My User Contributions master list - my initial post links are down but scroll down page to find list to active links