2016-03-31 02:38:57 +02:00
|
|
|
/* Copyright (c) 2002-2012 Croteam Ltd.
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of version 2 of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License along
|
|
|
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
|
2016-03-30 20:21:32 +02:00
|
|
|
|
|
|
|
#ifndef SE_INCL_MENUMANAGER_H
|
|
|
|
#define SE_INCL_MENUMANAGER_H
|
|
|
|
#ifdef PRAGMA_ONCE
|
|
|
|
#pragma once
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "MAudioOptions.h"
|
|
|
|
#include "MConfirm.h"
|
|
|
|
#include "MControls.h"
|
|
|
|
#include "MCustomizeAxis.h"
|
|
|
|
#include "MCustomizeKeyboard.h"
|
|
|
|
#include "MCredits.h"
|
|
|
|
#include "MDisabled.h"
|
|
|
|
#include "MHighScore.h"
|
|
|
|
#include "MInGame.h"
|
|
|
|
#include "MLevels.h"
|
|
|
|
#include "MMain.h"
|
|
|
|
#include "MNetwork.h"
|
|
|
|
#include "MNetworkJoin.h"
|
|
|
|
#include "MNetworkOpen.h"
|
|
|
|
#include "MNetworkStart.h"
|
|
|
|
#include "MOptions.h"
|
|
|
|
#include "MRenderingOptions.h"
|
|
|
|
#include "MServers.h"
|
|
|
|
#include "MSinglePlayer.h"
|
|
|
|
#include "MSinglePlayerNew.h"
|
|
|
|
#include "MSplitScreen.h"
|
|
|
|
#include "MSplitStart.h"
|
|
|
|
#include "MVar.h"
|
|
|
|
#include "MVideoOptions.h"
|
|
|
|
|
|
|
|
|
|
|
|
class CMenuManager {
|
|
|
|
public:
|
|
|
|
CConfirmMenu gmConfirmMenu;
|
|
|
|
CMainMenu gmMainMenu;
|
|
|
|
CInGameMenu gmInGameMenu;
|
|
|
|
CSinglePlayerMenu gmSinglePlayerMenu;
|
|
|
|
CSinglePlayerNewMenu gmSinglePlayerNewMenu;
|
|
|
|
CDisabledMenu gmDisabledFunction;
|
|
|
|
CLevelsMenu gmLevelsMenu;
|
|
|
|
CVarMenu gmVarMenu;
|
|
|
|
CPlayerProfileMenu gmPlayerProfile;
|
|
|
|
CControlsMenu gmControls;
|
|
|
|
CLoadSaveMenu gmLoadSaveMenu;
|
|
|
|
CHighScoreMenu gmHighScoreMenu;
|
|
|
|
CCustomizeKeyboardMenu gmCustomizeKeyboardMenu;
|
|
|
|
CServersMenu gmServersMenu;
|
|
|
|
CCustomizeAxisMenu gmCustomizeAxisMenu;
|
|
|
|
COptionsMenu gmOptionsMenu;
|
|
|
|
CVideoOptionsMenu gmVideoOptionsMenu;
|
|
|
|
CAudioOptionsMenu gmAudioOptionsMenu;
|
|
|
|
CNetworkMenu gmNetworkMenu;
|
|
|
|
CNetworkJoinMenu gmNetworkJoinMenu;
|
|
|
|
CNetworkStartMenu gmNetworkStartMenu;
|
|
|
|
CNetworkOpenMenu gmNetworkOpenMenu;
|
|
|
|
CSplitScreenMenu gmSplitScreenMenu;
|
|
|
|
CSplitStartMenu gmSplitStartMenu;
|
|
|
|
CSelectPlayersMenu gmSelectPlayersMenu;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern CMenuManager *_pGUIM; // TODO: Make singleton!
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* include-once check. */
|