diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-06-10 15:28:12 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-06-10 15:28:12 +0200 |
commit | 697fbdabf10d956e0f13bfbc9414d3db40f0c535 (patch) | |
tree | ab80ba3119d07b11da5478009b905edb702c103f /src/object/auto/autosafe.h | |
parent | 680af178196217bdd255d2bc851f240983144ac1 (diff) | |
download | colobot-697fbdabf10d956e0f13bfbc9414d3db40f0c535.tar.gz colobot-697fbdabf10d956e0f13bfbc9414d3db40f0c535.tar.bz2 colobot-697fbdabf10d956e0f13bfbc9414d3db40f0c535.zip |
BOOL -> bool; additional fixes in constructors/destructors
Diffstat (limited to 'src/object/auto/autosafe.h')
-rw-r--r-- | src/object/auto/autosafe.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/object/auto/autosafe.h b/src/object/auto/autosafe.h index 9cfaca0..2e43359 100644 --- a/src/object/auto/autosafe.h +++ b/src/object/auto/autosafe.h @@ -47,16 +47,16 @@ public: CAutoSafe(CInstanceManager* iMan, CObject* object);
~CAutoSafe();
- void DeleteObject(BOOL bAll=FALSE);
+ void DeleteObject(bool bAll=false);
void Init();
- BOOL EventProcess(const Event &event);
+ bool EventProcess(const Event &event);
Error RetError();
- BOOL CreateInterface(BOOL bSelect);
+ bool CreateInterface(bool bSelect);
- BOOL Write(char *line);
- BOOL Read(char *line);
+ bool Write(char *line);
+ bool Read(char *line);
protected:
int CountKeys();
@@ -72,11 +72,11 @@ protected: float m_timeVirus;
float m_lastParticule;
int m_channelSound;
- BOOL m_bLock;
+ bool m_bLock;
int m_countKeys;
float m_actualAngle;
float m_finalAngle;
- BOOL m_bKey[4];
+ bool m_bKey[4];
D3DVECTOR m_keyPos[4];
int m_keyParti[4];
};
|