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.
37 lines
752 B
37 lines
752 B
//++ BulliT |
|
|
|
#if !defined(AFX_AGMODELCHECK_H__4596B2F8_81A4_4927_9A82_9637C7F9A3C9__INCLUDED_) |
|
#define AFX_AGMODELCHECK_H__4596B2F8_81A4_4927_9A82_9637C7F9A3C9__INCLUDED_ |
|
|
|
#if _MSC_VER > 1000 |
|
#pragma once |
|
#endif // _MSC_VER > 1000 |
|
|
|
#include "agglobal.h" |
|
#include "agmodel.h" |
|
|
|
#if AG_USE_CHEATPROTECTION |
|
|
|
class AgModelCheck |
|
{ |
|
typedef set<AgString, less<AgString> > AgCheckedSet; |
|
AgCheckedSet m_setChecked; |
|
bool m_bScannedStandard; |
|
|
|
bool CheckCurrent(); |
|
|
|
public: |
|
AgModelCheck(); |
|
virtual ~AgModelCheck(); |
|
|
|
bool Check(); |
|
bool CheckOne(const char* pszModel); |
|
}; |
|
|
|
extern AgModelCheck g_ModelCheck; |
|
|
|
#endif //AG_USE_CHEATPROTECTION |
|
|
|
#endif // !defined(AFX_AGMODELCHECK_H__4596B2F8_81A4_4927_9A82_9637C7F9A3C9__INCLUDED_) |
|
|
|
//-- Martin Webrant
|
|
|