summaryrefslogtreecommitdiffstats
path: root/src/object/motion/motionworm.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-06-10 15:28:12 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-06-10 15:28:12 +0200
commit697fbdabf10d956e0f13bfbc9414d3db40f0c535 (patch)
treeab80ba3119d07b11da5478009b905edb702c103f /src/object/motion/motionworm.h
parent680af178196217bdd255d2bc851f240983144ac1 (diff)
downloadcolobot-697fbdabf10d956e0f13bfbc9414d3db40f0c535.tar.gz
colobot-697fbdabf10d956e0f13bfbc9414d3db40f0c535.tar.bz2
colobot-697fbdabf10d956e0f13bfbc9414d3db40f0c535.zip
BOOL -> bool; additional fixes in constructors/destructors
Diffstat (limited to 'src/object/motion/motionworm.h')
-rw-r--r--src/object/motion/motionworm.h12
1 files changed, 6 insertions, 6 deletions
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;
};