summaryrefslogtreecommitdiff
path: root/utils/tfstats/main.cpp
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /utils/tfstats/main.cpp
downloadarchived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.tar.xz
archived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.zip
Diffstat (limited to 'utils/tfstats/main.cpp')
-rw-r--r--utils/tfstats/main.cpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/utils/tfstats/main.cpp b/utils/tfstats/main.cpp
new file mode 100644
index 0000000..e7b703a
--- /dev/null
+++ b/utils/tfstats/main.cpp
@@ -0,0 +1,38 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose: dummy main.cpp
+//
+// $Workfile: $
+// $Date: $
+//
+//------------------------------------------------------------------------------------------------------
+// $Log: $
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#include "TFStatsApplication.h"
+
+
+//------------------------------------------------------------------------------------------------------
+// Function: main
+// Purpose: dummy main. passes off execution to TFstats main
+// Input: argc - argument count
+// argv[] - argument list
+//------------------------------------------------------------------------------------------------------
+
+void main(int argc, const char* argv[])
+{
+ //make OS application object, and operating system interface
+ g_pApp=new CTFStatsApplication;
+ g_pApp->majorVer=1;
+ g_pApp->minorVer=5;
+
+#ifdef WIN32
+ g_pApp->os=new CTFStatsWin32Interface();
+#else
+ g_pApp->os=new CTFStatsLinuxInterface();
+#endif
+ //hand off execution to real main
+ g_pApp->main(argc,argv);
+}