Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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.
 
 
 
 
 
 

47 lines
1.3 KiB

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Implementation of CReport
//
// $Workfile: $
// $Date: $
//
//------------------------------------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//
#ifndef REPORT_H
#define REPORT_H
#ifdef WIN32
#pragma once
#pragma warning(disable:4786)
#endif
#include "MatchInfo.h"
#include "HTML.h"
//------------------------------------------------------------------------------------------------------
// Purpose: CReport is the base class for all elements of a report. This includes
// things like scoreboards and awards.
//------------------------------------------------------------------------------------------------------
class CReport
{
protected:
//every element must have some info about the match to go off of.
//moved into global pointer. g_pMatchInfo
//CMatchInfo* pMatchInfo;
virtual void init(){}
public:
//explicit CReport(CMatchInfo* pMInfo):pMatchInfo(pMInfo){}
explicit CReport(){}
virtual void writeHTML(CHTMLFile& html){}
virtual void generate(){}
virtual void makeHTMLPage(char* pageName,char* pageTitle);
virtual void report(CHTMLFile& html);
virtual ~CReport(){}
};
#endif // REPORT_H