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.
37 lines
1.1 KiB
37 lines
1.1 KiB
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose: Interface of CSentryRebuildAward
|
|
//
|
|
// $Workfile: $
|
|
// $Date: $
|
|
//
|
|
//------------------------------------------------------------------------------------------------------
|
|
// $Log: $
|
|
//
|
|
// $NoKeywords: $
|
|
//=============================================================================//
|
|
#ifndef SENTRYREBUILDAWARD_H
|
|
#define SENTRYREBUILDAWARD_H
|
|
#ifdef WIN32
|
|
#pragma once
|
|
#endif
|
|
#include "Award.h"
|
|
#include <map>
|
|
|
|
|
|
using namespace std;
|
|
//------------------------------------------------------------------------------------------------------
|
|
// Purpose: CSentryRebuildAward is given to the engineers who built a sentry
|
|
// gun the most times
|
|
//------------------------------------------------------------------------------------------------------
|
|
class CSentryRebuildAward: public CAward
|
|
{
|
|
protected:
|
|
map<PID,int> numbuilds;
|
|
void noWinner(CHTMLFile& html);
|
|
void extendedinfo(CHTMLFile& html);
|
|
public:
|
|
explicit CSentryRebuildAward():CAward("Worst Sentry Placement"){}
|
|
void getWinner();
|
|
};
|
|
#endif // SENTRYREBUILDAWARD_H
|