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.

82 lines
1.9 KiB

  1. //========= Copyright 1996-2001, Valve LLC, All rights reserved. ============
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================
  7. #include <winlite.h>
  8. #undef CreateDialog
  9. #ifdef WIN32
  10. #include <direct.h>
  11. #include <io.h>
  12. #endif
  13. #include <stdio.h>
  14. #include <stdlib.h>
  15. #include <sys/types.h>
  16. #include <sys/stat.h>
  17. #include <time.h>
  18. #include "vstdlib/pch_vstdlib.h"
  19. #include "tier0/memdbgoff.h"
  20. #include "vgui_controls/pch_vgui_controls.h"
  21. #include "vgui_controls/Frame.h"
  22. #include "tier0/memdbgon.h"
  23. #include "tier3/tier3.h"
  24. // steam3 API
  25. //#include "steam/isteammasterserverupdater.h"
  26. //#include "steam/steam_querypackets.h"
  27. #include "steam/steam_api.h"
  28. #include "steam/isteamuser.h"
  29. #include "steam/isteammatchmaking.h"
  30. #include "steam/isteamfriends.h"
  31. #include "ServerBrowser/IServerBrowser.h"
  32. #include "IVguiModule.h"
  33. #include "vgui_controls/Controls.h"
  34. #include "netadr.h"
  35. #include "filesystem.h"
  36. #include "proto_oob.h"
  37. #include "ModList.h"
  38. #include "IRunGameEngine.h"
  39. #include "OfflineMode.h"
  40. // serverbrowser files
  41. #include "igamelist.h"
  42. #include "ServerListCompare.h"
  43. #include "ServerBrowser.h"
  44. #include "VACBannedConnRefusedDialog.h"
  45. #include "DialogGameInfo.h"
  46. #include "ServerContextMenu.h"
  47. #include "DialogServerPassword.h"
  48. #include "DialogAddServer.h"
  49. // game list
  50. #include "BaseGamesPage.h"
  51. #include "blacklistedservers.h"
  52. #include "InternetGames.h"
  53. #include "FavoriteGames.h"
  54. #include "SpectateGames.h"
  55. #include "LanGames.h"
  56. #include "FriendsGames.h"
  57. #include "HistoryGames.h"
  58. #include "SpectateGames.h"
  59. #include "CustomGames.h"
  60. #include "ServerBrowserDialog.h"
  61. #include "quicklistpanel.h"
  62. #include "vgui_controls/PanelListPanel.h"
  63. #pragma warning( disable: 4355 ) // warning C4355: 'this' : used in base member initializer list
  64. #if defined( STEAM )
  65. #define IsSteam() true
  66. #else
  67. #define IsSteam() false
  68. #endif
  69. using namespace vgui;