forked from nillerusr/source-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLoadGameDialog.h
54 lines (44 loc) · 1.38 KB
/
LoadGameDialog.h
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
48
49
50
51
52
53
54
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef LOADGAMEDIALOG_H
#define LOADGAMEDIALOG_H
#ifdef _WIN32
#pragma once
#endif
#include "BaseSaveGameDialog.h"
#include "SaveGameDialog.h"
#include "SaveGameBrowserDialog.h"
#include "BasePanel.h"
#include "vgui_controls/KeyRepeat.h"
//-----------------------------------------------------------------------------
// Purpose: Displays game loading options
//-----------------------------------------------------------------------------
class CLoadGameDialog : public CBaseSaveGameDialog
{
DECLARE_CLASS_SIMPLE( CLoadGameDialog, CBaseSaveGameDialog );
public:
CLoadGameDialog(vgui::Panel *parent);
~CLoadGameDialog();
virtual void OnCommand( const char *command );
};
//
//
//
class CLoadGameDialogXbox : public CSaveGameBrowserDialog
{
DECLARE_CLASS_SIMPLE( CLoadGameDialogXbox, CSaveGameBrowserDialog );
public:
CLoadGameDialogXbox( vgui::Panel *parent );
virtual void ApplySchemeSettings( vgui::IScheme *pScheme );
virtual void OnCommand(const char *command);
virtual void PerformSelectedAction( void );
virtual void PerformDeletion( void );
virtual void UpdateFooterOptions( void );
private:
void DeleteSaveGame( const SaveGameDescription_t *pSaveDesc );
};
#endif // LOADGAMEDIALOG_H