Portable Half-Life SDK. GoldSource and Xash3D. Crossplatform.
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.
 
 
 
 
 
 

36 lines
833 B

//++ BulliT
#if !defined(AFX_AGSETTINGS_H__84946760_20B0_4629_84A4_115B6422C74D__INCLUDED_)
#define AFX_AGSETTINGS_H__84946760_20B0_4629_84A4_115B6422C74D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class AgSettings
{
bool m_bChangeNextLevel;
bool m_bCheckNextMap;
bool m_bCalcNextMap;
float m_fNextCheck;
void CalcNextMap();
public:
AgSettings();
virtual ~AgSettings();
bool Think();
void SetNextLevel(const AgString& sMap);
AgString GetNextLevel();
void ChangeNextLevel();
void Changelevel(const AgString& sMap);
bool AdminSetting(const AgString& sSetting, const AgString& sValue); //Not all settings is allowed.
};
#endif // !defined(AFX_AGSETTINGS_H__84946760_20B0_4629_84A4_115B6422C74D__INCLUDED_)
//-- Martin Webrant