Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.3 KiB

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