blob: 4507f5fa666f88e12d048bc3c2aaa168a0460010 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef CREATEMULTIPLAYERGAMEDIALOG_H
#define CREATEMULTIPLAYERGAMEDIALOG_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui_controls/PropertyDialog.h>
class CCreateMultiplayerGameServerPage;
class CCreateMultiplayerGameGameplayPage;
class CCreateMultiplayerGameBotPage;
//-----------------------------------------------------------------------------
// Purpose: dialog for launching a listenserver
//-----------------------------------------------------------------------------
class CCreateMultiplayerGameDialog : public vgui::PropertyDialog
{
DECLARE_CLASS_SIMPLE( CCreateMultiplayerGameDialog, vgui::PropertyDialog );
public:
CCreateMultiplayerGameDialog(vgui::Panel *parent);
~CCreateMultiplayerGameDialog();
protected:
virtual bool OnOK(bool applyOnly);
virtual void OnKeyCodePressed( vgui::KeyCode code );
private:
CCreateMultiplayerGameServerPage *m_pServerPage;
CCreateMultiplayerGameGameplayPage *m_pGameplayPage;
CCreateMultiplayerGameBotPage *m_pBotPage;
bool m_bBotsEnabled;
// for loading/saving game config
KeyValues *m_pSavedData;
};
#endif // CREATEMULTIPLAYERGAMEDIALOG_H
|