2016-04-19 21:25:26 +00:00
|
|
|
#ifndef __URDE_CSCRIPTCOUNTER_HPP__
|
|
|
|
#define __URDE_CSCRIPTCOUNTER_HPP__
|
|
|
|
|
|
|
|
#include "CEntity.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
class CScriptCounter : public CEntity
|
|
|
|
{
|
2017-07-07 12:23:20 +00:00
|
|
|
s32 x34_initial;
|
|
|
|
s32 x38_current;
|
|
|
|
s32 x3c_max;
|
|
|
|
bool x40_autoReset;
|
2016-04-19 21:25:26 +00:00
|
|
|
public:
|
|
|
|
CScriptCounter(TUniqueId, const std::string& name, const CEntityInfo& info,
|
2017-07-07 12:23:20 +00:00
|
|
|
s32, s32, bool, bool);
|
2017-01-15 03:07:01 +00:00
|
|
|
|
|
|
|
void Accept(IVisitor& visitor);
|
2017-07-07 12:23:20 +00:00
|
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager &stateMgr);
|
2016-04-19 21:25:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __URDE_CSCRIPTCOUNTER_HPP__
|