mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 22:27:43 +00:00
New code style refactor
This commit is contained in:
@@ -2,29 +2,26 @@
|
||||
|
||||
#include "CEntity.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
namespace urde {
|
||||
|
||||
class CScriptTimer : public CEntity {
|
||||
float x34_time;
|
||||
float x38_startTime;
|
||||
float x3c_maxRandDelay;
|
||||
bool x40_loop;
|
||||
bool x41_autoStart;
|
||||
bool x42_isTiming;
|
||||
|
||||
class CScriptTimer : public CEntity
|
||||
{
|
||||
float x34_time;
|
||||
float x38_startTime;
|
||||
float x3c_maxRandDelay;
|
||||
bool x40_loop;
|
||||
bool x41_autoStart;
|
||||
bool x42_isTiming;
|
||||
public:
|
||||
CScriptTimer(TUniqueId, std::string_view name, const CEntityInfo& info,
|
||||
float, float, bool, bool, bool);
|
||||
CScriptTimer(TUniqueId, std::string_view name, const CEntityInfo& info, float, float, bool, bool, bool);
|
||||
|
||||
void Accept(IVisitor& visitor);
|
||||
void Think(float, CStateManager &);
|
||||
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager &stateMgr);
|
||||
bool IsTiming() const;
|
||||
void StartTiming(bool isTiming);
|
||||
void Reset(CStateManager&);
|
||||
void ApplyTime(float, CStateManager&);
|
||||
void Accept(IVisitor& visitor);
|
||||
void Think(float, CStateManager&);
|
||||
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr);
|
||||
bool IsTiming() const;
|
||||
void StartTiming(bool isTiming);
|
||||
void Reset(CStateManager&);
|
||||
void ApplyTime(float, CStateManager&);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
} // namespace urde
|
||||
|
||||
Reference in New Issue
Block a user