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.
40 lines
1.1 KiB
40 lines
1.1 KiB
5 years ago
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose: Interface of CCVarList
|
||
|
//
|
||
|
// $Workfile: $
|
||
|
// $Date: $
|
||
|
//
|
||
|
//------------------------------------------------------------------------------------------------------
|
||
|
// $Log: $
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//=============================================================================//
|
||
|
#ifndef CVARS_H
|
||
|
#define CVARS_H
|
||
|
#ifdef WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
#include "report.h"
|
||
|
|
||
|
//------------------------------------------------------------------------------------------------------
|
||
|
// Purpose: CCVarList is a report element that outputs a two column table with
|
||
|
// the cvars that were in effect while the match was running. Cvars that contain
|
||
|
// various passwords are omitted from the listing.
|
||
|
//------------------------------------------------------------------------------------------------------
|
||
|
class CCVarList :public CReport
|
||
|
{
|
||
|
private:
|
||
|
enum Consts
|
||
|
{
|
||
|
HTML_TABLE_WIDTH=500,
|
||
|
HTML_TABLE_NUM_COLS=2,
|
||
|
};
|
||
|
public:
|
||
|
explicit CCVarList(){}
|
||
|
|
||
|
void writeHTML(CHTMLFile& html);
|
||
|
|
||
|
};
|
||
|
#endif // CVARS_H
|