From 697fbdabf10d956e0f13bfbc9414d3db40f0c535 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Sun, 10 Jun 2012 15:28:12 +0200 Subject: BOOL -> bool; additional fixes in constructors/destructors --- src/object/motion/motionworm.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/object/motion/motionworm.h') diff --git a/src/object/motion/motionworm.h b/src/object/motion/motionworm.h index 3422e49..6dca520 100644 --- a/src/object/motion/motionworm.h +++ b/src/object/motion/motionworm.h @@ -39,16 +39,16 @@ public: CMotionWorm(CInstanceManager* iMan, CObject* object); ~CMotionWorm(); - void DeleteObject(BOOL bAll=FALSE); - BOOL Create(D3DVECTOR pos, float angle, ObjectType type, float power); - BOOL EventProcess(const Event &event); + void DeleteObject(bool bAll=false); + bool Create(D3DVECTOR pos, float angle, ObjectType type, float power); + bool EventProcess(const Event &event); - BOOL SetParam(int rank, float value); + bool SetParam(int rank, float value); float RetParam(int rank); protected: void CreatePhysics(); - BOOL EventFrame(const Event &event); + bool EventFrame(const Event &event); protected: float m_timeUp; @@ -66,7 +66,7 @@ protected: float m_armCirSpeed; int m_specAction; float m_specTime; - BOOL m_bArmStop; + bool m_bArmStop; float m_lastParticule; }; -- cgit v1.2.3-1-g7c22