switch (get_shapenum()) { case EXULT_FLX_GAM_LOADSAVE_SHP:
if (text == loadsavetext) {
void Gamemenu_button::activate(Game_window *gwin){	switch (get_shapenum()) {	case EXULT_FLX_GAM_LOADSAVE_SHP: // load/save		((Gamemenu_gump*)parent)->loadsave();		break;	case EXULT_FLX_GAM_VIDEO_SHP: // video options		((Gamemenu_gump*)parent)->video_options();		break;	case EXULT_FLX_GAM_AUDIO_SHP: // audio options		((Gamemenu_gump*)parent)->audio_options();		break;	case EXULT_FLX_GAM_GAMEPLAY_SHP: // gameplay options		((Gamemenu_gump*)parent)->gameplay_options();		break;	case EXULT_FLX_GAM_QUITMENU_SHP: // quit to menu		((Gamemenu_gump*)parent)->quit(true);		break;	case EXULT_FLX_GAM_QUIT_SHP: // quit		((Gamemenu_gump*)parent)->quit(false);		break;	}}