diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /utils/tfstats/survivalistaward.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'utils/tfstats/survivalistaward.h')
| -rw-r--r-- | utils/tfstats/survivalistaward.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/utils/tfstats/survivalistaward.h b/utils/tfstats/survivalistaward.h new file mode 100644 index 0000000..1c9b3fc --- /dev/null +++ b/utils/tfstats/survivalistaward.h @@ -0,0 +1,34 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: Interface of CSurvivalistAward +// +// $Workfile: $ +// $Date: $ +// +//------------------------------------------------------------------------------------------------------ +// $Log: $ +// +// $NoKeywords: $ +//=============================================================================// +#ifndef SURVIVALISTAWARD_H +#define SURVIVALISTAWARD_H +#ifdef WIN32 +#pragma once +#endif +#include "Award.h" + +//------------------------------------------------------------------------------------------------------ +// Purpose: CSurvivalistAward is an award given to the player who died the least +// while playing as a scout +//------------------------------------------------------------------------------------------------------ +class CSurvivalistAward: public CAward +{ +protected: + map <PID,int> numdeaths; + void noWinner(CHTMLFile& html); + void extendedinfo(CHTMLFile& html); +public: + explicit CSurvivalistAward():CAward("Survivalist"){} + void getWinner(); +}; +#endif // SURVIVALISTAWARD_H |