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/graphics/common/planet.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/graphics/common/planet.h') diff --git a/src/graphics/common/planet.h b/src/graphics/common/planet.h index b931c2b..75af350 100644 --- a/src/graphics/common/planet.h +++ b/src/graphics/common/planet.h @@ -31,7 +31,7 @@ class CD3DEngine; typedef struct { - char bUsed; // TRUE -> planet exists + char bUsed; // true -> planet exists FPOINT start; // initial position in degrees FPOINT angle; // current position in degrees float dim; // dimensions (0..1) @@ -53,16 +53,16 @@ public: ~CPlanet(); void Flush(); - BOOL EventProcess(const Event &event); - BOOL Create(int mode, FPOINT start, float dim, float speed, float dir, char *name, FPOINT uv1, FPOINT uv2); - BOOL PlanetExist(); + bool EventProcess(const Event &event); + bool Create(int mode, FPOINT start, float dim, float speed, float dir, char *name, FPOINT uv1, FPOINT uv2); + bool PlanetExist(); void LoadTexture(); void Draw(); void SetMode(int mode); int RetMode(); protected: - BOOL EventFrame(const Event &event); + bool EventFrame(const Event &event); protected: CInstanceManager* m_iMan; @@ -71,6 +71,6 @@ protected: float m_time; int m_mode; Planet m_planet[2][MAXPLANET]; - BOOL m_bPlanetExist; + bool m_bPlanetExist; }; -- cgit v1.2.3-1-g7c22