ok, I've got the main menu finished, all except the functions for the buttons, all i need is one example though. I'm going to save the menu and everything else as seperate programs, so on the endurence button, would i code it like this?

PANEL* endubutton2 =
{
bmap = goover;
pos_x = 10;
pos_y = 200;
button(0, 0, goclicked, gonorm, goover, endurance.c, NULL, NULL);
flags = OVERLAY | SHOW;
}


Sorry, im new. I have a tendency to ask really simple questions, so please be patient.