mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-23 14:46:53 +00:00
36 lines
758 B
C++
36 lines
758 B
C++
//========= 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
|