mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Remove unused fullscreen bool
This commit is contained in:
parent
3634be868d
commit
cdc8234934
@ -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");
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user