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/ui/displaytext.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/ui/displaytext.h')
-rw-r--r-- | src/ui/displaytext.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ui/displaytext.h b/src/ui/displaytext.h index 67d9c77..934fc50 100644 --- a/src/ui/displaytext.h +++ b/src/ui/displaytext.h @@ -48,17 +48,17 @@ public: void DeleteObject();
- BOOL EventProcess(const Event &event);
+ bool EventProcess(const Event &event);
void DisplayError(Error err, CObject* pObj, float time=10.0f);
void DisplayError(Error err, D3DVECTOR goal, float height=15.0f, float dist=60.0f, float time=10.0f);
void DisplayText(char *text, CObject* pObj, float time=10.0f, TextType type=TT_INFO);
void DisplayText(char *text, D3DVECTOR goal, float height=15.0f, float dist=60.0f, float time=10.0f, TextType type=TT_INFO);
- void HideText(BOOL bHide);
+ void HideText(bool bHide);
void ClearText();
- BOOL ClearLastText();
+ bool ClearLastText();
void SetDelay(float factor);
- void SetEnable(BOOL bEnable);
+ void SetEnable(bool bEnable);
D3DVECTOR RetVisitGoal(EventMsg event);
float RetVisitDist(EventMsg event);
@@ -69,7 +69,7 @@ public: void ClearVisit();
void SetVisit(EventMsg event);
- BOOL IsVisit(EventMsg event);
+ bool IsVisit(EventMsg event);
protected:
CObject* SearchToto();
@@ -80,14 +80,14 @@ protected: CInterface* m_interface;
CSound* m_sound;
- BOOL m_bExist[MAXDTLINE];
+ bool m_bExist[MAXDTLINE];
float m_time[MAXDTLINE];
D3DVECTOR m_visitGoal[MAXDTLINE];
float m_visitDist[MAXDTLINE];
float m_visitHeight[MAXDTLINE];
- BOOL m_bHide;
- BOOL m_bEnable;
+ bool m_bHide;
+ bool m_bEnable;
float m_delayFactor;
};
|