diff --git a/src/blupi.cxx b/src/blupi.cxx index 9fd9903..c22f980 100644 --- a/src/blupi.cxx +++ b/src/blupi.cxx @@ -448,7 +448,7 @@ static bool DoInit (Sint32 argc, char *argv[]) totalDim.x = LXIMAGE; totalDim.y = LYIMAGE; - if (!g_pPixmap->Create (totalDim, g_bFullScreen, g_mouseType)) + if (!g_pPixmap->Create (totalDim, g_mouseType)) return InitFail ("Create pixmap", true); OutputDebug ("Image: init\n"); diff --git a/src/pixmap.cxx b/src/pixmap.cxx index 775c502..a252956 100644 --- a/src/pixmap.cxx +++ b/src/pixmap.cxx @@ -28,7 +28,6 @@ CPixmap::CPixmap() { Sint32 i; - m_bFullScreen = false; m_mouseType = MOUSETYPEGRA; m_bDebug = true; m_bPalette = true; @@ -77,10 +76,8 @@ CPixmap::~CPixmap() // Cr�e l'objet DirectDraw principal. // Retourne false en cas d'erreur. -bool CPixmap::Create (POINT dim, - bool bFullScreen, Sint32 mouseType) +bool CPixmap::Create (POINT dim, Sint32 mouseType) { - m_bFullScreen = bFullScreen; m_mouseType = mouseType; m_dim = dim; diff --git a/src/pixmap.h b/src/pixmap.h index 517afb7..fba2e0f 100644 --- a/src/pixmap.h +++ b/src/pixmap.h @@ -14,7 +14,7 @@ public: CPixmap(); ~CPixmap(); - bool Create (POINT dim, bool bFullScreen, Sint32 mouseType); + bool Create (POINT dim, Sint32 mouseType); void Fill (RECT rect, COLORREF color); bool Cache (Sint32 channel, const char *pFilename, POINT totalDim, @@ -55,7 +55,6 @@ protected: SDL_Rect GetCursorRect (Sint32 sprite); protected: - bool m_bFullScreen; Sint32 m_mouseType; bool m_bDebug; bool m_bPalette;