[Scummvm-cvs-logs] scummvm master -> 53ee7f52a9e39e90313ada5613dd89d4fdbe3943

Strangerke Strangerke at scummvm.org
Mon Jun 18 21:24:03 CEST 2012


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:
53ee7f52a9 HUGO: Remove dead code


Commit: 53ee7f52a9e39e90313ada5613dd89d4fdbe3943
    https://github.com/scummvm/scummvm/commit/53ee7f52a9e39e90313ada5613dd89d4fdbe3943
Author: Strangerke (strangerke at scummvm.org)
Date: 2012-06-18T12:23:39-07:00

Commit Message:
HUGO: Remove dead code

Changed paths:
    engines/hugo/file.h
    engines/hugo/hugo.cpp



diff --git a/engines/hugo/file.h b/engines/hugo/file.h
index e4aa7f7..1438bd2 100644
--- a/engines/hugo/file.h
+++ b/engines/hugo/file.h
@@ -123,9 +123,6 @@ protected:
 private:
 	byte *convertPCC(byte *p, const uint16 y, const uint16 bpl, ImagePtr dataPtr) const;
 	UifHdr *getUIFHeader(const Uif id);
-
-//Strangerke : Not used?
-	void     printBootText();
 };
 
 class FileManager_v1d : public FileManager {
diff --git a/engines/hugo/hugo.cpp b/engines/hugo/hugo.cpp
index f2db630..9d28e0a 100644
--- a/engines/hugo/hugo.cpp
+++ b/engines/hugo/hugo.cpp
@@ -541,19 +541,6 @@ void HugoEngine::initStatus() {
 	// Initialize every start of new game
 	_status._tick            = 0;                    // Tick count
 	_status._viewState       = kViewIdle;            // View state
-
-// Strangerke - Suppress as related to playback
-//	_status._recordFl      = false;                  // Not record mode
-//	_status._playbackFl    = false;                  // Not playback mode
-// Strangerke - Not used ?
-//	_status._mmtime        = false;                  // Multimedia timer support
-//	_status._helpFl        = false;                  // Not calling WinHelp()
-//	_status._demoFl        = false;                  // Not demo mode
-//	_status._path[0]       = 0;                      // Path to write files
-//	_status._screenWidth   = 0;                      // Desktop screen width
-//	_status._saveTick      = 0;                      // Time of last save
-//	_status._saveSlot      = 0;                      // Slot to save/restore game
-//	_status._textBoxFl     = false;                  // Not processing a text box
 }
 
 /**
@@ -566,7 +553,7 @@ void HugoEngine::initConfig() {
 	_config._soundFl = true;                            // Sound state initially on
 	_config._turboFl = false;                           // Turbo state initially off
 	initPlaylist(_config._playlist);                    // Initialize default tune playlist
-	_file->readBootFile();                             // Read startup structure
+	_file->readBootFile();                              // Read startup structure
 }
 
 /**






More information about the Scummvm-git-logs mailing list