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/motionant.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/object/motion/motionant.h') diff --git a/src/object/motion/motionant.h b/src/object/motion/motionant.h index 4d5781a..084a9a9 100644 --- a/src/object/motion/motionant.h +++ b/src/object/motion/motionant.h @@ -53,13 +53,13 @@ public: CMotionAnt(CInstanceManager* iMan, CObject* object); ~CMotionAnt(); - 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; @@ -71,7 +71,7 @@ protected: int m_armPartIndex; int m_armMemberIndex; int m_armLastAction; - BOOL m_bArmStop; + bool m_bArmStop; float m_lastParticule; }; -- cgit v1.2.3-1-g7c22