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.
39 lines
1.1 KiB
39 lines
1.1 KiB
5 years ago
|
//========= 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);
|
||
|
}
|