mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
1
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose: Interface of CKamikazeAward
|
||||
//
|
||||
// $Workfile: $
|
||||
// $Date: $
|
||||
//
|
||||
//------------------------------------------------------------------------------------------------------
|
||||
// $Log: $
|
||||
//
|
||||
// $NoKeywords: $
|
||||
//=============================================================================//
|
||||
#ifndef KAMIKAZEAWARD_H
|
||||
#define KAMIKAZEAWARD_H
|
||||
#ifdef WIN32
|
||||
#pragma once
|
||||
#endif
|
||||
#include "Award.h"
|
||||
#include <map>
|
||||
|
||||
using namespace std;
|
||||
//------------------------------------------------------------------------------------------------------
|
||||
// Purpose: CKamikazeAward is an award given to the player who kills him/herself
|
||||
// the most often.
|
||||
//------------------------------------------------------------------------------------------------------
|
||||
class CKamikazeAward: public CAward
|
||||
{
|
||||
protected:
|
||||
map<PID,int> numdeaths;
|
||||
void noWinner(CHTMLFile& html);
|
||||
void extendedinfo(CHTMLFile& html);
|
||||
public:
|
||||
explicit CKamikazeAward():CAward("Kamikaze"){}
|
||||
void getWinner();
|
||||
};
|
||||
#endif // KAMIKAZEAWARD_H
|
||||
Reference in New Issue
Block a user