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.
35 lines
1.0 KiB
35 lines
1.0 KiB
5 years ago
|
//========= 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
|