Team Fortress 2 Source Code as on 22/4/2020
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.

38 lines
1.1 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: dummy main.cpp
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. //
  8. //------------------------------------------------------------------------------------------------------
  9. // $Log: $
  10. //
  11. // $NoKeywords: $
  12. //=============================================================================//
  13. #include "TFStatsApplication.h"
  14. //------------------------------------------------------------------------------------------------------
  15. // Function: main
  16. // Purpose: dummy main. passes off execution to TFstats main
  17. // Input: argc - argument count
  18. // argv[] - argument list
  19. //------------------------------------------------------------------------------------------------------
  20. void main(int argc, const char* argv[])
  21. {
  22. //make OS application object, and operating system interface
  23. g_pApp=new CTFStatsApplication;
  24. g_pApp->majorVer=1;
  25. g_pApp->minorVer=5;
  26. #ifdef WIN32
  27. g_pApp->os=new CTFStatsWin32Interface();
  28. #else
  29. g_pApp->os=new CTFStatsLinuxInterface();
  30. #endif
  31. //hand off execution to real main
  32. g_pApp->main(argc,argv);
  33. }