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/motionmother.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/object/motion/motionmother.h') diff --git a/src/object/motion/motionmother.h b/src/object/motion/motionmother.h index 3c5cb94..d3a6b2a 100644 --- a/src/object/motion/motionmother.h +++ b/src/object/motion/motionmother.h @@ -39,13 +39,13 @@ public: CMotionMother(CInstanceManager* iMan, CObject* object); ~CMotionMother(); - 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); protected: void CreatePhysics(); - BOOL EventFrame(const Event &event); + bool EventFrame(const Event &event); protected: float m_armMember; @@ -59,6 +59,6 @@ protected: int m_armLastAction; int m_specAction; float m_specTime; - BOOL m_bArmStop; + bool m_bArmStop; }; -- cgit v1.2.3-1-g7c22