2016-03-12 16:25:48 +01:00
|
|
|
/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */
|
|
|
|
|
|
|
|
#ifndef SE_INCL_GAME_MENU_CONTROLS_H
|
|
|
|
#define SE_INCL_GAME_MENU_CONTROLS_H
|
|
|
|
#ifdef PRAGMA_ONCE
|
|
|
|
#pragma once
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "GameMenu.h"
|
2016-03-15 22:24:35 +01:00
|
|
|
#include "MGButton.h"
|
|
|
|
#include "MGSlider.h"
|
|
|
|
#include "MGTitle.h"
|
|
|
|
#include "MGTrigger.h"
|
2016-03-12 16:25:48 +01:00
|
|
|
|
|
|
|
class CControlsMenu : public CGameMenu {
|
|
|
|
public:
|
2016-03-15 22:24:35 +01:00
|
|
|
CMGTitle gm_mgTitle;
|
|
|
|
CMGButton gm_mgNameLabel;
|
|
|
|
CMGButton gm_mgButtons;
|
|
|
|
CMGSlider gm_mgSensitivity;
|
|
|
|
CMGTrigger gm_mgInvertTrigger;
|
|
|
|
CMGTrigger gm_mgSmoothTrigger;
|
|
|
|
CMGTrigger gm_mgAccelTrigger;
|
|
|
|
CMGTrigger gm_mgIFeelTrigger;
|
|
|
|
CMGButton gm_mgPredefined;
|
|
|
|
CMGButton gm_mgAdvanced;
|
|
|
|
|
2016-03-12 16:25:48 +01:00
|
|
|
void Initialize_t(void);
|
|
|
|
void StartMenu(void);
|
|
|
|
void EndMenu(void);
|
|
|
|
void ObtainActionSettings(void);
|
|
|
|
void ApplyActionSettings(void);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* include-once check. */
|