[Scummvm-git-logs] scummvm master -> f5a6201a04a54905cad032998ea48c76aff13472

aquadran aquadran at gmail.com
Sun Feb 28 16:31:29 UTC 2021


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:
f5a6201a04 ICB: Remove not used code


Commit: f5a6201a04a54905cad032998ea48c76aff13472
    https://github.com/scummvm/scummvm/commit/f5a6201a04a54905cad032998ea48c76aff13472
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2021-02-28T17:31:24+01:00

Commit Message:
ICB: Remove not used code

Changed paths:
    engines/icb/global_switches.cpp
    engines/icb/global_switches.h
    engines/icb/p4_pc.cpp


diff --git a/engines/icb/global_switches.cpp b/engines/icb/global_switches.cpp
index 8932985e1d..5b695dd0b5 100644
--- a/engines/icb/global_switches.cpp
+++ b/engines/icb/global_switches.cpp
@@ -57,7 +57,6 @@ c_global_switches::c_global_switches() {
 	speechLineNumbers = FALSE8;
 	current_cd = 1; // cd 1, 2, 3
 	missionTimeout = -1;
-	pc_full_intall = FALSE8;
 	joystickVibration = FALSE8;
 	socket_watch = FALSE8;
 	semitransparencies = TRUE8;
diff --git a/engines/icb/global_switches.h b/engines/icb/global_switches.h
index 8354c7c924..f131e97604 100644
--- a/engines/icb/global_switches.h
+++ b/engines/icb/global_switches.h
@@ -70,7 +70,6 @@ public:
 	bool8 wireframeActors;
 
 	bool8 speechLineNumbers;
-	bool8 pc_full_intall;
 	bool8 joystickVibration;
 	bool8 socket_watch;
 
diff --git a/engines/icb/p4_pc.cpp b/engines/icb/p4_pc.cpp
index f24c17de76..854b70dc95 100644
--- a/engines/icb/p4_pc.cpp
+++ b/engines/icb/p4_pc.cpp
@@ -346,13 +346,6 @@ void InitEngine(const char *lpCmdLine) {
 
 		// set base mode of stub to gameScript processor
 		stub.Set_current_stub_mode(__game_script);
-
-		// are all resources present?
-		Common::SeekableReadStream *stream = openDiskFileForBinaryStreamRead("full.icb");
-		if (stream) {
-			px.pc_full_intall = TRUE8;
-			delete stream;
-		}
 	} else
 		stub.Set_current_stub_mode(__mission_and_console);
 




More information about the Scummvm-git-logs mailing list