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.
 
 
 
 
 
 

35 lines
758 B

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#ifndef HELPTEXT_H
#define HELPTEXT_H
#ifdef _WIN32
#pragma once
#endif
#include <VGUI_KeyValues.h>
//-----------------------------------------------------------------------------
// Purpose: parses in a text file and returns help strings about key words
//-----------------------------------------------------------------------------
class CHelpText
{
public:
CHelpText(const char *mod);
~CHelpText();
void LoadHelpFile(const char *filename);
const char *GetHelp(const char *keyname);
private:
vgui::KeyValues *m_pHelpData;
};
#endif // HELPTEXT_H