summaryrefslogtreecommitdiffstats
path: root/src/graphics/d3d/d3dframe.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/graphics/d3d/d3dframe.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/graphics/d3d/d3dframe.h')
-rw-r--r--src/graphics/d3d/d3dframe.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/graphics/d3d/d3dframe.h b/src/graphics/d3d/d3dframe.h
index 2a6f902..1c02e04 100644
--- a/src/graphics/d3d/d3dframe.h
+++ b/src/graphics/d3d/d3dframe.h
@@ -52,8 +52,8 @@ class CD3DFramework7
{
// Internal variables for the framework class
HWND m_hWnd; // The window object
- BOOL m_bIsFullscreen; // Fullscreen vs. windowed
- BOOL m_bIsStereo; // Stereo view mode
+ bool m_bIsFullscreen; // Fullscreen vs. windowed
+ bool m_bIsStereo; // Stereo view mode
DWORD m_dwRenderWidth; // Dimensions of the render target
DWORD m_dwRenderHeight;
RECT m_rcScreenRect; // Screen rect for window
@@ -87,11 +87,11 @@ public:
// Functions to aid rendering
HRESULT RestoreSurfaces();
HRESULT ShowFrame();
- HRESULT FlipToGDISurface( BOOL bDrawFrame = FALSE );
+ HRESULT FlipToGDISurface( bool bDrawFrame = false );
// Functions for managing screen and viewport bounds
- BOOL IsFullscreen() { return m_bIsFullscreen; }
- BOOL IsStereo() { return m_bIsStereo; }
+ bool IsFullscreen() { return m_bIsFullscreen; }
+ bool IsStereo() { return m_bIsStereo; }
VOID Move( INT x, INT y );
// Creates the Framework