diff options
author | Eugene Sandulenko | 2012-04-28 01:00:14 +0300 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-02 12:42:08 +0200 |
commit | 28c78b956dac6ee59d066f7ff2499569fe9877c7 (patch) | |
tree | 07e37e79e5610d3f21d22a8243083b78e09f8542 /engines/wintermute/BSaveThumbHelper.cpp | |
parent | 84fd9d0daca1846829b077aa18a7634df5e5ef9e (diff) | |
download | scummvm-rg350-28c78b956dac6ee59d066f7ff2499569fe9877c7.tar.gz scummvm-rg350-28c78b956dac6ee59d066f7ff2499569fe9877c7.tar.bz2 scummvm-rg350-28c78b956dac6ee59d066f7ff2499569fe9877c7.zip |
WINTERMUTE: Mass rename m_FooBar -> _fooBar
Diffstat (limited to 'engines/wintermute/BSaveThumbHelper.cpp')
-rw-r--r-- | engines/wintermute/BSaveThumbHelper.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/engines/wintermute/BSaveThumbHelper.cpp b/engines/wintermute/BSaveThumbHelper.cpp index 3342f7aa3a..ac8898c344 100644 --- a/engines/wintermute/BSaveThumbHelper.cpp +++ b/engines/wintermute/BSaveThumbHelper.cpp @@ -35,38 +35,38 @@ namespace WinterMute { //////////////////////////////////////////////////////////////////////////
CBSaveThumbHelper::CBSaveThumbHelper(CBGame *inGame): CBBase(inGame) {
- m_Thumbnail = NULL;
+ _thumbnail = NULL;
}
//////////////////////////////////////////////////////////////////////////
CBSaveThumbHelper::~CBSaveThumbHelper(void) {
- delete m_Thumbnail;
- m_Thumbnail = NULL;
+ delete _thumbnail;
+ _thumbnail = NULL;
}
//////////////////////////////////////////////////////////////////////////
HRESULT CBSaveThumbHelper::StoreThumbnail(bool DoFlip) {
- delete m_Thumbnail;
- m_Thumbnail = NULL;
+ delete _thumbnail;
+ _thumbnail = NULL;
- if (Game->m_ThumbnailWidth > 0 && Game->m_ThumbnailHeight > 0) {
+ if (Game->_thumbnailWidth > 0 && Game->_thumbnailHeight > 0) {
if (DoFlip) {
// when using opengl on windows it seems to be necessary to do this twice
// works normally for direct3d
Game->DisplayContent(false);
- Game->m_Renderer->Flip();
+ Game->_renderer->Flip();
Game->DisplayContent(false);
- Game->m_Renderer->Flip();
+ Game->_renderer->Flip();
}
- CBImage *Screenshot = Game->m_Renderer->TakeScreenshot();
+ CBImage *Screenshot = Game->_renderer->TakeScreenshot();
if (!Screenshot) return E_FAIL;
// normal thumbnail
- if (Game->m_ThumbnailWidth > 0 && Game->m_ThumbnailHeight > 0) {
- m_Thumbnail = new CBImage(Game);
- m_Thumbnail->CopyFrom(Screenshot, Game->m_ThumbnailWidth, Game->m_ThumbnailHeight);
+ if (Game->_thumbnailWidth > 0 && Game->_thumbnailHeight > 0) {
+ _thumbnail = new CBImage(Game);
+ _thumbnail->CopyFrom(Screenshot, Game->_thumbnailWidth, Game->_thumbnailHeight);
}
|