[Scummvm-cvs-logs] scummvm master -> 3464bc20517006270ddc988a1505ce6cecc71f31

Strangerke Strangerke at scummvm.org
Thu Mar 20 07:02:08 CET 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
3464bc2051 TUCKER: Fix some uninitialized variables


Commit: 3464bc20517006270ddc988a1505ce6cecc71f31
    https://github.com/scummvm/scummvm/commit/3464bc20517006270ddc988a1505ce6cecc71f31
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-03-20T07:00:13+01:00

Commit Message:
TUCKER: Fix some uninitialized variables

Changed paths:
    engines/tucker/tucker.cpp



diff --git a/engines/tucker/tucker.cpp b/engines/tucker/tucker.cpp
index e920ebe..e80a5fc 100644
--- a/engines/tucker/tucker.cpp
+++ b/engines/tucker/tucker.cpp
@@ -45,6 +45,31 @@ TuckerEngine::TuckerEngine(OSystem *system, Common::Language language, uint32 fl
 	_console = new TuckerConsole(this);
 
 	resetVariables();
+
+	_execData3Counter = 0;
+	_currentSaveLoadGameState = 1;
+	_fileLoadSize = 0;
+	_csDataSize = 0;
+
+	_player = nullptr;
+	_loadTempBuf = nullptr;
+	_cursorGfxBuf = nullptr;
+	_charsetGfxBuf = nullptr;
+	_panelGfxBuf = nullptr;
+	_itemsGfxBuf = nullptr;
+	_spritesGfxBuf = nullptr;
+	_locationBackgroundGfxBuf = nullptr;
+	_data5Buf = nullptr;
+	_data3GfxBuf = nullptr;
+	_quadBackgroundGfxBuf = nullptr;
+	_objTxtBuf = nullptr;
+	_panelObjectsGfxBuf = nullptr;
+	_ptTextBuf = nullptr;
+	_infoBarBuf = nullptr;
+	_bgTextBuf = nullptr;
+	_charNameBuf = nullptr;
+	_locationBackgroundMaskBuf = nullptr;
+	_csDataBuf = nullptr;
 }
 
 TuckerEngine::~TuckerEngine() {






More information about the Scummvm-git-logs mailing list