void DoMenuLoop();

enum CODES
{
NOP,
MAIN_QUIT,
MAIN_INTRO,
MAIN_CREDITS,
MAIN_GAME,
MAIN_HISCORE,
MENU_MAIN,
MENU_QUIT,
MENU_OPTIONS,
MENU_OPTIONS_GAME,
MENU_OPTIONS_SOUND,
MENU_OPTIONS_KEYBOARD,
ACTION_MUSIC_VOLUME,
ACTION_SFX_VOLUME,
ACTION_SOUND_ONOFF
};

enum FLAGS
{
NORMAL=1,
ALWAYS_ON=2,
CHANGE=4
};

enum SEARCH
{
SEARCH_FIRST,
SEARCH_LAST,
SEARCH_NEXT,
SEARCH_PREV
};
